@ranger-testing/ranger-cli 3.1.7-alpha.387730d-58 → 3.1.7-alpha.9ed0a8d-59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cli.js +1 -1
- package/build/commands/addEnv.js +1 -1
- package/build/commands/authEncrypt.js +1 -1
- package/build/commands/clean.js +1 -1
- package/build/commands/config.js +1 -1
- package/build/commands/deleteProfile.js +1 -1
- package/build/commands/env.js +1 -1
- package/build/commands/feature.js +1 -1
- package/build/commands/hook.js +1 -1
- package/build/commands/hooks/autoPrompt.js +1 -1
- package/build/commands/hooks/disable.js +1 -1
- package/build/commands/hooks/enable.js +1 -1
- package/build/commands/hooks/exitPlanMode.js +1 -1
- package/build/commands/hooks/index.js +1 -1
- package/build/commands/hooks/output.js +1 -1
- package/build/commands/hooks/planReminder.js +1 -1
- package/build/commands/hooks/planStart.js +1 -1
- package/build/commands/hooks/postEdit.js +1 -1
- package/build/commands/hooks/preCompact.js +1 -1
- package/build/commands/hooks/sessionEnd.js +1 -1
- package/build/commands/hooks/sessionStart.js +1 -1
- package/build/commands/hooks/stopHook.js +1 -1
- package/build/commands/index.js +1 -1
- package/build/commands/login.js +1 -1
- package/build/commands/mcpBootstrap.js +1 -1
- package/build/commands/migrateProfile.js +1 -1
- package/build/commands/setup/claude.js +1 -1
- package/build/commands/setup/opencode.js +1 -1
- package/build/commands/setupCi.js +1 -1
- package/build/commands/skillup.js +1 -1
- package/build/commands/start.js +1 -1
- package/build/commands/status.js +1 -1
- package/build/commands/update.js +1 -1
- package/build/commands/updateEnv.js +1 -1
- package/build/commands/useEnv.js +1 -1
- package/build/commands/utils/activeProfile.js +1 -1
- package/build/commands/utils/agentEnv.js +1 -1
- package/build/commands/utils/browserSessionsApi.js +1 -1
- package/build/commands/utils/claudeConfig.js +1 -1
- package/build/commands/utils/claudeOverrideSettings.js +1 -1
- package/build/commands/utils/claudePlugin.js +1 -1
- package/build/commands/utils/cloudProfile.js +1 -1
- package/build/commands/utils/cloudProfileSession.js +1 -1
- package/build/commands/utils/crypto.js +1 -1
- package/build/commands/utils/desirePathLog.js +1 -1
- package/build/commands/utils/deviceAuth.js +1 -1
- package/build/commands/utils/environment.js +1 -1
- package/build/commands/utils/featureApi.js +1 -1
- package/build/commands/utils/fixWebmDuration.js +1 -1
- package/build/commands/utils/gitTracked.js +1 -1
- package/build/commands/utils/keychain.js +1 -1
- package/build/commands/utils/legacyWarning.js +1 -1
- package/build/commands/utils/localAgentInstallationsApi.js +1 -1
- package/build/commands/utils/matchAuthEnvironment.js +1 -1
- package/build/commands/utils/mcpImageBase64.js +1 -1
- package/build/commands/utils/model.js +1 -1
- package/build/commands/utils/novaActCli.js +1 -1
- package/build/commands/utils/opencodeConfig.js +1 -1
- package/build/commands/utils/organizationEnvApi.js +1 -1
- package/build/commands/utils/playwrightCli.js +1 -1
- package/build/commands/utils/profileMessages.js +1 -1
- package/build/commands/utils/profileSetupBanner.js +1 -1
- package/build/commands/utils/projectsConfig.js +1 -1
- package/build/commands/utils/rangerConfig.js +1 -1
- package/build/commands/utils/rangerRoot.js +1 -1
- package/build/commands/utils/rangerwrightCli.js +1 -1
- package/build/commands/utils/resolveProfileContext.js +1 -1
- package/build/commands/utils/resolveProfileUrl.js +1 -1
- package/build/commands/utils/retry.js +1 -1
- package/build/commands/utils/scenarioOriginCheck.js +1 -1
- package/build/commands/utils/sessionCache.js +1 -1
- package/build/commands/utils/settings.js +1 -1
- package/build/commands/utils/skillContent.js +1 -1
- package/build/commands/utils/skills.js +1 -1
- package/build/commands/utils/stitchWebmFiles.js +1 -1
- package/build/commands/utils/telemetry.js +1 -1
- package/build/commands/utils/tokenRefresh.js +1 -1
- package/build/commands/utils/traceSnapshotMapper.js +1 -1
- package/build/commands/utils/tunnelClient.js +1 -1
- package/build/commands/utils/userApi.js +1 -1
- package/build/commands/utils/version.js +1 -1
- package/build/commands/verifyFeature.js +1 -1
- package/build/commands/verifyFeatureCli.js +1 -1
- package/build/commands/verifyFeatureNovaCli.js +1 -1
- package/build/commands/verifyFeatureRangerwrightCli.js +1 -1
- package/package.json +1 -1
package/build/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const _0xcffea2=_0xd8f6;(function(_0xf39ad8,_0x3e6da5){const _0x31dcfe=_0xd8f6,_0xa8bfd2=_0xf39ad8();while(!![]){try{const _0x3513f4=-parseInt(_0x31dcfe(0x2be))/0x1*(-parseInt(_0x31dcfe(0x27d))/0x2)+parseInt(_0x31dcfe(0x2e3))/0x3*(-parseInt(_0x31dcfe(0x1a1))/0x4)+-parseInt(_0x31dcfe(0x1fa))/0x5+-parseInt(_0x31dcfe(0x242))/0x6*(-parseInt(_0x31dcfe(0x289))/0x7)+parseInt(_0x31dcfe(0x1e3))/0x8*(-parseInt(_0x31dcfe(0x248))/0x9)+parseInt(_0x31dcfe(0x1a3))/0xa*(parseInt(_0x31dcfe(0x1c4))/0xb)+parseInt(_0x31dcfe(0x20f))/0xc*(-parseInt(_0x31dcfe(0x228))/0xd);if(_0x3513f4===_0x3e6da5)break;else _0xa8bfd2['push'](_0xa8bfd2['shift']());}catch(_0x3a948d){_0xa8bfd2['push'](_0xa8bfd2['shift']());}}}(_0x205e,0x530d5));function _0x205e(){const _0xbd8ee8=['ugehu','QcXsx','model','ranger\x20feature\x20create','add\x20env','profiles','80GZhCqm','cdp-endpoint','isArray','ggFQw','MhjIh','ranger\x20setup\x20profiles\x20--scope=','filter','check','name','config\x20set','ddpoa','start-path','7txPrIr','help','BkjNE','\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)','pxsxh','yighL','UxxWt','Update\x20authentication\x20for\x20an\x20existing\x20profile','imEEK','mcENj','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ZKXsy','NSPmi','\x20is\x20now\x20','AcsSy','LrIIH','Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201','\x20INCOMPLETE','ranger\x20profile\x20config\x20unset','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','opencode','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','force','gZwUT','forEach','error','MWXpo','UdftF','EAlWD','set\x20<profile>\x20<key>\x20<value>','root','Xkhgb','blocked','CXOgl','asXbJ','TyDtH','\x20BLOCKED','epilogue','FAKKw','feature\x20resume','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','ranger\x20add-scenario','Include\x20soft-deleted\x20feature\x20reviews','IUmvO','profile\x20use','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','yes','qFODQ','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','command','qCAZB','You\x20must\x20specify\x20an\x20env\x20subcommand','ZnDZX','211VkkFQX','playwright-cli','YbkXO','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','VWnKn','allow-insecure-localhost','OTHGM','toQzb','scriptName','Subcommand\x20or\x20API\x20token\x20(rngr_...)','NcDGx','ranger\x20feature\x20resume','TqXMn','profile\x20config\x20unset','pVzol','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','setup:login','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','feature','rangerwright-cli','skip-auth','setup:profiles','Skip\x20interactive\x20confirmation\x20prompts.','ranger\x20resume','mcp-bootstrap','Profile\x20name','atQvJ','xOHPw','Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.','scope','FWKHX','\x0aIssues:','CYHKt','delete\x20[id]','lrxef','update\x20<profile-name>','setup-header','129cLGJJr','.ranger','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','yBDwf','CAqte','FFwnj','start','RANGER_PROFILE','IQURY','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','safe-mode','qdNgR','tIzoJ','xrUWT','xUeQL','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','Set\x20a\x20config\x20value','cQYcq','environment-variable','exclude-scenario','gcwoU','feature\x20add-checklist-item','ranger\x20profile\x20config\x20set','ruRWt','PQOiz','verified','nxUGM','debug-address-comments','XdFHQ','HMFst','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','description','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','issues','setup:deps','HZgYw','evaluationReason','bJKKR','SNupV','GqnLu','Name\x20of\x20the\x20profile\x20to\x20update','tKkIY','Ranger\x20API\x20token\x20(rngr_...)','pcGVd','hook:disable','TzMKq','hook:enable','Skip\x20the\x20deletion\x20confirmation\x20prompt.','setup-ci\x20<token>','AlyIp','iOYQX','Feature\x20review\x20ID','You\x20must\x20specify\x20a\x20profile\x20subcommand','No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','VRYAD','Feature\x20review\x20ID\x20to\x20restore','ijsOm','SjDKM','fBYVU','OSmUP','summary','cbZcs','\x20FAILED','ranger\x20create','JvqpK','dry-run','ranger\x20profile\x20use','WERPp','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','demandCommand','WkbbY','MNExq','hkgYx','tokenOrSubcommand','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','FcjpA','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','MyznW','base-url','env','skip-chromium','mcp','Reason:\x20','\x20is\x20no\x20longer\x20supported.\x20','token','ISaHM','vwznP','New\x20scenario\x20description','rKySz','ranger\x20restore','UjCBc','eWWUn','urfJE','aBWDs','WfXdf','mFuCJ','number','dDYpT','HGkOs','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','Scenario\x20index\x20(1-based)','profile-name','Manage\x20profile\x20configuration','profile','nyHSD','ranger\x20profile\x20config\x20list','value','Login\x20failed:\x20','ranger\x20config\x20unset','Example:\x20ranger\x20create\x20my-feature','ndpMz','jMiDC','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','ranger','cuQyF','profile\x20config\x20get','UWBII','Environment\x20name','CiWsC','ranger\x20auth\x20encrypt','string','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','current-branch','vqedb','Config\x20value','length','profile\x20update','feature\x20create','GhgRU','UajzD','RANGER_TEST_PASSWORD','--task','with-deps','feature\x20show','QVPOw','List\x20all\x20config\x20for\x20a\x20profile','mHUXd','dmTUq','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','KsdWW','aDXjZ','OdmMd','NlDbh','120XUAPEj','mqSSr','70qQfxMi','tawau','XgXNC','profile\x20config\x20reset','config\x20unset','IXiFh','allow-url-mismatch','kYdHh','zdDrj','add-checklist-item\x20<description>','debug-outcome','include-deleted','EJkje','WSwyG','ZrCqu','save-creds','create','QlVgu','deps','unset\x20<profile>\x20<key>','VDKpY','mYfeM','Run\x20full\x20interactive\x20setup','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','NMGaB','Summary:\x20','Number\x20of\x20feature\x20reviews\x20to\x20skip','option','oztLU','fGLtz','KwcVj','ZITvY','mPBFo','538318yYlUki','.env','gfawh','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','hJDHs','--checklist','rYRyW','argv','XeILA','manual','yczED','Authenticate\x20with\x20Ranger','Install\x20OS-level\x20dependencies\x20for\x20Chromium','DHzGr','ranger\x20delete','Config\x20key\x20to\x20remove','ranger\x20feature\x20list','HRUGB','MFGaD','startsWith','PWzAS','nDXfQ','JSTKF','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','status','profile\x20ls','jlpQq','incomplete','dPpVL','OBrYE','CERjO','160BKkEuB','Optional\x20feature\x20ID','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','eeFuw','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','DnIMe','flatMap','url','scenario','zxcJe','PcgEL','Skip\x20authentication','env-name','Unknown\x20command','skillup','olSjk','list\x20<profile>','ranger\x20profile\x20encrypt-auth','uEPCg','ranger\x20config\x20list','Base\x20URL\x20of\x20the\x20running\x20app','log','2626570usWVnZ','list','Scenario\x20description','Feature\x20review\x20name','NZhmZ','ranger\x20list','evaluation','unset\x20<env>\x20<key>','\x0aUnknown\x20command:\x20','Vbrtk','Install\x20Chromium\x20browser\x20binary','JqKts','xTfCE','MErTw','get-review','yjzTR','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','feature\x20get-feedback','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','repeat','96IKRdyf','exitCode','boolean','resume\x20[id]','xGqGG','jCNNM','checklist','UEMZN','VNoHO','iTKpc','FEgmp','--scenario','MdSYC','setup:all','Feature\x20review\x20description','Dgliu','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','--notes','zNwGF','rPAju','login\x20<name>','QphAF','CmyCq','uADnQ','✓\x20Authenticated\x20to\x20','45032JvXqUU','positional','nSgxM','user','key','MmbrS','Cloud\x20profile\x20name','olyVk','vJhMJ','disable','task','env-var','bgbsT','uNdjB','map','add\x20<profile-name>','all','skills','bXiNl','offset','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','Scxej','mKblJ','ranger\x20env\x20update','\x20VERIFIED','Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','3361866YHdFaS','Get\x20a\x20config\x20value','lgYdo','ranger\x20get-review','Ranger\x20API\x20token','pGbsZ','7569uwTRIf','DHhWr','partial','auth','array','failed','some','profile\x20config\x20set','ualfc','Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','--item','Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','HolbR','yPUci','update\x20<env-name>','fwXSI','delete\x20<profile-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','XUkpb','json','headed','qJfWW','report\x20[id]','Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.','Scenario\x20number\x20to\x20edit\x20(1-based)','EShfP','test_output','ZeiKa','project','nXcFN','exit','JJZnS','JJpyn','fDeJs','not_configured','add-scenario','Install\x20scope\x20for\x20plugin\x20and\x20skills','zFuQC','Pmzkp','login','qRhWK','Uvohw','fNeSY','exjOF','ZahyO','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','VaSUo'];_0x205e=function(){return _0xbd8ee8;};return _0x205e();}import _0x7e9b20 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x4826ab=_0xd8f6,_0x1e6117={'IUmvO':function(_0x434b6a,_0x1fdd1b){return _0x434b6a(_0x1fdd1b);},'SpjfY':function(_0x35b553,_0x2e5c72){return _0x35b553!==_0x2e5c72;},'XhgPI':function(_0x1b39fa,_0x4bf903){return _0x1b39fa(_0x4bf903);},'xMlxG':function(_0x14fbcf,_0x246751,_0x495d70){return _0x14fbcf(_0x246751,_0x495d70);},'DPbOz':_0x4826ab(0x2e4),'YKMye':_0x4826ab(0x1c5)};let _0x5c8fd6=process['cwd']();const _0x2142e4=_0x1e6117[_0x4826ab(0x2b4)](parse,_0x5c8fd6)[_0x4826ab(0x2a7)];while(_0x1e6117['SpjfY'](_0x5c8fd6,_0x2142e4)){if(_0x1e6117['XhgPI'](existsSync,_0x1e6117['xMlxG'](join,_0x5c8fd6,_0x1e6117['DPbOz']))||existsSync(join(_0x5c8fd6,_0x1e6117['YKMye'])))return _0x5c8fd6;_0x5c8fd6=_0x1e6117['IUmvO'](dirname,_0x5c8fd6);}return process['cwd']();}_0x7e9b20['config']({'path':join(findProjectRoot(),'.env')});import _0x41fcaa from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0xb9a566=>{const _0x25322e=_0xd8f6,_0x517e6b={'UEMZN':function(_0x4c118d){return _0x4c118d();}},_0x444b32=_0x517e6b[_0x25322e(0x216)](getCurrentCollector);_0x444b32&&await _0x444b32['trackCommandError'](_0xb9a566),process[_0x25322e(0x210)]=0x1;});const rawArgs=process[_0xcffea2(0x1cb)]['slice'](0x2),TOP_LEVEL_HELP=_0xcffea2(0x2da),PROFILE_HELP=_0xcffea2(0x299),PROFILE_CONFIG_HELP='Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201';function warnRenamed(_0x4c0de8,_0x48c27a){const _0x5aa4b4=_0xcffea2;console[_0x5aa4b4(0x2a2)]('\x0a'+_0x4c0de8+_0x5aa4b4(0x296)+_0x48c27a+'\x0a');}function argUsed(_0x3517e9){const _0x52e383=_0xcffea2;return rawArgs[_0x52e383(0x24e)](_0x3006c6=>_0x3006c6===_0x3517e9||_0x3006c6[_0x52e383(0x1d7)](_0x3517e9+'='));}function warnFlagRenamed(_0x2daf8c,_0x543961,_0x3e00ea){const _0x3348eb=_0xcffea2,_0x485768={'HZgYw':function(_0x2b46cc,_0x5df085,_0xad3a7a){return _0x2b46cc(_0x5df085,_0xad3a7a);}};argUsed(_0x543961)&&_0x485768[_0x3348eb(0x306)](warnRenamed,_0x2daf8c+'\x20'+_0x543961,_0x2daf8c+'\x20'+_0x3e00ea);}function _0xd8f6(_0x2f25d0,_0x275a7e){_0x2f25d0=_0x2f25d0-0x14e;const _0x205e8e=_0x205e();let _0xd8f667=_0x205e8e[_0x2f25d0];return _0xd8f667;}function normalizeEnvVarNames(_0x505104){const _0x54b73a=_0xcffea2,_0x6adb04=Array[_0x54b73a(0x27f)](_0x505104)?_0x505104:_0x505104?[_0x505104]:[];return _0x6adb04[_0x54b73a(0x1ea)](_0x551b71=>String(_0x551b71)['split'](',')['map'](_0x144c85=>_0x144c85['trim']())[_0x54b73a(0x283)](Boolean));}async function runGoCommand(_0x37afc3,_0x5ddf7b=![]){const _0x4486f2=_0xcffea2,_0x2421e9={'FFBlu':function(_0x31cc59,_0x4ad6a0){return _0x31cc59+_0x4ad6a0;},'oztLU':'ranger\x20verify-feature','TzMKq':function(_0x176bc9,_0xc9877e,_0x5b42d4,_0x3760a4){return _0x176bc9(_0xc9877e,_0x5b42d4,_0x3760a4);},'vSkZw':'--env','CXOgl':'--profile','ZnDZX':function(_0x50eefc,_0x102a94,_0x203b20,_0x69ec5c){return _0x50eefc(_0x102a94,_0x203b20,_0x69ec5c);},'xOHPw':_0x4486f2(0x195),'FWKHX':'ranger\x20go','yBDwf':_0x4486f2(0x252),'cDwSd':_0x4486f2(0x21a),'eeFuw':function(_0x3267e6){return _0x3267e6();},'rsWcX':_0x4486f2(0x233),'ekyjk':function(_0x1a33d0,_0x151be1){return _0x1a33d0>_0x151be1;},'YitVZ':function(_0x4f516d,_0xe330f5){return _0x4f516d!==_0xe330f5;},'vNevt':_0x4486f2(0x2d1),'tawau':'start-path','VDKpY':_0x4486f2(0x2fc),'QdLdB':function(_0x438ae9,_0x40eab4){return _0x438ae9===_0x40eab4;},'SjDKM':_0x4486f2(0x1df),'aISgx':_0x4486f2(0x29a),'exjOF':_0x4486f2(0x24a),'asXbJ':'\x20PARTIAL','zUpdX':'blocked','xGqGG':_0x4486f2(0x2dd)};_0x5ddf7b&&(warnRenamed(_0x2421e9[_0x4486f2(0x1bf)],'ranger\x20go'),_0x2421e9[_0x4486f2(0x310)](warnFlagRenamed,_0x2421e9[_0x4486f2(0x1bf)],_0x2421e9['vSkZw'],_0x2421e9[_0x4486f2(0x2aa)]));_0x2421e9[_0x4486f2(0x2bd)](warnFlagRenamed,'ranger\x20go',_0x2421e9[_0x4486f2(0x2d9)],_0x4486f2(0x220)),warnFlagRenamed(_0x2421e9[_0x4486f2(0x2dc)],_0x2421e9[_0x4486f2(0x2e6)],_0x2421e9['cDwSd']);const _0x5e0496=await _0x2421e9[_0x4486f2(0x1e6)](loadRangerConfig),_0x18d6d5=_0x2421e9['eeFuw'](isByokEnabled),_0x30c424=_0x37afc3[_0x4486f2(0x279)],_0x6f4ed9=_0x5e0496[_0x4486f2(0x279)],_0x459043=normalizeEnvVarNames(_0x37afc3[_0x2421e9['rsWcX']]),_0x4120a4=_0x2421e9[_0x4486f2(0x1e6)](getVerificationTransport);if(_0x2421e9['ekyjk'](_0x459043['length'],0x0)&&_0x2421e9['YitVZ'](_0x4120a4,_0x4486f2(0x2bf))&&_0x4120a4!==_0x2421e9['vNevt'])throw new Error(_0x4486f2(0x29c)+_0x4120a4+'.');const _0x15159d=await verifyFeature({'featureId':_0x37afc3[_0x4486f2(0x2d0)],'profile':_0x37afc3[_0x4486f2(0x179)]??(_0x5ddf7b?_0x37afc3['env']:undefined)??process['env'][_0x4486f2(0x2ea)],'authEnv':_0x5ddf7b?undefined:_0x37afc3[_0x4486f2(0x161)]??process[_0x4486f2(0x161)]['RANGER_AUTH_ENV'],'notes':_0x37afc3['notes']??_0x37afc3['task'],'check':_0x37afc3['check'],'scenario':_0x37afc3['scenario']??_0x37afc3['item'],'startPath':_0x37afc3[_0x2421e9[_0x4486f2(0x1a4)]],'baseUrl':_0x37afc3[_0x4486f2(0x160)],'debugOutcome':_0x37afc3['debug-outcome'],'debugAddressComments':_0x37afc3['debug-address-comments'],'headed':_0x37afc3[_0x4486f2(0x25c)],'verifierEnvVars':_0x459043,'allowUrlMismatch':_0x37afc3['allow-url-mismatch'],'byokEnabled':_0x18d6d5,'flagVerifyModel':_0x30c424,'configVerifyModel':_0x6f4ed9});console['log']('\x0a'+'='[_0x4486f2(0x20e)](0x3c)),console[_0x4486f2(0x1f9)](_0x15159d['evaluation']===_0x2421e9['VDKpY']?_0x4486f2(0x240):_0x2421e9['QdLdB'](_0x15159d[_0x4486f2(0x200)],_0x2421e9[_0x4486f2(0x31c)])?_0x2421e9['aISgx']:_0x15159d['evaluation']===_0x2421e9[_0x4486f2(0x273)]?_0x2421e9[_0x4486f2(0x2ab)]:_0x15159d[_0x4486f2(0x200)]===_0x2421e9['zUpdX']?_0x4486f2(0x2ad):_0x4486f2(0x150)),console[_0x4486f2(0x1f9)]('='['repeat'](0x3c)),console[_0x4486f2(0x1f9)](_0x4486f2(0x1bc)+_0x15159d[_0x4486f2(0x14e)]),console['log']('Evaluation:\x20'+_0x15159d['evaluation']),console[_0x4486f2(0x1f9)](_0x4486f2(0x164)+_0x15159d[_0x4486f2(0x307)]),_0x15159d['issues']?.[_0x4486f2(0x18f)]&&(console[_0x4486f2(0x1f9)](_0x2421e9[_0x4486f2(0x213)]),_0x15159d[_0x4486f2(0x304)][_0x4486f2(0x2a1)]((_0x3c4228,_0x3b738e)=>{const _0x50bd5a=_0x4486f2;console[_0x50bd5a(0x1f9)]('\x0a'+_0x2421e9['FFBlu'](_0x3b738e,0x1)+'.\x20['+_0x3c4228['severity']+']\x20'+_0x3c4228[_0x50bd5a(0x302)]);})),process[_0x4486f2(0x266)](_0x2421e9['QdLdB'](_0x15159d['evaluation'],_0x2421e9[_0x4486f2(0x1b7)])?0x0:0x1);}export function buildParser(_0x1e0e73){const _0x11c8dc=_0xcffea2,_0x4ea421={'zoNJg':_0x11c8dc(0x285),'yjzTR':_0x11c8dc(0x18a),'atQvJ':'scenario','eWWUn':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','VRYAD':_0x11c8dc(0x24c),'imEEK':function(_0x2353e9,_0x22e8e9){return _0x2353e9+_0x22e8e9;},'zFuQC':_0x11c8dc(0x2c1),'DVomp':_0x11c8dc(0x151),'LrIIH':_0x11c8dc(0x21a),'cQYcq':function(_0x1689ef,_0x424679,_0x42644a){return _0x1689ef(_0x424679,_0x42644a);},'ifwcs':_0x11c8dc(0x1b3),'INIAT':_0x11c8dc(0x18c),'iTKpc':_0x11c8dc(0x172),'NMGaB':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','dDYpT':'offset','XDBcS':'Number\x20of\x20feature\x20reviews\x20to\x20skip','vJhMJ':_0x11c8dc(0x1ae),'ZahyO':'Include\x20soft-deleted\x20feature\x20reviews','DnIMe':_0x11c8dc(0x1fb),'pGbsZ':'Feature\x20review\x20ID','mHUXd':'resume','RNYSh':_0x11c8dc(0x302),'xTfCE':_0x11c8dc(0x1fc),'WfXdf':_0x11c8dc(0x260),'bgPpD':function(_0x4517ff,_0x17a0df,_0x37a85b){return _0x4517ff(_0x17a0df,_0x37a85b);},'rYRyW':'edit-scenario','NlDbh':_0x11c8dc(0x211),'PIQRz':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','FEgmp':function(_0xab8c06,_0x17e665,_0x4d023f){return _0xab8c06(_0x17e665,_0x4d023f);},'sigiT':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','lcaaq':_0x11c8dc(0x31a),'pcGVd':'restore','HMFst':'token','eIcMd':_0x11c8dc(0x162),'ziXsj':'skip-auth','uFNBN':_0x11c8dc(0x1d0),'pxsxh':'scope','AlyIp':'url','UWBII':'force','GEtVC':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','xrUWT':_0x11c8dc(0x29d),'JSTKF':'mcp-bootstrap','PQOiz':'mcp','JqKts':'Alias\x20for\x20--mcp-bootstrap','dsbnG':_0x11c8dc(0x30d),'vaPSP':_0x11c8dc(0x2ce),'DTySg':_0x11c8dc(0x264),'XUkpb':function(_0x26ce8c,_0x2966c8){return _0x26ce8c!==_0x2966c8;},'CiWsC':'user','zdDrj':function(_0xa681a3,_0x53de9e){return _0xa681a3+_0x53de9e;},'QphAF':function(_0x33b0eb,_0x2aa85e,_0x3d2842){return _0x33b0eb(_0x2aa85e,_0x3d2842);},'bRFfj':_0x11c8dc(0x2d3),'DITtG':_0x11c8dc(0x21c),'OSmUP':'with-deps','qRhWK':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','IBBgx':function(_0x3e8366,_0x41ada6){return _0x3e8366(_0x41ada6);},'nRWGn':'setup:skills','ZTvcT':'Skip\x20browser\x20authentication','PcgEL':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','NSPmi':'tokenOrSubcommand','gfawh':_0x11c8dc(0x2c7),'mltcj':_0x11c8dc(0x1b9),'aBWDs':_0x11c8dc(0x1cf),'yPUci':_0x11c8dc(0x27c),'OTHGM':'Set\x20up\x20a\x20local\x20browser\x20profile','TyDtH':_0x11c8dc(0x15c),'MFGaD':_0x11c8dc(0x20d),'mSbxV':_0x11c8dc(0x15e),'ruRWt':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','HGkOs':'API\x20token','MdSYC':function(_0x423b5b,_0x5941cb,_0x3c5677){return _0x423b5b(_0x5941cb,_0x3c5677);},'IKrEV':'Ranger\x20API\x20token','GhgRU':_0x11c8dc(0x179),'MocTi':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','olyVk':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','XeILA':'setup-ci','AqgyL':_0x11c8dc(0x26f),'YUyvC':_0x11c8dc(0x1f2),'Pmzkp':function(_0x1be423,_0x52edd2,_0x23b456){return _0x1be423(_0x52edd2,_0x23b456);},'qJfWW':'clean','EgLzg':_0x11c8dc(0x177),'fNeSY':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','oiNgu':_0x11c8dc(0x27e),'xUeQL':_0x11c8dc(0x2c3),'ndpMz':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','qdNgR':'setup-header','tOaAP':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','JJpyn':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','iOYQX':'env','NcDGx':_0x11c8dc(0x2b6),'rZjEz':_0x11c8dc(0x1e5),'EShfP':function(_0x5232ce,_0x3370bd,_0x1474d1,_0x20fdf3){return _0x5232ce(_0x3370bd,_0x1474d1,_0x20fdf3);},'fwXSI':function(_0x46cb40,_0xcaefb0){return _0x46cb40(_0xcaefb0);},'ZKXsy':function(_0xb258e9,_0x5e3a56,_0x5cbafd){return _0xb258e9(_0x5e3a56,_0x5cbafd);},'LyEnV':_0x11c8dc(0x2b5),'ZITvY':'Profile\x20name','vevGl':_0x11c8dc(0x30b),'mXLdh':_0x11c8dc(0x1cd),'qkUVx':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','EAlWD':function(_0x47ed55,_0x279e18,_0xbbd732){return _0x47ed55(_0x279e18,_0xbbd732);},'xBybv':_0x11c8dc(0x2b7),'tVbxv':_0x11c8dc(0x1b2),'SFpiF':_0x11c8dc(0x2cb),'cyvmf':_0x11c8dc(0x2f3),'VxJbM':'get\x20<profile>\x20<key>','cuQyF':_0x11c8dc(0x243),'bXiNl':_0x11c8dc(0x1f4),'ggFQw':_0x11c8dc(0x199),'WkbbY':_0x11c8dc(0x1b6),'FMucV':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','UdftF':'profile\x20delete','tlQhk':'unknown\x20error','NZhmZ':'profile\x20login','Scxej':'key','BqjuT':_0x11c8dc(0x237),'yczED':_0x11c8dc(0x258),'PWzAS':'encrypt-auth\x20<profile>','QlVgu':'List\x20all\x20profiles','xBneL':_0x11c8dc(0x290),'RERfz':_0x11c8dc(0x223),'gcwoU':'migrate\x20[profile-name]','tKkIY':'config','ddpoa':_0x11c8dc(0x178),'cbZcs':_0x11c8dc(0x317),'ISaHM':'status','Vbrtk':'update','KwcVj':function(_0x1fdbc9){return _0x1fdbc9();},'kutrV':_0x11c8dc(0x1e4),'Xjvke':_0x11c8dc(0x241),'CYHKt':_0x11c8dc(0x293),'ualfc':_0x11c8dc(0x2b1),'DHzGr':'model','GqnLu':'headed','vwznP':'env-var','yighL':'environment-variable','LyaWw':_0x11c8dc(0x1a9),'CmyCq':_0x11c8dc(0x2b9),'BkjNE':'verified','dmTUq':_0x11c8dc(0x1df),'yMtOf':_0x11c8dc(0x25f),'VaSUo':_0x11c8dc(0x232),'mcENj':'You\x20must\x20specify\x20an\x20auth\x20subcommand','OcBfD':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','olSjk':'ranger\x20setup','Xkhgb':function(_0x4b9ee7,_0xd793b9,_0x17c85a){return _0x4b9ee7(_0xd793b9,_0x17c85a);},'pDZez':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','PIOko':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','BUerT':'item','HACQV':'base-url','TtryD':_0x11c8dc(0x1ad),'jlpQq':'ranger\x20add\x20env','aDXjZ':'ranger\x20profile\x20add','BhlHN':function(_0x35f01f,_0x5f4c93,_0x3af46b){return _0x35f01f(_0x5f4c93,_0x3af46b);},'hkgYx':_0x11c8dc(0x27b),'fGLtz':'Name\x20of\x20the\x20environment','yAReA':function(_0x1f6728,_0x57499d,_0x20ed36){return _0x1f6728(_0x57499d,_0x20ed36);},'toQzb':_0x11c8dc(0x154),'UxxWt':_0x11c8dc(0x187),'DYdWq':'Config\x20key','ZeiKa':function(_0x5b998b,_0x4d4b3c,_0x17135d){return _0x5b998b(_0x4d4b3c,_0x17135d);},'MErTw':'ranger\x20config\x20get','rNHMu':'ranger\x20profile\x20config\x20get','ctfzh':function(_0x2433a1,_0x54dc77,_0x3f3fab){return _0x2433a1(_0x54dc77,_0x3f3fab);},'FFwnj':_0x11c8dc(0x1f7),'UajzD':_0x11c8dc(0x301),'mYfeM':'set\x20<env>\x20<key>\x20<value>','gZwUT':'get\x20<env>\x20<key>','pVzol':_0x11c8dc(0x201),'yRVyQ':'ranger\x20profile\x20ls','kYdHh':'env\x20list','lrxef':_0x11c8dc(0x1f0),'SUuUA':_0x11c8dc(0x23f),'ZrCqu':function(_0x3cdc19,_0x2274cd,_0x563510){return _0x3cdc19(_0x2274cd,_0x563510);},'sJKbS':_0x11c8dc(0x256),'hbwxc':_0x11c8dc(0x2bc),'fBYVU':function(_0x4c6f47,_0x1244ef,_0x5709aa){return _0x4c6f47(_0x1244ef,_0x5709aa);},'urfJE':_0x11c8dc(0x1ff),'wzELl':'ranger\x20feature\x20show','FAKKw':'ranger\x20feature\x20add-checklist-item','IXiFh':_0x11c8dc(0x1d2),'mqSSr':'feature\x20delete','oeiKy':_0x11c8dc(0x212),'rPAju':'get-feedback\x20[id]','bgbsT':'restore\x20<id>','gvQNn':'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ijsOm':'session-id','nSgxM':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','qFODQ':function(_0x37a907,_0x26b6cf,_0x266d4a){return _0x37a907(_0x26b6cf,_0x266d4a);},'SzmTY':_0x11c8dc(0x30f),'lgYdo':'enable','hYhop':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WeACA':'disable','VDPSV':_0x11c8dc(0x23c),'XgXNC':_0x11c8dc(0x1f1),'VEaYK':_0x11c8dc(0x175),'qCAZB':function(_0x32b3de,_0x4ba744){return _0x32b3de||_0x4ba744;},'CAqte':'ranger','gOITV':function(_0x12983e){return _0x12983e();},'MWXpo':_0x11c8dc(0x20b),'exuii':'add-scenario\x20<description>','SNupV':_0x11c8dc(0x2cf),'ozUmV':'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','pLnqj':_0x11c8dc(0x253),'MmbrS':'delete\x20[id]','ikUzV':'setup\x20[tokenOrSubcommand]','JvqpK':'Install\x20Ranger\x20skills','MNScK':_0x11c8dc(0x20a),'xCgzT':'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','GDYmq':'print-access-token','AXUsZ':'Print\x20the\x20current\x20CLI\x20access\x20token','mgrBf':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','kUBez':_0x11c8dc(0x24b),'Bpelc':'verify-feature','VWnKn':'add\x20env\x20<env-name>','nxUGM':'use\x20<env-name>','uNdjB':'Documentation:\x0a'};return _0x4ea421[_0x11c8dc(0x257)](_0x41fcaa,_0x1e0e73??process[_0x11c8dc(0x1cb)]['slice'](0x2))[_0x11c8dc(0x2c6)](_0x4ea421[_0x11c8dc(0x2e7)])['usage'](TOP_LEVEL_HELP)['version'](_0x4ea421['gOITV'](getCurrentVersion))[_0x11c8dc(0x2ba)]('create\x20<name>',_0x11c8dc(0x156),_0x395356=>{const _0xc9ce22=_0x11c8dc;return _0x395356['positional'](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20name','demandOption':!![]})['option']('description',{'type':'string','alias':'d','description':_0xc9ce22(0x21d)})['option'](_0x4ea421[_0xc9ce22(0x2d8)],{'type':_0xc9ce22(0x24c),'alias':'c','description':_0x4ea421[_0xc9ce22(0x16d)]})[_0xc9ce22(0x1be)](_0xc9ce22(0x215),{'type':_0x4ea421['VRYAD'],'hidden':!![]});},async _0x426e5a=>{const _0x350596=_0x11c8dc;if(!_0x426e5a['name']){console['error'](_0x4ea421['imEEK'](_0x4ea421[_0x350596(0x26d)],_0x350596(0x17f))),process[_0x350596(0x266)](0x1);return;}warnFlagRenamed(_0x4ea421['DVomp'],'--checklist',_0x4ea421[_0x350596(0x298)]);const _0x19add5=_0x426e5a['scenario']||_0x426e5a[_0x350596(0x215)];await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421['ifwcs'],()=>featureCreate(_0x426e5a['name'],{'description':_0x426e5a['description'],'scenarios':_0x19add5}));})[_0x11c8dc(0x2ba)]('list','List\x20all\x20feature\x20reviews',_0x1e9d42=>{const _0x2e5a46=_0x11c8dc;return _0x1e9d42['option'](_0x4ea421['INIAT'],{'type':_0x2e5a46(0x211),'description':_0x2e5a46(0x2cd)})[_0x2e5a46(0x1be)]('limit',{'type':_0x4ea421['iTKpc'],'alias':'l','description':_0x4ea421[_0x2e5a46(0x1bb)],'default':0xa})['option'](_0x4ea421['dDYpT'],{'type':_0x4ea421['iTKpc'],'alias':'o','description':_0x4ea421['XDBcS'],'default':0x0})['option'](_0x4ea421[_0x2e5a46(0x230)],{'type':_0x2e5a46(0x211),'alias':'d','description':_0x4ea421[_0x2e5a46(0x274)],'default':![]});},async _0x13b835=>{const _0x59d8fb=_0x11c8dc;await withTelemetry(_0x4ea421[_0x59d8fb(0x1e9)],()=>featureList({'currentBranch':_0x13b835['current-branch'],'limit':_0x13b835['limit'],'offset':_0x13b835[_0x59d8fb(0x23b)],'includeDeleted':_0x13b835['include-deleted']}));})[_0x11c8dc(0x2ba)]('show\x20[id]',_0x4ea421[_0x11c8dc(0x2a3)],_0x1e15ea=>{const _0x25a6b6=_0x11c8dc;return _0x1e15ea['positional']('id',{'type':_0x25a6b6(0x18a),'description':_0x4ea421[_0x25a6b6(0x247)]});},async _0x591db9=>{await withTelemetry('show',()=>featureShow(_0x591db9['id']));})['command'](_0x11c8dc(0x212),_0x11c8dc(0x1c7),_0x2ecc9c=>{const _0x492515=_0x11c8dc;return _0x2ecc9c[_0x492515(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x51db19=>{const _0x5f1466=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0x5f1466(0x19a)],()=>featureResume(_0x51db19['id']));})['command'](_0x4ea421['exuii'],_0x11c8dc(0x1e7),_0x2bec9e=>{const _0x210796=_0x11c8dc;return _0x2bec9e['positional'](_0x4ea421['RNYSh'],{'type':'string','description':_0x4ea421[_0x210796(0x206)],'demandOption':!![]})['option']('id',{'type':_0x4ea421['yjzTR'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x17d159=>{const _0x2fc1c3=_0x11c8dc;await withTelemetry(_0x2fc1c3(0x26b),()=>featureAddScenario(_0x17d159['description'],_0x17d159['id']));})['command']('edit-scenario\x20<description>',_0x4ea421[_0x11c8dc(0x309)],_0x405271=>{const _0x24a5a1=_0x11c8dc;return _0x405271['positional'](_0x4ea421['RNYSh'],{'type':_0x24a5a1(0x18a),'description':_0x24a5a1(0x169),'demandOption':!![]})[_0x24a5a1(0x1be)](_0x4ea421[_0x24a5a1(0x2d8)],{'type':_0x4ea421['iTKpc'],'description':_0x4ea421[_0x24a5a1(0x170)],'demandOption':!![]})['option']('id',{'type':_0x24a5a1(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x8ad5fb=>{const _0x2625ae=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x4ea421[_0x2625ae(0x1ca)],()=>featureEditScenario(_0x8ad5fb[_0x2625ae(0x302)],{'id':_0x8ad5fb['id'],'scenario':_0x8ad5fb['scenario']}));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x25e),_0x4ea421['ozUmV'],_0x1f0ec0=>{const _0x4fdccd=_0x11c8dc;return _0x1f0ec0['positional']('id',{'type':_0x4ea421['yjzTR'],'description':_0x4fdccd(0x316)})[_0x4fdccd(0x1be)](_0x4fdccd(0x2f6),{'type':'array','description':_0x4fdccd(0x1e8)})['option'](_0x4fdccd(0x25b),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['PIQRz'],'default':![]});},async _0x256f42=>{const _0x4f4984=_0x11c8dc,_0x7543af=_0x256f42['exclude-scenario'],_0x3c8d86=_0x7543af?_0x7543af[_0x4f4984(0x236)](_0x3c77b5=>Number(_0x3c77b5)):undefined;await _0x4ea421[_0x4f4984(0x219)](withTelemetry,'report',()=>featureReportPrDescription(_0x256f42['id'],{'excludeScenarios':_0x3c8d86,'json':_0x256f42['json']}));})['command']('get-review\x20[id]',_0x4ea421['pLnqj'],_0x31b2ed=>{return _0x31b2ed['positional']('id',{'type':'string','description':_0x4ea421['sigiT']});},async _0x2757e3=>{const _0x49b85b=_0x11c8dc;await _0x4ea421['bgPpD'](withTelemetry,_0x49b85b(0x208),()=>featureGetReview(_0x2757e3['id']));})['command'](_0x4ea421[_0x11c8dc(0x22d)],'Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x55d907=>{const _0x4aa45f=_0x11c8dc;return _0x55d907[_0x4aa45f(0x229)]('id',{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['pGbsZ']});},async _0x4e7884=>{await withTelemetry('delete',()=>featureDelete(_0x4e7884['id']));})['command'](_0x4ea421[_0x11c8dc(0x234)],'Restore\x20a\x20soft-deleted\x20feature\x20review',_0x1790d5=>{const _0x44a25c=_0x11c8dc;return _0x1790d5[_0x44a25c(0x229)]('id',{'type':'string','description':_0x4ea421['lcaaq'],'demandOption':!![]});},async _0x26d16d=>{const _0x5ef695=_0x11c8dc;await withTelemetry(_0x4ea421[_0x5ef695(0x30e)],()=>featureRestore(_0x26d16d['id']));})[_0x11c8dc(0x2ba)](_0x4ea421['ikUzV'],'Initialize\x20Ranger\x20in\x20your\x20project',_0x587c39=>{const _0x3c4c72=_0x11c8dc,_0x3dfd57={'WERPp':_0x4ea421['JSTKF'],'QuGUM':_0x4ea421['DITtG'],'ZfONv':_0x4ea421[_0x3c4c72(0x31e)],'nXcFN':_0x4ea421[_0x3c4c72(0x270)],'jCNNM':function(_0x25b65a,_0x54948b,_0x52856b){return _0x25b65a(_0x54948b,_0x52856b);},'HoMUg':_0x3c4c72(0x305),'MgKWz':function(_0x144ea1,_0x3ff22e,_0x4f9e9f){return _0x144ea1(_0x3ff22e,_0x4f9e9f);},'OdmMd':_0x3c4c72(0x29d),'rKySz':function(_0x5609ee,_0x4ec8e6){return _0x4ea421['IBBgx'](_0x5609ee,_0x4ec8e6);},'dPpVL':function(_0x2092b2,_0xeecaf3,_0x1f6afd){return _0x2092b2(_0xeecaf3,_0x1f6afd);},'zyMth':_0x4ea421['nRWGn'],'Uvohw':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','AZFOa':_0x4ea421['AlyIp'],'nyHSD':_0x4ea421['yjzTR'],'VNoHO':_0x4ea421['ZTvcT'],'hJDHs':_0x3c4c72(0x29f),'FcjpA':'boolean','IQURY':_0x4ea421[_0x3c4c72(0x1ee)]};return _0x587c39['usage'](_0x3c4c72(0x275))['positional'](_0x4ea421[_0x3c4c72(0x295)],{'type':'string','description':_0x4ea421[_0x3c4c72(0x1c6)]})[_0x3c4c72(0x2ba)]('all',_0x4ea421['mltcj'],_0x5558b3=>{const _0x2613fc=_0x3c4c72;return _0x5558b3[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x300)],{'type':_0x4ea421['yjzTR'],'description':_0x2613fc(0x246)})['option'](_0x4ea421['eIcMd'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x15c),'default':![]})['option'](_0x4ea421['ziXsj'],{'type':'boolean','description':_0x2613fc(0x1ef),'default':![]})['option'](_0x2613fc(0x196),{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['uFNBN'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421[_0x2613fc(0x28d)],{'type':_0x4ea421[_0x2613fc(0x209)],'choices':['user'],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x2613fc(0x1be)](_0x4ea421['AlyIp'],{'type':_0x4ea421['yjzTR'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})['option'](_0x4ea421['UWBII'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['GEtVC'],'default':![]})[_0x2613fc(0x1be)](_0x4ea421['xrUWT'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})[_0x2613fc(0x1be)](_0x2613fc(0x2c3),{'type':_0x2613fc(0x211),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]})[_0x2613fc(0x1be)](_0x4ea421['JSTKF'],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x2613fc(0x303),'default':![]})['option'](_0x4ea421[_0x2613fc(0x2fb)],{'type':_0x4ea421[_0x2613fc(0x1a0)],'description':_0x4ea421[_0x2613fc(0x205)],'default':![]});},async _0x25b3df=>{const _0x487b93=_0x3c4c72;(_0x25b3df[_0x3dfd57[_0x487b93(0x155)]]||_0x25b3df['mcp'])&&await withTelemetry(_0x487b93(0x2d6),()=>mcpBootstrap()),await withTelemetry(_0x3dfd57['QuGUM'],_0x5f298e=>start(_0x25b3df[_0x487b93(0x166)],{'skipChromium':_0x25b3df['skip-chromium'],'skipAuth':_0x25b3df['skip-auth'],'withDeps':_0x25b3df[_0x487b93(0x196)],'scope':_0x25b3df['scope'],'url':_0x25b3df[_0x487b93(0x1eb)],'force':_0x25b3df['force'],'opencode':_0x25b3df['opencode'],'allowInsecureLocalhost':_0x25b3df[_0x487b93(0x2c3)]},_0x5f298e));})['command'](_0x3c4c72(0x1b5),_0x3c4c72(0x204),_0x3aff4d=>{const _0xf38191=_0x3c4c72;return _0x3aff4d[_0xf38191(0x1be)](_0x3dfd57['ZfONv'],{'type':'boolean','description':_0x3dfd57[_0xf38191(0x265)],'default':![]});},async _0x4af34b=>{const _0x42a0da=_0x3c4c72;await _0x3dfd57[_0x42a0da(0x214)](withTelemetry,_0x3dfd57['HoMUg'],()=>ensureChromium(_0x4af34b['with-deps']));})['command']('login',_0x4ea421[_0x3c4c72(0x16f)],_0x5516f0=>{const _0x327d2e=_0x3c4c72;return _0x5516f0['option'](_0x4ea421['HMFst'],{'type':'string','description':_0x4ea421['dsbnG']})['option']('mcp',{'type':_0x327d2e(0x211),'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x44138f=>{const _0x5320fb=_0x3c4c72,_0x1f7db8={'WOufA':function(_0x4fba7b){return _0x4fba7b();}};await _0x4ea421[_0x5320fb(0x2f4)](withTelemetry,_0x4ea421['vaPSP'],async()=>{const _0x33ff77=_0x5320fb;if(_0x44138f[_0x33ff77(0x163)]){await _0x1f7db8['WOufA'](mcpBootstrap);const _0x34a30b=await _0x1f7db8['WOufA'](refreshCliToken);if(!_0x34a30b)throw new Error(_0x33ff77(0x2ec));const _0x4337c3=await getCurrentUser(_0x34a30b);if(!_0x4337c3['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x4337c3[_0x33ff77(0x2a2)]);console['log'](_0x33ff77(0x227)+_0x4337c3['user']['organizationName']);return;}await authenticate(_0x44138f['token']);});})['command'](_0x3c4c72(0x239),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x2aaefa=>{const _0x168199=_0x3c4c72;return _0x2aaefa[_0x168199(0x1be)](_0x168199(0x2db),{'type':_0x4ea421['yjzTR'],'choices':[_0x168199(0x22b),_0x4ea421['DTySg']],'description':_0x168199(0x26c)})[_0x168199(0x1be)](_0x168199(0x29d),{'type':'boolean','description':_0x168199(0x15e),'default':![]});},async _0x4692a4=>{const _0x496bee=_0x3c4c72;await _0x3dfd57[_0x496bee(0x1e0)](withTelemetry,_0x3dfd57['zyMth'],async()=>{const _0x3421e5=_0x496bee,_0x3702e1=_0x4692a4['scope'];if(_0x4692a4['opencode']){const _0xf83ee7=await ensureOpencodePluginConfig(_0x3702e1);_0xf83ee7&&await _0x3dfd57['MgKWz'](installSkill,_0x3421e5(0x183),{'level':_0xf83ee7['scope'],'cliVersion':getCurrentVersion(),'platform':_0x3dfd57[_0x3421e5(0x19f)]});}else await ensureClaudePlugin(_0x3702e1),await _0x3dfd57[_0x3421e5(0x16a)](ensureClaudeSkills,_0x3702e1);});})[_0x3c4c72(0x2ba)](_0x4ea421[_0x3c4c72(0x255)],_0x4ea421[_0x3c4c72(0x2c4)],_0x42a282=>{const _0x27a283=_0x3c4c72;return _0x42a282['option']('scope',{'type':'string','choices':['user'],'description':_0x3dfd57[_0x27a283(0x271)]})[_0x27a283(0x1be)](_0x3dfd57['AZFOa'],{'type':_0x3dfd57[_0x27a283(0x17a)],'description':_0x27a283(0x1f8)})['option'](_0x27a283(0x2d2),{'type':_0x27a283(0x211),'description':_0x3dfd57[_0x27a283(0x217)],'default':![]})['option'](_0x3dfd57[_0x27a283(0x1c8)],{'type':_0x27a283(0x211),'description':_0x27a283(0x2e5),'default':![]})[_0x27a283(0x1be)](_0x27a283(0x2c3),{'type':_0x3dfd57[_0x27a283(0x15d)],'description':_0x3dfd57[_0x27a283(0x2eb)],'default':![]});},async _0x37717b=>{const _0x21d0ee=_0x3c4c72,_0x2531cb=_0x37717b['scope'];_0x4ea421[_0x21d0ee(0x25a)](_0x2531cb,undefined)&&_0x2531cb!==_0x4ea421[_0x21d0ee(0x188)]&&(console[_0x21d0ee(0x2a2)](_0x4ea421[_0x21d0ee(0x1ab)](_0x4ea421[_0x21d0ee(0x291)](_0x21d0ee(0x282)+_0x2531cb+_0x21d0ee(0x165),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20'),_0x21d0ee(0x182))),process['exit'](0x1)),await _0x4ea421[_0x21d0ee(0x224)](withTelemetry,_0x4ea421['bRFfj'],_0x444d2e=>ensureLocalEnv({'url':_0x37717b[_0x21d0ee(0x1eb)],'force':_0x37717b['force'],'allowInsecureLocalhost':_0x37717b[_0x21d0ee(0x2c3)],'scope':_0x21d0ee(0x22b)},_0x444d2e));})[_0x3c4c72(0x1be)](_0x3c4c72(0x162),{'type':'boolean','description':_0x4ea421[_0x3c4c72(0x2ac)],'default':![]})['option'](_0x4ea421[_0x3c4c72(0x28d)],{'type':'string','choices':[_0x4ea421[_0x3c4c72(0x188)]],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x314)],{'type':_0x3c4c72(0x18a),'description':_0x4ea421[_0x3c4c72(0x1d6)]})['option'](_0x3c4c72(0x29f),{'type':_0x4ea421['NlDbh'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x3c4c72(0x1be)](_0x4ea421[_0x3c4c72(0x2f0)],{'type':'boolean','description':_0x4ea421['mSbxV'],'default':![]})['option']('allow-insecure-localhost',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421['ruRWt'],'default':![]})['option'](_0x3c4c72(0x2d6),{'type':_0x4ea421['NlDbh'],'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','default':![]})['option'](_0x3c4c72(0x2d2),{'type':_0x3c4c72(0x211),'description':_0x3c4c72(0x1db),'default':![]})['option'](_0x3c4c72(0x196),{'type':_0x4ea421['NlDbh'],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x3c4c72(0x1be)]('token',{'type':'string','hidden':!![],'description':_0x4ea421[_0x3c4c72(0x174)]});},async _0x386387=>{const _0x4832d2=_0x11c8dc,_0x147c8b=_0x386387[_0x4832d2(0x15b)],_0x83430a=_0x386387['token']??_0x147c8b;_0x386387[_0x4ea421[_0x4832d2(0x1da)]]&&await _0x4ea421['MdSYC'](withTelemetry,_0x4ea421[_0x4832d2(0x1da)],()=>mcpBootstrap()),await withTelemetry(_0x4832d2(0x2e9),_0x9d1fe4=>start(_0x83430a,{'skipChromium':_0x386387['skip-chromium'],'skipAuth':_0x386387[_0x4832d2(0x2d2)],'withDeps':_0x386387['with-deps'],'scope':_0x386387['scope'],'url':_0x386387['url'],'force':_0x386387[_0x4832d2(0x29f)],'opencode':_0x386387[_0x4832d2(0x29d)],'allowInsecureLocalhost':_0x386387[_0x4832d2(0x2c3)]},_0x9d1fe4));})[_0x11c8dc(0x2ba)](_0x11c8dc(0x313),![],_0xa205ff=>{const _0x5281d4=_0x11c8dc;return _0xa205ff['positional'](_0x4ea421['HMFst'],{'type':_0x5281d4(0x18a),'description':_0x4ea421['IKrEV'],'demandOption':!![]})['option'](_0x4ea421[_0x5281d4(0x192)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['MocTi']})['option']('base-url',{'type':_0x5281d4(0x18a),'description':_0x4ea421[_0x5281d4(0x22f)]})[_0x5281d4(0x1be)](_0x5281d4(0x162),{'type':_0x4ea421[_0x5281d4(0x1a0)],'description':'Skip\x20Chromium\x20browser\x20installation','default':![]});},async _0x168f53=>{const _0xce08c1=_0x11c8dc;await _0x4ea421['cQYcq'](withTelemetry,_0x4ea421[_0xce08c1(0x1cc)],_0x4f6364=>setupCi(_0x168f53['token'],{'profile':_0x168f53['profile'],'baseUrl':_0x168f53[_0xce08c1(0x160)],'skipChromium':_0x168f53[_0xce08c1(0x162)]},_0x4f6364));})['command']('login','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)',()=>{},async()=>{await withTelemetry(_0x4ea421['AqgyL'],()=>login());})['command']('skillup',_0x4ea421[_0x11c8dc(0x152)],_0x316af9=>{const _0x2e5345=_0x11c8dc;return _0x316af9[_0x2e5345(0x1be)](_0x4ea421[_0x2e5345(0x2f0)],{'type':'boolean','description':'Install\x20skills\x20for\x20OpenCode','default':![]})[_0x2e5345(0x1be)](_0x4ea421['pxsxh'],{'type':_0x2e5345(0x18a),'choices':[_0x4ea421['CiWsC'],_0x4ea421['DTySg']],'description':'Install\x20scope\x20for\x20skills'});},async _0x4a380e=>{const _0x6978e9=_0x11c8dc,_0x1eaf08=Boolean(_0x4a380e['opencode']);await withTelemetry(_0x4ea421['YUyvC'],()=>skillup({'autoInstall':_0x4a380e[_0x6978e9(0x2db)],'platform':_0x1eaf08?'opencode':'claude'}));})[_0x11c8dc(0x2ba)](_0x4ea421['qJfWW'],_0x4ea421['MNScK'],()=>{},async()=>{const _0x55df84=_0x11c8dc;await _0x4ea421[_0x55df84(0x26e)](withTelemetry,_0x4ea421[_0x55df84(0x25d)],()=>clean());})[_0x11c8dc(0x2ba)]([_0x4ea421['GhgRU'],_0x4ea421['yPUci']],'Manage\x20profiles',_0x8a5903=>{const _0x4f069f=_0x11c8dc,_0x4217cb={'AcsSy':'string','zxcJe':_0x4ea421['xBybv'],'UWrGt':_0x4ea421[_0x4f069f(0x1a0)],'UjCBc':_0x4f069f(0x312),'WSwyG':function(_0x41f0a1,_0x54dd59,_0x4cfe02){const _0x425ada=_0x4f069f;return _0x4ea421[_0x425ada(0x219)](_0x41f0a1,_0x54dd59,_0x4cfe02);},'JJZnS':_0x4ea421[_0x4f069f(0x2a4)],'fDeJs':_0x4f069f(0x285),'DHhWr':_0x4ea421['tlQhk'],'EMGah':_0x4ea421[_0x4f069f(0x1fe)],'mKblJ':'Profile\x20name','IsoBW':'Config\x20key','sITuM':_0x4f069f(0x185),'OBrYE':_0x4ea421[_0x4f069f(0x192)],'zNyur':function(_0x1690b9,_0x319be6,_0x17d37d){return _0x1690b9(_0x319be6,_0x17d37d);},'PJYEr':'profile\x20config\x20list','edsKL':_0x4ea421[_0x4f069f(0x23d)],'isOer':_0x4f069f(0x1d3)};return _0x8a5903['usage'](PROFILE_HELP)[_0x4f069f(0x2ba)](_0x4ea421['BqjuT'],'Add\x20profile\x20configuration',_0x20a7a7=>{const _0xa152e9=_0x4f069f;return _0x20a7a7['positional'](_0x4ea421['EgLzg'],{'type':_0x4ea421[_0xa152e9(0x209)],'description':_0xa152e9(0x29e),'demandOption':!![]})[_0xa152e9(0x1be)]('ci',{'type':_0xa152e9(0x211),'hidden':!![],'default':![]})[_0xa152e9(0x1be)](_0xa152e9(0x2d2),{'type':_0xa152e9(0x211),'description':_0x4ea421['fNeSY'],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x314)],{'type':'string','description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x4ea421['NlDbh'],'description':_0xa152e9(0x2e5),'default':![]})['option'](_0x4ea421['oiNgu'],{'type':_0xa152e9(0x18a),'description':_0xa152e9(0x21f)})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2f1)],{'type':_0x4ea421[_0xa152e9(0x1a0)],'description':_0x4ea421[_0xa152e9(0x2fa)],'default':![]})[_0xa152e9(0x1be)]('safe-mode',{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0xa152e9(0x180)],'default':![]})[_0xa152e9(0x1be)](_0x4ea421[_0xa152e9(0x2ee)],{'type':_0x4ea421[_0xa152e9(0x209)],'array':!![],'description':_0x4ea421['tOaAP']})['option'](_0xa152e9(0x2db),{'type':_0xa152e9(0x18a),'choices':[_0xa152e9(0x22b),_0x4ea421['DTySg']],'description':_0x4ea421[_0xa152e9(0x268)]})[_0xa152e9(0x1be)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0xa152e9(0x2c8)]})['option'](_0xa152e9(0x2b7),{'type':_0x4ea421[_0xa152e9(0x1a0)],'alias':'y','description':_0x4ea421['rZjEz'],'default':![]});},async _0x5f30a5=>{const _0x9a150f=_0x4f069f;await _0x4ea421[_0x9a150f(0x261)](withTelemetry,'profile\x20add',_0x19d789=>addEnv(_0x5f30a5['profile-name'],{'ci':_0x5f30a5['ci'],'skipAuth':_0x5f30a5[_0x9a150f(0x2d2)],'url':_0x5f30a5['url'],'force':_0x5f30a5[_0x9a150f(0x29f)],'cdpEndpoint':_0x5f30a5['cdp-endpoint'],'allowInsecureLocalhost':_0x5f30a5['allow-insecure-localhost'],'safeMode':_0x5f30a5[_0x9a150f(0x2ed)],'setupHeader':_0x5f30a5[_0x9a150f(0x2e2)],'scope':_0x5f30a5['scope'],'authEnv':_0x5f30a5['env'],'yes':_0x5f30a5['yes']},_0x19d789),{'isElectron':_0x4ea421['fwXSI'](Boolean,_0x5f30a5[_0x4ea421['oiNgu']])});})[_0x4f069f(0x2ba)]('use\x20<profile-name>','Switch\x20to\x20using\x20a\x20specific\x20profile',_0x55bfa6=>{return _0x55bfa6['positional']('profile-name',{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x5c5769=>{const _0x10a377=_0x4f069f;await _0x4ea421[_0x10a377(0x294)](withTelemetry,_0x4ea421['LyEnV'],()=>useEnv(_0x5c5769['profile-name']));})['command'](_0x4ea421[_0x4f069f(0x1ce)],'Delete\x20a\x20cloud\x20profile',_0x2e5de1=>{const _0x1519c2=_0x4f069f;return _0x2e5de1[_0x1519c2(0x229)]('profile-name',{'type':_0x4217cb['AcsSy'],'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})[_0x1519c2(0x1be)](_0x4217cb[_0x1519c2(0x1ed)],{'type':_0x4217cb['UWrGt'],'alias':'y','description':_0x4217cb[_0x1519c2(0x16c)],'default':![]});},async _0x134e7e=>{const _0xba9e5c=_0x4f069f;await _0x4217cb[_0xba9e5c(0x1b0)](withTelemetry,_0x4217cb[_0xba9e5c(0x267)],()=>deleteProfile(_0x134e7e['profile-name'],{'yes':_0x134e7e['yes']}));})['command'](_0x4ea421[_0x4f069f(0x1d8)],![],_0x209e68=>{const _0x3c1ba1=_0x4f069f;return _0x209e68['positional']('profile',{'type':'string','description':_0x4ea421[_0x3c1ba1(0x1c2)],'demandOption':!![]});},async _0x1c448c=>{await _0x4ea421['bgPpD'](withTelemetry,'profile\x20encrypt-auth',()=>authEncrypt(_0x1c448c['profile']));})['command']('ls',_0x4ea421[_0x4f069f(0x1b4)],()=>{},async()=>{const _0x162563=_0x4f069f;await withTelemetry(_0x162563(0x1dd),()=>envList());})['command'](_0x4f069f(0x2e1),_0x4ea421['xBneL'],_0x4a2260=>{const _0x38bd8c=_0x4f069f;return _0x4a2260['positional'](_0x38bd8c(0x177),{'type':_0x4ea421[_0x38bd8c(0x209)],'description':_0x4ea421['vevGl'],'demandOption':!![]})['option'](_0x4ea421[_0x38bd8c(0x2f1)],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x38bd8c(0x2fa)]})[_0x38bd8c(0x1be)](_0x4ea421['mXLdh'],{'type':'boolean','description':_0x4ea421['qkUVx']});},async _0x7a555f=>{const _0x37fd9d=_0x4f069f;await _0x4ea421[_0x37fd9d(0x2a5)](withTelemetry,_0x37fd9d(0x190),_0x29ad34=>updateEnv(_0x7a555f[_0x37fd9d(0x177)],_0x29ad34,{'allowInsecureLocalhost':_0x7a555f['allow-insecure-localhost'],'manual':_0x7a555f['manual']}));})['command'](_0x4ea421['RERfz'],![],_0x174df5=>{const _0x40592d=_0x4f069f;return _0x174df5['positional'](_0x4217cb[_0x40592d(0x269)],{'type':_0x4217cb[_0x40592d(0x297)],'description':_0x40592d(0x22e),'demandOption':!![]});},async _0x4a5118=>{const _0x4c3d3c=_0x4f069f,_0x4ef703={'XfZcf':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','aFVHM':function(_0x723679,_0x1797de,_0x12ca4e){return _0x4217cb['WSwyG'](_0x723679,_0x1797de,_0x12ca4e);},'uADnQ':_0x4c3d3c(0x26a),'AIQyg':_0x4217cb[_0x4c3d3c(0x249)]};await withTelemetry(_0x4217cb['EMGah'],async()=>{const _0x11e208=_0x4c3d3c,_0x23b7bd=process['env']['RANGER_TEST_USERNAME'],_0x121771=process['env'][_0x11e208(0x194)];(!_0x23b7bd||!_0x121771)&&(console[_0x11e208(0x2a2)](_0x4ef703['XfZcf']),process['exit'](0x1));const _0x291001=_0x4a5118['name'],_0x5656c6=await _0x4ef703['aFVHM'](serverSideLogin,_0x291001,{'force':!![]});_0x5656c6['status']===_0x4ef703[_0x11e208(0x226)]&&(console[_0x11e208(0x2a2)]('No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.'),process['exit'](0x1)),_0x5656c6['status']==='failed'&&(console['error'](_0x11e208(0x17d)+(_0x5656c6['error']??_0x4ef703['AIQyg'])),_0x5656c6[_0x11e208(0x262)]&&console['error'](_0x5656c6['test_output']),process[_0x11e208(0x266)](0x1)),console[_0x11e208(0x1f9)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x291001+'\x27.\x20Session\x20saved.');});})['command'](_0x4ea421[_0x4f069f(0x2f7)],![],_0x417d72=>{const _0x39ff9e=_0x4f069f;return _0x417d72[_0x39ff9e(0x229)](_0x39ff9e(0x177),{'type':_0x39ff9e(0x18a),'description':_0x39ff9e(0x2f2)})[_0x39ff9e(0x1be)](_0x39ff9e(0x238),{'type':'boolean','description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x39ff9e(0x153),{'type':_0x39ff9e(0x211),'description':_0x39ff9e(0x19c),'default':![]})['option'](_0x4ea421['xBybv'],{'type':'boolean','alias':'y','description':_0x39ff9e(0x2d4),'default':![]})[_0x39ff9e(0x1be)](_0x4ea421['tVbxv'],{'type':_0x4ea421['NlDbh'],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x564c34=>{const _0x108f96=_0x4f069f;await _0x4ea421[_0x108f96(0x2a5)](withTelemetry,'profile\x20migrate',_0x19f06e=>migrateProfile({'profileName':_0x564c34[_0x108f96(0x177)],'all':_0x564c34['all'],'dryRun':_0x564c34[_0x108f96(0x153)],'yes':_0x564c34[_0x108f96(0x2b7)],'saveCreds':_0x564c34[_0x108f96(0x1b2)]},_0x19f06e));})['command'](_0x4ea421[_0x4f069f(0x30c)],_0x4ea421[_0x4f069f(0x287)],_0x1e63b3=>{const _0x51e677=_0x4f069f,_0x5c4a51={'uEPCg':_0x4ea421['GhgRU'],'BjyRz':'string','ugehu':_0x4ea421[_0x51e677(0x1c2)],'kcqjI':_0x51e677(0x17c),'tIzoJ':_0x4ea421['SFpiF']};return _0x1e63b3['usage'](PROFILE_CONFIG_HELP)['command'](_0x51e677(0x2a6),_0x4ea421['cyvmf'],_0x29eaf4=>{const _0x544be2=_0x51e677;return _0x29eaf4[_0x544be2(0x229)](_0x5c4a51[_0x544be2(0x1f6)],{'type':_0x5c4a51['BjyRz'],'description':_0x5c4a51[_0x544be2(0x277)],'demandOption':!![]})[_0x544be2(0x229)]('key',{'type':'string','description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x544be2(0x229)](_0x5c4a51['kcqjI'],{'type':'string','description':'Config\x20value','demandOption':!![]});},async _0xded1b=>{const _0x1dfbe9=_0x51e677;await withTelemetry(_0x1dfbe9(0x24f),()=>configSet(_0xded1b['profile'],_0xded1b['key'],_0xded1b[_0x1dfbe9(0x17c)]));})[_0x51e677(0x2ba)](_0x4ea421['VxJbM'],_0x4ea421[_0x51e677(0x184)],_0x3fe107=>{const _0x148f2e=_0x51e677;return _0x3fe107[_0x148f2e(0x229)](_0x148f2e(0x179),{'type':_0x4217cb['AcsSy'],'description':_0x4217cb[_0x148f2e(0x23e)],'demandOption':!![]})['positional']('key',{'type':'string','description':_0x4217cb['IsoBW'],'demandOption':!![]});},async _0xe5fa83=>{const _0x329433=_0x51e677;await _0x4217cb[_0x329433(0x1b0)](withTelemetry,_0x4217cb['sITuM'],()=>configGet(_0xe5fa83['profile'],_0xe5fa83['key']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x23a)],_0x4ea421[_0x51e677(0x280)],_0x2b9302=>{const _0x3ef563=_0x51e677;return _0x2b9302[_0x3ef563(0x229)](_0x4217cb[_0x3ef563(0x1e1)],{'type':_0x3ef563(0x18a),'description':_0x3ef563(0x2d7),'demandOption':!![]});},async _0x15aaa4=>{await _0x4217cb['zNyur'](withTelemetry,_0x4217cb['PJYEr'],()=>configList(_0x15aaa4['profile']));})[_0x51e677(0x2ba)](_0x4ea421[_0x51e677(0x158)],'Remove\x20a\x20config\x20value',_0x21bcb0=>{const _0x59af2b=_0x51e677;return _0x21bcb0[_0x59af2b(0x229)]('profile',{'type':_0x59af2b(0x18a),'description':'Profile\x20name','demandOption':!![]})['positional'](_0x4217cb['edsKL'],{'type':_0x4217cb['AcsSy'],'description':_0x4217cb['isOer'],'demandOption':!![]});},async _0x606deb=>{const _0x56aa93=_0x51e677;await withTelemetry(_0x5c4a51[_0x56aa93(0x2ef)],()=>configUnset(_0x606deb['profile'],_0x606deb['key']));})['command']('reset\x20<profile>',_0x4ea421['FMucV'],_0x16269c=>{const _0x556544=_0x51e677;return _0x16269c['positional']('profile',{'type':_0x556544(0x18a),'description':_0x4217cb[_0x556544(0x23e)],'demandOption':!![]});},async _0x15a1c2=>{const _0x42ab25=_0x51e677;await withTelemetry(_0x42ab25(0x1a6),()=>configReset(_0x15a1c2['profile']));})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x4f069f(0x157)](0x1,_0x4ea421[_0x4f069f(0x14f)]);})['command'](_0x11c8dc(0x1dc),_0x11c8dc(0x251),()=>{},async()=>{const _0x30df08=_0x11c8dc;await withTelemetry(_0x4ea421[_0x30df08(0x167)],()=>status());})[_0x11c8dc(0x2ba)](_0x4ea421['Vbrtk'],_0x4ea421['xCgzT'],()=>{},async()=>{const _0x28290b=_0x11c8dc;await withTelemetry(_0x4ea421[_0x28290b(0x203)],()=>update());})[_0x11c8dc(0x2ba)](_0x4ea421['GDYmq'],_0x4ea421['AXUsZ'],()=>{},async()=>{await _0x4ea421['bgPpD'](withTelemetry,'print-access-token',async()=>{const _0x5eb602=_0xd8f6,_0x4b55fe=await _0x4ea421[_0x5eb602(0x1c1)](getToken);if(!_0x4b55fe)throw new Error(_0x5eb602(0x318));console['log'](_0x4b55fe);});})[_0x11c8dc(0x2ba)]('go',_0x4ea421['mgrBf'],_0x326080=>{const _0x223c06=_0x11c8dc;return _0x326080['option']('feature',{'type':_0x223c06(0x18a),'description':_0x4ea421['kutrV']})['option']('profile',{'type':_0x223c06(0x18a),'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option']('notes',{'type':_0x223c06(0x18a),'description':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)'})['option'](_0x223c06(0x284),{'type':'string','description':_0x4ea421['Xjvke']})['option'](_0x4ea421['atQvJ'],{'type':_0x223c06(0x172),'description':_0x223c06(0x176)})[_0x223c06(0x1be)](_0x223c06(0x288),{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421[_0x223c06(0x2de)]})['option']('base-url',{'type':_0x223c06(0x18a),'description':_0x4ea421[_0x223c06(0x250)]})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x1d1)],{'type':_0x4ea421['yjzTR'],'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'](_0x4ea421[_0x223c06(0x30a)],{'type':_0x4ea421['NlDbh'],'description':_0x223c06(0x18b),'default':![]})['option'](_0x4ea421[_0x223c06(0x168)],{'type':_0x4ea421['yjzTR'],'array':!![],'alias':_0x4ea421[_0x223c06(0x28e)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})['option'](_0x4ea421['LyaWw'],{'type':_0x4ea421['NlDbh'],'description':_0x4ea421[_0x223c06(0x225)],'default':![]})['option']('debug-outcome',{'type':'string','hidden':!![],'choices':[_0x4ea421[_0x223c06(0x28b)],_0x223c06(0x24a),_0x223c06(0x2a9),'failed',_0x4ea421[_0x223c06(0x19b)]]})[_0x223c06(0x1be)](_0x223c06(0x2fe),{'type':'boolean','hidden':!![]})['option'](_0x4ea421['iOYQX'],{'type':_0x4ea421[_0x223c06(0x209)],'description':_0x4ea421['yMtOf']})[_0x223c06(0x1be)](_0x4ea421[_0x223c06(0x276)],{'type':'string','hidden':!![]})['option']('item',{'type':_0x223c06(0x172),'hidden':!![]});},async _0x267fa2=>{await runGoCommand(_0x267fa2);})['command'](_0x4ea421['kUBez'],![],_0x190e32=>{const _0x17b0b6=_0x11c8dc,_0xc188c1={'HolbR':_0x4ea421[_0x17b0b6(0x1c2)],'zdgQJ':function(_0x245cb6,_0x30a939,_0x5135cb){return _0x245cb6(_0x30a939,_0x5135cb);},'Dgliu':_0x17b0b6(0x1f5)};return _0x190e32[_0x17b0b6(0x2ba)]('encrypt\x20<profile>',![],_0x3e0de6=>{const _0x7f1691=_0x17b0b6;return _0x3e0de6['positional']('profile',{'type':'string','description':_0xc188c1[_0x7f1691(0x254)],'demandOption':!![]});},async _0x1fcd95=>{const _0x5deead=_0x17b0b6;_0xc188c1['zdgQJ'](warnRenamed,_0x5deead(0x189),_0xc188c1[_0x5deead(0x21e)]),await authEncrypt(_0x1fcd95[_0x5deead(0x179)]);})[_0x17b0b6(0x157)](0x1,_0x4ea421[_0x17b0b6(0x292)]);},()=>{})['command']('start\x20[token]',![],_0x1e791d=>{const _0x28145b=_0x11c8dc;return _0x1e791d[_0x28145b(0x229)]('token',{'type':_0x28145b(0x18a),'description':_0x28145b(0x259)})['option'](_0x28145b(0x162),{'type':_0x28145b(0x211),'description':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','default':![]})[_0x28145b(0x1be)](_0x4ea421['pxsxh'],{'type':'string','choices':[_0x4ea421[_0x28145b(0x188)]],'hidden':!![],'description':_0x4ea421['OcBfD']})['option'](_0x28145b(0x1eb),{'type':'string','description':_0x4ea421['MFGaD']})['option'](_0x4ea421[_0x28145b(0x186)],{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x2e5),'default':![]})['option']('skip-auth',{'type':_0x4ea421['NlDbh'],'description':_0x28145b(0x1ef),'default':![]})['option']('with-deps',{'type':_0x28145b(0x211),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]});},async _0x580f5c=>{const _0x99b5f=_0x11c8dc;warnRenamed('ranger\x20start',_0x4ea421[_0x99b5f(0x1f3)]),await _0x4ea421['Xkhgb'](withTelemetry,'start',_0x21d724=>start(_0x580f5c[_0x99b5f(0x166)],{'skipChromium':_0x580f5c['skip-chromium'],'skipAuth':_0x580f5c['skip-auth'],'withDeps':_0x580f5c['with-deps'],'scope':_0x580f5c['scope'],'url':_0x580f5c[_0x99b5f(0x1eb)],'force':_0x580f5c['force']},_0x21d724));})['command'](_0x4ea421['Bpelc'],![],_0x237a1f=>{const _0x187fc2=_0x11c8dc;return _0x237a1f[_0x187fc2(0x1be)]('env',{'type':_0x187fc2(0x18a),'description':_0x4ea421['pDZez']})['option'](_0x4ea421[_0x187fc2(0x276)],{'type':_0x187fc2(0x18a),'description':_0x4ea421['PIOko']})['option'](_0x4ea421['BUerT'],{'type':_0x4ea421[_0x187fc2(0x218)],'description':_0x187fc2(0x176)})[_0x187fc2(0x1be)](_0x4ea421[_0x187fc2(0x192)],{'type':_0x187fc2(0x18a),'hidden':!![]})['option']('notes',{'type':_0x187fc2(0x18a),'hidden':!![]})['option'](_0x187fc2(0x1ec),{'type':_0x4ea421[_0x187fc2(0x218)],'hidden':!![]})['option'](_0x187fc2(0x288),{'type':_0x4ea421['yjzTR'],'description':_0x187fc2(0x293)})['option'](_0x4ea421['HACQV'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x4ea421['DHzGr'],{'type':_0x187fc2(0x18a),'hidden':!![]})[_0x187fc2(0x1be)](_0x187fc2(0x25c),{'type':'boolean','hidden':!![],'default':![]})['option'](_0x4ea421['vwznP'],{'type':_0x187fc2(0x18a),'array':!![],'alias':_0x187fc2(0x2f5),'hidden':!![]})[_0x187fc2(0x1be)](_0x4ea421['TtryD'],{'type':'string','hidden':!![],'choices':[_0x187fc2(0x2fc),'partial',_0x187fc2(0x2a9),_0x187fc2(0x24d),'incomplete']});},async _0x2bf0f7=>{await runGoCommand(_0x2bf0f7,!![]);})['command'](_0x4ea421[_0x11c8dc(0x2c2)],![],_0x3555dc=>{const _0x441dd1=_0x11c8dc;return _0x3555dc[_0x441dd1(0x229)]('env-name',{'type':'string','description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})[_0x441dd1(0x1be)]('ci',{'type':_0x441dd1(0x211),'description':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','default':![]})[_0x441dd1(0x1be)]('skip-auth',{'type':_0x441dd1(0x211),'description':_0x4ea421[_0x441dd1(0x272)],'default':![]});},async _0x135cbe=>{const _0x496cf1=_0x11c8dc;_0x4ea421[_0x496cf1(0x2a8)](warnRenamed,_0x4ea421[_0x496cf1(0x1de)],_0x4ea421[_0x496cf1(0x19e)]),await _0x4ea421['BhlHN'](withTelemetry,_0x4ea421[_0x496cf1(0x15a)],_0x40af64=>addEnv(_0x135cbe['env-name'],{'ci':_0x135cbe['ci'],'skipAuth':_0x135cbe[_0x496cf1(0x2d2)]},_0x40af64));})['command'](_0x4ea421[_0x11c8dc(0x2fd)],![],_0x38052c=>{const _0x56abcf=_0x11c8dc;return _0x38052c['positional']('env-name',{'type':_0x4ea421[_0x56abcf(0x209)],'description':_0x4ea421[_0x56abcf(0x1c0)],'demandOption':!![]});},async _0x308076=>{const _0x246628=_0x11c8dc;_0x4ea421['yAReA'](warnRenamed,'ranger\x20use',_0x4ea421[_0x246628(0x2c5)]),await _0x4ea421[_0x246628(0x21b)](withTelemetry,'use',()=>useEnv(_0x308076[_0x246628(0x1f0)]));})[_0x11c8dc(0x2ba)](_0x4ea421['tKkIY'],![],_0x416647=>{const _0x32a6af=_0x11c8dc,_0x3b4582={'QVPOw':'string','jMiDC':'Environment\x20name','bWZLH':_0x4ea421[_0x32a6af(0x193)],'EztbQ':'value','YuSKa':_0x32a6af(0x18e),'pAXAX':function(_0x5c3b1c,_0x1ddbbb,_0x55d3ee){return _0x5c3b1c(_0x1ddbbb,_0x55d3ee);},'nDXfQ':'ranger\x20config\x20set','MhjIh':function(_0x424af7,_0x5ee21a,_0x1cab84){return _0x424af7(_0x5ee21a,_0x1cab84);}};return _0x416647['command'](_0x4ea421[_0x32a6af(0x1b8)],![],_0x2be4ca=>{const _0x45522d=_0x32a6af;return _0x2be4ca['positional']('env',{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582[_0x45522d(0x181)],'demandOption':!![]})['positional'](_0x45522d(0x22c),{'type':_0x3b4582['QVPOw'],'description':_0x3b4582['bWZLH'],'demandOption':!![]})['positional'](_0x3b4582['EztbQ'],{'type':_0x3b4582[_0x45522d(0x198)],'description':_0x3b4582['YuSKa'],'demandOption':!![]});},async _0x28923e=>{const _0x127c6b=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3b4582[_0x127c6b(0x1d9)],_0x127c6b(0x2f9)),await withTelemetry(_0x127c6b(0x286),()=>configSet(_0x28923e[_0x127c6b(0x161)],_0x28923e['key'],_0x28923e['value']));})['command'](_0x4ea421[_0x32a6af(0x2a0)],![],_0x3fc9d5=>{const _0x56e00c=_0x32a6af;return _0x3fc9d5[_0x56e00c(0x229)](_0x4ea421['iOYQX'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x56e00c(0x28f)],'demandOption':!![]})[_0x56e00c(0x229)](_0x4ea421[_0x56e00c(0x23d)],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421['DYdWq'],'demandOption':!![]});},async _0x3d59db=>{const _0x488700=_0x32a6af;_0x4ea421[_0x488700(0x263)](warnRenamed,_0x4ea421[_0x488700(0x207)],_0x4ea421['rNHMu']),await _0x4ea421['ctfzh'](withTelemetry,'config\x20get',()=>configGet(_0x3d59db[_0x488700(0x161)],_0x3d59db[_0x488700(0x22c)]));})['command']('list\x20<env>',![],_0x4c04b3=>{const _0x812686=_0x32a6af;return _0x4c04b3[_0x812686(0x229)](_0x4ea421['iOYQX'],{'type':_0x812686(0x18a),'description':_0x4ea421[_0x812686(0x28f)],'demandOption':!![]});},async _0x47be90=>{const _0x2a6617=_0x32a6af;warnRenamed(_0x4ea421[_0x2a6617(0x2e8)],_0x2a6617(0x17b)),await _0x4ea421['ZKXsy'](withTelemetry,'config\x20list',()=>configList(_0x47be90[_0x2a6617(0x161)]));})['command'](_0x4ea421[_0x32a6af(0x2cc)],![],_0x4bd877=>{const _0x360d38=_0x32a6af;return _0x4bd877[_0x360d38(0x229)](_0x4ea421['iOYQX'],{'type':_0x360d38(0x18a),'description':_0x4ea421[_0x360d38(0x28f)],'demandOption':!![]})['positional'](_0x360d38(0x22c),{'type':_0x360d38(0x18a),'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x24d1c4=>{const _0x3f91f3=_0x32a6af;_0x3b4582['pAXAX'](warnRenamed,_0x3f91f3(0x17e),_0x3f91f3(0x29b)),await _0x3b4582[_0x3f91f3(0x281)](withTelemetry,_0x3f91f3(0x1a7),()=>configUnset(_0x24d1c4[_0x3f91f3(0x161)],_0x24d1c4[_0x3f91f3(0x22c)]));})[_0x32a6af(0x157)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})['command'](_0x4ea421[_0x11c8dc(0x315)],![],_0x54e316=>{const _0x2af32b=_0x11c8dc;return _0x54e316['command']('ls',![],()=>{},async()=>{const _0x25ed79=_0xd8f6;_0x4ea421[_0x25ed79(0x219)](warnRenamed,'ranger\x20env\x20ls',_0x4ea421['yRVyQ']),await withTelemetry(_0x4ea421[_0x25ed79(0x1aa)],()=>envList());})[_0x2af32b(0x2ba)](_0x4ea421['sJKbS'],![],_0x12f40c=>{const _0x16b17e=_0x2af32b;return _0x12f40c[_0x16b17e(0x229)](_0x4ea421[_0x16b17e(0x2e0)],{'type':_0x4ea421[_0x16b17e(0x209)],'description':'Name\x20of\x20the\x20environment\x20to\x20update','demandOption':!![]});},async _0x1201df=>{const _0x300be3=_0x2af32b;warnRenamed(_0x4ea421['SUuUA'],'ranger\x20profile\x20update'),await _0x4ea421[_0x300be3(0x1b1)](withTelemetry,'env\x20update',_0x4dbeef=>updateEnv(_0x1201df['env-name'],_0x4dbeef));})[_0x2af32b(0x157)](0x1,_0x4ea421['hbwxc']);})['command'](_0x11c8dc(0x2d0),![],_0x5ca55d=>{const _0x211b1e=_0x11c8dc,_0x2edbaa={'XdFHQ':_0x211b1e(0x27a),'TqXMn':_0x211b1e(0x1c9),'YbkXO':_0x4ea421['LrIIH'],'EJkje':_0x4ea421['NlDbh'],'MyznW':'number','vqedb':_0x211b1e(0x1ba),'QcXsx':_0x4ea421[_0x211b1e(0x173)],'KsdWW':_0x211b1e(0x1ae),'xfHoW':_0x211b1e(0x2b3),'MNExq':function(_0x3bd94e,_0x11bf2a,_0x3eb99c){return _0x3bd94e(_0x11bf2a,_0x3eb99c);},'nihqn':_0x211b1e(0x2c9),'kgARP':_0x211b1e(0x2b0),'bJKKR':_0x4ea421[_0x211b1e(0x209)],'ojZAJ':_0x4ea421['xTfCE'],'mpLIz':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','mFuCJ':function(_0x35c4bf,_0x264b4d,_0x26c351){const _0x20121d=_0x211b1e;return _0x4ea421[_0x20121d(0x263)](_0x35c4bf,_0x264b4d,_0x26c351);},'zNwGF':_0x4ea421[_0x211b1e(0x2af)],'CERjO':_0x211b1e(0x2b2),'HRUGB':function(_0x50c3d0,_0xf038c3,_0x3988cd){return _0x50c3d0(_0xf038c3,_0x3988cd);},'zqrGN':'ranger\x20feature\x20delete','aDBfp':_0x4ea421[_0x211b1e(0x1a8)],'GroWd':_0x4ea421[_0x211b1e(0x1a2)]};return _0x5ca55d['command']('create\x20<name>',![],_0x38afbf=>{const _0x12e236=_0x211b1e;return _0x38afbf[_0x12e236(0x229)](_0x12e236(0x285),{'type':_0x4ea421['yjzTR'],'description':_0x12e236(0x1fd),'demandOption':!![]})['option']('description',{'type':_0x12e236(0x18a),'alias':'d','description':_0x12e236(0x21d)})[_0x12e236(0x1be)]('checklist',{'type':_0x4ea421[_0x12e236(0x319)],'alias':'c','description':_0x4ea421[_0x12e236(0x16d)]})[_0x12e236(0x1be)]('scenario',{'type':'array','hidden':!![]});},async _0x1b1103=>{const _0x322580=_0x211b1e;warnRenamed(_0x2edbaa[_0x322580(0x2ff)],'ranger\x20create'),warnFlagRenamed('ranger\x20create',_0x2edbaa[_0x322580(0x2ca)],_0x2edbaa[_0x322580(0x2c0)]);const _0x502988=_0x1b1103['scenario']||_0x1b1103['checklist'];await withTelemetry(_0x322580(0x191),()=>featureCreate(_0x1b1103['name'],{'description':_0x1b1103['description'],'scenarios':_0x502988}));})[_0x211b1e(0x2ba)]('list',![],_0x1747d1=>{const _0x212703=_0x211b1e;return _0x1747d1[_0x212703(0x1be)](_0x212703(0x18c),{'type':_0x2edbaa['EJkje'],'description':_0x212703(0x2cd)})['option']('limit',{'type':_0x2edbaa['MyznW'],'alias':'l','description':_0x2edbaa[_0x212703(0x18d)],'default':0xa})['option'](_0x2edbaa[_0x212703(0x278)],{'type':_0x2edbaa[_0x212703(0x15f)],'alias':'o','description':_0x212703(0x1bd),'default':0x0})['option'](_0x2edbaa[_0x212703(0x19d)],{'type':_0x2edbaa[_0x212703(0x1af)],'alias':'d','description':_0x2edbaa['xfHoW'],'default':![]});},async _0x314e2e=>{const _0x37b913=_0x211b1e;_0x4ea421[_0x37b913(0x31d)](warnRenamed,_0x37b913(0x1d4),_0x4ea421[_0x37b913(0x16e)]),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x314e2e[_0x37b913(0x18c)],'limit':_0x314e2e['limit'],'offset':_0x314e2e['offset'],'includeDeleted':_0x314e2e[_0x37b913(0x1ae)]}));})['command']('show\x20[id]',![],_0x201f10=>{const _0x135be9=_0x211b1e;return _0x201f10[_0x135be9(0x229)]('id',{'type':_0x135be9(0x18a),'description':_0x135be9(0x316)});},async _0x5776e3=>{const _0x3f9e2d=_0x211b1e;_0x4ea421['EAlWD'](warnRenamed,_0x4ea421['wzELl'],'ranger\x20show'),await withTelemetry(_0x3f9e2d(0x197),()=>featureShow(_0x5776e3['id']));})['command'](_0x4ea421['oeiKy'],![],_0x232ee7=>{const _0x216e11=_0x211b1e;return _0x232ee7['positional']('id',{'type':_0x216e11(0x18a),'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x4ae271=>{const _0x44bfaa=_0x211b1e;_0x2edbaa['MNExq'](warnRenamed,_0x2edbaa['nihqn'],_0x44bfaa(0x2d5)),await withTelemetry(_0x2edbaa['kgARP'],()=>featureResume(_0x4ae271['id']));})[_0x211b1e(0x2ba)](_0x211b1e(0x1ac),![],_0x164791=>{const _0x27e4b8=_0x211b1e;return _0x164791['positional'](_0x27e4b8(0x302),{'type':_0x2edbaa[_0x27e4b8(0x308)],'description':_0x2edbaa['ojZAJ'],'demandOption':!![]})[_0x27e4b8(0x1be)]('id',{'type':_0x27e4b8(0x18a),'description':_0x2edbaa['mpLIz']});},async _0x57672b=>{const _0x362750=_0x211b1e;_0x2edbaa[_0x362750(0x171)](warnRenamed,_0x2edbaa[_0x362750(0x221)],_0x2edbaa[_0x362750(0x1e2)]),await _0x2edbaa['MNExq'](withTelemetry,_0x362750(0x2f8),()=>featureAddScenario(_0x57672b[_0x362750(0x302)],_0x57672b['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x222)],![],_0x221268=>{const _0x4bf18e=_0x211b1e;return _0x221268['positional']('id',{'type':_0x4bf18e(0x18a),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x4224ba=>{const _0x3d2329=_0x211b1e;_0x2edbaa[_0x3d2329(0x159)](warnRenamed,'ranger\x20feature\x20get-feedback',_0x3d2329(0x245)),await _0x2edbaa[_0x3d2329(0x1d5)](withTelemetry,_0x3d2329(0x20c),()=>featureGetReview(_0x4224ba['id']));})['command'](_0x211b1e(0x2df),![],_0x8d1cab=>{const _0x5a98bd=_0x211b1e;return _0x8d1cab['positional']('id',{'type':_0x5a98bd(0x18a),'description':_0x5a98bd(0x316)});},async _0x406cce=>{_0x2edbaa['HRUGB'](warnRenamed,_0x2edbaa['zqrGN'],_0x2edbaa['aDBfp']),await withTelemetry(_0x2edbaa['GroWd'],()=>featureDelete(_0x406cce['id']));})[_0x211b1e(0x2ba)](_0x4ea421[_0x211b1e(0x234)],![],_0x5169f7=>{const _0x28b4b9=_0x211b1e;return _0x5169f7['positional']('id',{'type':_0x28b4b9(0x18a),'description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x32aac0=>{const _0x32a748=_0x211b1e;_0x2edbaa[_0x32a748(0x1d5)](warnRenamed,'ranger\x20feature\x20restore',_0x32a748(0x16b)),await _0x2edbaa[_0x32a748(0x1d5)](withTelemetry,'feature\x20restore',()=>featureRestore(_0x32aac0['id']));})[_0x211b1e(0x157)](0x1,_0x4ea421['gvQNn']);})['command']('hook',![],_0xf8052a=>{const _0x4a7f5c=_0x11c8dc,_0xc36567={'hROzX':_0x4ea421[_0x4a7f5c(0x31b)],'nBeDl':'string','mPBFo':_0x4ea421['nSgxM']};return _0xf8052a[_0x4a7f5c(0x2ba)](_0x4ea421[_0x4a7f5c(0x244)],_0x4ea421['hYhop'],_0x3d29e4=>{const _0x11c71f=_0x4a7f5c;return _0x3d29e4['option'](_0x4ea421['ijsOm'],{'type':_0x4ea421['yjzTR'],'description':_0x4ea421[_0x11c71f(0x22a)]});},async _0x151c5b=>{const _0x46cb2e=_0x4a7f5c;await withTelemetry(_0x46cb2e(0x311),()=>hook('enable',_0x151c5b['session-id']));})[_0x4a7f5c(0x2ba)](_0x4ea421['WeACA'],_0x4ea421['VDPSV'],_0xa399ff=>{const _0x1e67fa=_0x4a7f5c;return _0xa399ff['option'](_0xc36567['hROzX'],{'type':_0xc36567['nBeDl'],'description':_0xc36567[_0x1e67fa(0x1c3)]});},async _0x423fb1=>{const _0x51115f=_0x4a7f5c;await _0x4ea421[_0x51115f(0x2b8)](withTelemetry,_0x4ea421['SzmTY'],()=>hook(_0x51115f(0x231),_0x423fb1['session-id']));})[_0x4a7f5c(0x1be)](_0x4ea421['zoNJg'],{'type':_0x4ea421['yjzTR'],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x4a7f5c(0x1be)](_0x4ea421[_0x4a7f5c(0x31b)],{'type':_0x4a7f5c(0x18a),'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x3f09a8=>{const _0x5b244f=_0x11c8dc;_0x3f09a8['name']&&await hook(_0x3f09a8[_0x5b244f(0x285)],_0x3f09a8[_0x4ea421['ijsOm']]);})['demandCommand'](0x1,'You\x20must\x20specify\x20a\x20command')['strictCommands']()['fail'](async(_0x740783,_0x52bcb6,_0x16fdb6)=>{const _0x222555=_0x11c8dc,_0x375c45=sanitizeArgs(process['argv']['slice'](0x2)),_0x5e1669=getErrorType(_0x740783,_0x52bcb6);if(_0x740783&&_0x740783['includes'](_0x4ea421[_0x222555(0x1a5)])){const _0x41a048=process['argv'][0x2];console['error'](_0x222555(0x202)+_0x41a048),console[_0x222555(0x2a2)](_0x4ea421['VEaYK']);}else{if(_0x740783)console['error']('\x0a'+_0x740783+'\x0a');else _0x52bcb6&&console[_0x222555(0x2a2)]('\x0aError:\x20'+_0x52bcb6['message']+'\x0a');}await _0x4ea421[_0x222555(0x257)](logDesirePath,{'rawCommand':_0x375c45,'errorMessage':_0x740783||_0x52bcb6?.['message'],'errorType':_0x5e1669});const _0x119db2=getCurrentCollector();_0x119db2&&await _0x119db2['trackCommandError'](_0x52bcb6||new Error(_0x4ea421[_0x222555(0x2bb)](_0x740783,'Unknown\x20error'))),process['exit'](0x1);})[_0x11c8dc(0x2ae)](_0x4ea421[_0x11c8dc(0x235)]+'\x20\x20https://docs.ranger.net\x0a'+_0x11c8dc(0x28c))[_0x11c8dc(0x28a)]()['alias']('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process[_0xcffea2(0x1cb)])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|
|
2
|
+
const _0x4f407f=_0x2373;(function(_0x788e6a,_0x46a664){const _0x2ea952=_0x2373,_0x1aa7ea=_0x788e6a();while(!![]){try{const _0x58804a=-parseInt(_0x2ea952(0x20b))/0x1*(parseInt(_0x2ea952(0x371))/0x2)+-parseInt(_0x2ea952(0x267))/0x3*(-parseInt(_0x2ea952(0x321))/0x4)+parseInt(_0x2ea952(0x327))/0x5*(-parseInt(_0x2ea952(0x2f5))/0x6)+-parseInt(_0x2ea952(0x2bd))/0x7+parseInt(_0x2ea952(0x2cc))/0x8*(-parseInt(_0x2ea952(0x2ac))/0x9)+parseInt(_0x2ea952(0x270))/0xa*(-parseInt(_0x2ea952(0x207))/0xb)+parseInt(_0x2ea952(0x34d))/0xc*(parseInt(_0x2ea952(0x2fc))/0xd);if(_0x58804a===_0x46a664)break;else _0x1aa7ea['push'](_0x1aa7ea['shift']());}catch(_0x57ba6f){_0x1aa7ea['push'](_0x1aa7ea['shift']());}}}(_0x4e87,0x8bf6f));import _0x52aca3 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x1e47e=_0x2373,_0x2d62f9={'YLaEP':function(_0x514536,_0x3efe59){return _0x514536(_0x3efe59);},'YzVGQ':function(_0x4a8b68,_0xc714e1,_0x307b7a){return _0x4a8b68(_0xc714e1,_0x307b7a);},'qxAnw':_0x1e47e(0x21d),'HrSoF':function(_0x14ca37,_0x148b30,_0x1d4f85){return _0x14ca37(_0x148b30,_0x1d4f85);}};let _0x4a64ad=process['cwd']();const _0x1d87a6=parse(_0x4a64ad)['root'];while(_0x4a64ad!==_0x1d87a6){if(_0x2d62f9['YLaEP'](existsSync,_0x2d62f9['YzVGQ'](join,_0x4a64ad,_0x2d62f9['qxAnw']))||existsSync(_0x2d62f9['HrSoF'](join,_0x4a64ad,_0x1e47e(0x2d5))))return _0x4a64ad;_0x4a64ad=dirname(_0x4a64ad);}return process[_0x1e47e(0x232)]();}_0x52aca3['config']({'path':join(findProjectRoot(),_0x4f407f(0x2d5))});import _0x4f8e81 from'yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';import{authEncrypt}from'./commands/authEncrypt.js';import{mcpBootstrap}from'./commands/mcpBootstrap.js';import{getToken}from'./commands/utils/keychain.js';import{serverSideLogin}from'./commands/utils/cloudProfile.js';import{status}from'./commands/status.js';import{configSet,configGet,configList,configUnset,configReset}from'./commands/config.js';import{verifyFeature}from'./commands/verifyFeature.js';import{loadRangerConfig}from'./commands/utils/rangerConfig.js';import{getVerificationTransport,isByokEnabled}from'./commands/utils/environment.js';import{shouldShowLegacyWarning,showLegacyDeprecationWarning}from'./commands/utils/legacyWarning.js';import{featureCreate,featureList,featureShow,featureResume,featureAddScenario,featureEditScenario,featureGetReview,featureReportPrDescription,featureDelete,featureRestore}from'./commands/feature.js';import{logDesirePath,getErrorType,sanitizeArgs}from'./commands/utils/desirePathLog.js';import{getCurrentVersion}from'./commands/utils/version.js';function _0x2373(_0x2a1452,_0x565ba8){_0x2a1452=_0x2a1452-0x1de;const _0x4e87b5=_0x4e87();let _0x2373d5=_0x4e87b5[_0x2a1452];return _0x2373d5;}import{refreshCliToken}from'./commands/utils/tokenRefresh.js';import{getCurrentUser}from'./commands/utils/userApi.js';import{ensureClaudePlugin,ensureClaudeSkills}from'./commands/setup/claude.js';import{ensureOpencodePluginConfig}from'./commands/setup/opencode.js';function _0x4e87(){const _0x4a7aa4=['unset\x20<profile>\x20<key>','--checklist','ranger','lHsRS','profile\x20update','get-review','checklist','exitCode','skillup','.\x20[','description','371320zvqOQc','setup-header','DHWdZ','option','GcLND','RNZTs','sNIIh','YLKDc','You\x20must\x20specify\x20an\x20env\x20subcommand','.env','\x20INCOMPLETE','delete','ZjHuI','strictCommands','safe-mode','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','split','not_configured','zWimZ','aQWHO','TPuxa','token','Gkilu','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','nncVi','JIulR','ranger\x20env\x20ls','user','XHDWy','hnTvu','DJGMG','setup:login','Optional\x20feature\x20ID','Mumro','uWmxA','profile\x20encrypt-auth','Summary:\x20','youMV','with-deps','unset\x20<env>\x20<key>','84jMUUro','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','PDXrO','filter','Install\x20skills\x20for\x20OpenCode','ranger\x20restore','Update\x20authentication\x20for\x20an\x20existing\x20profile','21389537QRnMkY','debug-outcome','headed','evaluation','XRWxd','✓\x20Authenticated\x20to\x20','usage','Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','yes','Base\x20URL\x20of\x20the\x20running\x20app','setup:all','rQGUN','JetYN','Vdhkb','TlSVN','hbzfS','feature\x20restore','allow-url-mismatch','Ranger\x20API\x20token\x20(rngr_...)','config\x20list','cvndc','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','EnGnr','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','login','jpYwY','Feature\x20review\x20name','add-checklist-item\x20<description>','ijeCY','update','BglOr','WNEry','TWsuO','KctuV','oSWnU','scope','log','8840cUBYxw','auth','VeKOt','WVvPU','twgqG','WaGfp','39535kRauDh','DAJkB','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','You\x20must\x20specify\x20an\x20auth\x20subcommand','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','Environment\x20name','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','kaolV','ranger\x20create','zwPqp','ZaEwn','isArray','JSzQR','baVmO','verified','azEhn','VbCek','qnIpI','RANGER_PROFILE','LjpAp','lSLaO','emWtr','pciks','rangerwright-cli','environment-variable','xsddO','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','bKWpt','mGlkI','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','Skip\x20interactive\x20confirmation\x20prompts.','YzZoF','feature\x20add-checklist-item','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','KhcSu','dTTVQ','hook:disable','12JuhaUz','force','\x20is\x20now\x20','Profile\x20name','HFCCs','profile\x20use','show\x20[id]','delete\x20[id]','Install\x20Ranger\x20skills','env-name','Print\x20the\x20current\x20CLI\x20access\x20token','env-var','manual','aNFoS','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','HvaJn','zHphc','Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','resume','uiqqV','slice','blocked','niRgi','feature','use','JXweF','repeat','error','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','mcp-bootstrap','guIvd','iqApp','current-branch','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','DcVWT','Config\x20key','428TXvWKD','bICuh','update\x20<env-name>','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','ranger\x20feature\x20list','CSEAp','toESM','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','XmJRz','eQDKK','Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','\x0aUnknown\x20command:\x20','length','StFLZ','Skip\x20browser\x20authentication','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','exit','DVmES','Evaluation:\x20','ngrTL','key','sRdOD','ranger\x20show','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Unknown\x20command','demandCommand','enable','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','status','zsaXw','encrypt\x20<profile>','AzGId','test_output','scxsB','Dxgjy','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','yTJZj','ranger\x20feature\x20delete','Scenario\x20description','lCnjr','miATu','notes','HKbRa','hWOXc','start-path','config\x20get','TwRRS','report\x20[id]','WyZGg','JtzAm','BKwAR','SdQOf','url','profile\x20config\x20list','profile\x20add','value','Cloud\x20profile\x20name','offset','clean','feature\x20create','forEach','SiYds','RANGER_TEST_PASSWORD','lZBDZ','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','ranger\x20add\x20env','2276571JCIRLE','WrIGy','issues','command','713XlJpjA','config\x20set','dry-run','DXoGv','Icuzh','Login\x20failed:\x20','\x20\x20https://docs.ranger.net\x0a','yrEvv','koaaV','deps','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','tokenOrSubcommand','profile\x20config\x20unset','jYSql','feature\x20resume','EPDjg','zYKHp','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','.ranger','ILEPU','config','string','incomplete','scenario','ranger\x20verify-feature','Daoej','Feature\x20review\x20ID\x20to\x20restore','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','flatMap','rzxux','allow-insecure-localhost','BHcDY','JpWrQ','EFPqM','ESgbZ','NODE_ENV','setup:skills','UafDb','SoAOu','cwd','opencode','ranger\x20list','IpIbN','YFvvh','CtJYA','number','sVnIi','Install\x20scope\x20for\x20skills','Set\x20a\x20config\x20value','gfJiR','positional','Install\x20OS-level\x20dependencies\x20for\x20Chromium','argv','KZClq','jwgma','restore\x20<id>','setup\x20[tokenOrSubcommand]','Restore\x20a\x20soft-deleted\x20feature\x20review','Usage:\x20ranger\x20profile\x20config\x20<command>\x0a\x0aFine-tune\x20browser\x20behavior\x20for\x20a\x20profile.\x20Settings\x20apply\x20per\x20cwd,\x20so\x20different\x0acheckouts\x20of\x20the\x20same\x20repo\x20can\x20have\x20different\x20overrides.\x0a\x0aCommands:\x0a\x20\x20set\x20<profile>\x20<key>\x20<value>\x20\x20\x20\x20Set\x20a\x20config\x20value\x0a\x20\x20get\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Get\x20a\x20config\x20value\x0a\x20\x20list\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20all\x20config\x20for\x20a\x20profile\x0a\x20\x20unset\x20<profile>\x20<key>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20a\x20config\x20value\x0a\x20\x20reset\x20<profile>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Clear\x20all\x20overrides\x0a\x0aKeys:\x0a\x20\x20baseUrl\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Base\x20URL\x20(most\x20common\x20override)\x0a\x20\x20userAgent\x20\x20\x20\x20\x20\x20\x20\x20Browser\x20user\x20agent\x20string\x0a\x20\x20headless\x20\x20\x20\x20\x20\x20\x20\x20\x20Run\x20browser\x20in\x20headless\x20mode\x20(true/false)\x0a\x20\x20allowInsecureLocalhost\x20\x20\x20Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(true/false)\x0a\x20\x20storageState\x20\x20\x20\x20\x20Path\x20to\x20auth\x20state\x20file\x20(e.g.,\x20./auth.json)\x0a\x20\x20headers.<name>\x20\x20\x20Custom\x20HTTP\x20header\x20sent\x20with\x20every\x20request\x20(e.g.,\x20headers.X-Test-Mode).\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x22header.<name>\x22\x20is\x20also\x20accepted\x20as\x20an\x20alias.\x0a\x20\x20setupHeaders.<name>\x20\x20HTTP\x20header\x20sent\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20(e.g.,\x20setupHeaders.x-bypass-turnstile).\x20\x22setupHeader.<name>\x22\x20alias\x20accepted.\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20userAgent\x20\x22Mozilla/5.0\x20(CI\x20Bot)\x22\x0a\x20\x20ranger\x20profile\x20config\x20set\x20ci\x20headless\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20local\x20allowInsecureLocalhost\x20true\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20admin@staging.app.com\x20headers.X-Debug\x201','encrypt-auth\x20<profile>','foAUm','Number\x20of\x20feature\x20reviews\x20to\x20skip','kYCpS','OSAgW','sHsXz','print-access-token','all','mnKOn','ranger\x20start','LZbnE','profile','ranger\x20env\x20update','Switch\x20to\x20using\x20a\x20specific\x20profile','Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','Config\x20key\x20to\x20remove','feature\x20delete','Name\x20of\x20the\x20environment','session-id','Name\x20of\x20the\x20profile\x20to\x20update','IsTHU','list\x20<profile>','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','Documentation:\x0a','kVfwI','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','Initialize\x20Ranger\x20in\x20your\x20project','project','cAGkQ','array','save-creds','iRVBv','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','1488udSHSm','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','Feature\x20review\x20ID','Wdgcw','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','json','start','summary','vSJWZ','50uSunZq','Alias\x20for\x20--mcp-bootstrap','bZhes','QRHqv','uXJrV','nMQqR','jUuzT','XeIgb','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','name','QkZhk','KNUlq','qZggL','rpiCW','ranger\x20profile\x20config\x20get','migrate\x20[profile-name]','Install\x20scope\x20for\x20plugin\x20and\x20skills','test','Skip\x20authentication','skip-auth','include-deleted','ayPYn','VfRnQ','limit','StNfN','debug-address-comments','trim','item','feature\x20get-feedback','JAcpA','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','gsTZj','ranger\x20profile\x20config\x20unset','claude','KnkzO','NKqnG','profile\x20config\x20get','pXDBB','brGli','hNjUO','\x20BLOCKED','XswaP','skip-chromium','aYsWh','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','ranger\x20profile\x20encrypt-auth','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','DYIrV','iOWcQ','ADUEe','lSHWl','arKgb','Auth\x20environment\x20key\x20to\x20bind\x20this\x20profile\x20to\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Bypasses\x20URL-based\x20matching;\x20required\x20for\x20bare-localhost\x20custom\x20ports.','LuMlh','jkKtj','mcp','jsuVY','NIoEg','env','base-url','72hRKhpA','Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','setup-ci\x20<token>','LHtGT','Skip\x20the\x20deletion\x20confirmation\x20prompt.','mTtze','MZnLa','help','profile\x20delete','fail','List\x20all\x20config\x20for\x20a\x20profile','OAlCB','boolean','HKeVF','failed','KebKU','--task','3491663vDDeXY','qaqrn','profile-name','QueAL'];_0x4e87=function(){return _0x4a7aa4;};return _0x4e87();}import{installSkill}from'./commands/utils/skills.js';import{withTelemetry,getCurrentCollector}from'./commands/utils/telemetry.js';process['on']('unhandledRejection',async _0x209a6f=>{const _0x59eb7a=_0x4f407f,_0x356e52=getCurrentCollector();_0x356e52&&await _0x356e52['trackCommandError'](_0x209a6f),process[_0x59eb7a(0x2c8)]=0x1;});const rawArgs=process['argv'][_0x4f407f(0x361)](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP='Usage:\x20ranger\x20profile\x20<command>\x20[options]\x0a\x0aConvention\x20is\x20one\x20profile\x20per\x20account\x20—\x20use\x20whatever\x20name\x20is\x20stable\x20for\x20that\x0aaccount\x20(email,\x20username,\x20etc.).\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Profile\x20config\x20(set/get/list/unset/reset)\x0a\x0aExamples:\x0a\x20\x20ranger\x20profile\x20add\x20alice@example.com\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20baseUrl\x20http://localhost:3001\x0a\x20\x20ranger\x20profile\x20config\x20set\x20alice@example.com\x20headers.X-Debug\x201',PROFILE_CONFIG_HELP=_0x4f407f(0x245);function warnRenamed(_0x3f2fe6,_0x29774c){const _0x4b72c7=_0x4f407f;console['error']('\x0a'+_0x3f2fe6+_0x4b72c7(0x34f)+_0x29774c+'\x0a');}function argUsed(_0x514406){return rawArgs['some'](_0x24e41b=>_0x24e41b===_0x514406||_0x24e41b['startsWith'](_0x514406+'='));}function warnFlagRenamed(_0x282194,_0x119ba4,_0x3c9411){const _0x18e096={'zxINr':function(_0x751583,_0x1167b9,_0x106746){return _0x751583(_0x1167b9,_0x106746);}};argUsed(_0x119ba4)&&_0x18e096['zxINr'](warnRenamed,_0x282194+'\x20'+_0x119ba4,_0x282194+'\x20'+_0x3c9411);}function normalizeEnvVarNames(_0x5dc0f4){const _0x6be747=_0x4f407f,_0x528936=Array[_0x6be747(0x332)](_0x5dc0f4)?_0x5dc0f4:_0x5dc0f4?[_0x5dc0f4]:[];return _0x528936[_0x6be747(0x227)](_0x1dbbd9=>String(_0x1dbbd9)[_0x6be747(0x2dd)](',')['map'](_0x32c157=>_0x32c157[_0x6be747(0x28a)]())[_0x6be747(0x2f8)](Boolean));}async function runGoCommand(_0xd345f7,_0x221ebb=![]){const _0x1084f8=_0x4f407f,_0x21e5a2={'IsTHU':function(_0x440a0c,_0x386b57,_0x1b4855){return _0x440a0c(_0x386b57,_0x1b4855);},'uGBZn':'ranger\x20verify-feature','ijeCY':'ranger\x20go','LuMlh':'--env','qaqrn':function(_0x1458d6,_0x23c44c,_0x5c4d1b,_0x213bbd){return _0x1458d6(_0x23c44c,_0x5c4d1b,_0x213bbd);},'gsTZj':_0x1084f8(0x2bc),'idJtw':'--notes','LZbnE':function(_0x38548d,_0x3e83e7,_0x6d7d0a,_0x36098e){return _0x38548d(_0x3e83e7,_0x6d7d0a,_0x36098e);},'pgjRU':'--scenario','TDrdR':function(_0x48045c){return _0x48045c();},'VfRnQ':'env-var','mTtze':function(_0x1cf2fd){return _0x1cf2fd();},'HIygw':function(_0xa259b6,_0x1bd7c2){return _0xa259b6!==_0x1bd7c2;},'jYSql':function(_0x5c840c,_0x275ffe){return _0x5c840c(_0x275ffe);},'MZnLa':_0x1084f8(0x1f1),'VNWYs':'base-url','XKwHN':_0x1084f8(0x289),'ledad':function(_0x57f6c8,_0x4f38d8){return _0x57f6c8+_0x4f38d8;},'xMKcA':_0x1084f8(0x335),'KZClq':'\x20VERIFIED','OAlCB':function(_0x48656c,_0x497a68){return _0x48656c===_0x497a68;},'nncVi':_0x1084f8(0x2d6),'NRUCD':'\x20PARTIAL','sHsXz':'\x20FAILED'};_0x221ebb&&(_0x21e5a2[_0x1084f8(0x25a)](warnRenamed,_0x21e5a2['uGBZn'],_0x21e5a2[_0x1084f8(0x318)]),warnFlagRenamed(_0x1084f8(0x223),_0x21e5a2[_0x1084f8(0x2a5)],'--profile'));_0x21e5a2[_0x1084f8(0x2be)](warnFlagRenamed,_0x21e5a2['ijeCY'],_0x21e5a2[_0x1084f8(0x28f)],_0x21e5a2['idJtw']),_0x21e5a2[_0x1084f8(0x250)](warnFlagRenamed,'ranger\x20go','--item',_0x21e5a2['pgjRU']);const _0x3d2033=await _0x21e5a2['TDrdR'](loadRangerConfig),_0x3ca13d=_0x21e5a2['TDrdR'](isByokEnabled),_0x2b2d89=_0xd345f7['model'],_0x52a8a6=_0x3d2033['model'],_0x2af7dd=normalizeEnvVarNames(_0xd345f7[_0x21e5a2[_0x1084f8(0x286)]]),_0x168090=_0x21e5a2[_0x1084f8(0x2b1)](getVerificationTransport);if(_0x2af7dd[_0x1084f8(0x37e)]>0x0&&_0x21e5a2['HIygw'](_0x168090,'playwright-cli')&&_0x168090!==_0x1084f8(0x33e))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x168090+'.');const _0x43268b=await _0x21e5a2[_0x1084f8(0x218)](verifyFeature,{'featureId':_0xd345f7['feature'],'profile':_0xd345f7['profile']??(_0x221ebb?_0xd345f7[_0x1084f8(0x2aa)]:undefined)??process['env'][_0x1084f8(0x339)],'authEnv':_0x221ebb?undefined:_0xd345f7[_0x1084f8(0x2aa)]??process['env']['RANGER_AUTH_ENV'],'notes':_0xd345f7[_0x1084f8(0x1ee)]??_0xd345f7['task'],'check':_0xd345f7['check'],'scenario':_0xd345f7['scenario']??_0xd345f7[_0x1084f8(0x28b)],'startPath':_0xd345f7[_0x21e5a2[_0x1084f8(0x2b2)]],'baseUrl':_0xd345f7[_0x21e5a2['VNWYs']],'debugOutcome':_0xd345f7[_0x1084f8(0x2fd)],'debugAddressComments':_0xd345f7[_0x21e5a2['XKwHN']],'headed':_0xd345f7['headed'],'verifierEnvVars':_0x2af7dd,'allowUrlMismatch':_0xd345f7['allow-url-mismatch'],'byokEnabled':_0x3ca13d,'flagVerifyModel':_0x2b2d89,'configVerifyModel':_0x52a8a6});console[_0x1084f8(0x320)](_0x21e5a2['ledad']('\x0a','='['repeat'](0x3c))),console[_0x1084f8(0x320)](_0x43268b[_0x1084f8(0x2ff)]===_0x21e5a2['xMKcA']?_0x21e5a2[_0x1084f8(0x240)]:_0x21e5a2[_0x1084f8(0x2b7)](_0x43268b['evaluation'],'incomplete')?_0x21e5a2[_0x1084f8(0x2e5)]:_0x21e5a2['OAlCB'](_0x43268b[_0x1084f8(0x2ff)],'partial')?_0x21e5a2['NRUCD']:_0x43268b[_0x1084f8(0x2ff)]===_0x1084f8(0x362)?_0x1084f8(0x298):_0x21e5a2[_0x1084f8(0x24b)]),console[_0x1084f8(0x320)]('='[_0x1084f8(0x367)](0x3c)),console['log'](_0x1084f8(0x2f1)+_0x43268b[_0x1084f8(0x26e)]),console['log'](_0x1084f8(0x384)+_0x43268b['evaluation']),console[_0x1084f8(0x320)]('Reason:\x20'+_0x43268b['evaluationReason']),_0x43268b[_0x1084f8(0x209)]?.[_0x1084f8(0x37e)]&&(console['log']('\x0aIssues:'),_0x43268b[_0x1084f8(0x209)][_0x1084f8(0x201)]((_0x379177,_0xd239ce)=>{const _0x2b0b11=_0x1084f8;console['log']('\x0a'+(_0xd239ce+0x1)+_0x2b0b11(0x2ca)+_0x379177['severity']+']\x20'+_0x379177['description']);})),process[_0x1084f8(0x382)](_0x43268b[_0x1084f8(0x2ff)]===_0x21e5a2['xMKcA']?0x0:0x1);}export function buildParser(_0x22a4ce){const _0x693568=_0x4f407f,_0x42a4c7={'brGli':'string','GcLND':_0x693568(0x2cb),'ULjqi':'array','DcVWT':'Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','AzGId':function(_0x523ca5,_0x5011cd,_0x3f1361,_0x1144ac){return _0x523ca5(_0x5011cd,_0x3f1361,_0x1144ac);},'XLAyL':_0x693568(0x2c2),'JXweF':'--scenario','rzxux':function(_0x32e68c,_0x3da47c,_0x4a55f2){return _0x32e68c(_0x3da47c,_0x4a55f2);},'yTJZj':'create','bICuh':_0x693568(0x287),'rpiCW':_0x693568(0x238),'OUlCf':_0x693568(0x284),'cJdjK':'Include\x20soft-deleted\x20feature\x20reviews','Icuzh':'list','mGlkI':'show','HmwpQ':_0x693568(0x278),'pciks':_0x693568(0x266),'VVNWJ':'New\x20scenario\x20description','ukSux':'edit-scenario','SoAOu':'Feature\x20review\x20ID','RXTGd':'exclude-scenario','mnKOn':_0x693568(0x389),'pdkCV':_0x693568(0x26c),'zYKHp':'boolean','HvaJn':function(_0x3d8a36,_0x20087f,_0x388eb8){return _0x3d8a36(_0x20087f,_0x388eb8);},'yrEvv':function(_0x240c43,_0x55e53d,_0x4ae9b4){return _0x240c43(_0x55e53d,_0x4ae9b4);},'youMV':_0x693568(0x2d7),'HFCCs':'Ranger\x20API\x20token','KhcSu':_0x693568(0x29a),'QkZhk':'Skip\x20Chromium\x20browser\x20check\x20and\x20installation','kaolV':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','CtJYA':_0x693568(0x1f9),'XHDWy':_0x693568(0x37c),'jsuVY':_0x693568(0x229),'jUuzT':_0x693568(0x2dc),'KNUlq':_0x693568(0x271),'uXJrV':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','EnNPK':'Authenticate\x20via\x20MCP\x20proxy','sVnIi':function(_0x58c6b3,_0x3df258){return _0x58c6b3!==_0x3df258;},'KnkzO':_0x693568(0x2e8),'sxePL':function(_0x987d1d,_0x321bb8){return _0x987d1d+_0x321bb8;},'miATu':function(_0x83d1df,_0x1788c5,_0x3b3565){return _0x83d1df(_0x1788c5,_0x3b3565);},'zlUvP':_0x693568(0x306),'kSibW':'setup:deps','Vdhkb':_0x693568(0x261),'lSLaO':_0x693568(0x283),'SiYds':'tokenOrSubcommand','azEhn':'Run\x20full\x20interactive\x20setup','jpYwY':_0x693568(0x214),'awKJV':'Authenticate\x20with\x20Ranger','MMEIe':'Install\x20Claude\x20Code\x20plugin\x20and\x20skills','cNzLx':'Set\x20up\x20a\x20local\x20browser\x20profile','YJYnE':_0x693568(0x31f),'ZZtgH':_0x693568(0x2db),'LjpAp':_0x693568(0x34e),'Bprft':_0x693568(0x28e),'EPDjg':_0x693568(0x36a),'OBWmE':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','KctuV':'with-deps','LYZQy':_0x693568(0x2e2),'JIulR':'API\x20token','BHcDY':function(_0x191663,_0x5f2176,_0x2d42e6){return _0x191663(_0x5f2176,_0x2d42e6);},'LHtGT':'profile','hWOXc':_0x693568(0x2ab),'BqSdM':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','Eoabo':'Skip\x20Chromium\x20browser\x20installation','DAJkB':function(_0x26fbd0,_0x96af5a,_0x128563){return _0x26fbd0(_0x96af5a,_0x128563);},'NdYpd':'opencode','IoWkx':_0x693568(0x2f9),'nYIUH':_0x693568(0x23a),'rZoPS':function(_0x53d1a7,_0x14df7a){return _0x53d1a7(_0x14df7a);},'HgTTi':_0x693568(0x2c9),'DVmES':'profile-name','pXOSc':_0x693568(0x32d),'Mljwt':_0x693568(0x226),'IyPUG':'cdp-endpoint','WrIGy':_0x693568(0x268),'ngrTL':_0x693568(0x35e),'iuDBB':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','TRlLN':_0x693568(0x2a4),'XmJRz':'yes','slBch':_0x693568(0x36e),'uIgzO':_0x693568(0x2b0),'Wtqql':function(_0x54ad23,_0x37b8b0,_0x133d78){return _0x54ad23(_0x37b8b0,_0x133d78);},'zWimZ':_0x693568(0x259),'HKbRa':_0x693568(0x359),'TWsuO':_0x693568(0x1fd),'yeOqJ':'Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','CtNNM':_0x693568(0x2ad),'ESgbZ':_0x693568(0x20d),'PDXrO':'Name\x20of\x20the\x20profile','FpnCH':'unknown\x20error','IXDWC':_0x693568(0x23b),'pCZEj':'get\x20<profile>\x20<key>','cBFWQ':'Get\x20a\x20config\x20value','stsML':_0x693568(0x2c1),'sRdOD':'Remove\x20a\x20config\x20value','iRVBv':'Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','SdQOf':'delete\x20<profile-name>','EILXn':'Delete\x20a\x20cloud\x20profile','baVmO':_0x693568(0x246),'kFIOl':_0x693568(0x2fb),'zsaXw':'login\x20<name>','EnGnr':_0x693568(0x27f),'DXoGv':'Manage\x20profile\x20configuration','QJgqr':_0x693568(0x1e1),'XRWxd':function(_0x11a0f0){return _0x11a0f0();},'onFKU':'No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.','rWNGQ':_0x693568(0x24c),'dTTVQ':_0x693568(0x2ed),'QIFIB':'notes','ILEPU':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','scxsB':'Start\x20a\x20fresh\x20one-scenario\x20feature\x20review\x20from\x20this\x20text\x20and\x20verify\x20it.\x20To\x20re-verify,\x20use\x20--scenario;\x20to\x20extend\x20the\x20active\x20review,\x20use\x20`ranger\x20add-scenario`.','ASnDh':'Scenario\x20index\x20(1-based)','uWmxA':'start-path','SiYcw':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','lpKBJ':_0x693568(0x254),'zHphc':_0x693568(0x33f),'kVfwI':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.','qxihH':_0x693568(0x30d),'kuHLe':'partial','JetYN':_0x693568(0x2ba),'QueAL':'task','hnTvu':_0x693568(0x28b),'ubmyV':'ranger\x20auth\x20encrypt','wDCif':_0x693568(0x29d),'niRgi':_0x693568(0x1e3),'DkRuJ':_0x693568(0x282),'YLKDc':_0x693568(0x222),'QviZb':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','jFJVO':'model','NIoEg':'headed','StFLZ':'verified','EFPqM':'blocked','vDTrY':_0x693568(0x221),'bFthM':'Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','UafDb':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','WNEry':function(_0x4e8ec2,_0x3f18f8,_0x14ff15){return _0x4e8ec2(_0x3f18f8,_0x14ff15);},'Dxgjy':_0x693568(0x206),'WtNjK':'ranger\x20profile\x20add','BKwAR':function(_0x1f56de,_0x229276,_0xb6746d){return _0x1f56de(_0x229276,_0xb6746d);},'WtYAv':'add\x20env','HUoVl':_0x693568(0x356),'xMHZd':_0x693568(0x257),'twgqG':function(_0x43afbe,_0x225e41,_0x56be70){return _0x43afbe(_0x225e41,_0x56be70);},'CEGvL':'ranger\x20use','kiMaU':'Environment\x20name','gfJiR':'key','CGlTM':'value','mrGuf':'Config\x20value','lSHWl':'ranger\x20profile\x20config\x20set','LkcSE':function(_0x22b631,_0x2ef28f,_0xc1539e){return _0x22b631(_0x2ef28f,_0xc1539e);},'ayPYn':'ranger\x20config\x20get','Daoej':_0x693568(0x27e),'aYsWh':function(_0x519388,_0x2aa66b,_0x416719){return _0x519388(_0x2aa66b,_0x416719);},'hHlcc':_0x693568(0x1f2),'WaGfp':'env','KRSWo':_0x693568(0x255),'vSJWZ':'list\x20<env>','jwgma':function(_0x135cb5,_0x23c329,_0x71fa89){return _0x135cb5(_0x23c329,_0x71fa89);},'NwRHT':'ranger\x20profile\x20ls','GcSli':function(_0x4062c9,_0x1f67c8,_0x5e1a0c){return _0x4062c9(_0x1f67c8,_0x5e1a0c);},'xsddO':_0x693568(0x252),'LIJDF':function(_0x39f175,_0x3a2dba,_0x29d693){return _0x39f175(_0x3a2dba,_0x29d693);},'qnIpI':'env\x20update','gibTl':'Name\x20of\x20the\x20environment\x20to\x20update','StNfN':_0x693568(0x373),'tKQgN':_0x693568(0x279),'bKWpt':_0x693568(0x316),'BglOr':_0x693568(0x369),'DYIrV':function(_0x3c2e5e,_0x1424e6,_0x197fac){return _0x3c2e5e(_0x1424e6,_0x197fac);},'nMQqR':_0x693568(0x388),'ffztz':_0x693568(0x1ea),'pSnda':_0x693568(0x2fa),'Mumro':_0x693568(0x30c),'pXDBB':_0x693568(0x200),'VbCek':_0x693568(0x234),'iQYJp':'ranger\x20feature\x20resume','aQWHO':'ranger\x20resume','bZhes':'ranger\x20feature\x20add-checklist-item','TwRRS':'ranger\x20feature\x20get-feedback','oNFFU':_0x693568(0x353),'zwPqp':'resume\x20[id]','HKeVF':'session-id','QOnsP':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','IpIbN':function(_0x43af56,_0x3c8670,_0xc98685){return _0x43af56(_0x3c8670,_0xc98685);},'BBAtU':_0x693568(0x34c),'JAcpA':_0x693568(0x1df),'sNIIh':'Enable\x20Ranger\x20hooks\x20for\x20this\x20session','WyZGg':'disable','aNFoS':function(_0x187d8a,_0x471237){return _0x187d8a(_0x471237);},'WVvPU':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','XTrCi':'Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','VLoOw':'Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','emWtr':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','kvuUu':_0x693568(0x242),'iOWcQ':_0x693568(0x243),'xXnyZ':_0x693568(0x2ae),'XswaP':_0x693568(0x314),'GMKkQ':_0x693568(0x355),'YzZoF':_0x693568(0x1ff),'OYcRa':'profiles','fITZL':'Manage\x20profiles','qRmFR':_0x693568(0x364),'jkKtj':'You\x20must\x20specify\x20a\x20command','wLdwD':_0x693568(0x25d),'KebKU':_0x693568(0x211),'koaaV':_0x693568(0x2b3)};return _0x4f8e81(_0x22a4ce??process[_0x693568(0x23f)][_0x693568(0x361)](0x2))['scriptName']('ranger')[_0x693568(0x302)](TOP_LEVEL_HELP)['version'](_0x42a4c7[_0x693568(0x300)](getCurrentVersion))[_0x693568(0x20a)]('create\x20<name>','Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios',_0x19eb8c=>{const _0x7c0a93=_0x693568;return _0x19eb8c[_0x7c0a93(0x23d)]('name',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0x42a4c7['GcLND'],{'type':_0x7c0a93(0x220),'alias':'d','description':'Feature\x20review\x20description'})['option']('scenario',{'type':'array','alias':'c','description':_0x7c0a93(0x26b)})['option'](_0x7c0a93(0x2c7),{'type':_0x42a4c7['ULjqi'],'hidden':!![]});},async _0x253024=>{const _0x2dcc97=_0x693568;if(!_0x253024[_0x2dcc97(0x279)]){console[_0x2dcc97(0x368)](_0x42a4c7[_0x2dcc97(0x36f)]+'Example:\x20ranger\x20create\x20my-feature'),process[_0x2dcc97(0x382)](0x1);return;}_0x42a4c7[_0x2dcc97(0x1e4)](warnFlagRenamed,'ranger\x20create',_0x42a4c7['XLAyL'],_0x42a4c7[_0x2dcc97(0x366)]);const _0x4570fa=_0x253024[_0x2dcc97(0x222)]||_0x253024['checklist'];await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7[_0x2dcc97(0x1e9)],()=>featureCreate(_0x253024['name'],{'description':_0x253024[_0x2dcc97(0x2cb)],'scenarios':_0x4570fa}));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x20f)],'List\x20all\x20feature\x20reviews',_0x2a103d=>{const _0x1d4f99=_0x693568;return _0x2a103d[_0x1d4f99(0x2cf)]('current-branch',{'type':_0x1d4f99(0x2b8),'description':_0x1d4f99(0x369)})[_0x1d4f99(0x2cf)](_0x42a4c7[_0x1d4f99(0x372)],{'type':_0x42a4c7['rpiCW'],'alias':'l','description':_0x1d4f99(0x313),'default':0xa})['option'](_0x1d4f99(0x1fe),{'type':_0x1d4f99(0x238),'alias':'o','description':_0x1d4f99(0x248),'default':0x0})[_0x1d4f99(0x2cf)](_0x42a4c7['OUlCf'],{'type':'boolean','alias':'d','description':_0x42a4c7['cJdjK'],'default':![]});},async _0x1212dc=>{const _0xec31c3=_0x693568;await withTelemetry(_0x42a4c7['Icuzh'],()=>featureList({'currentBranch':_0x1212dc['current-branch'],'limit':_0x1212dc[_0xec31c3(0x287)],'offset':_0x1212dc[_0xec31c3(0x1fe)],'includeDeleted':_0x1212dc[_0xec31c3(0x284)]}));})[_0x693568(0x20a)]('show\x20[id]',_0x693568(0x35b),_0x2d994d=>{const _0x433ed0=_0x693568;return _0x2d994d[_0x433ed0(0x23d)]('id',{'type':_0x42a4c7[_0x433ed0(0x296)],'description':_0x433ed0(0x269)});},async _0x16f5b4=>{const _0x4fd658=_0x693568;await withTelemetry(_0x42a4c7[_0x4fd658(0x343)],()=>featureShow(_0x16f5b4['id']));})['command'](_0x42a4c7['zwPqp'],_0x42a4c7[_0x693568(0x324)],_0x3ac536=>{const _0x57504a=_0x693568;return _0x3ac536[_0x57504a(0x23d)]('id',{'type':_0x42a4c7['brGli'],'description':_0x42a4c7['HmwpQ']});},async _0x584607=>{const _0x472ca7=_0x693568;await _0x42a4c7[_0x472ca7(0x228)](withTelemetry,_0x472ca7(0x35f),()=>featureResume(_0x584607['id']));})['command']('add-scenario\x20<description>',_0x42a4c7['XTrCi'],_0x4fe99f=>{const _0x45e5f7=_0x693568;return _0x4fe99f['positional'](_0x45e5f7(0x2cb),{'type':_0x42a4c7['brGli'],'description':'Scenario\x20description','demandOption':!![]})['option']('id',{'type':_0x42a4c7[_0x45e5f7(0x296)],'description':_0x42a4c7[_0x45e5f7(0x33d)]});},async _0x1c855e=>{await withTelemetry('add-scenario',()=>featureAddScenario(_0x1c855e['description'],_0x1c855e['id']));})[_0x693568(0x20a)]('edit-scenario\x20<description>',_0x42a4c7['VLoOw'],_0x223b64=>{const _0x26fc6b=_0x693568;return _0x223b64['positional'](_0x42a4c7[_0x26fc6b(0x2d0)],{'type':'string','description':_0x42a4c7['VVNWJ'],'demandOption':!![]})['option'](_0x26fc6b(0x222),{'type':_0x26fc6b(0x238),'description':'Scenario\x20number\x20to\x20edit\x20(1-based)','demandOption':!![]})[_0x26fc6b(0x2cf)]('id',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x38e0bb=>{const _0x383171=_0x693568;await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7['ukSux'],()=>featureEditScenario(_0x38e0bb[_0x383171(0x2cb)],{'id':_0x38e0bb['id'],'scenario':_0x38e0bb['scenario']}));})['command'](_0x693568(0x1f4),'Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)',_0x2fb5ad=>{const _0x48a300=_0x693568;return _0x2fb5ad[_0x48a300(0x23d)]('id',{'type':_0x42a4c7[_0x48a300(0x296)],'description':_0x42a4c7[_0x48a300(0x231)]})[_0x48a300(0x2cf)](_0x42a4c7['RXTGd'],{'type':_0x48a300(0x263),'description':_0x42a4c7[_0x48a300(0x24e)]})[_0x48a300(0x2cf)](_0x42a4c7['pdkCV'],{'type':_0x42a4c7['zYKHp'],'description':_0x48a300(0x25c),'default':![]});},async _0xec56cb=>{const _0x5f2522=_0x693568,_0x208931=_0xec56cb[_0x42a4c7['RXTGd']],_0x470e6e=_0x208931?_0x208931['map'](_0x19fc59=>Number(_0x19fc59)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0xec56cb['id'],{'excludeScenarios':_0x470e6e,'json':_0xec56cb[_0x5f2522(0x26c)]}));})[_0x693568(0x20a)]('get-review\x20[id]',_0x42a4c7[_0x693568(0x33c)],_0x469297=>{const _0x36b496=_0x693568;return _0x469297[_0x36b496(0x23d)]('id',{'type':'string','description':_0x36b496(0x266)});},async _0x2b47f4=>{const _0x556fe8=_0x693568;await _0x42a4c7['HvaJn'](withTelemetry,_0x556fe8(0x2c6),()=>featureGetReview(_0x2b47f4['id']));})['command'](_0x693568(0x354),_0x693568(0x348),_0x480e3e=>{const _0x158f94=_0x693568;return _0x480e3e[_0x158f94(0x23d)]('id',{'type':_0x42a4c7['brGli'],'description':'Feature\x20review\x20ID'});},async _0x3713cd=>{const _0x1a6b28=_0x693568;await _0x42a4c7['yrEvv'](withTelemetry,_0x42a4c7[_0x1a6b28(0x2f2)],()=>featureDelete(_0x3713cd['id']));})[_0x693568(0x20a)](_0x42a4c7['kvuUu'],_0x693568(0x244),_0x3d7f9f=>{const _0x426de7=_0x693568;return _0x3d7f9f['positional']('id',{'type':_0x42a4c7['brGli'],'description':_0x426de7(0x225),'demandOption':!![]});},async _0xd4b69d=>{await _0x42a4c7['HvaJn'](withTelemetry,'restore',()=>featureRestore(_0xd4b69d['id']));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x2a0)],_0x693568(0x260),_0x574419=>{const _0x259b6f=_0x693568,_0x43d5a5={'kfSyG':function(_0x4b2a5c,_0x4937b1,_0x1fd8a6){const _0x18dd39=_0x2373;return _0x42a4c7[_0x18dd39(0x1ed)](_0x4b2a5c,_0x4937b1,_0x1fd8a6);},'Gkilu':_0x42a4c7['zlUvP'],'AWmlk':function(_0x3191e7,_0xe3a9cb,_0x49547e){return _0x42a4c7['miATu'](_0x3191e7,_0xe3a9cb,_0x49547e);},'ZaEwn':_0x42a4c7['kSibW'],'dLhwS':function(_0x51f956){return _0x51f956();},'cAGkQ':function(_0x57c1af,_0x32f524,_0x6d01fb){return _0x57c1af(_0x32f524,_0x6d01fb);},'TnMBB':_0x42a4c7[_0x259b6f(0x309)],'oPETb':_0x259b6f(0x280),'OSAgW':_0x259b6f(0x233),'JtrVJ':_0x259b6f(0x2b8),'oSjzw':_0x259b6f(0x2c3),'PsRti':function(_0x1c28bb,_0x5b3c77,_0x3a2fb8){return _0x1c28bb(_0x5b3c77,_0x3a2fb8);},'Apzuj':'scope','kYCpS':_0x42a4c7[_0x259b6f(0x296)],'oSWnU':_0x42a4c7[_0x259b6f(0x32e)],'daaoK':_0x259b6f(0x1f9),'LRwmn':_0x42a4c7[_0x259b6f(0x33b)],'DHWdZ':_0x259b6f(0x380),'iqApp':_0x42a4c7['jsuVY'],'RNZTs':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments'};return _0x574419[_0x259b6f(0x302)]('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')[_0x259b6f(0x23d)](_0x42a4c7[_0x259b6f(0x202)],{'type':_0x42a4c7['brGli'],'description':'Subcommand\x20or\x20API\x20token\x20(rngr_...)'})['command'](_0x259b6f(0x24d),_0x42a4c7[_0x259b6f(0x336)],_0x1b263b=>{const _0x3586a5=_0x259b6f;return _0x1b263b['option'](_0x3586a5(0x2e2),{'type':'string','description':_0x42a4c7['HFCCs']})[_0x3586a5(0x2cf)](_0x42a4c7[_0x3586a5(0x34a)],{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':_0x42a4c7['QkZhk'],'default':![]})['option']('skip-auth',{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':'Skip\x20authentication','default':![]})['option'](_0x3586a5(0x2f3),{'type':_0x3586a5(0x2b8),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})[_0x3586a5(0x2cf)](_0x3586a5(0x31f),{'type':_0x3586a5(0x220),'choices':['user'],'hidden':!![],'description':_0x42a4c7[_0x3586a5(0x32e)]})['option'](_0x42a4c7['CtJYA'],{'type':_0x42a4c7[_0x3586a5(0x296)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup'})[_0x3586a5(0x2cf)](_0x3586a5(0x34e),{'type':'boolean','description':_0x42a4c7[_0x3586a5(0x2e9)],'default':![]})[_0x3586a5(0x2cf)]('opencode',{'type':_0x42a4c7['zYKHp'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x42a4c7[_0x3586a5(0x2a8)],{'type':_0x42a4c7[_0x3586a5(0x21b)],'description':_0x42a4c7[_0x3586a5(0x276)],'default':![]})[_0x3586a5(0x2cf)]('mcp-bootstrap',{'type':_0x3586a5(0x2b8),'description':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','default':![]})[_0x3586a5(0x2cf)](_0x3586a5(0x2a7),{'type':'boolean','description':_0x42a4c7[_0x3586a5(0x27b)],'default':![]});},async _0x5aad11=>{const _0x4a2b03=_0x259b6f;(_0x5aad11['mcp-bootstrap']||_0x5aad11[_0x4a2b03(0x2a7)])&&await withTelemetry(_0x4a2b03(0x36a),()=>mcpBootstrap()),await _0x43d5a5['kfSyG'](withTelemetry,_0x43d5a5[_0x4a2b03(0x2e3)],_0xbba4cc=>start(_0x5aad11[_0x4a2b03(0x2e2)],{'skipChromium':_0x5aad11['skip-chromium'],'skipAuth':_0x5aad11[_0x4a2b03(0x283)],'withDeps':_0x5aad11['with-deps'],'scope':_0x5aad11['scope'],'url':_0x5aad11['url'],'force':_0x5aad11[_0x4a2b03(0x34e)],'opencode':_0x5aad11[_0x4a2b03(0x233)],'allowInsecureLocalhost':_0x5aad11[_0x4a2b03(0x229)]},_0xbba4cc));})[_0x259b6f(0x20a)](_0x42a4c7[_0x259b6f(0x315)],'Install\x20Chromium\x20browser\x20binary',_0x140f2d=>{const _0x494f8f=_0x259b6f;return _0x140f2d['option'](_0x494f8f(0x2f3),{'type':_0x42a4c7[_0x494f8f(0x21b)],'description':_0x42a4c7[_0x494f8f(0x274)],'default':![]});},async _0x3d57c9=>{const _0x297f53=_0x259b6f;await _0x43d5a5['AWmlk'](withTelemetry,_0x43d5a5[_0x297f53(0x331)],()=>ensureChromium(_0x3d57c9[_0x297f53(0x2f3)]));})['command'](_0x259b6f(0x314),_0x42a4c7['awKJV'],_0x2ff99d=>{const _0x3d5a43=_0x259b6f;return _0x2ff99d['option']('token',{'type':'string','description':_0x3d5a43(0x30e)})[_0x3d5a43(0x2cf)](_0x3d5a43(0x2a7),{'type':'boolean','description':_0x42a4c7['EnNPK'],'default':![]});},async _0x2ca532=>{const _0x420603=_0x259b6f,_0x3a89ec={'YFvvh':function(_0x5bc964){return _0x43d5a5['dLhwS'](_0x5bc964);},'zIvYQ':_0x420603(0x381)};await _0x43d5a5[_0x420603(0x262)](withTelemetry,_0x420603(0x2ec),async()=>{const _0xfd2e1c=_0x420603;if(_0x2ca532[_0xfd2e1c(0x2a7)]){await mcpBootstrap();const _0x255661=await _0x3a89ec[_0xfd2e1c(0x236)](refreshCliToken);if(!_0x255661)throw new Error(_0x3a89ec['zIvYQ']);const _0x16f46f=await getCurrentUser(_0x255661);if(!_0x16f46f['success'])throw new Error('Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20'+_0x16f46f[_0xfd2e1c(0x368)]);console['log'](_0xfd2e1c(0x301)+_0x16f46f['user']['organizationName']);return;}await authenticate(_0x2ca532['token']);});})[_0x259b6f(0x20a)]('skills',_0x42a4c7['MMEIe'],_0x58b7aa=>{const _0x3247e7=_0x259b6f;return _0x58b7aa[_0x3247e7(0x2cf)](_0x3247e7(0x31f),{'type':_0x3247e7(0x220),'choices':['user',_0x43d5a5['TnMBB']],'description':_0x43d5a5['oPETb']})[_0x3247e7(0x2cf)](_0x43d5a5[_0x3247e7(0x24a)],{'type':_0x43d5a5['JtrVJ'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x236267=>{const _0x378f4c=_0x259b6f,_0x383b45={'nszYx':function(_0x2ad178,_0x3afe9a){return _0x2ad178(_0x3afe9a);},'ADrkZ':function(_0x5d2284,_0xaa8fdc,_0x2e6d94){return _0x5d2284(_0xaa8fdc,_0x2e6d94);},'jVsEH':_0x43d5a5['oSjzw'],'QqDFX':_0x43d5a5['OSAgW']};await _0x43d5a5['PsRti'](withTelemetry,_0x378f4c(0x22f),async()=>{const _0x114c8f=_0x378f4c,_0x20b42c=_0x236267[_0x114c8f(0x31f)];if(_0x236267['opencode']){const _0x17a07e=await _0x383b45['nszYx'](ensureOpencodePluginConfig,_0x20b42c);_0x17a07e&&await _0x383b45['ADrkZ'](installSkill,_0x383b45['jVsEH'],{'level':_0x17a07e['scope'],'cliVersion':getCurrentVersion(),'platform':_0x383b45['QqDFX']});}else await _0x383b45['nszYx'](ensureClaudePlugin,_0x20b42c),await ensureClaudeSkills(_0x20b42c);});})['command']('profiles',_0x42a4c7['cNzLx'],_0x197c18=>{const _0x4ed2fc=_0x259b6f;return _0x197c18[_0x4ed2fc(0x2cf)](_0x43d5a5['Apzuj'],{'type':_0x43d5a5[_0x4ed2fc(0x249)],'choices':['user'],'description':_0x43d5a5[_0x4ed2fc(0x31e)]})['option'](_0x43d5a5['daaoK'],{'type':'string','description':_0x4ed2fc(0x305)})[_0x4ed2fc(0x2cf)](_0x43d5a5['LRwmn'],{'type':_0x4ed2fc(0x2b8),'description':_0x43d5a5[_0x4ed2fc(0x2ce)],'default':![]})[_0x4ed2fc(0x2cf)]('force',{'type':_0x43d5a5['JtrVJ'],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x4ed2fc(0x2cf)](_0x43d5a5[_0x4ed2fc(0x36c)],{'type':_0x43d5a5['JtrVJ'],'description':_0x43d5a5[_0x4ed2fc(0x2d1)],'default':![]});},async _0xeb40b=>{const _0x1ed09a=_0x259b6f,_0x3d5518=_0xeb40b['scope'];_0x3d5518!==undefined&&_0x42a4c7[_0x1ed09a(0x239)](_0x3d5518,_0x42a4c7['KnkzO'])&&(console['error'](_0x42a4c7['sxePL']('ranger\x20setup\x20profiles\x20--scope='+_0x3d5518+'\x20is\x20no\x20longer\x20supported.\x20','Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x1ed09a(0x2e4)),process[_0x1ed09a(0x382)](0x1)),await withTelemetry('setup:profiles',_0x1dd2f6=>ensureLocalEnv({'url':_0xeb40b['url'],'force':_0xeb40b['force'],'allowInsecureLocalhost':_0xeb40b[_0x1ed09a(0x229)],'scope':'user'},_0x1dd2f6));})[_0x259b6f(0x2cf)](_0x42a4c7['KhcSu'],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':_0x42a4c7[_0x259b6f(0x27a)],'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7['YJYnE'],{'type':_0x259b6f(0x220),'choices':[_0x42a4c7['KnkzO']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x259b6f(0x2cf)]('url',{'type':'string','description':_0x42a4c7['ZZtgH']})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x33a)],{'type':'boolean','description':_0x42a4c7['XHDWy'],'default':![]})[_0x259b6f(0x2cf)]('opencode',{'type':'boolean','description':_0x259b6f(0x2f6),'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x2a8)],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':_0x42a4c7['Bprft'],'default':![]})[_0x259b6f(0x2cf)](_0x42a4c7[_0x259b6f(0x21a)],{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['OBWmE'],'default':![]})['option'](_0x259b6f(0x283),{'type':_0x259b6f(0x2b8),'description':_0x259b6f(0x37b),'default':![]})['option'](_0x42a4c7[_0x259b6f(0x31d)],{'type':_0x42a4c7[_0x259b6f(0x21b)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x259b6f(0x2cf)](_0x42a4c7['LYZQy'],{'type':_0x42a4c7[_0x259b6f(0x296)],'hidden':!![],'description':_0x42a4c7[_0x259b6f(0x2e6)]});},async _0x2b036a=>{const _0x11d503=_0x693568,_0x3ca222=_0x2b036a[_0x11d503(0x216)],_0xd2d6fc=_0x2b036a[_0x11d503(0x2e2)]??_0x3ca222;_0x2b036a['mcp-bootstrap']&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await _0x42a4c7['BHcDY'](withTelemetry,_0x11d503(0x26d),_0x4594cf=>start(_0xd2d6fc,{'skipChromium':_0x2b036a['skip-chromium'],'skipAuth':_0x2b036a[_0x11d503(0x283)],'withDeps':_0x2b036a[_0x11d503(0x2f3)],'scope':_0x2b036a[_0x11d503(0x31f)],'url':_0x2b036a['url'],'force':_0x2b036a[_0x11d503(0x34e)],'opencode':_0x2b036a[_0x11d503(0x233)],'allowInsecureLocalhost':_0x2b036a[_0x11d503(0x229)]},_0x4594cf));})[_0x693568(0x20a)](_0x42a4c7['xXnyZ'],![],_0x4a3b08=>{const _0x507fca=_0x693568;return _0x4a3b08[_0x507fca(0x23d)](_0x507fca(0x2e2),{'type':'string','description':_0x42a4c7[_0x507fca(0x351)],'demandOption':!![]})[_0x507fca(0x2cf)](_0x42a4c7['LHtGT'],{'type':'string','description':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)'})[_0x507fca(0x2cf)](_0x42a4c7[_0x507fca(0x1f0)],{'type':_0x42a4c7[_0x507fca(0x296)],'description':_0x42a4c7['BqSdM']})['option']('skip-chromium',{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['Eoabo'],'default':![]});},async _0x342454=>{const _0x269154=_0x693568;await _0x42a4c7[_0x269154(0x328)](withTelemetry,'setup-ci',_0x5362d2=>setupCi(_0x342454['token'],{'profile':_0x342454[_0x269154(0x251)],'baseUrl':_0x342454['base-url'],'skipChromium':_0x342454[_0x269154(0x29a)]},_0x5362d2));})['command'](_0x42a4c7[_0x693568(0x299)],_0x693568(0x21c),()=>{},async()=>{await withTelemetry('login',()=>login());})[_0x693568(0x20a)](_0x42a4c7['HgTTi'],_0x42a4c7['GMKkQ'],_0x1ea760=>{const _0x432ac4=_0x693568;return _0x1ea760['option'](_0x42a4c7['NdYpd'],{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7['IoWkx'],'default':![]})[_0x432ac4(0x2cf)](_0x42a4c7['YJYnE'],{'type':'string','choices':[_0x42a4c7[_0x432ac4(0x292)],_0x42a4c7[_0x432ac4(0x309)]],'description':_0x42a4c7['nYIUH']});},async _0x2a2cfd=>{const _0x850d14=_0x693568,_0x41ed32=_0x42a4c7['rZoPS'](Boolean,_0x2a2cfd['opencode']);await _0x42a4c7['miATu'](withTelemetry,_0x42a4c7['HgTTi'],()=>skillup({'autoInstall':_0x2a2cfd[_0x850d14(0x31f)],'platform':_0x41ed32?'opencode':_0x850d14(0x291)}));})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x346)],_0x693568(0x349),()=>{},async()=>{const _0x5c6096=_0x693568;await withTelemetry(_0x5c6096(0x1ff),()=>clean());})['command']([_0x693568(0x251),_0x42a4c7['OYcRa']],_0x42a4c7['fITZL'],_0x4eb844=>{const _0x1302c4=_0x693568,_0x530476={'SIQnx':_0x1302c4(0x1fb),'ezdIC':_0x42a4c7[_0x1302c4(0x2f7)],'eQDKK':function(_0x12251d,_0x23ae03,_0x3a456e){return _0x12251d(_0x23ae03,_0x3a456e);},'beHhl':_0x1302c4(0x29c),'toESM':function(_0x562cfd,_0x4c3a35,_0x412ae2){const _0x42a9c8=_0x1302c4;return _0x42a4c7[_0x42a9c8(0x35c)](_0x562cfd,_0x4c3a35,_0x412ae2);},'tRYsT':function(_0x1c7926,_0x54f76d){return _0x1c7926===_0x54f76d;},'lCnjr':_0x42a4c7['FpnCH'],'SOacV':'profile\x20login','tHMVC':function(_0x36f40f,_0xc1c23,_0x5b751e){return _0x36f40f(_0xc1c23,_0x5b751e);},'JDsOM':'profile\x20config\x20reset','UVnST':'string','jPXAl':_0x1302c4(0x350),'VeKOt':_0x1302c4(0x1fc),'qZggL':'set\x20<profile>\x20<key>\x20<value>','ZjHuI':_0x42a4c7['IXDWC'],'UasvL':_0x42a4c7['pCZEj'],'OcBFq':_0x42a4c7['cBFWQ'],'ePEQD':_0x1302c4(0x25b),'ZTYnW':_0x42a4c7['stsML'],'IJTmw':_0x42a4c7[_0x1302c4(0x387)],'qHiGN':_0x42a4c7[_0x1302c4(0x265)]};return _0x4eb844['usage'](PROFILE_HELP)[_0x1302c4(0x20a)]('add\x20<profile-name>','Add\x20profile\x20configuration',_0x3b1ce4=>{const _0xe4f182=_0x1302c4;return _0x3b1ce4[_0xe4f182(0x23d)](_0x42a4c7['DVmES'],{'type':'string','description':_0x42a4c7['pXOSc'],'demandOption':!![]})['option']('ci',{'type':_0x42a4c7[_0xe4f182(0x21b)],'hidden':!![],'default':![]})[_0xe4f182(0x2cf)](_0xe4f182(0x283),{'type':'boolean','description':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','default':![]})[_0xe4f182(0x2cf)]('url',{'type':_0x42a4c7[_0xe4f182(0x296)],'description':_0x42a4c7['Mljwt']})[_0xe4f182(0x2cf)]('force',{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0xe4f182(0x2cf)](_0x42a4c7['IyPUG'],{'type':_0x42a4c7[_0xe4f182(0x296)],'description':_0x42a4c7[_0xe4f182(0x208)]})[_0xe4f182(0x2cf)](_0x42a4c7['jsuVY'],{'type':'boolean','description':_0x42a4c7['Bprft'],'default':![]})['option'](_0xe4f182(0x2da),{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7[_0xe4f182(0x385)],'default':![]})[_0xe4f182(0x2cf)]('setup-header',{'type':'string','array':!![],'description':_0xe4f182(0x1e8)})['option'](_0x42a4c7['YJYnE'],{'type':'string','choices':[_0x42a4c7[_0xe4f182(0x292)],_0x42a4c7[_0xe4f182(0x309)]],'description':_0x42a4c7['iuDBB']})[_0xe4f182(0x2cf)](_0xe4f182(0x2aa),{'type':_0xe4f182(0x220),'description':_0x42a4c7['TRlLN']})['option'](_0x42a4c7[_0xe4f182(0x379)],{'type':'boolean','alias':'y','description':_0x42a4c7['slBch'],'default':![]});},async _0x46b896=>{const _0x1068f6=_0x1302c4;await withTelemetry(_0x530476['SIQnx'],_0x327f69=>addEnv(_0x46b896[_0x1068f6(0x2bf)],{'ci':_0x46b896['ci'],'skipAuth':_0x46b896[_0x1068f6(0x283)],'url':_0x46b896[_0x1068f6(0x1f9)],'force':_0x46b896['force'],'cdpEndpoint':_0x46b896['cdp-endpoint'],'allowInsecureLocalhost':_0x46b896[_0x1068f6(0x229)],'safeMode':_0x46b896['safe-mode'],'setupHeader':_0x46b896[_0x1068f6(0x2cd)],'scope':_0x46b896['scope'],'authEnv':_0x46b896[_0x1068f6(0x2aa)],'yes':_0x46b896['yes']},_0x327f69),{'isElectron':Boolean(_0x46b896['cdp-endpoint'])});})[_0x1302c4(0x20a)]('use\x20<profile-name>',_0x1302c4(0x253),_0x5e0052=>{const _0x14dfe5=_0x1302c4;return _0x5e0052[_0x14dfe5(0x23d)]('profile-name',{'type':'string','description':_0x530476['ezdIC'],'demandOption':!![]});},async _0x2ec624=>{const _0x5187f9=_0x1302c4;await withTelemetry(_0x5187f9(0x352),()=>useEnv(_0x2ec624[_0x5187f9(0x2bf)]));})['command'](_0x42a4c7[_0x1302c4(0x1f8)],_0x42a4c7['EILXn'],_0x520498=>{const _0x8c8c6=_0x1302c4;return _0x520498['positional'](_0x42a4c7[_0x8c8c6(0x383)],{'type':'string','description':_0x8c8c6(0x303),'demandOption':!![]})[_0x8c8c6(0x2cf)](_0x8c8c6(0x304),{'type':_0x42a4c7['zYKHp'],'alias':'y','description':_0x42a4c7['uIgzO'],'default':![]});},async _0x2d5a01=>{const _0x32e90c=_0x1302c4;await withTelemetry(_0x32e90c(0x2b4),()=>deleteProfile(_0x2d5a01[_0x32e90c(0x2bf)],{'yes':_0x2d5a01['yes']}));})['command'](_0x42a4c7[_0x1302c4(0x334)],![],_0x2c672d=>{return _0x2c672d['positional']('profile',{'type':'string','description':'Profile\x20name','demandOption':!![]});},async _0x2ec29b=>{const _0x44522e=_0x1302c4;await _0x530476[_0x44522e(0x37a)](withTelemetry,_0x44522e(0x2f0),()=>authEncrypt(_0x2ec29b['profile']));})['command']('ls','List\x20all\x20profiles',()=>{},async()=>{await _0x42a4c7['Wtqql'](withTelemetry,'profile\x20ls',()=>envList());})[_0x1302c4(0x20a)]('update\x20<profile-name>',_0x42a4c7['kFIOl'],_0x32048b=>{const _0x513ee9=_0x1302c4;return _0x32048b['positional'](_0x42a4c7['DVmES'],{'type':_0x42a4c7[_0x513ee9(0x296)],'description':_0x42a4c7[_0x513ee9(0x2df)],'demandOption':!![]})[_0x513ee9(0x2cf)](_0x42a4c7['jsuVY'],{'type':_0x513ee9(0x2b8),'description':_0x42a4c7['Bprft']})['option'](_0x42a4c7[_0x513ee9(0x1ef)],{'type':_0x42a4c7[_0x513ee9(0x21b)],'description':_0x513ee9(0x29e)});},async _0x546765=>{const _0x526ded=_0x1302c4;await _0x530476[_0x526ded(0x37a)](withTelemetry,_0x526ded(0x2c5),_0xad2469=>updateEnv(_0x546765[_0x526ded(0x2bf)],_0xad2469,{'allowInsecureLocalhost':_0x546765[_0x526ded(0x229)],'manual':_0x546765['manual']}));})['command'](_0x42a4c7[_0x1302c4(0x1e2)],![],_0x27949f=>{const _0x221e32=_0x1302c4;return _0x27949f[_0x221e32(0x23d)]('name',{'type':_0x42a4c7[_0x221e32(0x296)],'description':_0x42a4c7[_0x221e32(0x31c)],'demandOption':!![]});},async _0x35e530=>{const _0x3a3ec2=_0x1302c4,_0x51241e={'IWZlZ':function(_0x49a98e,_0x196e42){return _0x49a98e||_0x196e42;},'xGmGw':_0x530476['beHhl'],'DJGMG':function(_0x473824,_0x11b1b0,_0x214913){return _0x530476['toESM'](_0x473824,_0x11b1b0,_0x214913);},'aDEgO':function(_0x5e5048,_0x2f2434){return _0x530476['tRYsT'](_0x5e5048,_0x2f2434);},'lZBDZ':_0x530476[_0x3a3ec2(0x1ec)]};await _0x530476[_0x3a3ec2(0x377)](withTelemetry,_0x530476['SOacV'],async()=>{const _0x4f89fe=_0x3a3ec2,_0x409d6f=process[_0x4f89fe(0x2aa)]['RANGER_TEST_USERNAME'],_0x9efc24=process[_0x4f89fe(0x2aa)][_0x4f89fe(0x203)];_0x51241e['IWZlZ'](!_0x409d6f,!_0x9efc24)&&(console['error'](_0x51241e['xGmGw']),process['exit'](0x1));const _0x5d90ae=_0x35e530['name'],_0x188798=await _0x51241e[_0x4f89fe(0x2eb)](serverSideLogin,_0x5d90ae,{'force':!![]});_0x51241e['aDEgO'](_0x188798[_0x4f89fe(0x1e1)],_0x4f89fe(0x2de))&&(console[_0x4f89fe(0x368)](_0x4f89fe(0x25f)),process[_0x4f89fe(0x382)](0x1)),_0x188798['status']===_0x4f89fe(0x2ba)&&(console['error'](_0x4f89fe(0x210)+(_0x188798[_0x4f89fe(0x368)]??_0x51241e[_0x4f89fe(0x204)])),_0x188798[_0x4f89fe(0x1e5)]&&console['error'](_0x188798[_0x4f89fe(0x1e5)]),process['exit'](0x1)),console[_0x4f89fe(0x320)]('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x5d90ae+'\x27.\x20Session\x20saved.');});})[_0x1302c4(0x20a)](_0x42a4c7[_0x1302c4(0x312)],![],_0x3562a7=>{const _0x2764bd=_0x1302c4;return _0x3562a7['positional'](_0x42a4c7['DVmES'],{'type':_0x42a4c7[_0x2764bd(0x296)],'description':_0x42a4c7['yeOqJ']})['option']('all',{'type':'boolean','description':_0x42a4c7['CtNNM'],'default':![]})[_0x2764bd(0x2cf)](_0x42a4c7[_0x2764bd(0x22d)],{'type':'boolean','description':_0x2764bd(0x341),'default':![]})[_0x2764bd(0x2cf)](_0x2764bd(0x304),{'type':_0x2764bd(0x2b8),'alias':'y','description':_0x2764bd(0x345),'default':![]})['option']('save-creds',{'type':_0x42a4c7[_0x2764bd(0x21b)],'description':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','default':![]});},async _0x115898=>{const _0x8c62b1=_0x1302c4;await _0x530476['tHMVC'](withTelemetry,'profile\x20migrate',_0x5c8fc7=>migrateProfile({'profileName':_0x115898['profile-name'],'all':_0x115898[_0x8c62b1(0x24d)],'dryRun':_0x115898[_0x8c62b1(0x20d)],'yes':_0x115898['yes'],'saveCreds':_0x115898[_0x8c62b1(0x264)]},_0x5c8fc7));})['command'](_0x1302c4(0x21f),_0x42a4c7[_0x1302c4(0x20e)],_0x46724e=>{const _0x83dfc1=_0x1302c4,_0x50cff8={'ADUEe':_0x83dfc1(0x251),'CSEAp':_0x530476['UVnST'],'TlSVN':_0x530476['jPXAl'],'yNogA':'key','CmmUA':_0x530476[_0x83dfc1(0x323)],'Ctsco':'Config\x20value','hNjUO':'Config\x20key','foAUm':function(_0x2cd2ba,_0x33b3bc,_0x21c590){return _0x2cd2ba(_0x33b3bc,_0x21c590);},'zqjMX':_0x83dfc1(0x294)};return _0x46724e[_0x83dfc1(0x302)](PROFILE_CONFIG_HELP)[_0x83dfc1(0x20a)](_0x530476[_0x83dfc1(0x27c)],_0x530476[_0x83dfc1(0x2d8)],_0x40fe48=>{const _0x70a046=_0x83dfc1;return _0x40fe48['positional'](_0x50cff8[_0x70a046(0x2a1)],{'type':_0x50cff8[_0x70a046(0x376)],'description':_0x50cff8['TlSVN'],'demandOption':!![]})[_0x70a046(0x23d)](_0x50cff8['yNogA'],{'type':_0x50cff8['CSEAp'],'description':_0x70a046(0x344),'demandOption':!![]})['positional'](_0x50cff8['CmmUA'],{'type':_0x50cff8['CSEAp'],'description':_0x50cff8['Ctsco'],'demandOption':!![]});},async _0x86a6dd=>{const _0xff0ee7=_0x83dfc1;await withTelemetry('profile\x20config\x20set',()=>configSet(_0x86a6dd['profile'],_0x86a6dd['key'],_0x86a6dd[_0xff0ee7(0x1fc)]));})['command'](_0x530476['UasvL'],_0x530476['OcBFq'],_0x112e00=>{const _0x1a9547=_0x83dfc1;return _0x112e00[_0x1a9547(0x23d)]('profile',{'type':_0x1a9547(0x220),'description':'Profile\x20name','demandOption':!![]})['positional']('key',{'type':_0x50cff8[_0x1a9547(0x376)],'description':_0x50cff8[_0x1a9547(0x297)],'demandOption':!![]});},async _0x25d43a=>{const _0x232870=_0x83dfc1;await _0x50cff8['foAUm'](withTelemetry,_0x50cff8['zqjMX'],()=>configGet(_0x25d43a[_0x232870(0x251)],_0x25d43a[_0x232870(0x386)]));})['command'](_0x530476['ePEQD'],_0x83dfc1(0x2b6),_0x49e919=>{const _0x4b95d2=_0x83dfc1;return _0x49e919['positional'](_0x50cff8['ADUEe'],{'type':_0x50cff8['CSEAp'],'description':_0x4b95d2(0x350),'demandOption':!![]});},async _0x3370c7=>{const _0x149346=_0x83dfc1;await _0x50cff8[_0x149346(0x247)](withTelemetry,_0x149346(0x1fa),()=>configList(_0x3370c7[_0x149346(0x251)]));})[_0x83dfc1(0x20a)](_0x530476['ZTYnW'],_0x530476['IJTmw'],_0x3b7348=>{const _0x57df12=_0x83dfc1;return _0x3b7348[_0x57df12(0x23d)](_0x50cff8[_0x57df12(0x2a1)],{'type':_0x50cff8[_0x57df12(0x376)],'description':_0x57df12(0x350),'demandOption':!![]})['positional'](_0x57df12(0x386),{'type':_0x50cff8[_0x57df12(0x376)],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x4941d2=>{const _0x3be068=_0x83dfc1;await withTelemetry(_0x3be068(0x217),()=>configUnset(_0x4941d2['profile'],_0x4941d2[_0x3be068(0x386)]));})[_0x83dfc1(0x20a)]('reset\x20<profile>',_0x530476['qHiGN'],_0x3c8faf=>{const _0x28dc12=_0x83dfc1;return _0x3c8faf[_0x28dc12(0x23d)](_0x50cff8[_0x28dc12(0x2a1)],{'type':_0x28dc12(0x220),'description':_0x50cff8[_0x28dc12(0x30a)],'demandOption':!![]});},async _0x27f7f8=>{const _0x5674c0=_0x83dfc1;await _0x530476['toESM'](withTelemetry,_0x530476['JDsOM'],()=>configReset(_0x27f7f8[_0x5674c0(0x251)]));})[_0x83dfc1(0x1de)](0x1,'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand');})[_0x1302c4(0x1de)](0x1,'You\x20must\x20specify\x20a\x20profile\x20subcommand');})['command'](_0x42a4c7['QJgqr'],'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{const _0x2f3abd=_0x693568;await _0x42a4c7[_0x2f3abd(0x22a)](withTelemetry,_0x42a4c7['QJgqr'],()=>status());})[_0x693568(0x20a)](_0x693568(0x319),'Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version',()=>{},async()=>{const _0x5ecd38=_0x693568;await withTelemetry(_0x5ecd38(0x319),()=>update());})[_0x693568(0x20a)](_0x693568(0x24c),_0x693568(0x357),()=>{},async()=>{await _0x42a4c7['rzxux'](withTelemetry,_0x42a4c7['rWNGQ'],async()=>{const _0x4f7a4d=_0x2373,_0x371aed=await _0x42a4c7[_0x4f7a4d(0x300)](getToken);if(!_0x371aed)throw new Error(_0x42a4c7['onFKU']);console[_0x4f7a4d(0x320)](_0x371aed);});})[_0x693568(0x20a)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x326705=>{const _0x2a9140=_0x693568;return _0x326705[_0x2a9140(0x2cf)]('feature',{'type':_0x2a9140(0x220),'description':_0x42a4c7[_0x2a9140(0x34b)]})['option']('profile',{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)'})['option'](_0x42a4c7['QIFIB'],{'type':'string','description':_0x42a4c7[_0x2a9140(0x21e)]})[_0x2a9140(0x2cf)]('check',{'type':_0x42a4c7[_0x2a9140(0x296)],'description':_0x42a4c7[_0x2a9140(0x1e6)]})[_0x2a9140(0x2cf)](_0x2a9140(0x222),{'type':_0x42a4c7['rpiCW'],'description':_0x42a4c7['ASnDh']})['option'](_0x42a4c7[_0x2a9140(0x2ef)],{'type':'string','description':_0x42a4c7['SiYcw']})[_0x2a9140(0x2cf)](_0x2a9140(0x2ab),{'type':_0x42a4c7['brGli'],'description':_0x2a9140(0x32b)})[_0x2a9140(0x2cf)]('model',{'type':_0x42a4c7['brGli'],'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.'})[_0x2a9140(0x2cf)](_0x2a9140(0x2fe),{'type':'boolean','description':_0x42a4c7['lpKBJ'],'default':![]})[_0x2a9140(0x2cf)](_0x2a9140(0x358),{'type':_0x42a4c7[_0x2a9140(0x296)],'array':!![],'alias':_0x42a4c7[_0x2a9140(0x35d)],'description':_0x42a4c7[_0x2a9140(0x25e)]})[_0x2a9140(0x2cf)](_0x42a4c7['qxihH'],{'type':'boolean','description':_0x2a9140(0x329),'default':![]})['option']('debug-outcome',{'type':_0x42a4c7['brGli'],'hidden':!![],'choices':['verified',_0x42a4c7['kuHLe'],'blocked',_0x42a4c7[_0x2a9140(0x308)],_0x2a9140(0x221)]})['option'](_0x2a9140(0x289),{'type':_0x42a4c7[_0x2a9140(0x21b)],'hidden':!![]})[_0x2a9140(0x2cf)](_0x2a9140(0x2aa),{'type':'string','description':'Auth\x20environment\x20key\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Used\x20with\x20RANGER_TEST_USERNAME\x20for\x20ad-hoc\x20runs,\x20and\x20with\x20--profile\x20to\x20override\x20that\x20profile\x27s\x20pinned\x20env\x20for\x20this\x20run.\x20Required\x20to\x20run\x20an\x20automated\x20login\x20against\x20a\x20bare-localhost\x20target\x20(localhost\x20/\x20127.0.0.1).\x20Also\x20respects\x20RANGER_AUTH_ENV.'})['option'](_0x42a4c7[_0x2a9140(0x2c0)],{'type':_0x2a9140(0x220),'hidden':!![]})[_0x2a9140(0x2cf)](_0x42a4c7[_0x2a9140(0x2ea)],{'type':'number','hidden':!![]});},async _0x1fc060=>{await runGoCommand(_0x1fc060);})[_0x693568(0x20a)](_0x693568(0x322),![],_0x378bb2=>{const _0x941922=_0x693568;return _0x378bb2['command'](_0x42a4c7[_0x941922(0x363)],![],_0x2729f1=>{const _0x28276e=_0x941922;return _0x2729f1[_0x28276e(0x23d)](_0x28276e(0x251),{'type':'string','description':_0x28276e(0x350),'demandOption':!![]});},async _0x493441=>{warnRenamed(_0x42a4c7['ubmyV'],_0x42a4c7['wDCif']),await authEncrypt(_0x493441['profile']);})['demandCommand'](0x1,_0x941922(0x32a));},()=>{})[_0x693568(0x20a)]('start\x20[token]',![],_0x51ddcb=>{const _0x34e109=_0x693568;return _0x51ddcb['positional']('token',{'type':'string','description':_0x34e109(0x374)})[_0x34e109(0x2cf)](_0x42a4c7['KhcSu'],{'type':_0x42a4c7[_0x34e109(0x21b)],'description':_0x34e109(0x311),'default':![]})[_0x34e109(0x2cf)]('scope',{'type':_0x42a4c7[_0x34e109(0x296)],'choices':[_0x42a4c7['KnkzO']],'hidden':!![],'description':_0x42a4c7[_0x34e109(0x32e)]})['option'](_0x42a4c7[_0x34e109(0x237)],{'type':_0x34e109(0x220),'description':_0x34e109(0x2db)})[_0x34e109(0x2cf)](_0x42a4c7['LjpAp'],{'type':'boolean','description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})['option'](_0x42a4c7[_0x34e109(0x33b)],{'type':'boolean','description':_0x42a4c7['DkRuJ'],'default':![]})['option'](_0x34e109(0x2f3),{'type':_0x42a4c7['zYKHp'],'description':_0x34e109(0x23e),'default':![]});},async _0x2f6bc1=>{const _0x59f82c=_0x693568;warnRenamed(_0x59f82c(0x24f),'ranger\x20setup'),await withTelemetry(_0x59f82c(0x26d),_0x273ca3=>start(_0x2f6bc1['token'],{'skipChromium':_0x2f6bc1[_0x59f82c(0x29a)],'skipAuth':_0x2f6bc1['skip-auth'],'withDeps':_0x2f6bc1[_0x59f82c(0x2f3)],'scope':_0x2f6bc1[_0x59f82c(0x31f)],'url':_0x2f6bc1[_0x59f82c(0x1f9)],'force':_0x2f6bc1['force']},_0x273ca3));})['command']('verify-feature',![],_0x1f1017=>{const _0x4a529e=_0x693568;return _0x1f1017['option']('env',{'type':'string','description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option']('task',{'type':'string','description':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)'})['option']('item',{'type':'number','description':'Scenario\x20index\x20(1-based)'})[_0x4a529e(0x2cf)](_0x42a4c7[_0x4a529e(0x2af)],{'type':_0x42a4c7['brGli'],'hidden':!![]})[_0x4a529e(0x2cf)](_0x4a529e(0x1ee),{'type':_0x4a529e(0x220),'hidden':!![]})['option'](_0x42a4c7['YLKDc'],{'type':_0x42a4c7[_0x4a529e(0x27d)],'hidden':!![]})[_0x4a529e(0x2cf)](_0x4a529e(0x1f1),{'type':_0x42a4c7[_0x4a529e(0x296)],'description':_0x42a4c7['SiYcw']})[_0x4a529e(0x2cf)]('base-url',{'type':'string','description':_0x42a4c7['QviZb']})['option'](_0x42a4c7['jFJVO'],{'type':'string','hidden':!![]})[_0x4a529e(0x2cf)](_0x42a4c7[_0x4a529e(0x2a9)],{'type':_0x42a4c7['zYKHp'],'hidden':!![],'default':![]})[_0x4a529e(0x2cf)]('env-var',{'type':_0x42a4c7[_0x4a529e(0x296)],'array':!![],'alias':'environment-variable','hidden':!![]})['option']('debug-outcome',{'type':_0x4a529e(0x220),'hidden':!![],'choices':[_0x42a4c7[_0x4a529e(0x37f)],_0x42a4c7['kuHLe'],_0x42a4c7[_0x4a529e(0x22c)],_0x42a4c7[_0x4a529e(0x308)],_0x42a4c7['vDTrY']]});},async _0x4a686e=>{await runGoCommand(_0x4a686e,!![]);})['command']('add\x20env\x20<env-name>',![],_0x2b81d5=>{const _0x115474=_0x693568;return _0x2b81d5['positional'](_0x115474(0x356),{'type':_0x42a4c7['brGli'],'description':_0x115474(0x1e0),'demandOption':!![]})['option']('ci',{'type':'boolean','description':_0x42a4c7['bFthM'],'default':![]})['option']('skip-auth',{'type':'boolean','description':_0x42a4c7[_0x115474(0x230)],'default':![]});},async _0x1a48f3=>{const _0x7afa46=_0x693568;_0x42a4c7['WNEry'](warnRenamed,_0x42a4c7[_0x7afa46(0x1e7)],_0x42a4c7['WtNjK']),await _0x42a4c7[_0x7afa46(0x1f7)](withTelemetry,_0x42a4c7['WtYAv'],_0x6e55ac=>addEnv(_0x1a48f3[_0x7afa46(0x356)],{'ci':_0x1a48f3['ci'],'skipAuth':_0x1a48f3['skip-auth']},_0x6e55ac));})[_0x693568(0x20a)]('use\x20<env-name>',![],_0x314382=>{const _0x172a5c=_0x693568;return _0x314382[_0x172a5c(0x23d)](_0x42a4c7['HUoVl'],{'type':'string','description':_0x42a4c7['xMHZd'],'demandOption':!![]});},async _0x344967=>{const _0x122490=_0x693568;_0x42a4c7[_0x122490(0x325)](warnRenamed,_0x42a4c7['CEGvL'],'ranger\x20profile\x20use'),await withTelemetry(_0x122490(0x365),()=>useEnv(_0x344967['env-name']));})['command']('config',![],_0x347a67=>{const _0x4f2fe7=_0x693568,_0x1de25a={'uiqqV':_0x42a4c7['WaGfp'],'Wdgcw':_0x42a4c7['brGli'],'cvndc':function(_0x50b5d5,_0x2f8a4f,_0x5e96bb){return _0x50b5d5(_0x2f8a4f,_0x5e96bb);},'hiQoW':_0x4f2fe7(0x30f),'zrVLB':_0x42a4c7[_0x4f2fe7(0x23c)],'pYntS':_0x42a4c7['KRSWo'],'lHsRS':'ranger\x20config\x20unset','guIvd':function(_0x2cb858,_0x1dd1a4,_0x203778){return _0x42a4c7['miATu'](_0x2cb858,_0x1dd1a4,_0x203778);},'wlLYM':'config\x20unset'};return _0x347a67[_0x4f2fe7(0x20a)]('set\x20<env>\x20<key>\x20<value>',![],_0x2d229b=>{const _0x4d3281=_0x4f2fe7;return _0x2d229b[_0x4d3281(0x23d)](_0x4d3281(0x2aa),{'type':_0x42a4c7[_0x4d3281(0x296)],'description':_0x42a4c7['kiMaU'],'demandOption':!![]})['positional'](_0x42a4c7[_0x4d3281(0x23c)],{'type':'string','description':_0x4d3281(0x344),'demandOption':!![]})['positional'](_0x42a4c7['CGlTM'],{'type':_0x42a4c7['brGli'],'description':_0x42a4c7['mrGuf'],'demandOption':!![]});},async _0x3c6162=>{const _0x361e13=_0x4f2fe7;_0x42a4c7[_0x361e13(0x212)](warnRenamed,'ranger\x20config\x20set',_0x42a4c7[_0x361e13(0x2a2)]),await withTelemetry(_0x361e13(0x20c),()=>configSet(_0x3c6162['env'],_0x3c6162[_0x361e13(0x386)],_0x3c6162['value']));})[_0x4f2fe7(0x20a)]('get\x20<env>\x20<key>',![],_0x3b4d94=>{const _0x92a70f=_0x4f2fe7;return _0x3b4d94['positional'](_0x1de25a[_0x92a70f(0x360)],{'type':_0x1de25a[_0x92a70f(0x26a)],'description':_0x92a70f(0x32c),'demandOption':!![]})['positional'](_0x92a70f(0x386),{'type':_0x1de25a['Wdgcw'],'description':_0x92a70f(0x370),'demandOption':!![]});},async _0x2c93b8=>{const _0x1bd6e5=_0x4f2fe7;_0x42a4c7['LkcSE'](warnRenamed,_0x42a4c7[_0x1bd6e5(0x285)],_0x42a4c7[_0x1bd6e5(0x224)]),await _0x42a4c7[_0x1bd6e5(0x29b)](withTelemetry,_0x42a4c7['hHlcc'],()=>configGet(_0x2c93b8['env'],_0x2c93b8['key']));})['command'](_0x42a4c7[_0x4f2fe7(0x26f)],![],_0x4461ea=>{const _0x122a2a=_0x4f2fe7;return _0x4461ea['positional'](_0x42a4c7['WaGfp'],{'type':'string','description':_0x122a2a(0x32c),'demandOption':!![]});},async _0x1b1de9=>{const _0x5d2f60=_0x4f2fe7;warnRenamed('ranger\x20config\x20list','ranger\x20profile\x20config\x20list'),await _0x1de25a[_0x5d2f60(0x310)](withTelemetry,_0x1de25a['hiQoW'],()=>configList(_0x1b1de9[_0x5d2f60(0x2aa)]));})[_0x4f2fe7(0x20a)](_0x4f2fe7(0x2f4),![],_0x1a565c=>{const _0xa7efec=_0x4f2fe7;return _0x1a565c[_0xa7efec(0x23d)](_0x1de25a[_0xa7efec(0x360)],{'type':_0x1de25a[_0xa7efec(0x26a)],'description':_0xa7efec(0x32c),'demandOption':!![]})[_0xa7efec(0x23d)](_0x1de25a['zrVLB'],{'type':'string','description':_0x1de25a['pYntS'],'demandOption':!![]});},async _0x64d5d8=>{const _0x149506=_0x4f2fe7;warnRenamed(_0x1de25a[_0x149506(0x2c4)],_0x149506(0x290)),await _0x1de25a[_0x149506(0x36b)](withTelemetry,_0x1de25a['wlLYM'],()=>configUnset(_0x64d5d8[_0x149506(0x2aa)],_0x64d5d8['key']));})[_0x4f2fe7(0x1de)](0x1,'You\x20must\x20specify\x20a\x20config\x20subcommand');})[_0x693568(0x20a)](_0x42a4c7[_0x693568(0x326)],![],_0x55afbb=>{const _0x24c648=_0x693568,_0xd6fa96={'NKqnG':_0x42a4c7['gibTl']};return _0x55afbb[_0x24c648(0x20a)]('ls',![],()=>{},async()=>{const _0xca6d1b=_0x24c648;_0x42a4c7[_0xca6d1b(0x241)](warnRenamed,_0xca6d1b(0x2e7),_0x42a4c7['NwRHT']),await _0x42a4c7['GcSli'](withTelemetry,'env\x20list',()=>envList());})['command'](_0x42a4c7[_0x24c648(0x288)],![],_0x25085d=>{const _0x5609a6=_0x24c648;return _0x25085d[_0x5609a6(0x23d)](_0x5609a6(0x356),{'type':_0x5609a6(0x220),'description':_0xd6fa96[_0x5609a6(0x293)],'demandOption':!![]});},async _0x419d1=>{const _0x6583a9=_0x24c648;warnRenamed(_0x42a4c7[_0x6583a9(0x340)],'ranger\x20profile\x20update'),await _0x42a4c7['LIJDF'](withTelemetry,_0x42a4c7[_0x6583a9(0x338)],_0x214e27=>updateEnv(_0x419d1[_0x6583a9(0x356)],_0x214e27));})[_0x24c648(0x1de)](0x1,_0x24c648(0x2d4));})[_0x693568(0x20a)](_0x42a4c7['qRmFR'],![],_0x24ec2c=>{const _0x2a5640=_0x693568,_0x225c3a={'tOLrp':_0x2a5640(0x32f),'SJQtE':function(_0x18b284,_0x15d001,_0x46a54a,_0x55c9a5){return _0x18b284(_0x15d001,_0x46a54a,_0x55c9a5);},'JtzAm':function(_0x325ff0,_0x4bacdb,_0xd6fd91){return _0x42a4c7['LIJDF'](_0x325ff0,_0x4bacdb,_0xd6fd91);},'JSzQR':_0x42a4c7[_0x2a5640(0x295)],'TPuxa':function(_0x97db64,_0x10de42,_0x37828c){return _0x42a4c7['BKwAR'](_0x97db64,_0x10de42,_0x37828c);},'hbzfS':_0x2a5640(0x375),'VaNvc':_0x42a4c7[_0x2a5640(0x337)],'XeIgb':_0x42a4c7['brGli'],'TXSyh':_0x2a5640(0x278),'rQGUN':_0x42a4c7['iQYJp'],'kxlCx':_0x42a4c7[_0x2a5640(0x2e0)],'DNDgI':_0x2a5640(0x219),'fNRpV':_0x42a4c7['GcLND'],'PFmnb':_0x42a4c7[_0x2a5640(0x272)],'kFeGn':_0x2a5640(0x347),'JpWrQ':_0x42a4c7[_0x2a5640(0x1f3)],'arKgb':function(_0x16c866,_0x1b8773,_0x2defc8){return _0x16c866(_0x1b8773,_0x2defc8);}};return _0x24ec2c[_0x2a5640(0x20a)]('create\x20<name>',![],_0x29458c=>{const _0x31dfa9=_0x2a5640;return _0x29458c['positional'](_0x42a4c7['tKQgN'],{'type':_0x42a4c7[_0x31dfa9(0x296)],'description':_0x42a4c7[_0x31dfa9(0x342)],'demandOption':!![]})[_0x31dfa9(0x2cf)](_0x42a4c7[_0x31dfa9(0x2d0)],{'type':_0x42a4c7[_0x31dfa9(0x296)],'alias':'d','description':'Feature\x20review\x20description'})['option']('checklist',{'type':_0x31dfa9(0x263),'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})['option'](_0x42a4c7[_0x31dfa9(0x2d3)],{'type':_0x31dfa9(0x263),'hidden':!![]});},async _0x2e8d79=>{const _0x10a08b=_0x2a5640;warnRenamed('ranger\x20feature\x20create',_0x225c3a['tOLrp']),_0x225c3a['SJQtE'](warnFlagRenamed,'ranger\x20create','--checklist','--scenario');const _0x2389c7=_0x2e8d79[_0x10a08b(0x222)]||_0x2e8d79[_0x10a08b(0x2c7)];await _0x225c3a[_0x10a08b(0x1f6)](withTelemetry,_0x225c3a[_0x10a08b(0x333)],()=>featureCreate(_0x2e8d79['name'],{'description':_0x2e8d79[_0x10a08b(0x2cb)],'scenarios':_0x2389c7}));})['command'](_0x42a4c7['Icuzh'],![],_0x138f67=>{const _0x5e7235=_0x2a5640;return _0x138f67[_0x5e7235(0x2cf)](_0x5e7235(0x36d),{'type':_0x42a4c7['zYKHp'],'description':_0x42a4c7[_0x5e7235(0x31a)]})['option'](_0x42a4c7[_0x5e7235(0x372)],{'type':_0x42a4c7[_0x5e7235(0x27d)],'alias':'l','description':'Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','default':0xa})[_0x5e7235(0x2cf)](_0x5e7235(0x1fe),{'type':_0x5e7235(0x238),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})['option']('include-deleted',{'type':'boolean','alias':'d','description':_0x42a4c7['cJdjK'],'default':![]});},async _0x53879a=>{const _0x3f0949=_0x2a5640;_0x225c3a[_0x3f0949(0x2e1)](warnRenamed,_0x225c3a[_0x3f0949(0x30b)],_0x225c3a['VaNvc']),await withTelemetry('feature\x20list',()=>featureList({'currentBranch':_0x53879a[_0x3f0949(0x36d)],'limit':_0x53879a['limit'],'offset':_0x53879a['offset'],'includeDeleted':_0x53879a[_0x3f0949(0x284)]}));})['command'](_0x42a4c7['oNFFU'],![],_0x4e7e00=>{const _0x227c72=_0x2a5640;return _0x4e7e00['positional']('id',{'type':_0x42a4c7['brGli'],'description':_0x42a4c7[_0x227c72(0x231)]});},async _0x4168a5=>{const _0x32920d=_0x2a5640;_0x42a4c7[_0x32920d(0x29f)](warnRenamed,'ranger\x20feature\x20show',_0x42a4c7[_0x32920d(0x275)]),await withTelemetry('feature\x20show',()=>featureShow(_0x4168a5['id']));})[_0x2a5640(0x20a)](_0x42a4c7[_0x2a5640(0x330)],![],_0x44bd59=>{return _0x44bd59['positional']('id',{'type':_0x225c3a['XeIgb'],'description':_0x225c3a['TXSyh']});},async _0x59652d=>{const _0x1cbeca=_0x2a5640;warnRenamed(_0x225c3a[_0x1cbeca(0x307)],_0x225c3a['kxlCx']),await _0x225c3a['JtzAm'](withTelemetry,_0x225c3a['DNDgI'],()=>featureResume(_0x59652d['id']));})['command'](_0x2a5640(0x317),![],_0x549913=>{const _0x307c46=_0x2a5640;return _0x549913['positional'](_0x225c3a['fNRpV'],{'type':_0x225c3a[_0x307c46(0x277)],'description':_0x307c46(0x1eb),'demandOption':!![]})['option']('id',{'type':_0x225c3a[_0x307c46(0x277)],'description':_0x307c46(0x266)});},async _0x3b8692=>{const _0x811027=_0x2a5640;warnRenamed(_0x225c3a['PFmnb'],'ranger\x20add-scenario'),await _0x225c3a['JtzAm'](withTelemetry,_0x225c3a['kFeGn'],()=>featureAddScenario(_0x3b8692[_0x811027(0x2cb)],_0x3b8692['id']));})[_0x2a5640(0x20a)]('get-feedback\x20[id]',![],_0x250019=>{const _0x5af11e=_0x2a5640;return _0x250019[_0x5af11e(0x23d)]('id',{'type':_0x5af11e(0x220),'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x107c36=>{const _0xdf5eb0=_0x2a5640;warnRenamed(_0x225c3a[_0xdf5eb0(0x22b)],'ranger\x20get-review'),await _0x225c3a[_0xdf5eb0(0x2a3)](withTelemetry,_0xdf5eb0(0x28c),()=>featureGetReview(_0x107c36['id']));})[_0x2a5640(0x20a)](_0x2a5640(0x354),![],_0x53d848=>{const _0xdfc26=_0x2a5640;return _0x53d848[_0xdfc26(0x23d)]('id',{'type':'string','description':_0x42a4c7[_0xdfc26(0x231)]});},async _0x17d486=>{const _0x235dc7=_0x2a5640;warnRenamed(_0x42a4c7['ffztz'],'ranger\x20delete'),await _0x42a4c7[_0x235dc7(0x31b)](withTelemetry,_0x235dc7(0x256),()=>featureDelete(_0x17d486['id']));})['command']('restore\x20<id>',![],_0xebfb60=>{return _0xebfb60['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20to\x20restore','demandOption':!![]});},async _0x590064=>{const _0xa16ec8=_0x2a5640;warnRenamed('ranger\x20feature\x20restore',_0x42a4c7['pSnda']),await withTelemetry(_0x42a4c7[_0xa16ec8(0x2ee)],()=>featureRestore(_0x590064['id']));})[_0x2a5640(0x1de)](0x1,_0x2a5640(0x205));})['command']('hook',![],_0x3c0f84=>{const _0x20921e=_0x693568,_0x174abd={'QRHqv':_0x42a4c7['QOnsP']};return _0x3c0f84[_0x20921e(0x20a)](_0x42a4c7[_0x20921e(0x28d)],_0x42a4c7[_0x20921e(0x2d2)],_0x50c534=>{const _0x302ded=_0x20921e;return _0x50c534[_0x302ded(0x2cf)](_0x42a4c7[_0x302ded(0x2b9)],{'type':'string','description':_0x42a4c7['QOnsP']});},async _0x2e5aab=>{const _0xbb2eed=_0x20921e;await _0x42a4c7[_0xbb2eed(0x235)](withTelemetry,'hook:enable',()=>hook(_0xbb2eed(0x1df),_0x2e5aab['session-id']));})['command'](_0x42a4c7[_0x20921e(0x1f5)],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x25ae0c=>{const _0x221ed0=_0x20921e;return _0x25ae0c[_0x221ed0(0x2cf)](_0x221ed0(0x258),{'type':'string','description':_0x174abd[_0x221ed0(0x273)]});},async _0x494aeb=>{const _0x14eec6=_0x20921e;await withTelemetry(_0x42a4c7['BBAtU'],()=>hook('disable',_0x494aeb[_0x14eec6(0x258)]));})['option'](_0x20921e(0x279),{'type':_0x20921e(0x220),'description':_0x20921e(0x378)})['option'](_0x20921e(0x258),{'type':_0x42a4c7['brGli'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x399846=>{_0x399846['name']&&await hook(_0x399846['name'],_0x399846['session-id']);})['demandCommand'](0x1,_0x42a4c7[_0x693568(0x2a6)])[_0x693568(0x2d9)]()[_0x693568(0x2b5)](async(_0x345adb,_0x5526c4,_0x57dad6)=>{const _0xb44121=_0x693568,_0x9d817a=sanitizeArgs(process[_0xb44121(0x23f)]['slice'](0x2)),_0x135899=_0x42a4c7[_0xb44121(0x22a)](getErrorType,_0x345adb,_0x5526c4);if(_0x345adb&&_0x345adb['includes'](_0xb44121(0x38a))){const _0x3d061b=process[_0xb44121(0x23f)][0x2];console['error'](_0xb44121(0x37d)+_0x3d061b),console['error'](_0xb44121(0x215));}else{if(_0x345adb)console['error']('\x0a'+_0x345adb+'\x0a');else _0x5526c4&&console['error']('\x0aError:\x20'+_0x5526c4['message']+'\x0a');}await _0x42a4c7[_0xb44121(0x35a)](logDesirePath,{'rawCommand':_0x9d817a,'errorMessage':_0x345adb||_0x5526c4?.['message'],'errorType':_0x135899});const _0x465691=_0x42a4c7['XRWxd'](getCurrentCollector);_0x465691&&await _0x465691['trackCommandError'](_0x5526c4||new Error(_0x345adb||'Unknown\x20error')),process['exit'](0x1);})['epilogue'](_0x42a4c7['wLdwD']+_0x42a4c7[_0x693568(0x2bb)]+'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)')[_0x693568(0x2b3)]()['alias'](_0x42a4c7[_0x693568(0x213)],'h');}process[_0x4f407f(0x2aa)][_0x4f407f(0x22e)]!==_0x4f407f(0x281)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|