@ranger-testing/ranger-cli 2.5.4-alpha.1f7a251-7 → 2.5.4-alpha.27e3ee8-11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/skills/ranger/verify.md +6 -12
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0x45d515=_0xe1c5;(function(_0x3a60b2,_0xa34120){const _0x57e8dd=_0xe1c5,_0x36e373=_0x3a60b2();while(!![]){try{const _0x5206ef=-parseInt(_0x57e8dd(0x33e))/0x1+-parseInt(_0x57e8dd(0x2d8))/0x2+parseInt(_0x57e8dd(0x248))/0x3+parseInt(_0x57e8dd(0x31e))/0x4+-parseInt(_0x57e8dd(0x25e))/0x5+parseInt(_0x57e8dd(0x1df))/0x6+parseInt(_0x57e8dd(0x2cf))/0x7*(parseInt(_0x57e8dd(0x255))/0x8);if(_0x5206ef===_0xa34120)break;else _0x36e373['push'](_0x36e373['shift']());}catch(_0x132b7c){_0x36e373['push'](_0x36e373['shift']());}}}(_0x26fe,0x68b68));import _0x59b7c5 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xa7ac6f=_0xe1c5,_0x3bd4a8={'ZgQax':function(_0x2a8397,_0x4a596d,_0x3bba7b){return _0x2a8397(_0x4a596d,_0x3bba7b);},'PAfdt':_0xa7ac6f(0x30f),'JCOAW':'.env'};let _0x5ca55d=process[_0xa7ac6f(0x2a3)]();const _0x5cacfe=parse(_0x5ca55d)['root'];while(_0x5ca55d!==_0x5cacfe){if(existsSync(_0x3bd4a8[_0xa7ac6f(0x284)](join,_0x5ca55d,_0x3bd4a8[_0xa7ac6f(0x22d)]))||existsSync(join(_0x5ca55d,_0x3bd4a8['JCOAW'])))return _0x5ca55d;_0x5ca55d=dirname(_0x5ca55d);}return process['cwd']();}_0x59b7c5['config']({'path':join(findProjectRoot(),_0x45d515(0x1ee))});import _0x5255ae from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';function _0x26fe(){const _0x302c83=['error','start','Base\x20URL\x20of\x20the\x20running\x20app','PiubK','Where\x20to\x20store\x20the\x20profile','CwvVv','description','add-checklist-item\x20<description>','Cenfc','RNkPA','boolean','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','vSlSg','option','Optional\x20feature\x20ID','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','JLswU','Example:\x20ranger\x20create\x20my-feature','deps','Update\x20authentication\x20for\x20an\x20existing\x20profile','GYbzm','FOOWE','feature\x20restore','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','exitCode','OGNdI','mcp','baRYn','\x20\x20https://docs.ranger.net\x0a','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','ranger\x20feature\x20restore','VPUQf','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','DeNvS','tfyQM','CYibI','2364216sLnbyT','number','Wrivq','GkIqm','update','config\x20get','CRrcm','map','setup:all','teUpf','mMlPr','cdp-endpoint','vZGJy','POuwN','sdWrB','.env','config\x20unset','MZgqY','BoHLu','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','setup:profiles','PLurw','pkcHa','RFbAn','nfklv','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','iZqeC','YQTtt','ranger\x20get-review','name','MPFSD','delete\x20[id]','failed','You\x20must\x20specify\x20an\x20auth\x20subcommand','Skip\x20authentication','setup:deps','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)','Unknown\x20command','base-url','kNRLR','WZCUX','print-access-token','QwwGK','sSMkj','repeat','cPdTe','AErmd','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','EwmRv','You\x20must\x20specify\x20a\x20config\x20subcommand','Install\x20Chromium\x20browser\x20binary','get\x20<env>\x20<key>','Kdoad','feature','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','RXBtX','You\x20must\x20specify\x20a\x20command','scope','BNSmV','NHDMO','opencode','hTuGC','env-name','list\x20<env>','\x20INCOMPLETE','sOPqo','Authenticate\x20with\x20Ranger','organizationName','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','ranger\x20profile\x20config\x20unset','wiaHO','--task','FehOy','EGNoc','profile\x20add','set\x20<env>\x20<key>\x20<value>','rfQyG','PAfdt','ranger\x20show','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ckAjA','tSggM','yes','kuAdK','FAkCW','verify-feature','KzXPN','Environment\x20name','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','show\x20[id]','CqUzq','strictCommands','Subcommand\x20or\x20API\x20token\x20(rngr_...)','session-id','MHNFV','edit-scenario\x20<description>','NOeko','vRRAs','limit','offset','Summary:\x20','Remove\x20a\x20config\x20value','UMIgu','XmDPR','1218684BglXJH','env\x20update','version','GjFdr','zwvdf','key','usage','scenario','vSRrh','project','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','safe-mode','rrgaL','80VMzpUv','positional','partial','ecwnS','pOBZx','json','argv','Cloud\x20profile\x20name','notes','2323315VxRlwG','KSpgu','login\x20<name>','Scenario\x20description','Name\x20of\x20the\x20profile\x20to\x20update','List\x20all\x20config\x20for\x20a\x20profile','Skip\x20browser\x20authentication','RlJMs','KjovQ','Unknown\x20error','setup-header','ranger\x20create','array','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','\x20VERIFIED','vHGMH','uJBlt','ranger\x20env\x20ls','bQsjv','yJXhF','XvWqo','verified','gcGgp','tgixr','token','gxHlA','nZaqr','WuaVg','PxaFv','Feature\x20review\x20ID','profiles','pqDqS','env','OBkeZ','rTdzR','trackCommandError','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','ZgQax','List\x20all\x20profiles','QWrpk','--env','TdDCj','kurXv','wkZjz','ranger\x20go','blocked','resume','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','mcp-bootstrap','add\x20env\x20<env-name>','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','Umhuv','evaluation','feature\x20get-feedback','task','soyXo','XbNyK','Config\x20key','ranger\x20profile\x20config\x20get','wzJHt','NCdiO','gLlag','ranger\x20profile\x20config\x20list','ggzoS','test','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','wHdxq','scriptName','cwd','AtcUq','rMuqj','Feature\x20review\x20description','ssyDT','exit','kypDb','xmNik','Feature\x20review\x20ID\x20to\x20restore','login','Feature\x20review\x20name','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','lFAFh','value','Fjcfa','Get\x20a\x20config\x20value','string','Dcnto','report','aLpLL','SLjDx','headed','profile\x20migrate','qcOJn','jFRre','dry-run','url','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','start-path','test_output','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','ENUNP','WoOka','not_configured','Install\x20scope\x20for\x20skills','BEYge','xPkLg','rdriY','MffeN','PGgYv','KfkQt','nRRKl','include-deleted','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','326067CYZDjq','oaQdD','DkKDK','user','PsuaG','ranger\x20feature\x20delete','model','poaoi','list\x20<profile>','708462ZoRxup','fqPrH','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','current-branch','Config\x20key\x20to\x20remove','Set\x20up\x20a\x20local\x20browser\x20profile','rvekk','profile\x20config\x20reset','unhandledRejection','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','profile\x20config\x20list','zzFDM','Config\x20value','alias','ranger\x20profile\x20ls','obLyD','CgjAU','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','Switch\x20to\x20using\x20a\x20specific\x20profile','get-review\x20[id]','mBpds','HJVji','show','kYupn','Evaluation:\x20','allow-insecure-localhost','WowKr','ranger\x20auth\x20encrypt','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','uVpWA','You\x20must\x20specify\x20an\x20env\x20subcommand','claude','QmCVp','help','skip-auth','Mkrbi','EKnpw','restore\x20<id>','PZeRN','setup-ci','yELyI','resume\x20[id]','McSiA','force','ranger\x20feature\x20create','ranger\x20feature\x20list','profile','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','use\x20<profile-name>','epilogue','oZGpD','ZxuOv','txxiH','eLXsc','ranger\x20start','.ranger','Scenario\x20index\x20(1-based)','BcQMk','Ranger\x20API\x20token','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','add-scenario','profile\x20config\x20get','command','ranger\x20feature\x20show','\x27.\x20Session\x20written\x20to\x20cloud\x20profile.','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','parse','incomplete','AZGLN','kqpGC','305352qjFehE','AtNmI','demandCommand','tMQeE','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ranger\x20env\x20update','SDLOm','Install\x20skills\x20for\x20OpenCode','profile-name','UenXh','ranger\x20profile\x20encrypt-auth','ranger\x20restore','ckMge','WjEah','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','skip-chromium','axaGL','YBeji','--profile','ranger\x20list','qZDaO','profile\x20use','encrypt-auth\x20<profile>','TNmye','WGQWS','exclude-scenario','NflQT','migrate\x20[profile-name]','Profile\x20name','--checklist','QysXq','EtFgy','94614DJFtlq','hUhsQ','create\x20<name>','bfYcE','status','teJaz','MlZXc','tokenOrSubcommand','MhjOV','vmhsR','kvmgO','--notes','message','puqkf','with-deps','ooMzt','ElisN','save-creds','log','get-feedback\x20[id]','skillup','get\x20<profile>\x20<key>','muiKC','summary','NODE_ENV','cnyKZ','mlbOq','item','update\x20<profile-name>','ranger\x20profile\x20config\x20set'];_0x26fe=function(){return _0x302c83;};return _0x26fe();}import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on'](_0x45d515(0x2e0),async _0x6c7b6d=>{const _0x57eedc=_0x45d515,_0x1f07f3=getCurrentCollector();_0x1f07f3&&await _0x1f07f3['trackCommandError'](_0x6c7b6d),process[_0x57eedc(0x374)]=0x1;});function _0xe1c5(_0x36c94e,_0x4f01f6){_0x36c94e=_0x36c94e-0x1de;const _0x26fe26=_0x26fe();let _0xe1c56c=_0x26fe26[_0x36c94e];return _0xe1c56c;}const rawArgs=process[_0x45d515(0x25b)]['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x45d515(0x26b),PROFILE_CONFIG_HELP=_0x45d515(0x36b);function warnRenamed(_0x228d8d,_0x383138){const _0x105be8=_0x45d515;console[_0x105be8(0x35c)]('\x0a'+_0x228d8d+'\x20is\x20now\x20'+_0x383138+'\x0a');}function argUsed(_0x49591f){return rawArgs['some'](_0x40046d=>_0x40046d===_0x49591f||_0x40046d['startsWith'](_0x49591f+'='));}function warnFlagRenamed(_0x45d88b,_0x423d3f,_0x3f555f){argUsed(_0x423d3f)&&warnRenamed(_0x45d88b+'\x20'+_0x423d3f,_0x45d88b+'\x20'+_0x3f555f);}async function runGoCommand(_0x338066,_0x4190a5=![]){const _0x47d4e9=_0x45d515,_0xa3c46={'KSpgu':function(_0x3b6d21,_0x368a2d){return _0x3b6d21+_0x368a2d;},'xPkLg':function(_0x2c4701,_0x2136ad,_0x1294f7,_0x2cb7fd){return _0x2c4701(_0x2136ad,_0x1294f7,_0x2cb7fd);},'IsDRl':_0x47d4e9(0x28b),'kbaiH':_0x47d4e9(0x349),'PAhks':function(_0x5e2696,_0x1d5c53,_0x199981,_0x48147e){return _0x5e2696(_0x1d5c53,_0x199981,_0x48147e);},'rvekk':function(_0x132da3){return _0x132da3();},'SDLOm':function(_0x4d329c,_0x3a407e){return _0x4d329c(_0x3a407e);},'BZIPH':_0x47d4e9(0x205),'yFStF':'debug-outcome','fxcPE':'debug-address-comments','cnyKZ':function(_0x3b2a52,_0x4a1623){return _0x3b2a52===_0x4a1623;},'NOeko':_0x47d4e9(0x26d),'McSiA':_0x47d4e9(0x257),'PEfen':_0x47d4e9(0x274)};_0x4190a5&&warnRenamed('ranger\x20verify-feature','ranger\x20go');_0xa3c46[_0x47d4e9(0x2c7)](warnFlagRenamed,_0x47d4e9(0x28b),_0x47d4e9(0x287),_0x47d4e9(0x330)),warnFlagRenamed(_0xa3c46['IsDRl'],_0x47d4e9(0x227),_0xa3c46['kbaiH']),_0xa3c46['PAhks'](warnFlagRenamed,'ranger\x20go','--item','--scenario');const _0x2a371f=await loadRangerConfig(),_0x407d6d=_0xa3c46[_0x47d4e9(0x2de)](isByokEnabled),_0x521022=_0x338066['model'],_0x10b533=_0x2a371f['model'],_0x1a3d6a=await _0xa3c46[_0x47d4e9(0x324)](verifyFeature,{'featureId':_0x338066['feature'],'profile':_0x338066['profile']??_0x338066['env']??process['env']['RANGER_PROFILE'],'notes':_0x338066[_0x47d4e9(0x25d)]??_0x338066[_0x47d4e9(0x295)],'scenario':_0x338066['scenario']??_0x338066['item'],'startPath':_0x338066[_0x47d4e9(0x2bf)],'baseUrl':_0x338066[_0xa3c46['BZIPH']],'debugOutcome':_0x338066[_0xa3c46['yFStF']],'debugAddressComments':_0x338066[_0xa3c46['fxcPE']],'headed':_0x338066[_0x47d4e9(0x2b8)],'byokEnabled':_0x407d6d,'flagVerifyModel':_0x521022,'configVerifyModel':_0x10b533});console[_0x47d4e9(0x350)](_0xa3c46[_0x47d4e9(0x25f)]('\x0a','='[_0x47d4e9(0x20b)](0x3c))),console[_0x47d4e9(0x350)](_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0x47d4e9(0x274))?_0xa3c46[_0x47d4e9(0x240)]:_0x1a3d6a[_0x47d4e9(0x293)]===_0x47d4e9(0x31b)?_0x47d4e9(0x220):_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0xa3c46[_0x47d4e9(0x302)])?'\x20PARTIAL':_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0x47d4e9(0x28c))?'\x20BLOCKED':'\x20FAILED'),console['log']('='['repeat'](0x3c)),console[_0x47d4e9(0x350)](_0x47d4e9(0x244)+_0x1a3d6a[_0x47d4e9(0x355)]),console['log'](_0x47d4e9(0x2f0)+_0x1a3d6a[_0x47d4e9(0x293)]),console[_0x47d4e9(0x350)]('Reason:\x20'+_0x1a3d6a['evaluationReason']),_0x1a3d6a['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x1a3d6a['issues']['forEach']((_0x51aa3b,_0x442a6f)=>{const _0x5b1d6d=_0x47d4e9;console['log']('\x0a'+_0xa3c46['KSpgu'](_0x442a6f,0x1)+'.\x20['+_0x51aa3b['severity']+']\x20'+_0x51aa3b[_0x5b1d6d(0x362)]);})),process[_0x47d4e9(0x2a8)](_0xa3c46[_0x47d4e9(0x357)](_0x1a3d6a['evaluation'],_0xa3c46['PEfen'])?0x0:0x1);}export function buildParser(_0x421a87){const _0x379555=_0x45d515,_0x5068f9={'CwvVv':_0x379555(0x1fc),'NCdiO':_0x379555(0x2b3),'LnbYE':'description','kvmgO':_0x379555(0x2a6),'wkZjz':'array','xgVdd':function(_0x239eb8,_0x195521){return _0x239eb8+_0x195521;},'vZGJy':_0x379555(0x36d),'nRRKl':function(_0x217b66,_0x4679c5,_0x3d3a6c,_0x5180cd){return _0x217b66(_0x4679c5,_0x3d3a6c,_0x5180cd);},'dcXPK':_0x379555(0x269),'EKnpw':function(_0x11e27a,_0x2d034a,_0x26a240){return _0x11e27a(_0x2d034a,_0x26a240);},'EPrSz':_0x379555(0x242),'vSlSg':'number','ZymOi':_0x379555(0x243),'WGQWS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','PiubK':'Include\x20soft-deleted\x20feature\x20reviews','FehOy':'list','WuaVg':_0x379555(0x32c),'muiKC':_0x379555(0x261),'bmYMi':_0x379555(0x367),'qcOJn':'New\x20scenario\x20description','kAefr':_0x379555(0x24f),'dnsFj':'edit-scenario','xGxSu':'exclude-scenario','BcQMk':'Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','WowKr':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','yELyI':'Feature\x20review\x20ID','teJaz':'delete','ckMge':'restore','VPUQf':_0x379555(0x34c),'IUmtZ':_0x379555(0x2be),'UjiAA':'setup:login','KjovQ':'user','HJVji':'project','TYkLX':'Install\x20scope\x20for\x20plugin\x20and\x20skills','mBpds':function(_0x31bf0e,_0x36186e,_0x2b92e7){return _0x31bf0e(_0x36186e,_0x2b92e7);},'tMQeE':'setup:skills','NcEFk':_0x379555(0x201),'uOvRQ':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','zwvdf':'allow-insecure-localhost','FumuL':_0x379555(0x313),'AErmd':'mcp-bootstrap','igTIu':_0x379555(0x376),'UkZyK':'Ranger\x20API\x20token\x20(rngr_...)','mlbOq':function(_0x2bd23a){return _0x2bd23a();},'TdDCj':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','aLpLL':function(_0x158217,_0x3b6031){return _0x158217(_0x3b6031);},'sdWrB':_0x379555(0x21c),'OGNdI':_0x379555(0x360),'gxHlA':_0x379555(0x345),'qdfQL':_0x379555(0x23c),'jGaTy':'Run\x20full\x20interactive\x20setup','ecwnS':_0x379555(0x36e),'EGNoc':_0x379555(0x212),'OHIlC':'skills','RXBtX':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','KMAPx':'skip-chromium','QwwGK':'boolean','bQsjv':_0x379555(0x219),'POuwN':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','PZeRN':_0x379555(0x28e),'kypDb':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NflQT':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','PxaFv':'API\x20token','itPWX':_0x379555(0x35d),'DAKFm':_0x379555(0x306),'FYnxM':'base-url','YQTtt':function(_0x187cee,_0x261c3a,_0x5afd67){return _0x187cee(_0x261c3a,_0x5afd67);},'yKiQr':_0x379555(0x2ac),'kurXv':_0x379555(0x325),'HbNwZ':'clean','lNipZ':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','uJBlt':'Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','vSRrh':_0x379555(0x2fa),'rMuqj':_0x379555(0x2bd),'WEinP':'force','DIAWz':_0x379555(0x216),'PwtEI':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','drxbU':_0x379555(0x333),'ElisN':'profile-name','PsuaG':'profile\x20update','vRRAs':_0x379555(0x25c),'tIkvR':_0x379555(0x2e1),'OMbJz':_0x379555(0x2c4),'KfkQt':'profile\x20login','TMYWI':'all','ZGSoR':'dry-run','iZqeC':'Skip\x20interactive\x20confirmation\x20prompts.','kNRLR':_0x379555(0x224),'Kdoad':_0x379555(0x2b9),'xMwkb':_0x379555(0x22a),'RMMFO':function(_0x55ddde,_0x3ce14a){return _0x55ddde(_0x3ce14a);},'QysXq':_0x379555(0x33a),'EtFgy':'unset\x20<profile>\x20<key>','RiMbA':'Add\x20profile\x20configuration','AKyZT':_0x379555(0x308),'yJXhF':_0x379555(0x2ea),'KzXPN':_0x379555(0x334),'Cenfc':_0x379555(0x2e9),'rrgaL':'Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)','EwmRv':'config','wuzlk':'Manage\x20profile\x20configuration','wHdxq':'You\x20must\x20specify\x20a\x20profile\x20subcommand','baRYn':function(_0x117cf3,_0xccfbe1,_0xbf5fb0){return _0x117cf3(_0xccfbe1,_0xbf5fb0);},'ZxuOv':_0x379555(0x342),'gQXhj':_0x379555(0x215),'Dcnto':_0x379555(0x36a),'Wrivq':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','cqfIA':'notes','yFquq':_0x379555(0x2bf),'MhjOV':_0x379555(0x322),'MPFSD':'model','VGDaC':'headed','hUhsQ':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','mfmkl':'debug-outcome','oRgFf':_0x379555(0x257),'tdyfv':'incomplete','mYsxE':'debug-address-comments','EsmAq':_0x379555(0x2f3),'hTuGC':'token','pKvvd':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','UneOC':_0x379555(0x30e),'xmNik':'env','WoOka':function(_0x447511,_0x24a255,_0x480d2d){return _0x447511(_0x24a255,_0x480d2d);},'Lnagc':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','tgixr':'add\x20env','DkKDK':'Name\x20of\x20the\x20environment','JCEDT':'ranger\x20use','VfiGR':'ranger\x20profile\x20use','JLswU':_0x379555(0x237),'tgLqx':'key','XCTof':'ranger\x20config\x20list','TNmye':_0x379555(0x29d),'Fjcfa':function(_0x217200,_0x37fca3,_0x4eb107){return _0x217200(_0x37fca3,_0x4eb107);},'QmCVp':function(_0x4667a8,_0x548945,_0x299955){return _0x4667a8(_0x548945,_0x299955);},'gLlag':_0x379555(0x2dc),'PlHSo':_0x379555(0x22b),'BoHLu':function(_0x24b64c,_0x16af4e,_0x5a4732){return _0x24b64c(_0x16af4e,_0x5a4732);},'oZGpD':_0x379555(0x270),'soyXo':_0x379555(0x2db),'UenXh':_0x379555(0x291),'CgjAU':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','wiKuY':_0x379555(0x331),'cyEIO':_0x379555(0x22e),'YtpmJ':function(_0x33e285,_0x48837e,_0x4aa48b){return _0x33e285(_0x48837e,_0x4aa48b);},'aovCv':'ranger\x20feature\x20add-checklist-item','VLNzK':function(_0x1fab36,_0x39ff9e,_0x503069){return _0x1fab36(_0x39ff9e,_0x503069);},'PuQVn':function(_0x18e218,_0x46e4b4,_0x5b5ddc){return _0x18e218(_0x46e4b4,_0x5b5ddc);},'GjFdr':'ranger\x20feature\x20get-feedback','kqpGC':_0x379555(0x1fb),'HaIuw':function(_0x8a1292,_0x3f357a,_0x3153da){return _0x8a1292(_0x3f357a,_0x3153da);},'cJhfT':_0x379555(0x2ab),'sSMkj':_0x379555(0x283),'MffeN':'ranger\x20feature\x20resume','xuhlm':_0x379555(0x329),'rdriY':function(_0x4179b4,_0xfec77a,_0x252c62){return _0x4179b4(_0xfec77a,_0x252c62);},'WjEah':_0x379555(0x340),'tSggM':_0x379555(0x239),'amHNz':_0x379555(0x351),'yIfiF':_0x379555(0x1fe),'SbfuN':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','rTdzR':function(_0x18c314,_0x55992c,_0x428bb6){return _0x18c314(_0x55992c,_0x428bb6);},'Umhuv':'hook:enable','pOBZx':'enable','UMIgu':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','zzFDM':'disable','iEAnd':'Disable\x20Ranger\x20hooks\x20for\x20this\x20session','bANni':_0x379555(0x2f4),'teUpf':'session-id','pqDqS':function(_0x120912,_0x4e5832,_0x24d25a){return _0x120912(_0x4e5832,_0x24d25a);},'Zxbkd':function(_0x18cfbb,_0x303932){return _0x18cfbb(_0x303932);},'BNSmV':_0x379555(0x204),'puqkf':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','YfxrP':'List\x20all\x20feature\x20reviews','lYhKL':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','AtcUq':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','NOYRv':'report\x20[id]','CqUzq':_0x379555(0x2eb),'nlMVX':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','scPsn':'Restore\x20a\x20soft-deleted\x20feature\x20review','GYbzm':'Initialize\x20Ranger\x20in\x20your\x20project','FCtkn':_0x379555(0x203),'RMbCZ':_0x379555(0x352),'mMlPr':'Install\x20Ranger\x20skills','ylbBe':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','RNkPA':_0x379555(0x27d),'jFRre':'Manage\x20profiles','nZaqr':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','lFAFh':'update','NrljG':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','eLXsc':_0x379555(0x20f),'bgiYl':'start\x20[token]','FOOWE':'hook','oaQdD':_0x379555(0x378),'ebUTt':'help'};return _0x5255ae(_0x421a87??process[_0x379555(0x25b)]['slice'](0x2))[_0x379555(0x2a2)]('ranger')['usage'](TOP_LEVEL_HELP)[_0x379555(0x24a)](_0x5068f9[_0x379555(0x358)](getCurrentVersion))[_0x379555(0x316)](_0x5068f9[_0x379555(0x32b)],_0x5068f9[_0x379555(0x34b)],_0x8effd4=>{const _0x3eb763=_0x379555;return _0x8effd4['positional'](_0x5068f9[_0x3eb763(0x361)],{'type':_0x5068f9['NCdiO'],'description':_0x3eb763(0x2ad),'demandOption':!![]})['option'](_0x5068f9['LnbYE'],{'type':'string','alias':'d','description':_0x5068f9['kvmgO']})[_0x3eb763(0x369)](_0x3eb763(0x24f),{'type':_0x5068f9[_0x3eb763(0x28a)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x3eb763(0x369)]('checklist',{'type':_0x5068f9['wkZjz'],'hidden':!![]});},async _0x3e3217=>{const _0x4c109c=_0x379555;if(!_0x3e3217[_0x4c109c(0x1fc)]){console['error'](_0x5068f9['xgVdd']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a',_0x5068f9[_0x4c109c(0x1eb)])),process['exit'](0x1);return;}_0x5068f9[_0x4c109c(0x2cc)](warnFlagRenamed,_0x5068f9['dcXPK'],_0x4c109c(0x33b),'--scenario');const _0x10d663=_0x3e3217[_0x4c109c(0x24f)]||_0x3e3217['checklist'];await _0x5068f9['EKnpw'](withTelemetry,'create',()=>featureCreate(_0x3e3217[_0x4c109c(0x1fc)],{'description':_0x3e3217['description'],'scenarios':_0x10d663}));})['command']('list',_0x5068f9['YfxrP'],_0x1cb0d6=>{const _0x4cd552=_0x379555;return _0x1cb0d6['option']('current-branch',{'type':_0x4cd552(0x366),'description':_0x4cd552(0x291)})[_0x4cd552(0x369)](_0x5068f9['EPrSz'],{'type':_0x5068f9[_0x4cd552(0x368)],'alias':'l','description':_0x4cd552(0x379),'default':0xa})['option'](_0x5068f9['ZymOi'],{'type':'number','alias':'o','description':_0x5068f9[_0x4cd552(0x336)],'default':0x0})[_0x4cd552(0x369)](_0x4cd552(0x2cd),{'type':_0x4cd552(0x366),'alias':'d','description':_0x5068f9[_0x4cd552(0x35f)],'default':![]});},async _0x7a822e=>{const _0x4fcbbc=_0x379555;await withTelemetry(_0x5068f9['FehOy'],()=>featureList({'currentBranch':_0x7a822e['current-branch'],'limit':_0x7a822e[_0x4fcbbc(0x242)],'offset':_0x7a822e['offset'],'includeDeleted':_0x7a822e[_0x4fcbbc(0x2cd)]}));})[_0x379555(0x316)](_0x379555(0x239),'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x58817a=>{const _0x5b5c52=_0x379555;return _0x58817a[_0x5b5c52(0x256)]('id',{'type':_0x5b5c52(0x2b3),'description':'Feature\x20review\x20ID'});},async _0x1daf78=>{const _0x1451c9=_0x379555;await withTelemetry(_0x1451c9(0x2ee),()=>featureShow(_0x1daf78['id']));})['command'](_0x379555(0x301),_0x5068f9['lYhKL'],_0x41970a=>{const _0x50db94=_0x379555;return _0x41970a[_0x50db94(0x256)]('id',{'type':_0x5068f9[_0x50db94(0x29b)],'description':_0x5068f9[_0x50db94(0x27a)]});},async _0x1542db=>{const _0x218460=_0x379555;await withTelemetry(_0x218460(0x28d),()=>featureResume(_0x1542db['id']));})['command']('add-scenario\x20<description>','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review',_0x834622=>{const _0xa6fb=_0x379555;return _0x834622['positional']('description',{'type':_0x5068f9[_0xa6fb(0x29b)],'description':_0x5068f9[_0xa6fb(0x354)],'demandOption':!![]})['option']('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bmYMi']});},async _0x3d9d06=>{const _0x17389a=_0x379555;await withTelemetry(_0x17389a(0x314),()=>featureAddScenario(_0x3d9d06[_0x17389a(0x362)],_0x3d9d06['id']));})[_0x379555(0x316)](_0x379555(0x23f),_0x5068f9[_0x379555(0x2a4)],_0x4f16a7=>{const _0xda500b=_0x379555;return _0x4f16a7['positional'](_0xda500b(0x362),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0xda500b(0x2ba)],'demandOption':!![]})[_0xda500b(0x369)](_0x5068f9['kAefr'],{'type':_0xda500b(0x1e0),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})['option']('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bmYMi']});},async _0x5a0aa3=>{const _0x40904c=_0x379555;await withTelemetry(_0x5068f9['dnsFj'],()=>featureEditScenario(_0x5a0aa3['description'],{'id':_0x5a0aa3['id'],'scenario':_0x5a0aa3[_0x40904c(0x24f)]}));})[_0x379555(0x316)](_0x5068f9['NOYRv'],'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x23d87b=>{const _0x4035da=_0x379555;return _0x23d87b[_0x4035da(0x256)]('id',{'type':'string','description':_0x4035da(0x27c)})['option'](_0x5068f9['xGxSu'],{'type':'array','description':_0x5068f9[_0x4035da(0x311)]})[_0x4035da(0x369)](_0x4035da(0x25a),{'type':_0x4035da(0x366),'description':_0x5068f9[_0x4035da(0x2f2)],'default':![]});},async _0x29f574=>{const _0x55fad7=_0x379555,_0x489b73=_0x29f574[_0x55fad7(0x337)],_0x9150f3=_0x489b73?_0x489b73[_0x55fad7(0x1e6)](_0x3b5eec=>Number(_0x3b5eec)):undefined;await withTelemetry(_0x55fad7(0x2b5),()=>featureReportPrDescription(_0x29f574['id'],{'excludeScenarios':_0x9150f3,'json':_0x29f574[_0x55fad7(0x25a)]}));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x23a)],_0x5068f9['nlMVX'],_0x421770=>{const _0xf1080b=_0x379555;return _0x421770['positional']('id',{'type':_0xf1080b(0x2b3),'description':_0xf1080b(0x367)});},async _0x347ed7=>{await _0x5068f9['EKnpw'](withTelemetry,'get-review',()=>featureGetReview(_0x347ed7['id']));})['command'](_0x379555(0x1fe),_0x379555(0x2ce),_0x2d890f=>{const _0x359d1f=_0x379555;return _0x2d890f[_0x359d1f(0x256)]('id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['yELyI']});},async _0x468477=>{const _0x116311=_0x379555;await withTelemetry(_0x5068f9[_0x116311(0x343)],()=>featureDelete(_0x468477['id']));})[_0x379555(0x316)](_0x379555(0x2fd),_0x5068f9['scPsn'],_0x56d074=>{const _0x31b83d=_0x379555;return _0x56d074[_0x31b83d(0x256)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x4e2227=>{const _0x213d4c=_0x379555;await _0x5068f9['EKnpw'](withTelemetry,_0x5068f9[_0x213d4c(0x32a)],()=>featureRestore(_0x4e2227['id']));})['command']('setup\x20[tokenOrSubcommand]',_0x5068f9[_0x379555(0x370)],_0x1eb2cd=>{const _0x59c467=_0x379555,_0x3a3b84={'LscLF':_0x59c467(0x277),'RlJMs':_0x5068f9[_0x59c467(0x29b)],'flwaa':_0x5068f9['NcEFk'],'GkIqm':_0x5068f9['uOvRQ'],'tfyQM':_0x5068f9['KjovQ'],'StJya':_0x59c467(0x2bd),'AtNmI':_0x59c467(0x303),'qZDaO':_0x59c467(0x366),'iJwoB':_0x59c467(0x20e),'bfYcE':_0x5068f9[_0x59c467(0x24c)],'CDWsW':_0x5068f9['FumuL'],'PGgYv':_0x5068f9['AErmd'],'WZCUX':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','nfklv':_0x5068f9['igTIu'],'TQuzH':function(_0x136855,_0xd02a80,_0x166ed9){return _0x136855(_0xd02a80,_0x166ed9);},'jSoOy':_0x5068f9['UkZyK'],'sOPqo':'Authenticate\x20via\x20MCP\x20proxy','bDoDM':function(_0x28cae9){return _0x5068f9['mlbOq'](_0x28cae9);},'TwIEe':_0x5068f9[_0x59c467(0x288)],'QCneS':function(_0x49c4c4,_0x505347){return _0x5068f9['aLpLL'](_0x49c4c4,_0x505347);},'DeNvS':function(_0x48cafa,_0x239743){return _0x5068f9['aLpLL'](_0x48cafa,_0x239743);},'pMAAD':_0x5068f9[_0x59c467(0x1ed)],'wZSNw':'project','AZGLN':_0x5068f9[_0x59c467(0x375)]};return _0x1eb2cd['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x59c467(0x256)](_0x5068f9[_0x59c467(0x278)],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['qdfQL']})['command']('all',_0x5068f9['jGaTy'],_0x490154=>{const _0x994e7f=_0x59c467;return _0x490154[_0x994e7f(0x369)](_0x3a3b84['LscLF'],{'type':_0x3a3b84['RlJMs'],'description':_0x994e7f(0x312)})['option'](_0x994e7f(0x32d),{'type':_0x994e7f(0x366),'description':_0x994e7f(0x37a),'default':![]})[_0x994e7f(0x369)]('skip-auth',{'type':'boolean','description':_0x3a3b84['flwaa'],'default':![]})['option']('with-deps',{'type':_0x994e7f(0x366),'description':_0x3a3b84[_0x994e7f(0x1e2)],'default':![]})['option']('scope',{'type':_0x3a3b84[_0x994e7f(0x265)],'choices':[_0x3a3b84[_0x994e7f(0x37f)],'project'],'description':'Install\x20scope\x20for\x20plugin\x20and\x20skills'})[_0x994e7f(0x369)](_0x3a3b84['StJya'],{'type':_0x3a3b84[_0x994e7f(0x265)],'description':_0x994e7f(0x307)})['option'](_0x3a3b84[_0x994e7f(0x31f)],{'type':_0x3a3b84['qZDaO'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x994e7f(0x369)](_0x994e7f(0x21c),{'type':_0x3a3b84[_0x994e7f(0x332)],'description':_0x3a3b84['iJwoB'],'default':![]})['option'](_0x3a3b84[_0x994e7f(0x341)],{'type':'boolean','description':_0x3a3b84['CDWsW'],'default':![]})['option'](_0x3a3b84[_0x994e7f(0x2ca)],{'type':_0x994e7f(0x366),'description':_0x3a3b84[_0x994e7f(0x207)],'default':![]})[_0x994e7f(0x369)](_0x3a3b84[_0x994e7f(0x1f7)],{'type':_0x994e7f(0x366),'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x56b8b1=>{const _0x38f5ae=_0x59c467;(_0x56b8b1['mcp-bootstrap']||_0x56b8b1['mcp'])&&await withTelemetry(_0x3a3b84[_0x38f5ae(0x2ca)],()=>mcpBootstrap()),await _0x3a3b84['TQuzH'](withTelemetry,_0x38f5ae(0x1e7),_0x2cfd85=>start(_0x56b8b1['token'],{'skipChromium':_0x56b8b1[_0x38f5ae(0x32d)],'skipAuth':_0x56b8b1[_0x38f5ae(0x2fa)],'withDeps':_0x56b8b1[_0x38f5ae(0x34c)],'scope':_0x56b8b1['scope'],'url':_0x56b8b1['url'],'force':_0x56b8b1['force'],'opencode':_0x56b8b1[_0x38f5ae(0x21c)],'allowInsecureLocalhost':_0x56b8b1['allow-insecure-localhost']},_0x2cfd85));})[_0x59c467(0x316)](_0x5068f9[_0x59c467(0x258)],_0x5068f9[_0x59c467(0x229)],_0x4e6bc2=>{const _0x5a885a=_0x59c467;return _0x4e6bc2[_0x5a885a(0x369)](_0x5068f9[_0x5a885a(0x37c)],{'type':'boolean','description':_0x5068f9['IUmtZ'],'default':![]});},async _0x19e0e9=>{const _0x3e38ba=_0x59c467;await withTelemetry(_0x3e38ba(0x202),()=>ensureChromium(_0x19e0e9[_0x3e38ba(0x34c)]));})['command'](_0x59c467(0x2ac),_0x59c467(0x222),_0x48164c=>{const _0x3dd0af=_0x59c467;return _0x48164c[_0x3dd0af(0x369)](_0x3dd0af(0x277),{'type':'string','description':_0x3a3b84['jSoOy']})[_0x3dd0af(0x369)](_0x3a3b84[_0x3dd0af(0x1f7)],{'type':_0x3dd0af(0x366),'description':_0x3a3b84[_0x3dd0af(0x221)],'default':![]});},async _0x50a906=>{await withTelemetry(_0x5068f9['UjiAA'],async()=>{const _0x14255f=_0xe1c5;if(_0x50a906['mcp']){await mcpBootstrap();const _0x4e5931=await _0x3a3b84['bDoDM'](refreshCliToken);if(!_0x4e5931)throw new Error(_0x3a3b84['TwIEe']);const _0x552966=await _0x3a3b84['QCneS'](getCurrentUser,_0x4e5931);if(!_0x552966['success'])throw new Error(_0x14255f(0x2da)+_0x552966['error']);console[_0x14255f(0x350)]('✓\x20Authenticated\x20to\x20'+_0x552966['user'][_0x14255f(0x223)]);return;}await _0x3a3b84[_0x14255f(0x37e)](authenticate,_0x50a906['token']);});})[_0x59c467(0x316)](_0x5068f9['OHIlC'],_0x5068f9[_0x59c467(0x217)],_0x4314e=>{const _0xf4fa97=_0x59c467;return _0x4314e[_0xf4fa97(0x369)]('scope',{'type':'string','choices':[_0x5068f9[_0xf4fa97(0x266)],_0x5068f9[_0xf4fa97(0x2ed)]],'description':_0x5068f9['TYkLX']})[_0xf4fa97(0x369)](_0xf4fa97(0x21c),{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x5e47ff=>{const _0x43f46a=_0x59c467;await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x43f46a(0x321)],async()=>{const _0x1387f2=_0x43f46a,_0x1fdf0d=_0x5e47ff[_0x1387f2(0x219)];if(_0x5e47ff[_0x1387f2(0x21c)]){const _0x2e3dcc=await ensureOpencodePluginConfig(_0x1fdf0d);_0x2e3dcc&&await installSkill('ranger',{'level':_0x2e3dcc['scope'],'cliVersion':getCurrentVersion(),'platform':_0x3a3b84['pMAAD']});}else await ensureClaudePlugin(_0x1fdf0d),await ensureClaudeSkills(_0x1fdf0d);});})[_0x59c467(0x316)](_0x59c467(0x27d),_0x59c467(0x2dd),_0x51c21c=>{const _0x498513=_0x59c467;return _0x51c21c[_0x498513(0x369)]('scope',{'type':_0x3a3b84['RlJMs'],'choices':['user',_0x3a3b84['wZSNw']],'description':_0x3a3b84[_0x498513(0x31c)]})[_0x498513(0x369)](_0x498513(0x2bd),{'type':_0x3a3b84[_0x498513(0x265)],'description':_0x498513(0x35e)})['option']('skip-auth',{'type':'boolean','description':_0x498513(0x264),'default':![]})['option'](_0x3a3b84['AtNmI'],{'type':_0x3a3b84[_0x498513(0x332)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x498513(0x2f1),{'type':_0x3a3b84['qZDaO'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x41b0f6=>{const _0x4a2523=_0x59c467;await _0x5068f9['EKnpw'](withTelemetry,_0x4a2523(0x1f3),_0x4fce8d=>ensureLocalEnv({'url':_0x41b0f6['url'],'force':_0x41b0f6['force'],'allowInsecureLocalhost':_0x41b0f6[_0x4a2523(0x2f1)],'scope':_0x41b0f6['scope']===_0x4a2523(0x2d2)?'user':undefined},_0x4fce8d));})[_0x59c467(0x369)](_0x5068f9['KMAPx'],{'type':_0x5068f9['QwwGK'],'description':_0x59c467(0x37a),'default':![]})['option'](_0x5068f9['bQsjv'],{'type':_0x5068f9[_0x59c467(0x29b)],'choices':[_0x5068f9[_0x59c467(0x266)],_0x5068f9[_0x59c467(0x2ed)]],'description':_0x5068f9[_0x59c467(0x1ec)]})[_0x59c467(0x369)]('url',{'type':'string','description':_0x5068f9[_0x59c467(0x2fe)]})['option'](_0x59c467(0x303),{'type':_0x59c467(0x366),'description':_0x5068f9[_0x59c467(0x2a9)],'default':![]})['option']('opencode',{'type':_0x5068f9[_0x59c467(0x209)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x59c467(0x2f1),{'type':_0x59c467(0x366),'description':_0x5068f9[_0x59c467(0x338)],'default':![]})['option'](_0x59c467(0x28f),{'type':'boolean','description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})[_0x59c467(0x369)](_0x59c467(0x2fa),{'type':_0x5068f9['QwwGK'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x59c467(0x34c),{'type':'boolean','description':_0x5068f9['IUmtZ'],'default':![]})[_0x59c467(0x369)](_0x59c467(0x277),{'type':_0x59c467(0x2b3),'hidden':!![],'description':_0x5068f9[_0x59c467(0x27b)]});},async _0x5ea334=>{const _0x47c6f4=_0x379555,_0x5a26de=_0x5ea334[_0x47c6f4(0x345)],_0x5f4513=_0x5ea334[_0x47c6f4(0x277)]??_0x5a26de;_0x5ea334[_0x5068f9[_0x47c6f4(0x20d)]]&&await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x47c6f4(0x20d)],()=>mcpBootstrap()),await withTelemetry(_0x5068f9['itPWX'],_0x7289b8=>start(_0x5f4513,{'skipChromium':_0x5ea334[_0x47c6f4(0x32d)],'skipAuth':_0x5ea334['skip-auth'],'withDeps':_0x5ea334[_0x47c6f4(0x34c)],'scope':_0x5ea334[_0x47c6f4(0x219)],'url':_0x5ea334['url'],'force':_0x5ea334[_0x47c6f4(0x303)],'opencode':_0x5ea334[_0x47c6f4(0x21c)],'allowInsecureLocalhost':_0x5ea334[_0x47c6f4(0x2f1)]},_0x7289b8));})['command']('setup-ci\x20<token>',_0x5068f9['FCtkn'],_0x1f3467=>{const _0x3cfedb=_0x379555;return _0x1f3467[_0x3cfedb(0x256)]('token',{'type':_0x3cfedb(0x2b3),'description':_0x3cfedb(0x312),'demandOption':!![]})[_0x3cfedb(0x369)](_0x5068f9['DAKFm'],{'type':_0x3cfedb(0x2b3),'description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x3cfedb(0x369)](_0x5068f9['FYnxM'],{'type':_0x5068f9['NCdiO'],'description':_0x3cfedb(0x1f2)})[_0x3cfedb(0x369)](_0x5068f9['KMAPx'],{'type':_0x5068f9['QwwGK'],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x1cf98c=>{const _0xadd431=_0x379555;await _0x5068f9['mBpds'](withTelemetry,_0xadd431(0x2ff),_0x42d870=>setupCi(_0x1cf98c[_0xadd431(0x277)],{'profile':_0x1cf98c[_0xadd431(0x306)],'baseUrl':_0x1cf98c[_0xadd431(0x205)],'skipChromium':_0x1cf98c['skip-chromium']},_0x42d870));})[_0x379555(0x316)](_0x379555(0x2ac),_0x379555(0x319),()=>{},async()=>{const _0x316d97=_0x379555;await _0x5068f9[_0x316d97(0x1fa)](withTelemetry,_0x5068f9['yKiQr'],()=>login());})[_0x379555(0x316)](_0x5068f9['RMbCZ'],_0x5068f9[_0x379555(0x1e9)],_0x45af52=>{const _0x1f1d10=_0x379555;return _0x45af52['option']('opencode',{'type':'boolean','description':_0x5068f9[_0x1f1d10(0x289)],'default':![]})['option'](_0x5068f9[_0x1f1d10(0x271)],{'type':_0x5068f9[_0x1f1d10(0x29b)],'choices':[_0x5068f9['KjovQ'],_0x5068f9['HJVji']],'description':_0x1f1d10(0x2c5)});},async _0x3d8329=>{const _0x3beecf=_0x379555,_0x445a01=Boolean(_0x3d8329[_0x3beecf(0x21c)]);await withTelemetry('skillup',()=>skillup({'autoInstall':_0x3d8329[_0x3beecf(0x219)],'platform':_0x445a01?'opencode':_0x3beecf(0x2f7)}));})[_0x379555(0x316)]('clean',_0x5068f9['ylbBe'],()=>{},async()=>{await withTelemetry(_0x5068f9['HbNwZ'],()=>clean());})['command']([_0x5068f9['DAKFm'],_0x5068f9[_0x379555(0x365)]],_0x5068f9[_0x379555(0x2bb)],_0x4c6a9b=>{const _0x93579e=_0x379555,_0x273b8f={'fqPrH':_0x5068f9['xMwkb'],'WGRfX':function(_0x4081d5,_0x2ea62f){return _0x5068f9['RMMFO'](_0x4081d5,_0x2ea62f);},'FAkCW':'profile-name','LzXEA':_0x93579e(0x2b3),'HMVaj':'Name\x20of\x20the\x20profile','wzJHt':function(_0x25012c,_0x3dd89f,_0x58c9af){return _0x25012c(_0x3dd89f,_0x58c9af);},'XmDPR':'profile\x20ls','OBkeZ':_0x5068f9[_0x93579e(0x33c)],'YBeji':'key','wVgGb':'profile','obLyD':function(_0xfc63ac,_0x170fb7,_0x5d7316){return _0x5068f9['YQTtt'](_0xfc63ac,_0x170fb7,_0x5d7316);},'cPdTe':_0x93579e(0x2e2),'RFbAn':function(_0x578bd0,_0x1eb807,_0x480c58){const _0x26c196=_0x93579e;return _0x5068f9[_0x26c196(0x2ec)](_0x578bd0,_0x1eb807,_0x480c58);},'fJQFE':'profile\x20config\x20unset','cIqFx':'Set\x20a\x20config\x20value','eseGe':_0x5068f9[_0x93579e(0x33d)],'clRjP':_0x93579e(0x245)};return _0x4c6a9b['usage'](PROFILE_HELP)[_0x93579e(0x316)]('add\x20<profile-name>',_0x5068f9['RiMbA'],_0x25d116=>{const _0x5e8b4a=_0x93579e;return _0x25d116['positional'](_0x5e8b4a(0x326),{'type':_0x5e8b4a(0x2b3),'description':_0x5068f9['lNipZ'],'demandOption':!![]})['option']('ci',{'type':_0x5068f9[_0x5e8b4a(0x209)],'description':_0x5068f9[_0x5e8b4a(0x26f)],'default':![]})['option'](_0x5068f9[_0x5e8b4a(0x250)],{'type':_0x5e8b4a(0x366),'description':_0x5e8b4a(0x2ae),'default':![]})['option'](_0x5068f9[_0x5e8b4a(0x2a5)],{'type':_0x5e8b4a(0x2b3),'description':_0x5e8b4a(0x26c)})[_0x5e8b4a(0x369)](_0x5068f9['WEinP'],{'type':_0x5e8b4a(0x366),'description':_0x5068f9[_0x5e8b4a(0x2a9)],'default':![]})[_0x5e8b4a(0x369)](_0x5e8b4a(0x1ea),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['DIAWz']})['option'](_0x5e8b4a(0x2f1),{'type':_0x5068f9[_0x5e8b4a(0x209)],'description':_0x5e8b4a(0x373),'default':![]})[_0x5e8b4a(0x369)]('safe-mode',{'type':_0x5e8b4a(0x366),'description':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','default':![]})[_0x5e8b4a(0x369)](_0x5e8b4a(0x268),{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})[_0x5e8b4a(0x369)](_0x5e8b4a(0x219),{'type':_0x5e8b4a(0x2b3),'choices':[_0x5068f9['KjovQ'],_0x5068f9[_0x5e8b4a(0x2ed)]],'description':_0x5068f9['PwtEI']})['option']('yes',{'type':_0x5068f9[_0x5e8b4a(0x209)],'alias':'y','description':_0x5e8b4a(0x252),'default':![]});},async _0x387f7d=>{const _0xb123ed=_0x93579e;await withTelemetry(_0x273b8f[_0xb123ed(0x2d9)],_0x23e73f=>addEnv(_0x387f7d['profile-name'],{'ci':_0x387f7d['ci'],'skipAuth':_0x387f7d['skip-auth'],'url':_0x387f7d['url'],'force':_0x387f7d['force'],'cdpEndpoint':_0x387f7d['cdp-endpoint'],'allowInsecureLocalhost':_0x387f7d[_0xb123ed(0x2f1)],'safeMode':_0x387f7d[_0xb123ed(0x253)],'setupHeader':_0x387f7d[_0xb123ed(0x268)],'scope':_0x387f7d[_0xb123ed(0x219)],'yes':_0x387f7d['yes']},_0x23e73f),{'isElectron':_0x273b8f['WGRfX'](Boolean,_0x387f7d['cdp-endpoint'])});})['command'](_0x5068f9['AKyZT'],_0x5068f9[_0x93579e(0x272)],_0x5cd13b=>{const _0xfa9ce1=_0x93579e;return _0x5cd13b[_0xfa9ce1(0x256)](_0x273b8f[_0xfa9ce1(0x234)],{'type':_0x273b8f['LzXEA'],'description':_0x273b8f['HMVaj'],'demandOption':!![]});},async _0x10821b=>{await withTelemetry(_0x5068f9['drxbU'],()=>useEnv(_0x10821b['profile-name']));})['command'](_0x5068f9[_0x93579e(0x236)],_0x5068f9[_0x93579e(0x364)],_0x8b293e=>{const _0x403b1b=_0x93579e;return _0x8b293e['positional']('profile',{'type':_0x5068f9['NCdiO'],'description':_0x403b1b(0x33a),'demandOption':!![]});},async _0x19928a=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x19928a['profile']));})[_0x93579e(0x316)]('ls',_0x93579e(0x285),()=>{},async()=>{const _0x35d631=_0x93579e;await _0x273b8f[_0x35d631(0x29a)](withTelemetry,_0x273b8f[_0x35d631(0x247)],()=>envList());})['command'](_0x93579e(0x35a),_0x93579e(0x36f),_0x5a16f4=>{const _0x1071e0=_0x93579e;return _0x5a16f4[_0x1071e0(0x256)](_0x5068f9[_0x1071e0(0x34e)],{'type':'string','description':_0x1071e0(0x262),'demandOption':!![]})['option'](_0x5068f9['zwvdf'],{'type':_0x1071e0(0x366),'description':_0x1071e0(0x373)});},async _0x3e02d2=>{const _0x47489a=_0x93579e;await _0x5068f9['mBpds'](withTelemetry,_0x5068f9[_0x47489a(0x2d3)],_0x115ba0=>updateEnv(_0x3e02d2[_0x47489a(0x326)],_0x115ba0,{'allowInsecureLocalhost':_0x3e02d2[_0x47489a(0x2f1)]}));})[_0x93579e(0x316)](_0x93579e(0x260),![],_0x34a60d=>{const _0x54d4f3=_0x93579e;return _0x34a60d[_0x54d4f3(0x256)](_0x5068f9['CwvVv'],{'type':_0x54d4f3(0x2b3),'description':_0x5068f9[_0x54d4f3(0x241)],'demandOption':!![]});},async _0x1828dc=>{const _0x4f745d=_0x93579e,_0x1ff300={'aGqjt':_0x5068f9['tIkvR'],'xwhVL':function(_0x256a3c,_0x23318f){return _0x256a3c===_0x23318f;},'AkxMH':_0x5068f9['OMbJz'],'OXfRj':'failed'};await withTelemetry(_0x5068f9[_0x4f745d(0x2cb)],async()=>{const _0x3e439b=_0x4f745d,_0x56e1c9=process['env']['RANGER_TEST_USERNAME'],_0x18faa1=process[_0x3e439b(0x27f)]['RANGER_TEST_PASSWORD'];(!_0x56e1c9||!_0x18faa1)&&(console['error'](_0x1ff300['aGqjt']),process[_0x3e439b(0x2a8)](0x1));const _0x105670=_0x1828dc['name'],_0x45fb3e=await serverSideLogin(_0x105670,{'force':!![]});_0x1ff300['xwhVL'](_0x45fb3e['status'],_0x1ff300['AkxMH'])&&(console['error']('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x45fb3e['status']===_0x1ff300['OXfRj']&&(console['error']('Login\x20failed:\x20'+(_0x45fb3e[_0x3e439b(0x35c)]??'unknown\x20error')),_0x45fb3e[_0x3e439b(0x2c0)]&&console[_0x3e439b(0x35c)](_0x45fb3e[_0x3e439b(0x2c0)]),process[_0x3e439b(0x2a8)](0x1)),console[_0x3e439b(0x350)]('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x105670+_0x3e439b(0x318));});})['command'](_0x93579e(0x339),_0x5068f9[_0x93579e(0x254)],_0x310a4d=>{const _0x234bcc=_0x93579e;return _0x310a4d[_0x234bcc(0x256)]('profile-name',{'type':_0x5068f9['NCdiO'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x234bcc(0x369)](_0x5068f9['TMYWI'],{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x234bcc(0x369)](_0x5068f9['ZGSoR'],{'type':_0x5068f9['QwwGK'],'description':_0x234bcc(0x1f8),'default':![]})[_0x234bcc(0x369)]('yes',{'type':_0x5068f9['QwwGK'],'alias':'y','description':_0x5068f9[_0x234bcc(0x1f9)],'default':![]})['option'](_0x234bcc(0x34f),{'type':_0x234bcc(0x366),'description':_0x5068f9[_0x234bcc(0x206)],'default':![]});},async _0x234550=>{const _0x359721=_0x93579e;await withTelemetry(_0x5068f9[_0x359721(0x214)],_0x3fd69a=>migrateProfile({'profileName':_0x234550[_0x359721(0x326)],'all':_0x234550['all'],'dryRun':_0x234550[_0x359721(0x2bc)],'yes':_0x234550[_0x359721(0x232)],'saveCreds':_0x234550['save-creds']},_0x3fd69a));})[_0x93579e(0x316)](_0x5068f9['EwmRv'],_0x5068f9['wuzlk'],_0x286347=>{const _0x59b08d=_0x93579e,_0x49300a={'CRrcm':function(_0x37557a,_0x55dcfa,_0xa29881){return _0x37557a(_0x55dcfa,_0xa29881);},'MHNFV':'profile','uVpWA':_0x273b8f['fJQFE']};return _0x286347[_0x59b08d(0x24e)](PROFILE_CONFIG_HELP)[_0x59b08d(0x316)]('set\x20<profile>\x20<key>\x20<value>',_0x273b8f['cIqFx'],_0x29f55c=>{const _0x13d975=_0x59b08d;return _0x29f55c[_0x13d975(0x256)](_0x13d975(0x306),{'type':'string','description':_0x273b8f[_0x13d975(0x280)],'demandOption':!![]})[_0x13d975(0x256)](_0x273b8f[_0x13d975(0x32f)],{'type':_0x273b8f['LzXEA'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':'string','description':_0x13d975(0x2e4),'demandOption':!![]});},async _0x2344cd=>{const _0x5bcb1d=_0x59b08d;await _0x49300a[_0x5bcb1d(0x1e5)](withTelemetry,'profile\x20config\x20set',()=>configSet(_0x2344cd['profile'],_0x2344cd['key'],_0x2344cd[_0x5bcb1d(0x2b0)]));})['command'](_0x59b08d(0x353),_0x59b08d(0x2b2),_0xec002a=>{const _0x176535=_0x59b08d;return _0xec002a[_0x176535(0x256)]('profile',{'type':_0x273b8f['LzXEA'],'description':'Profile\x20name','demandOption':!![]})[_0x176535(0x256)]('key',{'type':_0x176535(0x2b3),'description':_0x176535(0x298),'demandOption':!![]});},async _0x426bab=>{const _0x3df309=_0x59b08d;await _0x49300a['CRrcm'](withTelemetry,_0x3df309(0x315),()=>configGet(_0x426bab[_0x3df309(0x306)],_0x426bab['key']));})['command'](_0x59b08d(0x2d7),_0x59b08d(0x263),_0x159df4=>{return _0x159df4['positional'](_0x273b8f['wVgGb'],{'type':'string','description':_0x273b8f['OBkeZ'],'demandOption':!![]});},async _0x2710c4=>{const _0x2bcec5=_0x59b08d;await _0x273b8f[_0x2bcec5(0x2e7)](withTelemetry,_0x273b8f[_0x2bcec5(0x20c)],()=>configList(_0x2710c4['profile']));})[_0x59b08d(0x316)](_0x273b8f['eseGe'],_0x273b8f['clRjP'],_0x4dc25f=>{const _0x161bc2=_0x59b08d;return _0x4dc25f[_0x161bc2(0x256)](_0x49300a[_0x161bc2(0x23e)],{'type':'string','description':'Profile\x20name','demandOption':!![]})[_0x161bc2(0x256)](_0x161bc2(0x24d),{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5b5f0f=>{const _0x133959=_0x59b08d;await withTelemetry(_0x49300a[_0x133959(0x2f5)],()=>configUnset(_0x5b5f0f['profile'],_0x5b5f0f['key']));})['command']('reset\x20<profile>',_0x59b08d(0x2c1),_0x1ebd8b=>{const _0xc32238=_0x59b08d;return _0x1ebd8b[_0xc32238(0x256)](_0xc32238(0x306),{'type':_0xc32238(0x2b3),'description':'Profile\x20name','demandOption':!![]});},async _0x16dbb3=>{const _0x16d354=_0x59b08d;await _0x273b8f[_0x16d354(0x1f6)](withTelemetry,_0x16d354(0x2df),()=>configReset(_0x16dbb3[_0x16d354(0x306)]));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})['demandCommand'](0x1,_0x5068f9[_0x93579e(0x2a1)]);})[_0x379555(0x316)]('status',_0x5068f9[_0x379555(0x279)],()=>{},async()=>{const _0x39b671=_0x379555;await _0x5068f9[_0x39b671(0x377)](withTelemetry,_0x5068f9[_0x39b671(0x30b)],()=>status());})[_0x379555(0x316)](_0x5068f9[_0x379555(0x2af)],_0x5068f9['NrljG'],()=>{},async()=>{const _0x3f5a37=_0x379555;await _0x5068f9[_0x3f5a37(0x2fc)](withTelemetry,_0x3f5a37(0x1e3),()=>update());})[_0x379555(0x316)](_0x379555(0x208),'Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x5b07e2=_0x379555,_0x43c4b7={'zFsOR':function(_0x168f95){return _0x168f95();}};await withTelemetry(_0x5b07e2(0x208),async()=>{const _0x497ec1=_0x5b07e2,_0x230341=await _0x43c4b7['zFsOR'](getToken);if(!_0x230341)throw new Error(_0x497ec1(0x238));console[_0x497ec1(0x350)](_0x230341);});})['command']('go',_0x5068f9[_0x379555(0x30d)],_0x24ef80=>{const _0x5cc437=_0x379555;return _0x24ef80[_0x5cc437(0x369)](_0x5068f9['gQXhj'],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x5cc437(0x2b4)]})[_0x5cc437(0x369)]('profile',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['Wrivq']})['option'](_0x5068f9['cqfIA'],{'type':'string','description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option']('scenario',{'type':_0x5068f9[_0x5cc437(0x368)],'description':_0x5cc437(0x310)})['option'](_0x5068f9['yFquq'],{'type':_0x5cc437(0x2b3),'description':_0x5068f9['MhjOV']})['option']('base-url',{'type':_0x5cc437(0x2b3),'description':_0x5cc437(0x2a0)})['option'](_0x5068f9[_0x5cc437(0x1fd)],{'type':_0x5cc437(0x2b3),'description':'Model\x20to\x20use\x20for\x20verification\x20(e.g.,\x20opus,\x20sonnet,\x20claude-opus-4-6,\x20anthropic.claude-opus-4-6-v1).\x20When\x20RANGER_BYOK=true,\x20leaving\x20this\x20unset\x20lets\x20Claude/Bedrock\x20choose\x20from\x20local\x20config.'})['option'](_0x5068f9['VGDaC'],{'type':_0x5cc437(0x366),'description':_0x5068f9[_0x5cc437(0x33f)],'default':![]})['option'](_0x5068f9['mfmkl'],{'type':_0x5cc437(0x2b3),'hidden':!![],'choices':[_0x5cc437(0x274),_0x5068f9['oRgFf'],'blocked',_0x5cc437(0x1ff),_0x5068f9['tdyfv']]})[_0x5cc437(0x369)](_0x5068f9['mYsxE'],{'type':_0x5cc437(0x366),'hidden':!![]})['option'](_0x5cc437(0x27f),{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option'](_0x5cc437(0x295),{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option'](_0x5cc437(0x359),{'type':'number','hidden':!![]});},async _0x49d661=>{await runGoCommand(_0x49d661);})['command']('auth',![],_0x229208=>{const _0x5affe2=_0x379555,_0x50566f={'vHGMH':'profile','OhHDd':_0x5068f9[_0x5affe2(0x33c)]};return _0x229208[_0x5affe2(0x316)]('encrypt\x20<profile>',![],_0x552c60=>{const _0x165c15=_0x5affe2;return _0x552c60['positional'](_0x50566f[_0x165c15(0x26e)],{'type':'string','description':_0x50566f['OhHDd'],'demandOption':!![]});},async _0x160fca=>{const _0x4660d2=_0x5affe2;warnRenamed(_0x5068f9['EsmAq'],_0x4660d2(0x328)),await authEncrypt(_0x160fca[_0x4660d2(0x306)]);})[_0x5affe2(0x320)](0x1,_0x5affe2(0x200));},()=>{})[_0x379555(0x316)](_0x5068f9['bgiYl'],![],_0x55a3f1=>{const _0x1472b7=_0x379555;return _0x55a3f1[_0x1472b7(0x256)](_0x5068f9[_0x1472b7(0x21d)],{'type':_0x5068f9[_0x1472b7(0x29b)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})[_0x1472b7(0x369)](_0x1472b7(0x32d),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x5068f9['pKvvd'],'default':![]})['option'](_0x5068f9[_0x1472b7(0x271)],{'type':_0x5068f9[_0x1472b7(0x29b)],'choices':[_0x1472b7(0x2d2),_0x1472b7(0x251)],'description':_0x5068f9['POuwN']})[_0x1472b7(0x369)](_0x5068f9['rMuqj'],{'type':'string','description':_0x5068f9[_0x1472b7(0x2fe)]})['option'](_0x1472b7(0x303),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x1472b7(0x22f),'default':![]})['option'](_0x1472b7(0x2fa),{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x1472b7(0x201),'default':![]})[_0x1472b7(0x369)](_0x5068f9['VPUQf'],{'type':_0x5068f9[_0x1472b7(0x209)],'description':_0x5068f9['uOvRQ'],'default':![]});},async _0x3c125f=>{const _0x3f886a=_0x379555;warnRenamed(_0x5068f9['UneOC'],'ranger\x20setup'),await withTelemetry('start',_0x3a6406=>start(_0x3c125f['token'],{'skipChromium':_0x3c125f['skip-chromium'],'skipAuth':_0x3c125f[_0x3f886a(0x2fa)],'withDeps':_0x3c125f[_0x3f886a(0x34c)],'scope':_0x3c125f['scope'],'url':_0x3c125f['url'],'force':_0x3c125f[_0x3f886a(0x303)]},_0x3a6406));})['command'](_0x379555(0x235),![],_0x91cdcb=>{const _0x1c724a=_0x379555;return _0x91cdcb[_0x1c724a(0x369)](_0x5068f9['xmNik'],{'type':_0x1c724a(0x2b3),'description':_0x5068f9[_0x1c724a(0x1e1)]})['option']('task',{'type':_0x5068f9['NCdiO'],'description':_0x1c724a(0x37d)})[_0x1c724a(0x369)]('item',{'type':_0x5068f9[_0x1c724a(0x368)],'description':'Scenario\x20index\x20(1-based)'})['option']('profile',{'type':_0x5068f9['NCdiO'],'hidden':!![]})['option']('notes',{'type':'string','hidden':!![]})['option']('scenario',{'type':_0x1c724a(0x1e0),'hidden':!![]})[_0x1c724a(0x369)]('start-path',{'type':_0x1c724a(0x2b3),'description':_0x5068f9[_0x1c724a(0x346)]})[_0x1c724a(0x369)]('base-url',{'type':_0x5068f9['NCdiO'],'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})[_0x1c724a(0x369)](_0x1c724a(0x2d5),{'type':_0x5068f9[_0x1c724a(0x29b)],'hidden':!![]})[_0x1c724a(0x369)]('headed',{'type':_0x1c724a(0x366),'hidden':!![],'default':![]})['option']('debug-outcome',{'type':_0x1c724a(0x2b3),'hidden':!![],'choices':['verified','partial',_0x1c724a(0x28c),'failed',_0x5068f9['tdyfv']]});},async _0x46f332=>{await _0x5068f9['WoOka'](runGoCommand,_0x46f332,!![]);})['command'](_0x379555(0x290),![],_0x1e3df7=>{const _0x88725c=_0x379555;return _0x1e3df7['positional'](_0x88725c(0x21e),{'type':_0x88725c(0x2b3),'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x5068f9[_0x88725c(0x209)],'description':_0x5068f9['Lnagc'],'default':![]})[_0x88725c(0x369)](_0x5068f9['vSRrh'],{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]});},async _0x450697=>{const _0xf2f658=_0x379555;warnRenamed('ranger\x20add\x20env','ranger\x20profile\x20add'),await withTelemetry(_0x5068f9[_0xf2f658(0x276)],_0x2167e5=>addEnv(_0x450697[_0xf2f658(0x21e)],{'ci':_0x450697['ci'],'skipAuth':_0x450697[_0xf2f658(0x2fa)]},_0x2167e5));})[_0x379555(0x316)]('use\x20<env-name>',![],_0x4b23c6=>{const _0x34d8a2=_0x379555;return _0x4b23c6[_0x34d8a2(0x256)](_0x34d8a2(0x21e),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x34d8a2(0x2d1)],'demandOption':!![]});},async _0x2d25e2=>{const _0x5011f2=_0x379555;warnRenamed(_0x5068f9['JCEDT'],_0x5068f9['VfiGR']),await withTelemetry('use',()=>useEnv(_0x2d25e2[_0x5011f2(0x21e)]));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x210)],![],_0x356b1d=>{const _0x54b099=_0x379555,_0x29cc72={'MZgqY':'env','txxiH':_0x5068f9['JLswU'],'ggzoS':_0x54b099(0x24d),'Mkrbi':_0x54b099(0x2b3),'sIwll':_0x54b099(0x2e4),'ooMzt':'config\x20set','gcGgp':function(_0x502f52,_0x33d103,_0x9c91a2){return _0x5068f9['WoOka'](_0x502f52,_0x33d103,_0x9c91a2);},'axaGL':'ranger\x20config\x20get','SLjDx':function(_0x5b009c,_0x529459,_0x3dceeb){return _0x5b009c(_0x529459,_0x3dceeb);},'DXKvy':_0x5068f9[_0x54b099(0x29c)]};return _0x356b1d[_0x54b099(0x316)](_0x5068f9['PlHSo'],![],_0x1149bf=>{const _0x376f2f=_0x54b099;return _0x1149bf[_0x376f2f(0x256)](_0x29cc72[_0x376f2f(0x1f0)],{'type':'string','description':_0x29cc72[_0x376f2f(0x30c)],'demandOption':!![]})['positional'](_0x29cc72[_0x376f2f(0x29e)],{'type':_0x29cc72['Mkrbi'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})['positional']('value',{'type':'string','description':_0x29cc72['sIwll'],'demandOption':!![]});},async _0x4ecfeb=>{const _0x115aad=_0x54b099;warnRenamed('ranger\x20config\x20set',_0x115aad(0x35b)),await withTelemetry(_0x29cc72[_0x115aad(0x34d)],()=>configSet(_0x4ecfeb[_0x115aad(0x27f)],_0x4ecfeb['key'],_0x4ecfeb[_0x115aad(0x2b0)]));})['command'](_0x54b099(0x213),![],_0x39f1be=>{const _0x6bda36=_0x54b099;return _0x39f1be['positional'](_0x5068f9[_0x6bda36(0x2aa)],{'type':_0x5068f9[_0x6bda36(0x29b)],'description':_0x5068f9[_0x6bda36(0x36c)],'demandOption':!![]})[_0x6bda36(0x256)](_0x5068f9['tgLqx'],{'type':_0x6bda36(0x2b3),'description':_0x6bda36(0x298),'demandOption':!![]});},async _0x9bd9e6=>{const _0x1576f7=_0x54b099;_0x29cc72[_0x1576f7(0x275)](warnRenamed,_0x29cc72[_0x1576f7(0x32e)],_0x1576f7(0x299)),await _0x29cc72[_0x1576f7(0x2b7)](withTelemetry,_0x1576f7(0x1e4),()=>configGet(_0x9bd9e6[_0x1576f7(0x27f)],_0x9bd9e6['key']));})['command'](_0x54b099(0x21f),![],_0x4f93ed=>{const _0x340167=_0x54b099;return _0x4f93ed[_0x340167(0x256)](_0x340167(0x27f),{'type':_0x5068f9['NCdiO'],'description':_0x5068f9[_0x340167(0x36c)],'demandOption':!![]});},async _0x47f060=>{const _0x32d811=_0x54b099;_0x5068f9['EKnpw'](warnRenamed,_0x5068f9['XCTof'],_0x5068f9[_0x32d811(0x335)]),await _0x5068f9['Fjcfa'](withTelemetry,'config\x20list',()=>configList(_0x47f060['env']));})[_0x54b099(0x316)]('unset\x20<env>\x20<key>',![],_0x5641f1=>{const _0x21b70b=_0x54b099;return _0x5641f1['positional']('env',{'type':_0x29cc72['Mkrbi'],'description':_0x29cc72[_0x21b70b(0x30c)],'demandOption':!![]})['positional'](_0x21b70b(0x24d),{'type':_0x29cc72[_0x21b70b(0x2fb)],'description':_0x29cc72['DXKvy'],'demandOption':!![]});},async _0x34317d=>{const _0x1d065d=_0x54b099;_0x5068f9[_0x1d065d(0x2f8)](warnRenamed,'ranger\x20config\x20unset',_0x1d065d(0x225)),await withTelemetry(_0x1d065d(0x1ef),()=>configUnset(_0x34317d[_0x1d065d(0x27f)],_0x34317d[_0x1d065d(0x24d)]));})[_0x54b099(0x320)](0x1,_0x54b099(0x211));})[_0x379555(0x316)](_0x5068f9[_0x379555(0x2aa)],![],_0x25da89=>{const _0x5d7a65=_0x379555,_0x5adf05={'ssyDT':function(_0x451e53,_0x455ebb,_0x18e750){const _0x3bfd1b=_0xe1c5;return _0x5068f9[_0x3bfd1b(0x1f1)](_0x451e53,_0x455ebb,_0x18e750);},'wiaHO':_0x5068f9[_0x5d7a65(0x30a)],'kYupn':_0x5d7a65(0x2e6),'MlZXc':'env-name','XbNyK':'ranger\x20profile\x20update'};return _0x25da89[_0x5d7a65(0x316)]('ls',![],()=>{},async()=>{const _0x1392a2=_0x5d7a65;_0x5adf05['ssyDT'](warnRenamed,_0x5adf05[_0x1392a2(0x226)],_0x5adf05[_0x1392a2(0x2ef)]),await withTelemetry('env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x2deda1=>{const _0xb96402=_0x5d7a65;return _0x2deda1['positional'](_0x5adf05[_0xb96402(0x344)],{'type':_0xb96402(0x2b3),'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x582400=>{const _0x15c185=_0x5d7a65;_0x5adf05[_0x15c185(0x2a7)](warnRenamed,_0x15c185(0x323),_0x5adf05[_0x15c185(0x297)]),await withTelemetry(_0x15c185(0x249),_0x883759=>updateEnv(_0x582400[_0x15c185(0x21e)],_0x883759));})[_0x5d7a65(0x320)](0x1,_0x5d7a65(0x2f6));})[_0x379555(0x316)](_0x5068f9['gQXhj'],![],_0x1efa6e=>{const _0x15c0d7=_0x379555,_0x16bac1={'CWzsI':'name','NHDMO':_0x15c0d7(0x362),'XvWqo':_0x15c0d7(0x2b3),'poaoi':_0x5068f9[_0x15c0d7(0x348)],'TsPkt':_0x5068f9[_0x15c0d7(0x20a)],'lcJpt':_0x15c0d7(0x26a),'rfQyG':function(_0x1ddec2,_0x1a635e,_0x5949b2){const _0x3a1db2=_0x15c0d7;return _0x5068f9[_0x3a1db2(0x2ec)](_0x1ddec2,_0x1a635e,_0x5949b2);},'PLurw':_0x15c0d7(0x304),'ENUNP':_0x15c0d7(0x269),'BEYge':function(_0x13884f,_0x48fd21,_0x58e529,_0x3c8183){return _0x13884f(_0x48fd21,_0x58e529,_0x3c8183);},'wZzLe':'--scenario','CYibI':_0x5068f9[_0x15c0d7(0x300)],'pkcHa':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','ckAjA':function(_0x4576b,_0x1d1aa0,_0x40f1f3){const _0x349981=_0x15c0d7;return _0x5068f9[_0x349981(0x1fa)](_0x4576b,_0x1d1aa0,_0x40f1f3);},'zWGkw':_0x5068f9[_0x15c0d7(0x2c9)],'QWrpk':_0x15c0d7(0x367),'yvtPb':_0x15c0d7(0x37b),'ITqDs':_0x5068f9['xuhlm'],'ZeMMI':function(_0x319ade,_0x2540da,_0x395846){const _0x5141d8=_0x15c0d7;return _0x5068f9[_0x5141d8(0x2c8)](_0x319ade,_0x2540da,_0x395846);},'VZiqi':_0x15c0d7(0x372)};return _0x1efa6e[_0x15c0d7(0x316)](_0x5068f9[_0x15c0d7(0x32b)],![],_0x332c05=>{const _0x36f10c=_0x15c0d7;return _0x332c05['positional'](_0x16bac1['CWzsI'],{'type':'string','description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x16bac1[_0x36f10c(0x21b)],{'type':_0x16bac1['XvWqo'],'alias':'d','description':_0x16bac1[_0x36f10c(0x2d6)]})[_0x36f10c(0x369)]('checklist',{'type':'array','alias':'c','description':_0x16bac1['TsPkt']})['option']('scenario',{'type':_0x16bac1['lcJpt'],'hidden':!![]});},async _0x50206b=>{const _0x40a586=_0x15c0d7;_0x16bac1['rfQyG'](warnRenamed,_0x16bac1[_0x40a586(0x1f4)],_0x16bac1[_0x40a586(0x2c2)]),_0x16bac1[_0x40a586(0x2c6)](warnFlagRenamed,_0x16bac1[_0x40a586(0x2c2)],_0x40a586(0x33b),_0x16bac1['wZzLe']);const _0x469c31=_0x50206b[_0x40a586(0x24f)]||_0x50206b['checklist'];await _0x16bac1[_0x40a586(0x22c)](withTelemetry,'feature\x20create',()=>featureCreate(_0x50206b[_0x40a586(0x1fc)],{'description':_0x50206b['description'],'scenarios':_0x469c31}));})[_0x15c0d7(0x316)](_0x5068f9[_0x15c0d7(0x228)],![],_0x307477=>{const _0x1bb1ad=_0x15c0d7;return _0x307477[_0x1bb1ad(0x369)](_0x5068f9[_0x1bb1ad(0x296)],{'type':_0x5068f9['QwwGK'],'description':_0x5068f9[_0x1bb1ad(0x327)]})[_0x1bb1ad(0x369)]('limit',{'type':_0x5068f9[_0x1bb1ad(0x368)],'alias':'l','description':_0x5068f9[_0x1bb1ad(0x2e8)],'default':0xa})[_0x1bb1ad(0x369)](_0x5068f9['ZymOi'],{'type':'number','alias':'o','description':_0x5068f9[_0x1bb1ad(0x336)],'default':0x0})['option']('include-deleted',{'type':_0x5068f9['QwwGK'],'alias':'d','description':_0x5068f9[_0x1bb1ad(0x35f)],'default':![]});},async _0x228f83=>{const _0x201ee2=_0x15c0d7;warnRenamed(_0x201ee2(0x305),_0x5068f9['wiKuY']),await _0x5068f9[_0x201ee2(0x2c3)](withTelemetry,'feature\x20list',()=>featureList({'currentBranch':_0x228f83['current-branch'],'limit':_0x228f83['limit'],'offset':_0x228f83[_0x201ee2(0x243)],'includeDeleted':_0x228f83[_0x201ee2(0x2cd)]}));})['command'](_0x5068f9[_0x15c0d7(0x231)],![],_0x54bfd2=>{const _0x184f85=_0x15c0d7;return _0x54bfd2['positional']('id',{'type':_0x16bac1['XvWqo'],'description':_0x16bac1[_0x184f85(0x1de)]});},async _0x3b6dfc=>{const _0x36b8d9=_0x15c0d7;warnRenamed(_0x36b8d9(0x317),_0x5068f9['cyEIO']),await _0x5068f9['YtpmJ'](withTelemetry,'feature\x20show',()=>featureShow(_0x3b6dfc['id']));})['command'](_0x15c0d7(0x301),![],_0x2836d5=>{const _0x4af43f=_0x15c0d7;return _0x2836d5['positional']('id',{'type':_0x4af43f(0x2b3),'description':_0x16bac1[_0x4af43f(0x1f5)]});},async _0x40d806=>{const _0xfce30b=_0x15c0d7;_0x16bac1[_0xfce30b(0x230)](warnRenamed,_0x16bac1['zWGkw'],'ranger\x20resume'),await withTelemetry('feature\x20resume',()=>featureResume(_0x40d806['id']));})['command'](_0x15c0d7(0x363),![],_0x437a25=>{const _0x4f672e=_0x15c0d7;return _0x437a25['positional'](_0x16bac1['NHDMO'],{'type':'string','description':'Scenario\x20description','demandOption':!![]})[_0x4f672e(0x369)]('id',{'type':_0x16bac1[_0x4f672e(0x273)],'description':_0x16bac1[_0x4f672e(0x286)]});},async _0x306c03=>{warnRenamed(_0x5068f9['aovCv'],'ranger\x20add-scenario'),await _0x5068f9['VLNzK'](withTelemetry,'feature\x20add-checklist-item',()=>featureAddScenario(_0x306c03['description'],_0x306c03['id']));})['command'](_0x5068f9['amHNz'],![],_0x4ecd=>{const _0xccfdfd=_0x15c0d7;return _0x4ecd[_0xccfdfd(0x256)]('id',{'type':_0xccfdfd(0x2b3),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x3ac8f2=>{const _0x5cd934=_0x15c0d7;_0x5068f9['PuQVn'](warnRenamed,_0x5068f9[_0x5cd934(0x24b)],_0x5068f9[_0x5cd934(0x31d)]),await _0x5068f9['HaIuw'](withTelemetry,_0x5cd934(0x294),()=>featureGetReview(_0x3ac8f2['id']));})[_0x15c0d7(0x316)](_0x5068f9['yIfiF'],![],_0x40cb43=>{const _0x43eca7=_0x15c0d7;return _0x40cb43[_0x43eca7(0x256)]('id',{'type':_0x5068f9['NCdiO'],'description':'Feature\x20review\x20ID'});},async _0x4f4ef0=>{const _0x2f6150=_0x15c0d7;warnRenamed(_0x2f6150(0x2d4),'ranger\x20delete'),await _0x5068f9['mBpds'](withTelemetry,'feature\x20delete',()=>featureDelete(_0x4f4ef0['id']));})['command'](_0x15c0d7(0x2fd),![],_0x14c806=>{const _0x5b3265=_0x15c0d7;return _0x14c806[_0x5b3265(0x256)]('id',{'type':_0x5b3265(0x2b3),'description':_0x5068f9['cJhfT'],'demandOption':!![]});},async _0x25d7a7=>{_0x16bac1['rfQyG'](warnRenamed,_0x16bac1['yvtPb'],_0x16bac1['ITqDs']),await _0x16bac1['ZeMMI'](withTelemetry,_0x16bac1['VZiqi'],()=>featureRestore(_0x25d7a7['id']));})[_0x15c0d7(0x320)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})['command'](_0x5068f9[_0x379555(0x371)],![],_0x12f641=>{const _0x2ca0bc=_0x379555,_0x8b7984={'kuAdK':_0x2ca0bc(0x2b3),'vmhsR':function(_0x52cd72,_0x3865e4,_0x2a8069){const _0x183973=_0x2ca0bc;return _0x5068f9[_0x183973(0x2b1)](_0x52cd72,_0x3865e4,_0x2a8069);},'zNHfT':'hook:disable'};return _0x12f641[_0x2ca0bc(0x316)](_0x5068f9[_0x2ca0bc(0x259)],_0x5068f9[_0x2ca0bc(0x246)],_0x1c813e=>{const _0x1bb321=_0x2ca0bc;return _0x1c813e[_0x1bb321(0x369)]('session-id',{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['SbfuN']});},async _0x5b7121=>{const _0x94479c=_0x2ca0bc;await _0x5068f9[_0x94479c(0x281)](withTelemetry,_0x5068f9[_0x94479c(0x292)],()=>hook('enable',_0x5b7121['session-id']));})[_0x2ca0bc(0x316)](_0x5068f9[_0x2ca0bc(0x2e3)],_0x5068f9['iEAnd'],_0x92d0f2=>{const _0x470be7=_0x2ca0bc;return _0x92d0f2[_0x470be7(0x369)](_0x470be7(0x23d),{'type':_0x8b7984[_0x470be7(0x233)],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0xaa9c2e=>{const _0x4bdd89=_0x2ca0bc;await _0x8b7984[_0x4bdd89(0x347)](withTelemetry,_0x8b7984['zNHfT'],()=>hook('disable',_0xaa9c2e[_0x4bdd89(0x23d)]));})['option'](_0x5068f9['CwvVv'],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['bANni']})[_0x2ca0bc(0x369)](_0x5068f9[_0x2ca0bc(0x1e8)],{'type':_0x5068f9['NCdiO'],'description':_0x5068f9['SbfuN']});},async _0x1b31bc=>{const _0x492130=_0x379555;_0x1b31bc['name']&&await _0x5068f9[_0x492130(0x27e)](hook,_0x1b31bc['name'],_0x1b31bc[_0x492130(0x23d)]);})[_0x379555(0x320)](0x1,_0x379555(0x218))[_0x379555(0x23b)]()['fail'](async(_0x162ed3,_0x54a5cc,_0x568153)=>{const _0x57865b=_0x379555,_0x44c375=_0x5068f9['Zxbkd'](sanitizeArgs,process[_0x57865b(0x25b)]['slice'](0x2)),_0x38adbe=getErrorType(_0x162ed3,_0x54a5cc);if(_0x162ed3&&_0x162ed3['includes'](_0x5068f9[_0x57865b(0x21a)])){const _0xacc8a0=process['argv'][0x2];console[_0x57865b(0x35c)]('\x0aUnknown\x20command:\x20'+_0xacc8a0),console[_0x57865b(0x35c)]('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x162ed3)console[_0x57865b(0x35c)]('\x0a'+_0x162ed3+'\x0a');else _0x54a5cc&&console[_0x57865b(0x35c)]('\x0aError:\x20'+_0x54a5cc[_0x57865b(0x34a)]+'\x0a');}await _0x5068f9[_0x57865b(0x2b6)](logDesirePath,{'rawCommand':_0x44c375,'errorMessage':_0x162ed3||_0x54a5cc?.['message'],'errorType':_0x38adbe});const _0x1b7eb8=getCurrentCollector();_0x1b7eb8&&await _0x1b7eb8[_0x57865b(0x282)](_0x54a5cc||new Error(_0x162ed3||_0x57865b(0x267))),process['exit'](0x1);})[_0x379555(0x309)](_0x5068f9['xgVdd']('Documentation:\x0a'+_0x5068f9[_0x379555(0x2d0)],'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'))[_0x379555(0x2f9)]()[_0x379555(0x2e5)](_0x5068f9['ebUTt'],'h');}process['env'][_0x45d515(0x356)]!==_0x45d515(0x29f)&&buildParser()[_0x45d515(0x31a)]();
|
|
2
|
+
const _0x8b62f1=_0x31e2;(function(_0x24fb8d,_0x2865be){const _0x428b66=_0x31e2,_0xf39f51=_0x24fb8d();while(!![]){try{const _0x3a1c7d=-parseInt(_0x428b66(0x19d))/0x1+-parseInt(_0x428b66(0x2ea))/0x2*(parseInt(_0x428b66(0x248))/0x3)+parseInt(_0x428b66(0x2bf))/0x4*(parseInt(_0x428b66(0x27e))/0x5)+-parseInt(_0x428b66(0x23c))/0x6*(parseInt(_0x428b66(0x27b))/0x7)+parseInt(_0x428b66(0x177))/0x8*(-parseInt(_0x428b66(0x239))/0x9)+parseInt(_0x428b66(0x28c))/0xa+parseInt(_0x428b66(0x2b8))/0xb;if(_0x3a1c7d===_0x2865be)break;else _0xf39f51['push'](_0xf39f51['shift']());}catch(_0x2eeccc){_0xf39f51['push'](_0xf39f51['shift']());}}}(_0x51a7,0xee983));import _0x476742 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1ab2e1=_0x31e2,_0x27abcf={'MBPHZ':function(_0x2ee1a3,_0x3003d7){return _0x2ee1a3(_0x3003d7);},'cqkVq':function(_0x116ed9,_0x1804c2){return _0x116ed9(_0x1804c2);},'NWohJ':function(_0x2a311f,_0x26f81b,_0x1f7fcb){return _0x2a311f(_0x26f81b,_0x1f7fcb);},'jTZXw':'.ranger','HlUUp':function(_0x3d3210,_0x3a6473,_0x11521d){return _0x3d3210(_0x3a6473,_0x11521d);}};let _0x5c4f1c=process['cwd']();const _0x3e7641=_0x27abcf['MBPHZ'](parse,_0x5c4f1c)['root'];while(_0x5c4f1c!==_0x3e7641){if(_0x27abcf[_0x1ab2e1(0x2ce)](existsSync,_0x27abcf[_0x1ab2e1(0x28f)](join,_0x5c4f1c,_0x27abcf[_0x1ab2e1(0x189)]))||_0x27abcf[_0x1ab2e1(0x2ce)](existsSync,_0x27abcf['HlUUp'](join,_0x5c4f1c,_0x1ab2e1(0x200))))return _0x5c4f1c;_0x5c4f1c=dirname(_0x5c4f1c);}return process[_0x1ab2e1(0x176)]();}_0x476742[_0x8b62f1(0x2ee)]({'path':join(findProjectRoot(),_0x8b62f1(0x200))});import _0x1064cc from'yargs/yargs';function _0x31e2(_0x29b254,_0x55bce3){_0x29b254=_0x29b254-0x158;const _0x51a7db=_0x51a7();let _0x31e28d=_0x51a7db[_0x29b254];return _0x31e28d;}import{addEnv,clean,login,start,setupCi,useEnv,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{isByokEnabled}from'./commands/utils/environment.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';function _0x51a7(){const _0x38c5cb=['skillup','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','gNZMZ','BhniQ','usage','ranger\x20profile\x20config\x20get','ranger\x20config\x20get','eWqEG','env-name','YTzPF','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Manage\x20profiles','session-id','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','WyJfO','rDpFb','feature\x20add-checklist-item','YlDiv','print-access-token','ROiFU','.\x20[','Scenario\x20index\x20(1-based)','encrypt\x20<profile>','Bsojy','profile','resume\x20[id]','profile\x20encrypt-auth','dVpRs','DcxZo','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','DRPZr','PADUs','limit','setup\x20[tokenOrSubcommand]','--item','blocked','GgYhN','cpUlX','Feature\x20review\x20ID\x20to\x20restore','Manage\x20profile\x20configuration','jolrv','vgFkg','setup-header','vEcBI','.env','ONsyT','lImVO','force','List\x20all\x20config\x20for\x20a\x20profile','XrqBB','cWIWa','ranger\x20feature\x20delete','status','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','DhUQQ','qXifD','NpTLL','Scenario\x20description','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','hAvfm','isnUI','add\x20<profile-name>','disable','LCQtl','ntudm','deps','get-review','profiles','repeat','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','exitCode','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','gxXMa','include-deleted','Verify\x20a\x20scenario\x20in\x20the\x20browser\x20(requires\x20active\x20feature\x20review)','login','You\x20must\x20specify\x20an\x20auth\x20subcommand','--env','get\x20<profile>\x20<key>','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','You\x20must\x20specify\x20an\x20env\x20subcommand','evaluationReason','\x20FAILED','ecTvA','hzMGY','UjvLF','zpqJI','list\x20<profile>','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','esRKF','EwCmw','show\x20[id]','list','XeBdH','syOVz','yDDCW','base-url','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','oIXAy','Skip\x20authentication','vkeyH','15543DoFgjF','checklist','profile\x20config\x20unset','56214IwewOb','ranger\x20feature\x20restore','wlSgY','HFTeD','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','\x20PARTIAL','allow-insecure-localhost','zMGwF','Qopcb','qUTYe','Unknown\x20error','XYyNn','4958637XtEYce','WacDp','cdp-endpoint','OlLwF','unset\x20<profile>\x20<key>','znOpr','opencode','string','MIPpJ','profile\x20ls','key','RANGER_TEST_PASSWORD','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','create\x20<name>','hook:enable','liutQ','GqCPw','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','ranger\x20get-review','ORsBO','user','ranger\x20config\x20unset','ikSrF','Summary:\x20','Skip\x20Chromium\x20browser\x20installation','Name\x20of\x20the\x20profile','fzVud','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','HFFxI','with-deps','boolean','GIVLB','UQQXq','Environment\x20name','profile\x20config\x20list','Switch\x20to\x20using\x20a\x20specific\x20profile','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','lapbp','MhsDC','CHQyr','YkFuF','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','ogdHL','argv','Number\x20of\x20feature\x20reviews\x20to\x20skip','toHHI','RBFLU','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','url','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','602apfJmV','add-scenario','incomplete','5OoLRIo','option','\x0aError:\x20','feature\x20create','jPsgL','safe-mode','izYrn','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','skip-chromium','--profile','enable','update','FyXoR','sOYAm','18293670YsCoym','env','PVucX','NWohJ','Create\x20CI\x20profile\x20(encrypted\x20auth,\x20committed\x20to\x20git)','config\x20get','config\x20unset','ranger\x20feature\x20resume','unknown\x20error','ranger\x20profile\x20config\x20list','start','fzuZL','fcypF','ZJbWF','dGBuT','error','hhrve','profile\x20config\x20set','verified','ranger','OEtNM','jdqYS','okwcr','dry-run','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','You\x20must\x20specify\x20a\x20profile\x20subcommand','hFNsf','nMvpU','number','RshxG','You\x20must\x20specify\x20a\x20config\x20subcommand','MEyOB','uYJyM','LQyQM','nGOdI','BWXSC','Install\x20Chromium\x20browser\x20binary','ranger\x20feature\x20list','ranger\x20profile\x20update','unset\x20<env>\x20<key>','all','uqKwi','token','UoeDV','34697410FZVdvV','headed','debug-address-comments','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','Install\x20Ranger\x20skills','QCqpl','GzPzq','4174372NJMIhs','VrOcO','command','XMTPg','NXSyC','HOAzr','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','eNLka','DYcIi','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','YJFIL','add-scenario\x20<description>','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','MFjWU','cqkVq','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','epilogue','APsEz','debug-outcome','success','mXBQq','issues','setup-ci','Print\x20the\x20current\x20CLI\x20access\x20token','jfAoq','strictCommands','rxxKG','Encrypt\x20auth.json\x20for\x20a\x20profile\x20(allows\x20committing\x20to\x20git)','ranger\x20feature\x20show','yes','Documentation:\x0a','EAedS','dmpeM','exclude-scenario','description','RBlmu','ZQHQV','cYtGw','NgNFR','scope','Name\x20of\x20the\x20environment','2NTdzwy','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','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','KIxrq','config','Install\x20scope\x20for\x20skills','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Login\x20failed:\x20','help','cUETI','fail','IsBkF','qpFjt','ZEsYZ','claude','Optional\x20feature\x20ID','feature','Feature\x20review\x20ID','clean','message','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','EWszY','ranger\x20feature\x20add-checklist-item','Ranger\x20API\x20token\x20(rngr_...)','json','report','wGmwi','ranger\x20setup','vZUfx','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','\x20\x20https://docs.ranger.net\x0a','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','parse','--task','update\x20<profile-name>','airNx','vofbC','DOYGS','scriptName','wBOdl','JnCQc','profile-name','PiwJC','sqABc','UrpeT','rYRBa','skXfV','POYtM','Set\x20a\x20config\x20value','cwd','7016fDnohF','name','version','ggfpv','Ecwdo','evaluation','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x20\x20migrate\x20[<profile>]\x20\x20\x20\x20\x20\x20\x20Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20local\x0a\x20\x20ranger\x20profile\x20encrypt-auth\x20ci\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20migrate\x20--all\x20--dry-run','slice','QiJJd','ZmfMB','add\x20env','list\x20<env>','VGtpZ','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','feature\x20show','kmPci','exit','demandCommand','jTZXw','reset\x20<profile>','array','fsXdL','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','Install\x20OS-level\x20dependencies\x20for\x20Chromium','AqHIF','use','PUBuU','NmHbW','feature\x20resume','ranger\x20auth\x20encrypt','PQfVQ','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','profile\x20config\x20get','profile\x20config\x20reset','mcp-bootstrap','ranger\x20profile\x20add','ovPze','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','1076795VjodNO','xfRuu','VmzXC','Set\x20up\x20a\x20local\x20browser\x20profile','TZNAB','zwnZi','uCheA','includes','mcp','severity','LEeoN','scenario','project','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','set\x20<profile>\x20<key>\x20<value>','sLhgU','feature\x20list','AYXFQ','Config\x20key\x20to\x20remove','Cloud\x20profile\x20name','Subcommand\x20or\x20API\x20token\x20(rngr_...)','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.','report\x20[id]','Install\x20scope\x20for\x20plugin\x20and\x20skills','test_output','bMquq','positional','Evaluation:\x20','some','EPRWW','RANGER_PROFILE','--scenario','current-branch','hasbf','model','skip-auth','gikqd','task','NUPGz','Get\x20a\x20config\x20value','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','nKYIo','value','vBroY','Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','unhandledRejection','profile\x20update','tokenOrSubcommand','--notes','item','log','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','zTbUj','notes','snlHA'];_0x51a7=function(){return _0x38c5cb;};return _0x51a7();}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'](_0x8b62f1(0x1ca),async _0x83ad5d=>{const _0x4bf23d=_0x8b62f1,_0x17b398={'bznIR':function(_0x19fb32){return _0x19fb32();}},_0x455dec=_0x17b398['bznIR'](getCurrentCollector);_0x455dec&&await _0x455dec['trackCommandError'](_0x83ad5d),process[_0x4bf23d(0x21a)]=0x1;});const rawArgs=process[_0x8b62f1(0x274)][_0x8b62f1(0x17e)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/update/config/encrypt-auth)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20profile\x20(options:\x20--ci,\x20--skip-auth,\x20--scope\x20user|project)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Re-capture\x20auth\x20for\x20a\x20profile\x0a\x20\x20\x20\x20encrypt-auth\x20<profile>\x20\x20\x20\x20Encrypt\x20auth.json\x20for\x20safe\x20git\x20storage\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x8b62f1(0x17d),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aProfile\x20config.\x20Routes\x20automatically\x20based\x20on\x20where\x20the\x20profile\x20lives:\x0a\x20\x20-\x20Local\x20profiles\x20write\x20to\x20.ranger/<env>/settings.json\x0a\x20\x20-\x20Cloud\x20profiles\x20write\x20a\x20local\x20overlay\x20in\x20~/.ranger/projects.json\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x20(effective\x20value\x20for\x20cloud\x20profiles)\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20local\x20overrides\x20(cloud\x20profiles\x20only)\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override\x20for\x20cloud\x20profiles)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x1c2b47,_0x12451f){console['error']('\x0a'+_0x1c2b47+'\x20is\x20now\x20'+_0x12451f+'\x0a');}function argUsed(_0xdca8b1){const _0x4974ce=_0x8b62f1;return rawArgs[_0x4974ce(0x1b9)](_0x49485c=>_0x49485c===_0xdca8b1||_0x49485c['startsWith'](_0xdca8b1+'='));}function warnFlagRenamed(_0x37e7ee,_0x401d06,_0x206a3a){const _0x44cdcd={'iQavs':function(_0x26a916,_0x7b9555){return _0x26a916(_0x7b9555);},'IpvrH':function(_0x4b8ccf,_0x2eb644,_0x513f7a){return _0x4b8ccf(_0x2eb644,_0x513f7a);}};_0x44cdcd['iQavs'](argUsed,_0x401d06)&&_0x44cdcd['IpvrH'](warnRenamed,_0x37e7ee+'\x20'+_0x401d06,_0x37e7ee+'\x20'+_0x206a3a);}async function runGoCommand(_0x4fbded,_0x8ce5b7=![]){const _0x553a13=_0x8b62f1,_0x291978={'IIGCo':function(_0x470cf0,_0x16ac12,_0x142bb7){return _0x470cf0(_0x16ac12,_0x142bb7);},'emVAD':'ranger\x20go','SRkhD':function(_0x553400,_0x1c4095,_0x4d1e0c,_0x3cf8a4){return _0x553400(_0x1c4095,_0x4d1e0c,_0x3cf8a4);},'HrWsB':_0x553a13(0x166),'eWqEG':_0x553a13(0x234),'esRKF':_0x553a13(0x2d3),'uRonm':function(_0x84ddf1,_0x34f959){return _0x84ddf1+_0x34f959;},'EAedS':function(_0x583b45,_0x2e08e7){return _0x583b45===_0x2e08e7;},'klTve':_0x553a13(0x29e),'icAkh':'\x20VERIFIED','HQicH':_0x553a13(0x1f7),'wHIiK':_0x553a13(0x226),'MEyOB':'\x0aIssues:','RBFLU':function(_0x3a7a77,_0x5f23b6){return _0x3a7a77===_0x5f23b6;}};_0x8ce5b7&&_0x291978['IIGCo'](warnRenamed,'ranger\x20verify-feature',_0x291978['emVAD']);warnFlagRenamed('ranger\x20go',_0x553a13(0x221),_0x553a13(0x287)),_0x291978['SRkhD'](warnFlagRenamed,'ranger\x20go',_0x291978['HrWsB'],_0x553a13(0x1cd)),_0x291978['SRkhD'](warnFlagRenamed,_0x291978['emVAD'],_0x553a13(0x1f6),'--scenario');const _0x4bc7c8=await loadRangerConfig(),_0x142493=isByokEnabled(),_0x25becb=_0x4fbded[_0x553a13(0x1bf)],_0x49dc3a=_0x4bc7c8['model'],_0x44fa85=await verifyFeature({'featureId':_0x4fbded['feature'],'profile':_0x4fbded[_0x553a13(0x1ec)]??_0x4fbded[_0x553a13(0x28d)]??process[_0x553a13(0x28d)][_0x553a13(0x1bb)],'notes':_0x4fbded['notes']??_0x4fbded['task'],'scenario':_0x4fbded[_0x553a13(0x1a8)]??_0x4fbded[_0x553a13(0x1ce)],'startPath':_0x4fbded['start-path'],'baseUrl':_0x4fbded[_0x291978[_0x553a13(0x1db)]],'debugOutcome':_0x4fbded[_0x291978[_0x553a13(0x22d)]],'debugAddressComments':_0x4fbded[_0x553a13(0x2ba)],'headed':_0x4fbded[_0x553a13(0x2b9)],'byokEnabled':_0x142493,'flagVerifyModel':_0x25becb,'configVerifyModel':_0x49dc3a});console['log'](_0x291978['uRonm']('\x0a','='[_0x553a13(0x218)](0x3c))),console['log'](_0x291978[_0x553a13(0x2e0)](_0x44fa85['evaluation'],_0x291978['klTve'])?_0x291978['icAkh']:_0x291978['EAedS'](_0x44fa85['evaluation'],_0x553a13(0x27d))?'\x20INCOMPLETE':_0x291978[_0x553a13(0x2e0)](_0x44fa85[_0x553a13(0x17c)],'partial')?_0x553a13(0x241):_0x291978[_0x553a13(0x2e0)](_0x44fa85[_0x553a13(0x17c)],_0x291978['HQicH'])?'\x20BLOCKED':_0x291978['wHIiK']),console[_0x553a13(0x1cf)]('='[_0x553a13(0x218)](0x3c)),console[_0x553a13(0x1cf)](_0x553a13(0x25f)+_0x44fa85['summary']),console[_0x553a13(0x1cf)](_0x553a13(0x1b8)+_0x44fa85[_0x553a13(0x17c)]),console[_0x553a13(0x1cf)]('Reason:\x20'+_0x44fa85[_0x553a13(0x225)]),_0x44fa85[_0x553a13(0x2d6)]?.['length']&&(console['log'](_0x291978[_0x553a13(0x2ab)]),_0x44fa85['issues']['forEach']((_0x186126,_0x586041)=>{const _0x59575f=_0x553a13;console[_0x59575f(0x1cf)]('\x0a'+(_0x586041+0x1)+_0x59575f(0x1e8)+_0x186126[_0x59575f(0x1a6)]+']\x20'+_0x186126['description']);})),process['exit'](_0x291978[_0x553a13(0x277)](_0x44fa85['evaluation'],_0x291978['klTve'])?0x0:0x1);}export function buildParser(_0x22ef75){const _0x4c15fe=_0x8b62f1,_0x412be0={'dGBuT':_0x4c15fe(0x178),'zwnZi':'string','TZNAB':'Feature\x20review\x20name','LYocp':'Feature\x20review\x20description','sqABc':'scenario','KIxrq':_0x4c15fe(0x235),'VKljB':'checklist','Bsojy':function(_0x38b757,_0x32fa74){return _0x38b757+_0x32fa74;},'Qopcb':'ranger\x20create','YlDiv':'--checklist','gNZMZ':function(_0x248f75,_0x5cdb5e,_0x56333f){return _0x248f75(_0x5cdb5e,_0x56333f);},'EWszY':'current-branch','nMvpU':'boolean','ZmfMB':'number','IsBkF':'offset','snlHA':function(_0x4d1451,_0x11df05,_0x2c9ac2){return _0x4d1451(_0x11df05,_0x2c9ac2);},'syOVz':'show','ZJbWF':function(_0x2dc0e0,_0x7ce13b,_0x3844bd){return _0x2dc0e0(_0x7ce13b,_0x3844bd);},'QCqpl':'description','rYRBa':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','LVjux':'New\x20scenario\x20description','SwKLx':'edit-scenario','LQyQM':_0x4c15fe(0x2fb),'hhrve':_0x4c15fe(0x159),'RcPSL':_0x4c15fe(0x15d),'KhwqD':_0x4c15fe(0x15e),'aQTeT':'delete','VkLOP':'setup:deps','vBroY':_0x4c15fe(0x1a5),'FXMxd':'scope','UQQXq':_0x4c15fe(0x1b4),'zTbUj':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','gxXMa':function(_0x245fcf,_0x2894ba){return _0x245fcf(_0x2894ba);},'isnUI':_0x4c15fe(0x25c),'sdzFk':'url','hvNUG':'Base\x20URL\x20of\x20the\x20running\x20app','ecTvA':'skip-auth','JnCQc':'Skip\x20browser\x20authentication','jVIRf':_0x4c15fe(0x203),'uxFoo':_0x4c15fe(0x1d0),'zMGwF':'skip-chromium','MIPpJ':_0x4c15fe(0x1a9),'mlamX':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','ORsBO':_0x4c15fe(0x24e),'DRPZr':_0x4c15fe(0x199),'mMPSh':_0x4c15fe(0x1cc),'rDpFb':_0x4c15fe(0x215),'izYrn':_0x4c15fe(0x2b0),'mICTA':_0x4c15fe(0x217),'toHHI':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','iDwUw':_0x4c15fe(0x263),'OmIiF':_0x4c15fe(0x242),'VGtpZ':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','wlSgY':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','VmzXC':'API\x20token','EwCmw':'profile','uSTMo':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','zrGZn':_0x4c15fe(0x2d7),'gikqd':_0x4c15fe(0x2ef),'RRQpf':function(_0x388c6f,_0x27c625){return _0x388c6f(_0x27c625);},'ECFyk':_0x4c15fe(0x1d4),'WacDp':function(_0xfd34a3,_0x39eb6e,_0xf34a3d){return _0xfd34a3(_0x39eb6e,_0xf34a3d);},'airNx':_0x4c15fe(0x1b0),'bMquq':'profile\x20login','AqHIF':_0x4c15fe(0x16e),'mXBQq':_0x4c15fe(0x2b4),'ONsyT':_0x4c15fe(0x158),'OlLwF':_0x4c15fe(0x22c),'NmHbW':_0x4c15fe(0x2de),'oIXAy':'save-creds','OdsGK':_0x4c15fe(0x278),'vkeyH':function(_0x19891b,_0x32d63b,_0x3a3c57){return _0x19891b(_0x32d63b,_0x3a3c57);},'UoeDV':'Profile\x20name','MFjWU':'key','SBkTN':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','PIoYQ':'value','PXnEQ':_0x4c15fe(0x198),'xxnRH':_0x4c15fe(0x175),'gflAF':_0x4c15fe(0x22b),'skXfV':_0x4c15fe(0x24c),'ntudm':_0x4c15fe(0x18a),'DYcIi':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile\x20(cloud\x20profiles\x20only)','qvSPk':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','cWIWa':'profile\x20use','pYadj':_0x4c15fe(0x2cb),'uYJyM':_0x4c15fe(0x294),'lgnMo':_0x4c15fe(0x197),'CaWLD':'Add\x20profile\x20configuration','wvvXf':'use\x20<profile-name>','JyRxu':_0x4c15fe(0x26b),'dmpeM':'encrypt-auth\x20<profile>','ikSrF':_0x4c15fe(0x167),'pNmDU':'login\x20<name>','qUTYe':'config','trzCF':_0x4c15fe(0x208),'FyXoR':function(_0x4e1bb4,_0x5c903c,_0x1e551e){return _0x4e1bb4(_0x5c903c,_0x1e551e);},'QTxGR':_0x4c15fe(0x289),'CRBOy':'notes','gqphL':_0x4c15fe(0x1e9),'yDDCW':'start-path','wAYIE':_0x4c15fe(0x27a),'BhniQ':'headed','dEsYk':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','liutQ':'verified','sLhgU':'partial','YTzPF':'incomplete','kmPci':_0x4c15fe(0x1ce),'LCQtl':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','dkAxT':_0x4c15fe(0x18d),'wyaaa':'Install\x20scope\x20for\x20plugin\x20and\x20skills\x20(defaults\x20to\x20user\x20in\x20non-interactive\x20mode)','FqBvd':_0x4c15fe(0x265),'LFAxK':_0x4c15fe(0x18e),'XeBdH':function(_0x179049,_0x3cbb9f,_0x48512b){return _0x179049(_0x3cbb9f,_0x48512b);},'wBOdl':_0x4c15fe(0x28d),'AYXFQ':'debug-outcome','lapbp':'failed','RBlmu':'env-name','sOYAm':_0x4c15fe(0x196),'cuBYU':_0x4c15fe(0x223),'hWIkE':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','TPcdp':function(_0x404d0d,_0x40da9e,_0x28d895){return _0x404d0d(_0x40da9e,_0x28d895);},'UYFAl':_0x4c15fe(0x181),'kRSbE':_0x4c15fe(0x2e9),'TAQAV':_0x4c15fe(0x190),'XYyNn':_0x4c15fe(0x1da),'mhriF':function(_0x5351d0,_0x345732,_0x3ddd49){return _0x5351d0(_0x345732,_0x3ddd49);},'kuoaY':'ranger\x20config\x20list','ylyzD':_0x4c15fe(0x295),'XrqBB':'ranger\x20profile\x20config\x20set','ZfUyH':function(_0x2345e9,_0x2902de,_0x5b3225){return _0x2345e9(_0x2902de,_0x5b3225);},'DOYGS':'ranger\x20profile\x20config\x20unset','GzPzq':'set\x20<env>\x20<key>\x20<value>','rxxKG':_0x4c15fe(0x2b3),'ROiFU':'Name\x20of\x20the\x20environment\x20to\x20update','qrVan':'ranger\x20env\x20ls','EjZvf':function(_0x1a38eb,_0x22ebd0,_0x1f50a9){return _0x1a38eb(_0x22ebd0,_0x1f50a9);},'nKYIo':_0x4c15fe(0x224),'PxPVi':'array','RBGUl':function(_0x21baaf,_0x2e622d,_0x2d9064){return _0x21baaf(_0x2e622d,_0x2d9064);},'nGOdI':function(_0x300a3a,_0x34f68a,_0xb21f61,_0x1a076f){return _0x300a3a(_0x34f68a,_0xb21f61,_0x1a076f);},'PqCXj':_0x4c15fe(0x1bc),'fsXdL':function(_0x46215c,_0x5bc23a,_0x160f7f){return _0x46215c(_0x5bc23a,_0x160f7f);},'PULMd':_0x4c15fe(0x1aa),'PiwJC':_0x4c15fe(0x2ec),'HlIWs':_0x4c15fe(0x275),'okwcr':function(_0x423c0f,_0x4b7707,_0x4362e0){return _0x423c0f(_0x4b7707,_0x4362e0);},'DxCYS':_0x4c15fe(0x2b1),'UjBlw':function(_0x5d733d,_0x1a71a6,_0x134390){return _0x5d733d(_0x1a71a6,_0x134390);},'qpFjt':_0x4c15fe(0x2dd),'Vbvni':'ranger\x20show','BvBSp':_0x4c15fe(0x185),'MewZH':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','putpW':'ranger\x20feature\x20get-feedback','ggfpv':_0x4c15fe(0x25a),'ImerX':function(_0x1e3195,_0x1f94fc,_0x57a463){return _0x1e3195(_0x1f94fc,_0x57a463);},'wGmwi':'feature\x20get-feedback','vZUfx':_0x4c15fe(0x23d),'fzVud':'feature\x20restore','ORoEV':_0x4c15fe(0x293),'hFNsf':'ranger\x20resume','ZQHQV':_0x4c15fe(0x15b),'UjvLF':_0x4c15fe(0x207),'hzMGY':'feature\x20delete','qrBtw':'create\x20<name>','QiJJd':'add-checklist-item\x20<description>','hasbf':'delete\x20[id]','DhUQQ':'restore\x20<id>','fDjdq':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','YJFIL':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','gkQPA':function(_0x10b697,_0x55740c,_0x3df9e0){return _0x10b697(_0x55740c,_0x3df9e0);},'cAgUh':_0x4c15fe(0x271),'mPuaV':_0x4c15fe(0x212),'NpTLL':_0x4c15fe(0x259),'IfwcH':function(_0xa81fe4,_0x4cf3cc,_0x4c091a){return _0xa81fe4(_0x4cf3cc,_0x4c091a);},'nDWTq':_0x4c15fe(0x1e0),'EwBIP':'Unknown\x20command','PxfVK':function(_0x4b3100){return _0x4b3100();},'BeXWl':_0x4c15fe(0x246),'gtwas':function(_0x116cb7,_0x335cd6){return _0x116cb7(_0x335cd6);},'MSPVO':'ranger','Yxkby':_0x4c15fe(0x230),'zpqJI':'show\x20[id]','rSErU':_0x4c15fe(0x2d0),'UrpeT':_0x4c15fe(0x2ca),'WyJfO':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','fmEbI':_0x4c15fe(0x209),'yMIxn':_0x4c15fe(0x1de),'UUqOp':'Restore\x20a\x20soft-deleted\x20feature\x20review','niwbq':'login','OnXqM':_0x4c15fe(0x2bc),'CHQyr':_0x4c15fe(0x2f0),'JOxZj':_0x4c15fe(0x1df),'PUBuU':'add\x20env\x20<env-name>','ouGhq':_0x4c15fe(0x2fa),'FLsaP':'You\x20must\x20specify\x20a\x20command','PVucX':function(_0x5e7bbb,_0x42f983){return _0x5e7bbb+_0x42f983;},'sMBSp':_0x4c15fe(0x2df),'AnDSN':_0x4c15fe(0x163),'NNWyc':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x412be0['gtwas'](_0x1064cc,_0x22ef75??process[_0x4c15fe(0x274)]['slice'](0x2))[_0x4c15fe(0x16b)](_0x412be0['MSPVO'])[_0x4c15fe(0x1d8)](TOP_LEVEL_HELP)[_0x4c15fe(0x179)](getCurrentVersion())[_0x4c15fe(0x2c1)](_0x4c15fe(0x255),_0x4c15fe(0x240),_0x445d55=>{const _0x4cd19e=_0x4c15fe;return _0x445d55['positional'](_0x412be0[_0x4cd19e(0x29a)],{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x4cd19e(0x1a1)],'demandOption':!![]})['option']('description',{'type':_0x412be0[_0x4cd19e(0x1a2)],'alias':'d','description':_0x412be0['LYocp']})['option'](_0x412be0[_0x4cd19e(0x170)],{'type':'array','alias':'c','description':_0x412be0[_0x4cd19e(0x2ed)]})['option'](_0x412be0['VKljB'],{'type':_0x4cd19e(0x18b),'hidden':!![]});},async _0x35d72f=>{const _0x1963c6=_0x4c15fe;if(!_0x35d72f['name']){console[_0x1963c6(0x29b)](_0x412be0[_0x1963c6(0x1eb)]('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Example:\x20ranger\x20create\x20my-feature')),process[_0x1963c6(0x187)](0x1);return;}warnFlagRenamed(_0x412be0[_0x1963c6(0x244)],_0x412be0[_0x1963c6(0x1e5)],'--scenario');const _0x249ccd=_0x35d72f['scenario']||_0x35d72f[_0x1963c6(0x23a)];await _0x412be0['gNZMZ'](withTelemetry,'create',()=>featureCreate(_0x35d72f[_0x1963c6(0x178)],{'description':_0x35d72f['description'],'scenarios':_0x249ccd}));})[_0x4c15fe(0x2c1)](_0x412be0['Yxkby'],'List\x20all\x20feature\x20reviews',_0x489b6b=>{const _0x528b8c=_0x4c15fe;return _0x489b6b[_0x528b8c(0x27f)](_0x412be0[_0x528b8c(0x15a)],{'type':_0x412be0[_0x528b8c(0x2a7)],'description':_0x528b8c(0x1aa)})['option']('limit',{'type':_0x412be0[_0x528b8c(0x180)],'alias':'l','description':_0x528b8c(0x2ec),'default':0xa})['option'](_0x412be0[_0x528b8c(0x2f5)],{'type':_0x412be0[_0x528b8c(0x180)],'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option'](_0x528b8c(0x21d),{'type':_0x528b8c(0x266),'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x2ff11e=>{const _0x2bf64a=_0x4c15fe;await _0x412be0[_0x2bf64a(0x1d6)](withTelemetry,'list',()=>featureList({'currentBranch':_0x2ff11e[_0x2bf64a(0x1bd)],'limit':_0x2ff11e['limit'],'offset':_0x2ff11e['offset'],'includeDeleted':_0x2ff11e['include-deleted']}));})['command'](_0x412be0[_0x4c15fe(0x22a)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x578356=>{const _0x2f58ad=_0x4c15fe;return _0x578356[_0x2f58ad(0x1b7)]('id',{'type':_0x2f58ad(0x24f),'description':'Feature\x20review\x20ID'});},async _0xe20b48=>{const _0x4b5f14=_0x4c15fe;await _0x412be0[_0x4b5f14(0x1d3)](withTelemetry,_0x412be0[_0x4b5f14(0x232)],()=>featureShow(_0xe20b48['id']));})['command'](_0x4c15fe(0x1ed),_0x412be0['rSErU'],_0x506843=>{const _0x5c0884=_0x4c15fe;return _0x506843['positional']('id',{'type':_0x5c0884(0x24f),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x1305db=>{const _0x5d3707=_0x4c15fe;await _0x412be0[_0x5d3707(0x299)](withTelemetry,'resume',()=>featureResume(_0x1305db['id']));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x171)],_0x412be0[_0x4c15fe(0x1e2)],_0x5ed19e=>{const _0x195060=_0x4c15fe;return _0x5ed19e[_0x195060(0x1b7)](_0x412be0[_0x195060(0x2bd)],{'type':_0x195060(0x24f),'description':'Scenario\x20description','demandOption':!![]})[_0x195060(0x27f)]('id',{'type':'string','description':_0x412be0['rYRBa']});},async _0x3a26c1=>{const _0x93bb2b=_0x4c15fe;await withTelemetry(_0x93bb2b(0x27c),()=>featureAddScenario(_0x3a26c1['description'],_0x3a26c1['id']));})['command']('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x4b6402=>{const _0x45a51a=_0x4c15fe;return _0x4b6402[_0x45a51a(0x1b7)](_0x412be0['QCqpl'],{'type':_0x45a51a(0x24f),'description':_0x412be0['LVjux'],'demandOption':!![]})['option']('scenario',{'type':'number','description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x45a51a(0x27f)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x13138b=>{const _0x17b534=_0x4c15fe;await withTelemetry(_0x412be0['SwKLx'],()=>featureEditScenario(_0x13138b['description'],{'id':_0x13138b['id'],'scenario':_0x13138b[_0x17b534(0x1a8)]}));})[_0x4c15fe(0x2c1)](_0x4c15fe(0x1b3),_0x412be0['fmEbI'],_0x89a081=>{const _0xb82571=_0x4c15fe;return _0x89a081['positional']('id',{'type':_0x412be0[_0xb82571(0x1a2)],'description':_0x412be0[_0xb82571(0x2ad)]})['option'](_0xb82571(0x2e2),{'type':_0xb82571(0x18b),'description':_0x412be0[_0xb82571(0x29c)]})[_0xb82571(0x27f)](_0x412be0['RcPSL'],{'type':_0x412be0[_0xb82571(0x2a7)],'description':_0xb82571(0x1f1),'default':![]});},async _0x517d15=>{const _0x51f65f=_0x4c15fe,_0x5a7ef6=_0x517d15[_0x51f65f(0x2e2)],_0x414504=_0x5a7ef6?_0x5a7ef6['map'](_0x296bba=>Number(_0x296bba)):undefined;await withTelemetry(_0x412be0['KhwqD'],()=>featureReportPrDescription(_0x517d15['id'],{'excludeScenarios':_0x414504,'json':_0x517d15[_0x51f65f(0x15d)]}));})[_0x4c15fe(0x2c1)]('get-review\x20[id]','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x40185d=>{const _0x4105f0=_0x4c15fe;return _0x40185d[_0x4105f0(0x1b7)]('id',{'type':_0x412be0['zwnZi'],'description':_0x4105f0(0x2c5)});},async _0x45d842=>{const _0x1e9be6=_0x4c15fe;await _0x412be0[_0x1e9be6(0x299)](withTelemetry,_0x1e9be6(0x216),()=>featureGetReview(_0x45d842['id']));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x1be)],_0x412be0['yMIxn'],_0x5f30f0=>{const _0x5752b9=_0x4c15fe;return _0x5f30f0[_0x5752b9(0x1b7)]('id',{'type':'string','description':_0x412be0['LQyQM']});},async _0x3b8d74=>{await _0x412be0['ZJbWF'](withTelemetry,_0x412be0['aQTeT'],()=>featureDelete(_0x3b8d74['id']));})['command'](_0x412be0[_0x4c15fe(0x20a)],_0x412be0['UUqOp'],_0x5edbdd=>{const _0x51db89=_0x4c15fe;return _0x5edbdd[_0x51db89(0x1b7)]('id',{'type':_0x51db89(0x24f),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x11855a=>{await withTelemetry('restore',()=>featureRestore(_0x11855a['id']));})['command'](_0x4c15fe(0x1f5),'Initialize\x20Ranger\x20in\x20your\x20project',_0xb7308=>{const _0x37a1dd=_0x4c15fe,_0x460d43={'LIujr':'token','LEeoN':_0x412be0[_0x37a1dd(0x1a2)],'UOCVL':'Ranger\x20API\x20token','HFTeD':_0x412be0[_0x37a1dd(0x243)],'xxqaR':_0x412be0['ecTvA'],'NgNFR':_0x37a1dd(0x266),'DcxZo':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','vEcBI':_0x412be0[_0x37a1dd(0x250)],'RshxG':_0x412be0['UQQXq'],'vveSL':'force','fzuZL':_0x412be0['mlamX'],'vUwFG':_0x412be0['ORsBO'],'JkaFU':_0x37a1dd(0x164),'OEtNM':_0x412be0[_0x37a1dd(0x1f2)],'vhiMA':_0x37a1dd(0x1a5),'eevTU':function(_0x4813f7,_0x3b3bd8,_0x299b5d){return _0x4813f7(_0x3b3bd8,_0x299b5d);}};return _0xb7308['usage'](_0x37a1dd(0x2eb))[_0x37a1dd(0x1b7)](_0x412be0['mMPSh'],{'type':_0x412be0['zwnZi'],'description':_0x37a1dd(0x1b1)})['command']('all','Run\x20full\x20interactive\x20setup',_0x1f9003=>{const _0x28716a=_0x37a1dd;return _0x1f9003['option'](_0x460d43['LIujr'],{'type':_0x460d43[_0x28716a(0x1a7)],'description':_0x460d43['UOCVL']})['option'](_0x460d43[_0x28716a(0x23f)],{'type':'boolean','description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})['option'](_0x460d43['xxqaR'],{'type':_0x28716a(0x266),'description':_0x28716a(0x237),'default':![]})[_0x28716a(0x27f)](_0x28716a(0x265),{'type':_0x460d43[_0x28716a(0x2e7)],'description':_0x460d43[_0x28716a(0x1f0)],'default':![]})[_0x28716a(0x27f)]('scope',{'type':_0x460d43['LEeoN'],'choices':[_0x28716a(0x25c),_0x460d43[_0x28716a(0x1ff)]],'description':_0x460d43[_0x28716a(0x2a9)]})[_0x28716a(0x27f)]('url',{'type':_0x28716a(0x24f),'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x28716a(0x27f)](_0x460d43['vveSL'],{'type':'boolean','description':_0x460d43[_0x28716a(0x297)],'default':![]})['option'](_0x460d43['vUwFG'],{'type':_0x460d43['NgNFR'],'description':_0x460d43['JkaFU'],'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})['option'](_0x460d43[_0x28716a(0x2a0)],{'type':_0x460d43[_0x28716a(0x2e7)],'description':_0x28716a(0x254),'default':![]})['option'](_0x460d43['vhiMA'],{'type':_0x460d43[_0x28716a(0x2e7)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x111977=>{const _0x2a195a=_0x37a1dd;(_0x111977[_0x2a195a(0x199)]||_0x111977['mcp'])&&await _0x412be0['snlHA'](withTelemetry,_0x2a195a(0x199),()=>mcpBootstrap()),await _0x412be0[_0x2a195a(0x299)](withTelemetry,'setup:all',_0x361843=>start(_0x111977['token'],{'skipChromium':_0x111977['skip-chromium'],'skipAuth':_0x111977[_0x2a195a(0x1c0)],'withDeps':_0x111977['with-deps'],'scope':_0x111977['scope'],'url':_0x111977[_0x2a195a(0x279)],'force':_0x111977[_0x2a195a(0x203)],'opencode':_0x111977['opencode'],'allowInsecureLocalhost':_0x111977['allow-insecure-localhost']},_0x361843));})['command'](_0x412be0[_0x37a1dd(0x1e3)],_0x412be0[_0x37a1dd(0x284)],_0x198f37=>{const _0x1508f2=_0x37a1dd;return _0x198f37['option']('with-deps',{'type':_0x412be0[_0x1508f2(0x2a7)],'description':_0x1508f2(0x21b),'default':![]});},async _0x3e9b79=>{const _0x26afb6=_0x37a1dd;await _0x412be0[_0x26afb6(0x1d6)](withTelemetry,_0x412be0['VkLOP'],()=>ensureChromium(_0x3e9b79['with-deps']));})[_0x37a1dd(0x2c1)](_0x37a1dd(0x21f),'Authenticate\x20with\x20Ranger',_0x4e9c3c=>{const _0x38b696=_0x37a1dd;return _0x4e9c3c['option']('token',{'type':_0x412be0['zwnZi'],'description':_0x38b696(0x15c)})[_0x38b696(0x27f)](_0x412be0[_0x38b696(0x1c8)],{'type':_0x412be0[_0x38b696(0x2a7)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x2e6f91=>{const _0x26fe55=_0x37a1dd,_0x3b2010={'jPsgL':function(_0x1181c0){return _0x1181c0();},'PADUs':_0x26fe55(0x2bb),'PQfVQ':function(_0x45ad7b,_0x203e06){return _0x45ad7b(_0x203e06);}};await _0x460d43['eevTU'](withTelemetry,'setup:login',async()=>{const _0x2d076e=_0x26fe55;if(_0x2e6f91[_0x2d076e(0x1a5)]){await mcpBootstrap();const _0xf4eca2=await _0x3b2010[_0x2d076e(0x282)](refreshCliToken);if(!_0xf4eca2)throw new Error(_0x3b2010[_0x2d076e(0x1f3)]);const _0x1a0bdc=await _0x3b2010[_0x2d076e(0x195)](getCurrentUser,_0xf4eca2);if(!_0x1a0bdc[_0x2d076e(0x2d4)])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x1a0bdc['error']);console[_0x2d076e(0x1cf)]('✓\x20Authenticated\x20to\x20'+_0x1a0bdc['user']['organizationName']);return;}await authenticate(_0x2e6f91[_0x2d076e(0x2b6)]);});})['command']('skills','Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x4cb5b0=>{const _0x5eb4cb=_0x37a1dd;return _0x4cb5b0[_0x5eb4cb(0x27f)](_0x412be0['FXMxd'],{'type':_0x412be0[_0x5eb4cb(0x1a2)],'choices':['user','project'],'description':_0x412be0[_0x5eb4cb(0x268)]})['option']('opencode',{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x5eb4cb(0x1d1)],'default':![]});},async _0x4c3945=>{const _0x3da1f2=_0x37a1dd,_0xf89cfe={'jfAoq':function(_0x2d91c0,_0x139b67,_0x373f4e){return _0x2d91c0(_0x139b67,_0x373f4e);},'XMTPg':function(_0xdff91f){return _0xdff91f();},'qXifD':function(_0x4d034d,_0x13cc7b){return _0x412be0['gxXMa'](_0x4d034d,_0x13cc7b);}};await _0x412be0[_0x3da1f2(0x1d6)](withTelemetry,'setup:skills',async()=>{const _0x556e1d=_0x3da1f2,_0x3d942b=_0x4c3945[_0x556e1d(0x2e8)];if(_0x4c3945['opencode']){const _0x396a1f=await ensureOpencodePluginConfig(_0x3d942b);_0x396a1f&&await _0xf89cfe[_0x556e1d(0x2d9)](installSkill,_0x556e1d(0x29f),{'level':_0x396a1f[_0x556e1d(0x2e8)],'cliVersion':_0xf89cfe[_0x556e1d(0x2c2)](getCurrentVersion),'platform':'opencode'});}else await _0xf89cfe[_0x556e1d(0x20b)](ensureClaudePlugin,_0x3d942b),await _0xf89cfe['qXifD'](ensureClaudeSkills,_0x3d942b);});})['command'](_0x412be0['mICTA'],_0x37a1dd(0x1a0),_0x39b84e=>{const _0x277745=_0x37a1dd;return _0x39b84e[_0x277745(0x27f)](_0x277745(0x2e8),{'type':'string','choices':[_0x412be0['isnUI'],_0x277745(0x1a9)],'description':'Where\x20to\x20store\x20the\x20profile'})['option'](_0x412be0['sdzFk'],{'type':'string','description':_0x412be0['hvNUG']})[_0x277745(0x27f)](_0x412be0[_0x277745(0x227)],{'type':_0x412be0[_0x277745(0x2a7)],'description':_0x412be0[_0x277745(0x16d)],'default':![]})['option'](_0x412be0['jVIRf'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option']('allow-insecure-localhost',{'type':_0x412be0[_0x277745(0x2a7)],'description':_0x412be0['uxFoo'],'default':![]});},async _0x1423aa=>{const _0x5985db=_0x37a1dd;await _0x412be0['snlHA'](withTelemetry,'setup:profiles',_0x35d770=>ensureLocalEnv({'url':_0x1423aa[_0x5985db(0x279)],'force':_0x1423aa['force'],'allowInsecureLocalhost':_0x1423aa[_0x5985db(0x242)],'scope':_0x1423aa[_0x5985db(0x2e8)]===_0x5985db(0x25c)?'user':undefined},_0x35d770));})['option'](_0x412be0[_0x37a1dd(0x243)],{'type':_0x37a1dd(0x266),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x37a1dd(0x27f)](_0x412be0['FXMxd'],{'type':_0x37a1dd(0x24f),'choices':[_0x37a1dd(0x25c)],'hidden':!![],'description':_0x412be0[_0x37a1dd(0x276)]})['option']('url',{'type':_0x37a1dd(0x24f),'description':_0x412be0['iDwUw']})[_0x37a1dd(0x27f)](_0x37a1dd(0x203),{'type':_0x412be0['nMvpU'],'description':_0x37a1dd(0x285),'default':![]})['option'](_0x412be0[_0x37a1dd(0x25b)],{'type':'boolean','description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x412be0['OmIiF'],{'type':_0x412be0[_0x37a1dd(0x2a7)],'description':_0x412be0[_0x37a1dd(0x183)],'default':![]})['option'](_0x37a1dd(0x199),{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x37a1dd(0x23e)],'default':![]})[_0x37a1dd(0x27f)](_0x412be0['ecTvA'],{'type':'boolean','description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option']('with-deps',{'type':'boolean','description':_0x37a1dd(0x21b),'default':![]})[_0x37a1dd(0x27f)]('token',{'type':'string','hidden':!![],'description':_0x412be0[_0x37a1dd(0x19f)]});},async _0x507ab8=>{const _0x5f27f7=_0x4c15fe,_0x16c294=_0x507ab8[_0x5f27f7(0x1cc)],_0x320203=_0x507ab8[_0x5f27f7(0x2b6)]??_0x16c294;_0x507ab8[_0x412be0[_0x5f27f7(0x1f2)]]&&await _0x412be0['ZJbWF'](withTelemetry,'mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x5f27f7(0x296),_0x5e5cf0=>start(_0x320203,{'skipChromium':_0x507ab8[_0x5f27f7(0x286)],'skipAuth':_0x507ab8[_0x5f27f7(0x1c0)],'withDeps':_0x507ab8['with-deps'],'scope':_0x507ab8['scope'],'url':_0x507ab8['url'],'force':_0x507ab8[_0x5f27f7(0x203)],'opencode':_0x507ab8['opencode'],'allowInsecureLocalhost':_0x507ab8[_0x5f27f7(0x242)]},_0x5e5cf0));})['command']('setup-ci\x20<token>','Set\x20up\x20Ranger\x20for\x20CI\x20(non-interactive)',_0x2e7afa=>{const _0x2b979f=_0x4c15fe;return _0x2e7afa[_0x2b979f(0x1b7)]('token',{'type':'string','description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x412be0[_0x2b979f(0x22e)],{'type':_0x2b979f(0x24f),'description':_0x2b979f(0x162)})['option']('base-url',{'type':_0x2b979f(0x24f),'description':_0x412be0['uSTMo']})[_0x2b979f(0x27f)](_0x412be0['zMGwF'],{'type':_0x2b979f(0x266),'description':_0x2b979f(0x260),'default':![]});},async _0x910b5=>{await _0x412be0['ZJbWF'](withTelemetry,_0x412be0['zrGZn'],_0x1af16e=>setupCi(_0x910b5['token'],{'profile':_0x910b5['profile'],'baseUrl':_0x910b5['base-url'],'skipChromium':_0x910b5['skip-chromium']},_0x1af16e));})[_0x4c15fe(0x2c1)](_0x412be0['niwbq'],_0x4c15fe(0x184),()=>{},async()=>{const _0xa56f4e=_0x4c15fe;await withTelemetry(_0xa56f4e(0x21f),()=>login());})[_0x4c15fe(0x2c1)]('skillup',_0x412be0['OnXqM'],_0x5d0e8f=>{const _0x1fdf33=_0x4c15fe;return _0x5d0e8f[_0x1fdf33(0x27f)]('opencode',{'type':_0x1fdf33(0x266),'description':'Install\x20skills\x20for\x20OpenCode','default':![]})['option'](_0x412be0['FXMxd'],{'type':_0x412be0[_0x1fdf33(0x1a2)],'choices':[_0x412be0[_0x1fdf33(0x210)],_0x412be0['MIPpJ']],'description':_0x412be0[_0x1fdf33(0x1c1)]});},async _0x1489ea=>{const _0x23b248=_0x4c15fe,_0x14452e=_0x412be0['RRQpf'](Boolean,_0x1489ea[_0x23b248(0x24e)]);await withTelemetry(_0x412be0['ECFyk'],()=>skillup({'autoInstall':_0x1489ea['scope'],'platform':_0x14452e?_0x23b248(0x24e):_0x23b248(0x2f8)}));})[_0x4c15fe(0x2c1)](_0x4c15fe(0x2fc),_0x412be0[_0x4c15fe(0x26f)],()=>{},async()=>{await withTelemetry('clean',()=>clean());})[_0x4c15fe(0x2c1)]([_0x412be0['EwCmw'],'profiles'],_0x412be0['JOxZj'],_0x314a1a=>{const _0x4fd36e=_0x4c15fe,_0x72b061={'EPRWW':_0x412be0[_0x4fd36e(0x1a2)],'bQBYR':_0x4fd36e(0x20e),'eNLka':_0x4fd36e(0x203),'fcypF':_0x412be0['nMvpU'],'lImVO':_0x412be0['qvSPk'],'YkFuF':_0x4fd36e(0x1a9),'RaBBZ':_0x4fd36e(0x2de),'kAhCd':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','vIkgj':function(_0x3fd5a6,_0x516115,_0x3d5b78,_0x5c09c1){return _0x3fd5a6(_0x516115,_0x3d5b78,_0x5c09c1);},'KeJTW':_0x4fd36e(0x24a),'WvErP':_0x412be0[_0x4fd36e(0x206)],'HOAzr':_0x412be0[_0x4fd36e(0x2b7)],'VrOcO':function(_0x2b828b,_0x37c98e,_0x1d569a){return _0x2b828b(_0x37c98e,_0x1d569a);},'cYtGw':_0x4fd36e(0x16e),'GgYhN':'Name\x20of\x20the\x20profile\x20to\x20update','qpAFj':_0x412be0['pYadj'],'jdqYS':_0x412be0[_0x4fd36e(0x2ac)],'vgFkg':_0x4fd36e(0x1ec),'NUPGz':'key','faOpE':'Config\x20key','qElPY':_0x412be0['lgnMo']};return _0x314a1a[_0x4fd36e(0x1d8)](PROFILE_HELP)['command'](_0x4fd36e(0x211),_0x412be0['CaWLD'],_0x1a9ed8=>{const _0x4fe297=_0x4fd36e;return _0x1a9ed8[_0x4fe297(0x1b7)]('profile-name',{'type':_0x4fe297(0x24f),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x4fe297(0x27f)]('ci',{'type':_0x4fe297(0x266),'description':_0x4fe297(0x290),'default':![]})['option']('skip-auth',{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0x4fe297(0x27f)]('url',{'type':_0x72b061['EPRWW'],'description':_0x72b061['bQBYR']})[_0x4fe297(0x27f)](_0x72b061[_0x4fe297(0x2c6)],{'type':_0x72b061[_0x4fe297(0x298)],'description':_0x4fe297(0x285),'default':![]})['option']('cdp-endpoint',{'type':_0x72b061[_0x4fe297(0x1ba)],'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x4fe297(0x242),{'type':_0x72b061['fcypF'],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4fe297(0x27f)]('safe-mode',{'type':_0x4fe297(0x266),'description':_0x72b061[_0x4fe297(0x202)],'default':![]})['option'](_0x4fe297(0x1fe),{'type':_0x72b061[_0x4fe297(0x1ba)],'array':!![],'description':_0x4fe297(0x1d5)})[_0x4fe297(0x27f)](_0x4fe297(0x2e8),{'type':_0x72b061['EPRWW'],'choices':[_0x4fe297(0x25c),_0x72b061[_0x4fe297(0x270)]],'description':_0x4fe297(0x1c9)})[_0x4fe297(0x27f)](_0x72b061['RaBBZ'],{'type':_0x4fe297(0x266),'alias':'y','description':_0x72b061['kAhCd'],'default':![]});},async _0x500bbc=>{const _0x53c183=_0x4fd36e;await _0x72b061['vIkgj'](withTelemetry,'profile\x20add',_0x4c9ab5=>addEnv(_0x500bbc['profile-name'],{'ci':_0x500bbc['ci'],'skipAuth':_0x500bbc['skip-auth'],'url':_0x500bbc['url'],'force':_0x500bbc[_0x53c183(0x203)],'cdpEndpoint':_0x500bbc['cdp-endpoint'],'allowInsecureLocalhost':_0x500bbc[_0x53c183(0x242)],'safeMode':_0x500bbc[_0x53c183(0x283)],'setupHeader':_0x500bbc[_0x53c183(0x1fe)],'scope':_0x500bbc['scope'],'yes':_0x500bbc['yes']},_0x4c9ab5),{'isElectron':Boolean(_0x500bbc[_0x72b061['KeJTW']])});})['command'](_0x412be0['wvvXf'],_0x412be0['JyRxu'],_0x4191d3=>{const _0xe03fc8=_0x4fd36e;return _0x4191d3['positional']('profile-name',{'type':_0x72b061[_0xe03fc8(0x1ba)],'description':_0xe03fc8(0x261),'demandOption':!![]});},async _0x1c3f81=>{await withTelemetry(_0x72b061['WvErP'],()=>useEnv(_0x1c3f81['profile-name']));})[_0x4fd36e(0x2c1)](_0x412be0[_0x4fd36e(0x2e1)],_0x4fd36e(0x2dc),_0x3aef03=>{const _0x134742=_0x4fd36e;return _0x3aef03[_0x134742(0x1b7)]('profile',{'type':_0x134742(0x24f),'description':_0x72b061[_0x134742(0x2c4)],'demandOption':!![]});},async _0x42220d=>{const _0x257e81=_0x4fd36e;await _0x72b061[_0x257e81(0x2c0)](withTelemetry,_0x257e81(0x1ee),()=>authEncrypt(_0x42220d[_0x257e81(0x1ec)]));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{const _0x2d7902=_0x4fd36e;await withTelemetry(_0x2d7902(0x251),()=>envList());})['command'](_0x412be0[_0x4fd36e(0x25e)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x261eff=>{const _0x297905=_0x4fd36e;return _0x261eff['positional'](_0x72b061[_0x297905(0x2e6)],{'type':'string','description':_0x72b061[_0x297905(0x1f8)],'demandOption':!![]})['option']('allow-insecure-localhost',{'type':_0x297905(0x266),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)'});},async _0x3998f4=>{const _0x405df0=_0x4fd36e;await _0x412be0[_0x405df0(0x249)](withTelemetry,_0x405df0(0x1cb),_0x2b4d38=>updateEnv(_0x3998f4[_0x405df0(0x16e)],_0x2b4d38,{'allowInsecureLocalhost':_0x3998f4['allow-insecure-localhost']}));})[_0x4fd36e(0x2c1)](_0x412be0['pNmDU'],![],_0x2ccbf4=>{const _0x32b6b6=_0x4fd36e;return _0x2ccbf4['positional'](_0x412be0['dGBuT'],{'type':'string','description':_0x412be0[_0x32b6b6(0x168)],'demandOption':!![]});},async _0x497093=>{const _0x523a95=_0x4fd36e;await withTelemetry(_0x412be0[_0x523a95(0x1b6)],async()=>{const _0x3fcd0c=_0x523a95,_0x204c74=process[_0x3fcd0c(0x28d)]['RANGER_TEST_USERNAME'],_0x4797d5=process[_0x3fcd0c(0x28d)][_0x3fcd0c(0x253)];(!_0x204c74||!_0x4797d5)&&(console['error'](_0x3fcd0c(0x2cf)),process[_0x3fcd0c(0x187)](0x1));const _0x24d602=_0x497093[_0x3fcd0c(0x178)],_0xe1d4a9=await serverSideLogin(_0x24d602,{'force':!![]});_0xe1d4a9['status']==='not_configured'&&(console['error'](_0x72b061['qpAFj']),process['exit'](0x1)),_0xe1d4a9[_0x3fcd0c(0x208)]==='failed'&&(console[_0x3fcd0c(0x29b)](_0x3fcd0c(0x2f1)+(_0xe1d4a9['error']??_0x72b061[_0x3fcd0c(0x2a1)])),_0xe1d4a9['test_output']&&console[_0x3fcd0c(0x29b)](_0xe1d4a9[_0x3fcd0c(0x1b5)]),process[_0x3fcd0c(0x187)](0x1)),console[_0x3fcd0c(0x1cf)]('✓\x20Server-side\x20login\x20succeeded\x20for\x20\x27'+_0x24d602+'\x27.\x20Session\x20written\x20to\x20cloud\x20profile.');});})[_0x4fd36e(0x2c1)]('migrate\x20[profile-name]','Migrate\x20local\x20profiles\x20to\x20the\x20cloud\x20(requires\x20org\x20auth\x20config)',_0x427887=>{const _0x3bbe0a=_0x4fd36e;return _0x427887[_0x3bbe0a(0x1b7)](_0x412be0[_0x3bbe0a(0x18f)],{'type':_0x412be0['zwnZi'],'description':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.'})[_0x3bbe0a(0x27f)](_0x412be0[_0x3bbe0a(0x2d5)],{'type':_0x3bbe0a(0x266),'description':_0x412be0[_0x3bbe0a(0x201)],'default':![]})[_0x3bbe0a(0x27f)](_0x3bbe0a(0x2a3),{'type':_0x412be0['nMvpU'],'description':_0x412be0[_0x3bbe0a(0x24b)],'default':![]})['option'](_0x412be0[_0x3bbe0a(0x192)],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})[_0x3bbe0a(0x27f)](_0x412be0[_0x3bbe0a(0x236)],{'type':_0x3bbe0a(0x266),'description':_0x412be0['OdsGK'],'default':![]});},async _0x7253f4=>{const _0x150b1e=_0x4fd36e;await _0x412be0['vkeyH'](withTelemetry,'profile\x20migrate',_0x29d222=>migrateProfile({'profileName':_0x7253f4['profile-name'],'all':_0x7253f4['all'],'dryRun':_0x7253f4[_0x150b1e(0x2a3)],'yes':_0x7253f4['yes'],'saveCreds':_0x7253f4['save-creds']},_0x29d222));})[_0x4fd36e(0x2c1)](_0x412be0[_0x4fd36e(0x245)],_0x4fd36e(0x1fb),_0x5e830c=>{const _0x4404f2=_0x4fd36e,_0xac362a={'DGHrH':_0x412be0[_0x4404f2(0x22e)],'znOpr':_0x412be0['UoeDV'],'HFFxI':_0x412be0['MFjWU'],'uqKwi':'string','WMHdh':_0x412be0['SBkTN'],'cpUlX':_0x412be0['PIoYQ'],'yCZpo':'Config\x20key\x20to\x20remove','vofbC':function(_0x2934d2,_0x4380bc,_0x29cc50){return _0x412be0['ZJbWF'](_0x2934d2,_0x4380bc,_0x29cc50);},'aeJhH':_0x4404f2(0x23b),'gtEvj':function(_0x35055e,_0x4bb980,_0x7e608b){const _0x4c4f12=_0x4404f2;return _0x412be0[_0x4c4f12(0x238)](_0x35055e,_0x4bb980,_0x7e608b);},'lxynd':_0x412be0['PXnEQ']};return _0x5e830c['usage'](PROFILE_CONFIG_HELP)['command'](_0x4404f2(0x1ab),_0x412be0['xxnRH'],_0x2942b3=>{const _0x308237=_0x4404f2;return _0x2942b3['positional'](_0xac362a['DGHrH'],{'type':_0x308237(0x24f),'description':_0xac362a[_0x308237(0x24d)],'demandOption':!![]})['positional'](_0xac362a[_0x308237(0x264)],{'type':_0xac362a[_0x308237(0x2b5)],'description':_0xac362a['WMHdh'],'demandOption':!![]})['positional'](_0xac362a[_0x308237(0x1f9)],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0x569320=>{const _0x13d1c3=_0x4404f2;await withTelemetry(_0x13d1c3(0x29d),()=>configSet(_0x569320[_0x13d1c3(0x1ec)],_0x569320[_0x13d1c3(0x252)],_0x569320[_0x13d1c3(0x1c7)]));})['command'](_0x4404f2(0x222),_0x4404f2(0x1c4),_0x3b0dbf=>{const _0x5b756c=_0x4404f2;return _0x3b0dbf[_0x5b756c(0x1b7)](_0x72b061[_0x5b756c(0x1fd)],{'type':_0x5b756c(0x24f),'description':_0x72b061[_0x5b756c(0x2c4)],'demandOption':!![]})['positional'](_0x72b061[_0x5b756c(0x1c3)],{'type':_0x72b061['EPRWW'],'description':_0x72b061['faOpE'],'demandOption':!![]});},async _0x1c79de=>{const _0x43abb4=_0x4404f2;await withTelemetry(_0x72b061['qElPY'],()=>configGet(_0x1c79de[_0x43abb4(0x1ec)],_0x1c79de['key']));})[_0x4404f2(0x2c1)](_0x412be0['gflAF'],_0x4404f2(0x204),_0x440c03=>{const _0x50a7af=_0x4404f2;return _0x440c03[_0x50a7af(0x1b7)](_0xac362a['DGHrH'],{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x47b277=>{const _0x107158=_0x4404f2;await _0x72b061['VrOcO'](withTelemetry,_0x107158(0x26a),()=>configList(_0x47b277[_0x107158(0x1ec)]));})[_0x4404f2(0x2c1)](_0x412be0[_0x4404f2(0x173)],'Remove\x20a\x20config\x20value',_0x1dd0d4=>{const _0x163f31=_0x4404f2;return _0x1dd0d4['positional'](_0x163f31(0x1ec),{'type':_0x163f31(0x24f),'description':'Profile\x20name','demandOption':!![]})['positional'](_0xac362a[_0x163f31(0x264)],{'type':_0xac362a['uqKwi'],'description':_0xac362a['yCZpo'],'demandOption':!![]});},async _0x254b5d=>{const _0x1d354f=_0x4404f2;await _0xac362a[_0x1d354f(0x169)](withTelemetry,_0xac362a['aeJhH'],()=>configUnset(_0x254b5d[_0x1d354f(0x1ec)],_0x254b5d[_0x1d354f(0x252)]));})[_0x4404f2(0x2c1)](_0x412be0[_0x4404f2(0x214)],_0x412be0[_0x4404f2(0x2c7)],_0x4130a=>{const _0x539d81=_0x4404f2;return _0x4130a[_0x539d81(0x1b7)](_0xac362a['DGHrH'],{'type':'string','description':_0xac362a['znOpr'],'demandOption':!![]});},async _0x13e257=>{await _0xac362a['gtEvj'](withTelemetry,_0xac362a['lxynd'],()=>configReset(_0x13e257['profile']));})['demandCommand'](0x1,_0x4404f2(0x219));})[_0x4fd36e(0x188)](0x1,_0x4fd36e(0x2a5));})[_0x4c15fe(0x2c1)](_0x412be0['trzCF'],_0x4c15fe(0x1c5),()=>{},async()=>{await withTelemetry(_0x412be0['trzCF'],()=>status());})[_0x4c15fe(0x2c1)](_0x4c15fe(0x289),_0x4c15fe(0x19c),()=>{},async()=>{const _0x5a95ae=_0x4c15fe;await _0x412be0[_0x5a95ae(0x28a)](withTelemetry,_0x412be0['QTxGR'],()=>update());})['command'](_0x4c15fe(0x1e6),_0x4c15fe(0x2d8),()=>{},async()=>{const _0x154276={'ovPze':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.'};await _0x412be0['FyXoR'](withTelemetry,'print-access-token',async()=>{const _0x10de30=_0x31e2,_0x3629b7=await getToken();if(!_0x3629b7)throw new Error(_0x154276[_0x10de30(0x19b)]);console['log'](_0x3629b7);});})['command']('go',_0x4c15fe(0x21e),_0x18cc50=>{const _0xb59f2=_0x4c15fe;return _0x18cc50['option'](_0xb59f2(0x2fa),{'type':'string','description':_0xb59f2(0x2f9)})[_0xb59f2(0x27f)](_0x412be0['EwCmw'],{'type':_0xb59f2(0x24f),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option'](_0x412be0['CRBOy'],{'type':_0xb59f2(0x24f),'description':_0xb59f2(0x2c8)})['option'](_0x412be0[_0xb59f2(0x170)],{'type':_0x412be0[_0xb59f2(0x180)],'description':_0x412be0['gqphL']})['option'](_0x412be0[_0xb59f2(0x233)],{'type':'string','description':_0x412be0['wAYIE']})['option']('base-url',{'type':'string','description':_0xb59f2(0x1e1)})['option']('model',{'type':_0xb59f2(0x24f),'description':_0xb59f2(0x1b2)})[_0xb59f2(0x27f)](_0x412be0[_0xb59f2(0x1d7)],{'type':_0xb59f2(0x266),'description':_0x412be0['dEsYk'],'default':![]})[_0xb59f2(0x27f)](_0xb59f2(0x2d3),{'type':_0xb59f2(0x24f),'hidden':!![],'choices':[_0x412be0[_0xb59f2(0x257)],_0x412be0[_0xb59f2(0x1ac)],_0xb59f2(0x1f7),'failed',_0x412be0[_0xb59f2(0x1dd)]]})[_0xb59f2(0x27f)]('debug-address-comments',{'type':_0x412be0['nMvpU'],'hidden':!![]})[_0xb59f2(0x27f)]('env',{'type':_0xb59f2(0x24f),'hidden':!![]})['option'](_0xb59f2(0x1c2),{'type':_0x412be0[_0xb59f2(0x1a2)],'hidden':!![]})[_0xb59f2(0x27f)](_0x412be0[_0xb59f2(0x186)],{'type':_0x412be0['ZmfMB'],'hidden':!![]});},async _0x1a2889=>{await runGoCommand(_0x1a2889);})[_0x4c15fe(0x2c1)]('auth',![],_0x3eccc9=>{const _0x58a846=_0x4c15fe,_0x19bd8b={'ogdHL':function(_0x2c7dd4,_0x53752f,_0x370502){return _0x2c7dd4(_0x53752f,_0x370502);},'Ecwdo':function(_0x3ca2c7,_0x3ecc1c){return _0x3ca2c7(_0x3ecc1c);}};return _0x3eccc9['command'](_0x58a846(0x1ea),![],_0x44a68e=>{const _0x49b0de=_0x58a846;return _0x44a68e[_0x49b0de(0x1b7)](_0x412be0[_0x49b0de(0x22e)],{'type':_0x412be0[_0x49b0de(0x1a2)],'description':'Profile\x20name','demandOption':!![]});},async _0x3ed11c=>{const _0x5d6432=_0x58a846;_0x19bd8b[_0x5d6432(0x273)](warnRenamed,_0x5d6432(0x194),'ranger\x20profile\x20encrypt-auth'),await _0x19bd8b[_0x5d6432(0x17b)](authEncrypt,_0x3ed11c['profile']);})[_0x58a846(0x188)](0x1,_0x58a846(0x220));},()=>{})[_0x4c15fe(0x2c1)]('start\x20[token]',![],_0x121487=>{const _0x5d9a1f=_0x4c15fe;return _0x121487['positional']('token',{'type':'string','description':_0x412be0[_0x5d9a1f(0x213)]})[_0x5d9a1f(0x27f)](_0x412be0['zMGwF'],{'type':_0x412be0[_0x5d9a1f(0x2a7)],'description':_0x412be0['dkAxT'],'default':![]})[_0x5d9a1f(0x27f)]('scope',{'type':'string','choices':[_0x5d9a1f(0x25c),_0x412be0['MIPpJ']],'description':_0x412be0['wyaaa']})[_0x5d9a1f(0x27f)](_0x5d9a1f(0x279),{'type':'string','description':_0x412be0['iDwUw']})[_0x5d9a1f(0x27f)](_0x412be0['jVIRf'],{'type':'boolean','description':_0x5d9a1f(0x285),'default':![]})['option'](_0x412be0[_0x5d9a1f(0x227)],{'type':'boolean','description':'Skip\x20authentication','default':![]})[_0x5d9a1f(0x27f)](_0x412be0['FqBvd'],{'type':_0x412be0[_0x5d9a1f(0x2a7)],'description':_0x412be0['LFAxK'],'default':![]});},async _0x30782b=>{const _0x4d00cf=_0x4c15fe;_0x412be0[_0x4d00cf(0x231)](warnRenamed,'ranger\x20start',_0x4d00cf(0x160)),await withTelemetry('start',_0x49f06c=>start(_0x30782b['token'],{'skipChromium':_0x30782b['skip-chromium'],'skipAuth':_0x30782b[_0x4d00cf(0x1c0)],'withDeps':_0x30782b['with-deps'],'scope':_0x30782b['scope'],'url':_0x30782b['url'],'force':_0x30782b[_0x4d00cf(0x203)]},_0x49f06c));})['command']('verify-feature',![],_0x3f48c2=>{const _0x3ee930=_0x4c15fe;return _0x3f48c2['option'](_0x412be0['wBOdl'],{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x3ee930(0x272)})[_0x3ee930(0x27f)]('task',{'type':_0x412be0['zwnZi'],'description':_0x3ee930(0x2cc)})[_0x3ee930(0x27f)]('item',{'type':_0x3ee930(0x2a8),'description':_0x412be0['gqphL']})['option'](_0x3ee930(0x1ec),{'type':_0x412be0[_0x3ee930(0x1a2)],'hidden':!![]})['option'](_0x3ee930(0x1d2),{'type':'string','hidden':!![]})['option'](_0x3ee930(0x1a8),{'type':_0x412be0[_0x3ee930(0x180)],'hidden':!![]})[_0x3ee930(0x27f)]('start-path',{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x412be0['wAYIE']})[_0x3ee930(0x27f)](_0x3ee930(0x234),{'type':_0x412be0[_0x3ee930(0x1a2)],'description':_0x3ee930(0x26c)})['option']('model',{'type':'string','hidden':!![]})['option'](_0x3ee930(0x2b9),{'type':_0x3ee930(0x266),'hidden':!![],'default':![]})['option'](_0x412be0[_0x3ee930(0x1ae)],{'type':'string','hidden':!![],'choices':[_0x412be0['liutQ'],_0x412be0['sLhgU'],_0x3ee930(0x1f7),_0x412be0[_0x3ee930(0x26d)],_0x412be0['YTzPF']]});},async _0x26d50b=>{await _0x412be0['ZJbWF'](runGoCommand,_0x26d50b,!![]);})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x191)],![],_0x17c270=>{const _0x5ef799=_0x4c15fe;return _0x17c270[_0x5ef799(0x1b7)](_0x412be0[_0x5ef799(0x2e4)],{'type':_0x412be0[_0x5ef799(0x1a2)],'description':_0x412be0[_0x5ef799(0x28b)],'demandOption':!![]})[_0x5ef799(0x27f)]('ci',{'type':_0x5ef799(0x266),'description':_0x412be0['cuBYU'],'default':![]})[_0x5ef799(0x27f)]('skip-auth',{'type':_0x5ef799(0x266),'description':_0x412be0['hWIkE'],'default':![]});},async _0x516219=>{const _0x3b7191=_0x4c15fe;_0x412be0['TPcdp'](warnRenamed,'ranger\x20add\x20env',_0x3b7191(0x19a)),await withTelemetry(_0x412be0['UYFAl'],_0x36db0f=>addEnv(_0x516219[_0x3b7191(0x1dc)],{'ci':_0x516219['ci'],'skipAuth':_0x516219['skip-auth']},_0x36db0f));})[_0x4c15fe(0x2c1)]('use\x20<env-name>',![],_0x5835e4=>{return _0x5835e4['positional'](_0x412be0['RBlmu'],{'type':'string','description':_0x412be0['kRSbE'],'demandOption':!![]});},async _0x3a84b0=>{const _0x1432a2=_0x4c15fe;warnRenamed('ranger\x20use','ranger\x20profile\x20use'),await withTelemetry(_0x412be0['TAQAV'],()=>useEnv(_0x3a84b0[_0x1432a2(0x1dc)]));})[_0x4c15fe(0x2c1)]('config',![],_0x41ef34=>{const _0x2ee35e=_0x4c15fe,_0x13bf79={'dVpRs':'env','ZEsYZ':_0x2ee35e(0x24f),'POYtM':'Config\x20value','NXSyC':function(_0x198073,_0x2fa152,_0x25b1dc){return _0x198073(_0x2fa152,_0x25b1dc);},'hAvfm':'ranger\x20config\x20set','hIDoH':_0x412be0[_0x2ee35e(0x205)],'EVusz':function(_0xe3ea6,_0x536cd5,_0x1242e5){return _0x412be0['ZfUyH'](_0xe3ea6,_0x536cd5,_0x1242e5);},'BWXSC':_0x2ee35e(0x269),'uCheA':_0x412be0[_0x2ee35e(0x16a)],'dzhGf':_0x2ee35e(0x292)};return _0x41ef34['command'](_0x412be0[_0x2ee35e(0x2be)],![],_0x13e48f=>{const _0x187769=_0x2ee35e;return _0x13e48f['positional'](_0x13bf79['dVpRs'],{'type':_0x13bf79['ZEsYZ'],'description':'Environment\x20name','demandOption':!![]})[_0x187769(0x1b7)](_0x187769(0x252),{'type':_0x187769(0x24f),'description':_0x187769(0x2a4),'demandOption':!![]})['positional']('value',{'type':_0x13bf79[_0x187769(0x2f7)],'description':_0x13bf79[_0x187769(0x174)],'demandOption':!![]});},async _0x524c2f=>{const _0x2f408b=_0x2ee35e;_0x13bf79[_0x2f408b(0x2c3)](warnRenamed,_0x13bf79[_0x2f408b(0x20f)],_0x13bf79['hIDoH']),await _0x13bf79['EVusz'](withTelemetry,'config\x20set',()=>configSet(_0x524c2f['env'],_0x524c2f['key'],_0x524c2f['value']));})['command']('get\x20<env>\x20<key>',![],_0x3a42f3=>{const _0x5b2de7=_0x2ee35e;return _0x3a42f3[_0x5b2de7(0x1b7)](_0x13bf79[_0x5b2de7(0x1ef)],{'type':_0x13bf79[_0x5b2de7(0x2f7)],'description':_0x13bf79[_0x5b2de7(0x2af)],'demandOption':!![]})['positional']('key',{'type':_0x13bf79['ZEsYZ'],'description':'Config\x20key','demandOption':!![]});},async _0xdd32b2=>{const _0x512f6e=_0x2ee35e;_0x412be0['gNZMZ'](warnRenamed,_0x412be0[_0x512f6e(0x247)],_0x512f6e(0x1d9)),await _0x412be0['gNZMZ'](withTelemetry,_0x512f6e(0x291),()=>configGet(_0xdd32b2[_0x512f6e(0x28d)],_0xdd32b2[_0x512f6e(0x252)]));})[_0x2ee35e(0x2c1)](_0x2ee35e(0x182),![],_0x400345=>{const _0x57c9c7=_0x2ee35e;return _0x400345['positional'](_0x13bf79['dVpRs'],{'type':_0x13bf79[_0x57c9c7(0x2f7)],'description':_0x13bf79['BWXSC'],'demandOption':!![]});},async _0x29e7d8=>{const _0x5e33f1=_0x2ee35e;_0x412be0['mhriF'](warnRenamed,_0x412be0['kuoaY'],_0x412be0['ylyzD']),await withTelemetry('config\x20list',()=>configList(_0x29e7d8[_0x5e33f1(0x28d)]));})['command'](_0x412be0[_0x2ee35e(0x2db)],![],_0x550f68=>{const _0x15d365=_0x2ee35e;return _0x550f68[_0x15d365(0x1b7)](_0x15d365(0x28d),{'type':_0x412be0[_0x15d365(0x1a2)],'description':_0x15d365(0x269),'demandOption':!![]})[_0x15d365(0x1b7)](_0x412be0[_0x15d365(0x2cd)],{'type':_0x15d365(0x24f),'description':_0x15d365(0x1af),'demandOption':!![]});},async _0x48ac34=>{const _0x28251a=_0x2ee35e;warnRenamed(_0x28251a(0x25d),_0x13bf79[_0x28251a(0x1a3)]),await withTelemetry(_0x13bf79['dzhGf'],()=>configUnset(_0x48ac34['env'],_0x48ac34['key']));})['demandCommand'](0x1,_0x2ee35e(0x2aa));})[_0x4c15fe(0x2c1)](_0x412be0[_0x4c15fe(0x16c)],![],_0x57250c=>{const _0x2fa06c=_0x4c15fe,_0x25511a={'cUETI':_0x412be0['qrVan'],'gQfox':function(_0x35b3a2,_0x3db457,_0x303d04){return _0x412be0['EjZvf'](_0x35b3a2,_0x3db457,_0x303d04);},'GcLYZ':'ranger\x20env\x20update','GIVLB':_0x2fa06c(0x2b2)};return _0x57250c['command']('ls',![],()=>{},async()=>{const _0xcee9f2=_0x2fa06c;warnRenamed(_0x25511a[_0xcee9f2(0x2f3)],'ranger\x20profile\x20ls'),await withTelemetry('env\x20list',()=>envList());})['command']('update\x20<env-name>',![],_0x5b1dc2=>{const _0x4f709c=_0x2fa06c;return _0x5b1dc2[_0x4f709c(0x1b7)](_0x412be0[_0x4f709c(0x2e4)],{'type':'string','description':_0x412be0[_0x4f709c(0x1e7)],'demandOption':!![]});},async _0x3a8706=>{const _0x476f30=_0x2fa06c;_0x25511a['gQfox'](warnRenamed,_0x25511a['GcLYZ'],_0x25511a[_0x476f30(0x267)]),await _0x25511a['gQfox'](withTelemetry,'env\x20update',_0x139bdf=>updateEnv(_0x3a8706['env-name'],_0x139bdf));})[_0x2fa06c(0x188)](0x1,_0x412be0[_0x2fa06c(0x1c6)]);})[_0x4c15fe(0x2c1)](_0x412be0['ouGhq'],![],_0x23a3d5=>{const _0x32284a=_0x4c15fe,_0x4026b3={'ZPveR':function(_0x5b8356,_0x10c34f,_0x464560){const _0x4955b1=_0x31e2;return _0x412be0[_0x4955b1(0x231)](_0x5b8356,_0x10c34f,_0x464560);},'MhsDC':_0x412be0['ORoEV'],'jolrv':_0x412be0[_0x32284a(0x2a6)],'QdoIx':_0x412be0[_0x32284a(0x2e5)],'APsEz':_0x412be0[_0x32284a(0x172)],'GqCPw':_0x412be0[_0x32284a(0x229)],'yovdg':'ranger\x20delete','xfRuu':_0x412be0[_0x32284a(0x228)]};return _0x23a3d5['command'](_0x412be0['qrBtw'],![],_0xfd85ed=>{const _0x441e00=_0x32284a;return _0xfd85ed['positional']('name',{'type':_0x441e00(0x24f),'description':_0x412be0['TZNAB'],'demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':'Feature\x20review\x20description'})[_0x441e00(0x27f)](_0x412be0['VKljB'],{'type':'array','alias':'c','description':_0x412be0['KIxrq']})[_0x441e00(0x27f)]('scenario',{'type':_0x412be0['PxPVi'],'hidden':!![]});},async _0x149db3=>{const _0x304227=_0x32284a;_0x412be0['RBGUl'](warnRenamed,'ranger\x20feature\x20create',_0x412be0['Qopcb']),_0x412be0[_0x304227(0x2ae)](warnFlagRenamed,'ranger\x20create','--checklist',_0x412be0['PqCXj']);const _0x5e809c=_0x149db3['scenario']||_0x149db3['checklist'];await _0x412be0[_0x304227(0x18c)](withTelemetry,_0x304227(0x281),()=>featureCreate(_0x149db3[_0x304227(0x178)],{'description':_0x149db3[_0x304227(0x2e3)],'scenarios':_0x5e809c}));})['command']('list',![],_0x4c3746=>{const _0x415de9=_0x32284a;return _0x4c3746['option'](_0x415de9(0x1bd),{'type':_0x415de9(0x266),'description':_0x412be0['PULMd']})[_0x415de9(0x27f)](_0x415de9(0x1f4),{'type':_0x412be0[_0x415de9(0x180)],'alias':'l','description':_0x412be0[_0x415de9(0x16f)],'default':0xa})[_0x415de9(0x27f)](_0x412be0['IsBkF'],{'type':'number','alias':'o','description':_0x412be0['HlIWs'],'default':0x0})[_0x415de9(0x27f)](_0x415de9(0x21d),{'type':_0x412be0[_0x415de9(0x2a7)],'alias':'d','description':'Include\x20soft-deleted\x20feature\x20reviews','default':![]});},async _0x58a249=>{const _0x1a6a1b=_0x32284a;_0x412be0[_0x1a6a1b(0x2a2)](warnRenamed,_0x412be0['DxCYS'],'ranger\x20list'),await withTelemetry(_0x1a6a1b(0x1ad),()=>featureList({'currentBranch':_0x58a249['current-branch'],'limit':_0x58a249['limit'],'offset':_0x58a249['offset'],'includeDeleted':_0x58a249['include-deleted']}));})['command'](_0x32284a(0x22f),![],_0x5bbc29=>{const _0x5ecde6=_0x32284a;return _0x5bbc29['positional']('id',{'type':_0x5ecde6(0x24f),'description':_0x5ecde6(0x2fb)});},async _0x199668=>{const _0x1369fe=_0x32284a;_0x412be0['UjBlw'](warnRenamed,_0x412be0[_0x1369fe(0x2f6)],_0x412be0['Vbvni']),await withTelemetry(_0x412be0['BvBSp'],()=>featureShow(_0x199668['id']));})[_0x32284a(0x2c1)](_0x32284a(0x1ed),![],_0x33977a=>{const _0x28ddf9=_0x32284a;return _0x33977a['positional']('id',{'type':_0x28ddf9(0x24f),'description':_0x412be0['MewZH']});},async _0x2b8ce5=>{const _0x2e72fa=_0x32284a;_0x4026b3['ZPveR'](warnRenamed,_0x4026b3[_0x2e72fa(0x26e)],_0x4026b3[_0x2e72fa(0x1fc)]),await withTelemetry(_0x2e72fa(0x193),()=>featureResume(_0x2b8ce5['id']));})['command'](_0x412be0[_0x32284a(0x17f)],![],_0xcca897=>{const _0x28353b=_0x32284a;return _0xcca897[_0x28353b(0x1b7)](_0x412be0['QCqpl'],{'type':_0x412be0[_0x28353b(0x1a2)],'description':_0x28353b(0x20d),'demandOption':!![]})['option']('id',{'type':_0x28353b(0x24f),'description':_0x412be0[_0x28353b(0x172)]});},async _0x525c0d=>{const _0x127101=_0x32284a;_0x4026b3['ZPveR'](warnRenamed,_0x4026b3['QdoIx'],'ranger\x20add-scenario'),await _0x4026b3['ZPveR'](withTelemetry,_0x127101(0x1e4),()=>featureAddScenario(_0x525c0d[_0x127101(0x2e3)],_0x525c0d['id']));})['command']('get-feedback\x20[id]',![],_0xb8123b=>{const _0x2474bf=_0x32284a;return _0xb8123b['positional']('id',{'type':_0x2474bf(0x24f),'description':_0x4026b3[_0x2474bf(0x2d2)]});},async _0x29f0cc=>{const _0x2d335a=_0x32284a;warnRenamed(_0x412be0['putpW'],_0x412be0[_0x2d335a(0x17a)]),await _0x412be0['ImerX'](withTelemetry,_0x412be0[_0x2d335a(0x15f)],()=>featureGetReview(_0x29f0cc['id']));})[_0x32284a(0x2c1)](_0x412be0['hasbf'],![],_0x245c55=>{return _0x245c55['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x37005c=>{const _0x44ab47=_0x32284a;warnRenamed(_0x4026b3[_0x44ab47(0x258)],_0x4026b3['yovdg']),await withTelemetry(_0x4026b3[_0x44ab47(0x19e)],()=>featureDelete(_0x37005c['id']));})['command'](_0x412be0['DhUQQ'],![],_0x3ff39f=>{const _0xdd6823=_0x32284a;return _0x3ff39f['positional']('id',{'type':_0xdd6823(0x24f),'description':_0xdd6823(0x1fa),'demandOption':!![]});},async _0x5da04c=>{const _0x2ee5bd=_0x32284a;_0x412be0['ZfUyH'](warnRenamed,_0x412be0[_0x2ee5bd(0x161)],'ranger\x20restore'),await _0x412be0['XeBdH'](withTelemetry,_0x412be0[_0x2ee5bd(0x262)],()=>featureRestore(_0x5da04c['id']));})['demandCommand'](0x1,_0x412be0['fDjdq']);})['command']('hook',![],_0x1adacf=>{const _0x338216=_0x4c15fe;return _0x1adacf['command'](_0x338216(0x288),_0x412be0['cAgUh'],_0xcdf767=>{const _0x10cb44=_0x338216;return _0xcdf767[_0x10cb44(0x27f)]('session-id',{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x10cb44(0x2c9)]});},async _0xa4c9fd=>{const _0x4d7abc=_0x338216;await _0x412be0['gkQPA'](withTelemetry,_0x4d7abc(0x256),()=>hook(_0x4d7abc(0x288),_0xa4c9fd['session-id']));})['command'](_0x412be0['mPuaV'],_0x412be0[_0x338216(0x20c)],_0x3c93c5=>{const _0x48f7a7=_0x338216;return _0x3c93c5[_0x48f7a7(0x27f)](_0x48f7a7(0x1e0),{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x48f7a7(0x2c9)]});},async _0x927a38=>{const _0x50add0=_0x338216;await withTelemetry('hook:disable',()=>hook('disable',_0x927a38[_0x50add0(0x1e0)]));})['option'](_0x338216(0x178),{'type':_0x412be0[_0x338216(0x1a2)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x338216(0x27f)]('session-id',{'type':_0x412be0['zwnZi'],'description':_0x412be0[_0x338216(0x2c9)]});},async _0x1bf1f8=>{const _0x76c648=_0x4c15fe;_0x1bf1f8['name']&&await _0x412be0['IfwcH'](hook,_0x1bf1f8[_0x76c648(0x178)],_0x1bf1f8[_0x412be0['nDWTq']]);})[_0x4c15fe(0x188)](0x1,_0x412be0['FLsaP'])[_0x4c15fe(0x2da)]()[_0x4c15fe(0x2f4)](async(_0xdacdaf,_0x23aabc,_0x5de445)=>{const _0x23a435=_0x4c15fe,_0x759bcb=sanitizeArgs(process[_0x23a435(0x274)]['slice'](0x2)),_0x265d25=getErrorType(_0xdacdaf,_0x23aabc);if(_0xdacdaf&&_0xdacdaf[_0x23a435(0x1a4)](_0x412be0['EwBIP'])){const _0x3ab135=process[_0x23a435(0x274)][0x2];console[_0x23a435(0x29b)]('\x0aUnknown\x20command:\x20'+_0x3ab135),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0xdacdaf)console['error']('\x0a'+_0xdacdaf+'\x0a');else _0x23aabc&&console['error'](_0x23a435(0x280)+_0x23aabc['message']+'\x0a');}await _0x412be0[_0x23a435(0x21c)](logDesirePath,{'rawCommand':_0x759bcb,'errorMessage':_0xdacdaf||_0x23aabc?.[_0x23a435(0x2fd)],'errorType':_0x265d25});const _0x281b71=_0x412be0['PxfVK'](getCurrentCollector);_0x281b71&&await _0x281b71['trackCommandError'](_0x23aabc||new Error(_0xdacdaf||_0x412be0['BeXWl'])),process[_0x23a435(0x187)](0x1);})[_0x4c15fe(0x2d1)](_0x412be0[_0x4c15fe(0x28e)](_0x412be0['sMBSp']+_0x412be0['AnDSN'],_0x412be0['NNWyc']))[_0x4c15fe(0x2f2)]()['alias']('help','h');}process[_0x8b62f1(0x28d)]['NODE_ENV']!=='test'&&buildParser()[_0x8b62f1(0x165)]();
|