@ranger-testing/ranger-cli 3.1.6-alpha.4287155-52 → 3.1.6-alpha.4de822b-51
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 _0x4cf02b=_0x508c;(function(_0x366c4e,_0x9daf91){const _0x438dd5=_0x508c,_0x16967f=_0x366c4e();while(!![]){try{const _0x1426f0=parseInt(_0x438dd5(0x198))/0x1+-parseInt(_0x438dd5(0x18d))/0x2*(parseInt(_0x438dd5(0x180))/0x3)+parseInt(_0x438dd5(0x273))/0x4+parseInt(_0x438dd5(0x339))/0x5+parseInt(_0x438dd5(0x2a9))/0x6*(parseInt(_0x438dd5(0x208))/0x7)+-parseInt(_0x438dd5(0x2d0))/0x8+parseInt(_0x438dd5(0x1ba))/0x9*(-parseInt(_0x438dd5(0x26d))/0xa);if(_0x1426f0===_0x9daf91)break;else _0x16967f['push'](_0x16967f['shift']());}catch(_0x563116){_0x16967f['push'](_0x16967f['shift']());}}}(_0x404d,0xbd383));import _0x3ec399 from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0xf7bbe5=_0x508c,_0x253679={'FPtGn':function(_0x1b66df,_0x443d40){return _0x1b66df(_0x443d40);},'lobYb':_0xf7bbe5(0x1c3),'LRqKn':function(_0x3145e5,_0x54bdd7,_0x22ba84){return _0x3145e5(_0x54bdd7,_0x22ba84);},'JxPNe':_0xf7bbe5(0x28d),'AHpye':function(_0x56f8b3,_0x8e33d8){return _0x56f8b3(_0x8e33d8);}};let _0x282ce6=process[_0xf7bbe5(0x241)]();const _0x14396b=_0x253679[_0xf7bbe5(0x1ca)](parse,_0x282ce6)['root'];while(_0x282ce6!==_0x14396b){if(existsSync(join(_0x282ce6,_0x253679['lobYb']))||existsSync(_0x253679['LRqKn'](join,_0x282ce6,_0x253679[_0xf7bbe5(0x2dd)])))return _0x282ce6;_0x282ce6=_0x253679['AHpye'](dirname,_0x282ce6);}return process[_0xf7bbe5(0x241)]();}_0x3ec399[_0x4cf02b(0x293)]({'path':join(findProjectRoot(),'.env')});import _0x49af1a from'yargs/yargs';import{addEnv,clean,login,start,setupCi,useEnv,deleteProfile,updateEnv,update,skillup,envList,hook,ensureLocalEnv,ensureChromium,authenticate,migrateProfile}from'./commands/index.js';function _0x508c(_0x1a70bb,_0x3f17bf){_0x1a70bb=_0x1a70bb-0x163;const _0x404dd4=_0x404d();let _0x508cbf=_0x404dd4[_0x1a70bb];return _0x508cbf;}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 _0x3243f7=>{const _0x4f8438=_0x4cf02b,_0x1d7898={'tMYBx':function(_0x3812f4){return _0x3812f4();}},_0x11b979=_0x1d7898[_0x4f8438(0x226)](getCurrentCollector);_0x11b979&&await _0x11b979[_0x4f8438(0x2fa)](_0x3243f7),process[_0x4f8438(0x29b)]=0x1;});const rawArgs=process['argv'][_0x4cf02b(0x23d)](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=_0x4cf02b(0x1a4),PROFILE_CONFIG_HELP=_0x4cf02b(0x2f9);function warnRenamed(_0x14acf1,_0x205b72){const _0x1e80d4=_0x4cf02b;console[_0x1e80d4(0x2ae)]('\x0a'+_0x14acf1+'\x20is\x20now\x20'+_0x205b72+'\x0a');}function argUsed(_0x47d8a5){return rawArgs['some'](_0x3c1472=>_0x3c1472===_0x47d8a5||_0x3c1472['startsWith'](_0x47d8a5+'='));}function warnFlagRenamed(_0xdff415,_0x5c54d2,_0x47a1ea){const _0x85c20c={'QPniB':function(_0x3aacff,_0x1d80f3){return _0x3aacff(_0x1d80f3);}};_0x85c20c['QPniB'](argUsed,_0x5c54d2)&&warnRenamed(_0xdff415+'\x20'+_0x5c54d2,_0xdff415+'\x20'+_0x47a1ea);}function _0x404d(){const _0x51ab58=['Enable\x20Ranger\x20hooks\x20for\x20this\x20session','list\x20<profile>','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','SdvuM','Nxtej','rBeVB','manual','cZyOV','LueBH','unset\x20<env>\x20<key>','positional','exclude-scenario','PZKEy','ZtKRW','edit-scenario','tFIFC','ranger\x20feature\x20restore','update\x20<env-name>','20ZXYLVy','tQzss','nqzQn','not_configured','Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','KObNg','2008628NdGugM','profile\x20config\x20get','HGZrE','sDiJI','ngIRM','CQZGC','project','OUbSt','hclJk','You\x20must\x20specify\x20an\x20env\x20subcommand','version','status','xldDV','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','--checklist','cAeYj','list','uifCj','ranger\x20profile\x20encrypt-auth','env\x20list','bMiOf','njIFG','Name\x20of\x20the\x20profile\x20to\x20update','BidWj','tOpoh','.env','jOqzU','set\x20<profile>\x20<key>\x20<value>','HapXx','CeWOY','Skip\x20authentication','config','get\x20<profile>\x20<key>','config\x20list','amMPD','array','token','Ranger\x20API\x20token','Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','exitCode','Feature\x20review\x20description','Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a','hyMOM','item','Update\x20authentication\x20for\x20an\x20existing\x20profile','OvEEq','mlLBd','YMcgA','notes','EdTGn','checklist','gWNiP','setup-header','78pdUaNa','yes','ePfzX','Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','bWSjj','error','qXQHT','Documentation:\x0a','Restore\x20a\x20soft-deleted\x20feature\x20review','INqvh','Reason:\x20','RANGER_PROFILE','zjlhO','print-access-token','fTRDS','gYQFi','ranger\x20profile\x20use','argv','QtyWq','AjVpP','ranger\x20verify-feature','session-id','resume\x20[id]','ZUJQf','\x0aError:\x20','clean','add-scenario','SGaWU','feature\x20list','profile','flatMap','dJFZy','XTFDU','Summary:\x20','RHAgP','lHhBg','FFIgv','test_output','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','3875736KYxDSg','option','NGaIF','get-feedback\x20[id]','Skip\x20interactive\x20confirmation\x20prompts.','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','dZHZi','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','split','jFQOq','Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','ABrpq','pBOYp','JxPNe','Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','--scenario','kjZgS','help','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','exit','PFzhI','NMOrM','ikaph','value','ranger\x20resume','BPIQd','qUqDr','profile\x20config\x20set','ONpIS','config\x20set','create','filter','verified','debug-address-comments','lVPOg','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','Name\x20of\x20the\x20environment','force','env-name','UZSyY','Auth\x20environment\x20key\x20for\x20ad-hoc\x20profile\x20resolution\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Use\x20with\x20RANGER_TEST_USERNAME.\x20Also\x20respects\x20RANGER_AUTH_ENV.','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','trackCommandError','auth','You\x20must\x20specify\x20a\x20command','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','ranger\x20env\x20ls','CPIDa','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','RxRTq','wtlBe','MFbtc','iYSAY','JcBwX','VRfTm','dEnom','XKMQO','\x20is\x20no\x20longer\x20supported.\x20','NaOfS','Feature\x20review\x20ID\x20to\x20restore','delete\x20<profile-name>','KMThv','Cloud\x20profile\x20name','add-scenario\x20<description>','rSjqY','--notes','leoCW','skillup','kkpdj','kcoSl','pOgYL','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','rqbqz','XhbIs','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review','CWjvc','QrYuB','skip-auth','command','name','EBoix','--item','Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ymeQF','RANGER_TEST_PASSWORD','update\x20<profile-name>','mtthq','Install\x20Claude\x20Code\x20plugin\x20and\x20skills','ranger\x20config\x20unset','NoYMC','Manage\x20profiles','dry-run','Include\x20soft-deleted\x20feature\x20reviews','sRsRx','log','Run\x20full\x20interactive\x20setup','gaXlv','ranger\x20restore','deps','WOyrz','Subcommand\x20or\x20API\x20token\x20(rngr_...)','scenario','task','hcGoD','Add\x20profile\x20configuration','5698435vvoLeB','RANGER_AUTH_ENV','XbKbU','\x0aUnknown\x20command:\x20','XpUWs','mhHvz','Scenario\x20number\x20to\x20edit\x20(1-based)','Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','mcp-bootstrap','RaMDX','hImNn','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','VvzwN','nMeFo','ZQtCb','rgYtZ','ranger\x20add\x20env','key','NJNjs','start\x20[token]','gKmcr','unset\x20<profile>\x20<key>','uGJxz','vnCKf','wwACK','reOBr','Kogmp','environment-variable','blocked','config\x20unset','verify-feature','Config\x20key','demandCommand','reset\x20<profile>','LDnma','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','alias','aqnDZ','2300157cVjNDw','olsdY','epilogue','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','gufDi','use\x20<env-name>','Install\x20Chromium\x20browser\x20binary','HhCtB','\x27.\x20Session\x20saved.','unknown\x20error','Config\x20value','HkBzK','4xgCRxF','ORbGe','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','rangerwright-cli','get\x20<env>\x20<key>','bjVmM','vowjZ','kMNJk','issues','zNOrv','zFBbl','660832BDRwmZ','FkUaS','hook:disable','gkMeb','string','ranger','PQUhI','allow-insecure-localhost','qCeOi','VKKGM','start-path','zFRkD','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','TrXTm','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','Profile\x20name','Initialize\x20Ranger\x20in\x20your\x20project','ranger\x20start','AmHXk','njDtY','QwxPg','UbOCq','use','GubDw','report','evaluation','length','json','profile\x20login','url','number','List\x20all\x20config\x20for\x20a\x20profile','aTmMm','tUzKi','527247oXzyJc','Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','NIAnl','rqUao','base-url','AfNjO','SReZx','UnuPm','WIfmA','.ranger','FvLWy','add\x20env\x20<env-name>','boolean','OwZYC','incomplete','ranger\x20profile\x20config\x20unset','FPtGn','NTYHa','show\x20[id]','NyNNn','CkKgX','DeFyO','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','EhSPQ','ranger\x20config\x20get','mzuCk','env','\x20INCOMPLETE','List\x20all\x20feature\x20reviews','include-deleted','limit','headed','qUeyD','RANGER_TEST_USERNAME','ePvja','Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','VSxtF','bqPpP','ranger\x20list','description','profile-name','scope','partial','message','Task\x20description\x20(defaults\x20to\x20scenario\x20description)','eIlSC','ABSCL','feature\x20resume','lnQKr','rOMZS','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','CqFPj','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','setup:deps','env-var','profile\x20migrate','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','encrypt-auth\x20<profile>','rrJuy','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','Set\x20a\x20config\x20value','env\x20update','get-review\x20[id]','Number\x20of\x20feature\x20reviews\x20to\x20skip','\x20VERIFIED','Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','--profile','feature\x20show','ranger\x20feature\x20add-checklist-item','You\x20must\x20specify\x20a\x20config\x20subcommand','skip-chromium','Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login','mcp','YLQMd','opencode','Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','327082ICRBNH','offset','bpEry','Skip\x20Chromium\x20browser\x20installation','show','Optional\x20feature\x20ID','evaluationReason','qREHc','KwItc','Environment\x20name','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','coIrh','opOZm','NzNlD','ranger\x20show','fioMd','LSGvP','profile\x20delete','Install\x20OS-level\x20dependencies\x20for\x20Chromium','PfLgX','qZwGD','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','Unknown\x20command','PSpjr','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)','repeat','cdp-endpoint','save-creds','oVfpB','✓\x20Authenticated\x20to\x20','tMYBx','fMyUY','DAjuk','with-deps','Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','CFdBB','ijHHI','Install\x20scope\x20for\x20plugin\x20and\x20skills','fkxWE','ZfeYB','ranger\x20env\x20update','GbjNl','EDhdy','DTANL','Name\x20of\x20the\x20profile','get-review','VGHtm','map','jknYG','cGrCX','setup\x20[tokenOrSubcommand]','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','ranger\x20profile\x20config\x20get','slice','iCuiy','Feature\x20review\x20ID','profile\x20config\x20reset','cwd','config\x20get','organizationName','gMKHz','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','\x20BLOCKED','kLVPb','usage','parse','NacPD','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','tokenOrSubcommand','GiZaN','add\x20<profile-name>','fZRNi','viflI','all','CVeeD','ranger\x20profile\x20add','setup:all','tWSMp','ZLHah','user','iGlCJ','Scenario\x20description','RMBkk'];_0x404d=function(){return _0x51ab58;};return _0x404d();}function normalizeEnvVarNames(_0x33b1ad){const _0x407671=_0x4cf02b,_0x38fe8f=Array['isArray'](_0x33b1ad)?_0x33b1ad:_0x33b1ad?[_0x33b1ad]:[];return _0x38fe8f[_0x407671(0x2c7)](_0x2f5276=>String(_0x2f5276)[_0x407671(0x2d8)](',')[_0x407671(0x237)](_0x1edc7d=>_0x1edc7d['trim']())[_0x407671(0x2ef)](Boolean));}async function runGoCommand(_0x3d37a0,_0x455ee7=![]){const _0x1e87a4=_0x4cf02b,_0x1f0be1={'sDiJI':function(_0x5a47dc,_0x1ca250,_0x170226){return _0x5a47dc(_0x1ca250,_0x170226);},'cZyOV':'ranger\x20verify-feature','OUbSt':'ranger\x20go','HapXx':_0x1e87a4(0x1fe),'qMeao':_0x1e87a4(0x311),'VRMiX':'--scenario','HMJkH':function(_0x155a10,_0x2392dd){return _0x155a10(_0x2392dd);},'loXer':function(_0x390cc0){return _0x390cc0();},'Tdhhu':function(_0x38b0df,_0x14b6e7){return _0x38b0df>_0x14b6e7;},'AfNjO':'playwright-cli','WNuQL':_0x1e87a4(0x1a2),'Efhpe':'base-url','gkMeb':'debug-outcome','LSGvP':'allow-url-mismatch','NoEfr':function(_0xf60d3f,_0x29a4ba){return _0xf60d3f+_0x29a4ba;},'njDtY':function(_0x3f466e,_0x40077f){return _0x3f466e===_0x40077f;},'VKKGM':_0x1e87a4(0x2f0),'jERpA':_0x1e87a4(0x1fc),'aqnDZ':'\x20PARTIAL','tFIFC':'blocked','uBTlc':_0x1e87a4(0x246),'SdvuM':'\x20FAILED'};_0x455ee7&&(_0x1f0be1[_0x1e87a4(0x276)](warnRenamed,_0x1f0be1[_0x1e87a4(0x262)],_0x1f0be1[_0x1e87a4(0x27a)]),warnFlagRenamed(_0x1e87a4(0x2bd),'--env',_0x1f0be1[_0x1e87a4(0x290)]));warnFlagRenamed(_0x1f0be1[_0x1e87a4(0x27a)],'--task',_0x1f0be1['qMeao']),warnFlagRenamed(_0x1f0be1['OUbSt'],_0x1e87a4(0x321),_0x1f0be1['VRMiX']);const _0x1fe04e=await loadRangerConfig(),_0x657f51=isByokEnabled(),_0x1a572a=_0x3d37a0['model'],_0x3e885a=_0x1fe04e['model'],_0x343049=_0x1f0be1['HMJkH'](normalizeEnvVarNames,_0x3d37a0[_0x1e87a4(0x1f1)]),_0x505f8b=_0x1f0be1['loXer'](getVerificationTransport);if(_0x1f0be1['Tdhhu'](_0x343049[_0x1e87a4(0x1b2)],0x0)&&_0x505f8b!==_0x1f0be1[_0x1e87a4(0x1bf)]&&_0x505f8b!==_0x1e87a4(0x190))throw new Error('The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20'+_0x505f8b+'.');const _0x17e75b=await verifyFeature({'featureId':_0x3d37a0['feature'],'profile':_0x3d37a0['profile']??(_0x455ee7?_0x3d37a0['env']:undefined)??process['env'][_0x1e87a4(0x2b4)],'authEnv':_0x455ee7?undefined:_0x3d37a0['env']??process[_0x1e87a4(0x1d5)][_0x1e87a4(0x33a)],'notes':_0x3d37a0[_0x1e87a4(0x2a4)]??_0x3d37a0[_0x1e87a4(0x336)],'check':_0x3d37a0['check'],'scenario':_0x3d37a0['scenario']??_0x3d37a0[_0x1e87a4(0x29f)],'startPath':_0x3d37a0[_0x1f0be1['WNuQL']],'baseUrl':_0x3d37a0[_0x1f0be1['Efhpe']],'debugOutcome':_0x3d37a0[_0x1f0be1[_0x1e87a4(0x19b)]],'debugAddressComments':_0x3d37a0[_0x1e87a4(0x2f1)],'headed':_0x3d37a0[_0x1e87a4(0x1da)],'verifierEnvVars':_0x343049,'allowUrlMismatch':_0x3d37a0[_0x1f0be1[_0x1e87a4(0x218)]],'byokEnabled':_0x657f51,'flagVerifyModel':_0x1a572a,'configVerifyModel':_0x3e885a});console['log'](_0x1f0be1['NoEfr']('\x0a','='[_0x1e87a4(0x221)](0x3c))),console['log'](_0x1f0be1[_0x1e87a4(0x1ab)](_0x17e75b[_0x1e87a4(0x1b1)],_0x1f0be1[_0x1e87a4(0x1a1)])?_0x1f0be1['jERpA']:_0x17e75b['evaluation']==='incomplete'?_0x1e87a4(0x1d6):_0x1f0be1['njDtY'](_0x17e75b['evaluation'],_0x1e87a4(0x1e5))?_0x1f0be1[_0x1e87a4(0x17f)]:_0x17e75b['evaluation']===_0x1f0be1[_0x1e87a4(0x26a)]?_0x1f0be1['uBTlc']:_0x1f0be1[_0x1e87a4(0x25e)]),console[_0x1e87a4(0x32e)]('='['repeat'](0x3c)),console['log'](_0x1e87a4(0x2ca)+_0x17e75b['summary']),console[_0x1e87a4(0x32e)]('Evaluation:\x20'+_0x17e75b[_0x1e87a4(0x1b1)]),console['log'](_0x1e87a4(0x2b3)+_0x17e75b[_0x1e87a4(0x20e)]),_0x17e75b['issues']?.['length']&&(console['log']('\x0aIssues:'),_0x17e75b[_0x1e87a4(0x195)]['forEach']((_0x4efc28,_0x5b8f8b)=>{const _0x411cc8=_0x1e87a4;console[_0x411cc8(0x32e)]('\x0a'+(_0x5b8f8b+0x1)+'.\x20['+_0x4efc28['severity']+']\x20'+_0x4efc28['description']);})),process['exit'](_0x17e75b['evaluation']===_0x1f0be1[_0x1e87a4(0x1a1)]?0x0:0x1);}export function buildParser(_0x460ffe){const _0x38eff1=_0x4cf02b,_0x3ab7ba={'nqzQn':'string','qUqDr':_0x38eff1(0x29c),'MFbtc':'scenario','KMThv':_0x38eff1(0x297),'OwZYC':function(_0x212a44,_0x2d04bf){return _0x212a44+_0x2d04bf;},'CPIDa':'ranger\x20create','dJFZy':_0x38eff1(0x2df),'rqbqz':function(_0x1e0e3c,_0x3b4c5c,_0x5d784f){return _0x1e0e3c(_0x3b4c5c,_0x5d784f);},'ekNVP':_0x38eff1(0x2ee),'cGrCX':'boolean','CozEp':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','gWutI':_0x38eff1(0x24b),'XpUWs':_0x38eff1(0x209),'qrCah':_0x38eff1(0x1d8),'SReZx':_0x38eff1(0x32c),'fTRDS':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','iDxTX':_0x38eff1(0x2c3),'MVruF':_0x38eff1(0x1e2),'RxRTq':'number','QNEXC':_0x38eff1(0x33f),'yyNQx':_0x38eff1(0x269),'fZRNi':_0x38eff1(0x266),'mhHvz':_0x38eff1(0x25d),'lHhBg':_0x38eff1(0x2ac),'sVdbD':_0x38eff1(0x1b0),'djOkN':_0x38eff1(0x235),'bpEry':'Feature\x20review\x20ID','ZUJQf':function(_0x1d780e,_0x50b2b1,_0x367b11){return _0x1d780e(_0x50b2b1,_0x367b11);},'wFyEw':'delete','xldDV':'Feature\x20review\x20ID\x20to\x20restore','HkBzK':'token','CqFPj':_0x38eff1(0x202),'ngIRM':_0x38eff1(0x1ef),'ORbGe':_0x38eff1(0x31d),'LDnma':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','VaRhZ':'url','rgYtZ':_0x38eff1(0x165),'RMBkk':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','NaOfS':'opencode','mrOHQ':_0x38eff1(0x183),'jFQOq':'mcp-bootstrap','wwACK':_0x38eff1(0x1ed),'JcBwX':'mcp','ONpIS':function(_0xbb7c56,_0xea2d74,_0x3d49c0){return _0xbb7c56(_0xea2d74,_0x3d49c0);},'ApZYg':_0x38eff1(0x1f0),'vTOnR':'Ranger\x20API\x20token\x20(rngr_...)','YOdji':function(_0x145665,_0x4a4e77,_0x115fec){return _0x145665(_0x4a4e77,_0x115fec);},'tOpoh':function(_0x595e89,_0x42a623){return _0x595e89!==_0x42a623;},'mlLBd':_0x38eff1(0x257),'Nxtej':'setup:profiles','PZKEy':_0x38eff1(0x1e4),'RwtJe':_0x38eff1(0x251),'reOBr':_0x38eff1(0x187),'leoCW':_0x38eff1(0x327),'INqvh':_0x38eff1(0x2f5),'TNeAb':_0x38eff1(0x184),'gufDi':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','NzNlD':'with-deps','qREHc':function(_0x102f43,_0x6f1f20,_0x540877){return _0x102f43(_0x6f1f20,_0x540877);},'YMcgA':'CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','zmGcj':_0x38eff1(0x20b),'rwODp':'login','NyNNn':'Install\x20skills\x20for\x20OpenCode','kjZgS':'skillup','GiZaN':'clean','ndBde':'profile\x20add','oyEQQ':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','YSxTH':'Skip\x20the\x20deletion\x20confirmation\x20prompt.','PFpHp':_0x38eff1(0x2fd),'fMyUY':_0x38eff1(0x32b),'euFdy':_0x38eff1(0x2aa),'JRIiv':_0x38eff1(0x1f2),'dgXwk':'Profile\x20name','NGaIF':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','qOxTp':_0x38eff1(0x2e7),'rqUao':'profile\x20config\x20list','BaKet':_0x38eff1(0x28f),'WXypy':'Get\x20a\x20config\x20value','dylxQ':_0x38eff1(0x1b7),'NoYMC':'Remove\x20a\x20config\x20value','PXQDu':'You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','odpKX':_0x38eff1(0x1e3),'YLQMd':'setup-header','CQZGC':'manual','sRsRx':function(_0x161ebe,_0x245314,_0x3f7451){return _0x161ebe(_0x245314,_0x3f7451);},'ijHHI':_0x38eff1(0x18a),'NJNjs':_0x38eff1(0x2eb),'njIFG':function(_0x359162,_0x495cd2,_0xf90aa4){return _0x359162(_0x495cd2,_0xf90aa4);},'nEtlP':_0x38eff1(0x24e),'DeFyO':'use\x20<profile-name>','qXQHT':_0x38eff1(0x30c),'ufvWM':'Delete\x20a\x20cloud\x20profile','CQQBd':_0x38eff1(0x1f5),'cqvhE':'List\x20all\x20profiles','eIlSC':_0x38eff1(0x325),'pOgYL':'config','hoZcc':'Manage\x20profile\x20configuration','ZtKRW':'You\x20must\x20specify\x20a\x20profile\x20subcommand','ABSCL':_0x38eff1(0x27e),'OZAyP':function(_0x430c5b,_0x38df69,_0x3817c1){return _0x430c5b(_0x38df69,_0x3817c1);},'kTOLp':'update','vnCKf':function(_0x289c51){return _0x289c51();},'bjVmM':function(_0x163b76,_0xa32239,_0x2862eb){return _0x163b76(_0xa32239,_0x2862eb);},'dEnom':_0x38eff1(0x2b6),'bcjim':'feature','cbsGa':'profile','zNOrv':_0x38eff1(0x317),'dZHZi':'notes','bWSjj':_0x38eff1(0x2de),'WVxVC':'check','FFIgv':'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`.','cAeYj':'Scenario\x20index\x20(1-based)','tQzss':'start-path','kLVPb':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','xPYJh':_0x38eff1(0x1be),'EDhdy':'model','wnpQO':_0x38eff1(0x17d),'KObNg':'partial','JuBai':'blocked','qUeyD':_0x38eff1(0x1c8),'bEuCe':_0x38eff1(0x2f1),'ZQtCb':'env','FNjWh':'task','WIfmA':_0x38eff1(0x29f),'dYKtB':function(_0x54fa47,_0x55a688){return _0x54fa47(_0x55a688);},'BqGkK':function(_0x126f61,_0x2dd0e7,_0x442369){return _0x126f61(_0x2dd0e7,_0x442369);},'fkxWE':function(_0xfd6f18,_0x1a354e){return _0xfd6f18(_0x1a354e);},'yVTbN':'encrypt\x20<profile>','aTmMm':_0x38eff1(0x292),'DTANL':_0x38eff1(0x21a),'SqbJr':'ranger\x20setup','skVvm':_0x38eff1(0x220),'QtyWq':_0x38eff1(0x1f1),'ummxU':_0x38eff1(0x175),'KwItc':_0x38eff1(0x2f0),'KzIII':'failed','UxTak':_0x38eff1(0x1f4),'FvLWy':'Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','EdTGn':function(_0x3844f8,_0x7f530,_0x5678e8){return _0x3844f8(_0x7f530,_0x5678e8);},'oFskZ':'env-name','iSSuY':function(_0x4801e3,_0x26908d,_0x5eecc6){return _0x4801e3(_0x26908d,_0x5eecc6);},'ORfAr':_0x38eff1(0x1ae),'YFEKO':function(_0x4c11af,_0x246996,_0x324160){return _0x4c11af(_0x246996,_0x324160);},'ymeQF':'ranger\x20config\x20set','pBOYp':function(_0x18635e,_0xd16752,_0x4ed130){return _0x18635e(_0xd16752,_0x4ed130);},'MDaQF':_0x38eff1(0x2ed),'CAUeD':'key','EBoix':function(_0xfab2e3,_0x11e344,_0x425ba4){return _0xfab2e3(_0x11e344,_0x425ba4);},'BidWj':'Environment\x20name','wSizo':'Config\x20key\x20to\x20remove','PZlSk':_0x38eff1(0x18b),'lnQKr':_0x38eff1(0x328),'tWSMp':_0x38eff1(0x1c9),'VRfTm':_0x38eff1(0x177),'ePvja':'set\x20<env>\x20<key>\x20<value>','NTYHa':_0x38eff1(0x191),'mtthq':'list\x20<env>','ZLHah':'Name\x20of\x20the\x20environment\x20to\x20update','krPZh':_0x38eff1(0x287),'nbiVO':_0x38eff1(0x230),'NcgIG':'ranger\x20profile\x20update','GjAyW':_0x38eff1(0x27c),'SroHx':function(_0x273dda,_0x49e31e,_0x2a287c){return _0x273dda(_0x49e31e,_0x2a287c);},'gKmcr':'ranger\x20feature\x20create','rrJuy':'feature\x20create','vowjZ':'Feature\x20review\x20name','ePfzX':_0x38eff1(0x1e1),'pLBhW':'ranger\x20feature\x20show','DAjuk':'Scenario\x20description','huPxz':'ranger\x20delete','XbKbU':_0x38eff1(0x26b),'qcCEs':_0x38eff1(0x331),'UKjqr':'create\x20<name>','SGaWU':_0x38eff1(0x284),'TarGv':_0x38eff1(0x2bf),'Xagxc':'session-id','jknYG':function(_0x1bcba6,_0x580469,_0xf87944){return _0x1bcba6(_0x580469,_0xf87944);},'QrYuB':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','rBeVB':_0x38eff1(0x25b),'NthNJ':'disable','mKJUD':_0x38eff1(0x31f),'xsqrS':function(_0x8f69f9,_0x350d65,_0x514395){return _0x8f69f9(_0x350d65,_0x514395);},'aZxBQ':_0x38eff1(0x21e),'bqPpP':_0x38eff1(0x29d),'yCano':'Unknown\x20error','NIAnl':function(_0x57abc7,_0x9bc7c9){return _0x57abc7(_0x9bc7c9);},'uGQff':_0x38eff1(0x19d),'Kogmp':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','PwfGO':_0x38eff1(0x1d7),'rOMZS':_0x38eff1(0x1cc),'hcGoD':_0x38eff1(0x1de),'opOZm':_0x38eff1(0x245),'oVfpB':'edit-scenario\x20<description>','GubDw':_0x38eff1(0x31a),'gYQFi':'report\x20[id]','PQUhI':_0x38eff1(0x21d),'wtlBe':_0x38eff1(0x1fa),'bBiNa':'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios','VvzwN':_0x38eff1(0x2d5),'hclJk':'restore\x20<id>','VSxtF':_0x38eff1(0x2b1),'Bgquv':_0x38eff1(0x23a),'xKNvG':_0x38eff1(0x1a8),'EFjCs':'Install\x20Ranger\x20skills','gnWuP':'profiles','OvEEq':'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)','GbjNl':'Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.','DgBZZ':_0x38eff1(0x2fb),'kXxwb':_0x38eff1(0x178),'gMKHz':_0x38eff1(0x186),'fioMd':function(_0x1208ef,_0x35d86f){return _0x1208ef+_0x35d86f;},'CVeeD':function(_0x2fb055,_0x5b9c5e){return _0x2fb055+_0x5b9c5e;},'RaMDX':'\x20\x20https://docs.ranger.net\x0a'};return _0x3ab7ba[_0x38eff1(0x1bc)](_0x49af1a,_0x460ffe??process[_0x38eff1(0x2ba)][_0x38eff1(0x23d)](0x2))['scriptName'](_0x3ab7ba['uGQff'])['usage'](TOP_LEVEL_HELP)[_0x38eff1(0x27d)](_0x3ab7ba[_0x38eff1(0x171)](getCurrentVersion))[_0x38eff1(0x31e)]('create\x20<name>',_0x3ab7ba[_0x38eff1(0x174)],_0x51f89a=>{const _0xf7dd32=_0x38eff1;return _0x51f89a[_0xf7dd32(0x265)](_0xf7dd32(0x31f),{'type':_0x3ab7ba['nqzQn'],'description':'Feature\x20review\x20name','demandOption':!![]})['option'](_0xf7dd32(0x1e2),{'type':_0x3ab7ba[_0xf7dd32(0x26f)],'alias':'d','description':_0x3ab7ba[_0xf7dd32(0x2ea)]})['option'](_0x3ab7ba[_0xf7dd32(0x303)],{'type':_0x3ab7ba[_0xf7dd32(0x30d)],'alias':'c','description':_0xf7dd32(0x29a)})['option']('checklist',{'type':_0x3ab7ba['KMThv'],'hidden':!![]});},async _0x3d539b=>{const _0x15242d=_0x38eff1;if(!_0x3d539b['name']){console['error'](_0x3ab7ba['OwZYC']('Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed(_0x3ab7ba['CPIDa'],'--checklist',_0x3ab7ba['dJFZy']);const _0x15bc21=_0x3d539b[_0x15242d(0x335)]||_0x3d539b['checklist'];await _0x3ab7ba['rqbqz'](withTelemetry,_0x3ab7ba['ekNVP'],()=>featureCreate(_0x3d539b['name'],{'description':_0x3d539b['description'],'scenarios':_0x15bc21}));})['command']('list',_0x3ab7ba['PwfGO'],_0x31c5a3=>{const _0x26d215=_0x38eff1;return _0x31c5a3[_0x26d215(0x2d1)]('current-branch',{'type':_0x3ab7ba['cGrCX'],'description':_0x3ab7ba['CozEp']})['option']('limit',{'type':'number','alias':'l','description':_0x3ab7ba['gWutI'],'default':0xa})[_0x26d215(0x2d1)](_0x3ab7ba[_0x26d215(0x33d)],{'type':'number','alias':'o','description':_0x26d215(0x1fb),'default':0x0})[_0x26d215(0x2d1)](_0x3ab7ba['qrCah'],{'type':'boolean','alias':'d','description':_0x3ab7ba['SReZx'],'default':![]});},async _0x387b37=>{const _0x5a5075=_0x38eff1;await _0x3ab7ba['rqbqz'](withTelemetry,_0x5a5075(0x284),()=>featureList({'currentBranch':_0x387b37['current-branch'],'limit':_0x387b37[_0x5a5075(0x1d9)],'offset':_0x387b37[_0x5a5075(0x209)],'includeDeleted':_0x387b37['include-deleted']}));})['command'](_0x3ab7ba[_0x38eff1(0x1ec)],_0x38eff1(0x271),_0x221de9=>{return _0x221de9['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x47258d=>{const _0x1dd358=_0x38eff1;await withTelemetry(_0x1dd358(0x20c),()=>featureShow(_0x47258d['id']));})['command']('resume\x20[id]',_0x3ab7ba[_0x38eff1(0x337)],_0x113300=>{const _0x2e219a=_0x38eff1;return _0x113300['positional']('id',{'type':'string','description':_0x2e219a(0x280)});},async _0x130458=>{await withTelemetry('resume',()=>featureResume(_0x130458['id']));})['command'](_0x38eff1(0x30f),_0x3ab7ba[_0x38eff1(0x214)],_0x3ccf98=>{const _0x13951d=_0x38eff1;return _0x3ccf98['positional'](_0x13951d(0x1e2),{'type':_0x13951d(0x19c),'description':_0x13951d(0x259),'demandOption':!![]})[_0x13951d(0x2d1)]('id',{'type':_0x3ab7ba[_0x13951d(0x26f)],'description':_0x3ab7ba[_0x13951d(0x2b7)]});},async _0x2e703a=>{await withTelemetry(_0x3ab7ba['iDxTX'],()=>featureAddScenario(_0x2e703a['description'],_0x2e703a['id']));})['command'](_0x3ab7ba[_0x38eff1(0x224)],_0x3ab7ba[_0x38eff1(0x1af)],_0x3c1d40=>{const _0x557b8a=_0x38eff1;return _0x3c1d40[_0x557b8a(0x265)](_0x3ab7ba['MVruF'],{'type':'string','description':'New\x20scenario\x20description','demandOption':!![]})['option']('scenario',{'type':_0x3ab7ba['RxRTq'],'description':_0x3ab7ba['QNEXC'],'demandOption':!![]})[_0x557b8a(0x2d1)]('id',{'type':_0x3ab7ba[_0x557b8a(0x26f)],'description':_0x3ab7ba[_0x557b8a(0x2b7)]});},async _0x270319=>{const _0x5ef3b1=_0x38eff1;await withTelemetry(_0x3ab7ba['yyNQx'],()=>featureEditScenario(_0x270319['description'],{'id':_0x270319['id'],'scenario':_0x270319[_0x5ef3b1(0x335)]}));})['command'](_0x3ab7ba[_0x38eff1(0x2b8)],_0x3ab7ba[_0x38eff1(0x19e)],_0x35e9ab=>{const _0x396a9e=_0x38eff1;return _0x35e9ab['positional']('id',{'type':_0x396a9e(0x19c),'description':'Feature\x20review\x20ID'})['option'](_0x3ab7ba['fZRNi'],{'type':_0x3ab7ba[_0x396a9e(0x30d)],'description':_0x3ab7ba[_0x396a9e(0x33e)]})['option']('json',{'type':_0x3ab7ba[_0x396a9e(0x239)],'description':_0x3ab7ba[_0x396a9e(0x2cc)],'default':![]});},async _0x4f2f2e=>{const _0x2ac4d8=_0x38eff1,_0x40ed60=_0x4f2f2e[_0x3ab7ba[_0x2ac4d8(0x24f)]],_0xc14a46=_0x40ed60?_0x40ed60['map'](_0x5e832a=>Number(_0x5e832a)):undefined;await _0x3ab7ba[_0x2ac4d8(0x318)](withTelemetry,_0x3ab7ba['sVdbD'],()=>featureReportPrDescription(_0x4f2f2e['id'],{'excludeScenarios':_0xc14a46,'json':_0x4f2f2e[_0x2ac4d8(0x1b3)]}));})['command'](_0x3ab7ba[_0x38eff1(0x302)],_0x3ab7ba['bBiNa'],_0x3c5b0c=>{const _0x2c66bd=_0x38eff1;return _0x3c5b0c[_0x2c66bd(0x265)]('id',{'type':'string','description':_0x2c66bd(0x300)});},async _0x18099b=>{await _0x3ab7ba['rqbqz'](withTelemetry,_0x3ab7ba['djOkN'],()=>featureGetReview(_0x18099b['id']));})['command']('delete\x20[id]',_0x3ab7ba[_0x38eff1(0x166)],_0x10aa76=>{const _0x43600c=_0x38eff1;return _0x10aa76[_0x43600c(0x265)]('id',{'type':'string','description':_0x3ab7ba[_0x43600c(0x20a)]});},async _0x54a35a=>{await _0x3ab7ba['ZUJQf'](withTelemetry,_0x3ab7ba['wFyEw'],()=>featureDelete(_0x54a35a['id']));})[_0x38eff1(0x31e)](_0x3ab7ba[_0x38eff1(0x27b)],_0x3ab7ba[_0x38eff1(0x1df)],_0x2d9de7=>{const _0x43b145=_0x38eff1;return _0x2d9de7[_0x43b145(0x265)]('id',{'type':_0x43b145(0x19c),'description':_0x3ab7ba[_0x43b145(0x27f)],'demandOption':!![]});},async _0x5a4acb=>{await withTelemetry('restore',()=>featureRestore(_0x5a4acb['id']));})[_0x38eff1(0x31e)](_0x3ab7ba['Bgquv'],_0x3ab7ba['xKNvG'],_0x1cfec2=>{const _0x4efda4=_0x38eff1,_0x508c08={'LlgJE':'mcp-bootstrap','sFvwn':function(_0x44d97b,_0x5621b3,_0x4c287c){return _0x44d97b(_0x5621b3,_0x4c287c);},'CWjvc':function(_0x28ee01,_0x5a83d8,_0x2245a8){return _0x28ee01(_0x5a83d8,_0x2245a8);},'BPIQd':_0x4efda4(0x1d0),'vKEgW':function(_0x30260f){return _0x30260f();},'GpzvM':_0x4efda4(0x281),'viflI':function(_0x250d89,_0x13b2f4){return _0x250d89(_0x13b2f4);},'ErsVM':_0x3ab7ba['PZKEy'],'jOqzU':_0x4efda4(0x19c),'zFBbl':_0x4efda4(0x257),'iCuiy':_0x4efda4(0x279),'UZSyY':_0x4efda4(0x1c6),'kMNJk':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','UbOCq':'Base\x20URL\x20of\x20the\x20running\x20app','XTFDU':_0x3ab7ba[_0x4efda4(0x18e)]};return _0x1cfec2['usage']('Usage:\x20ranger\x20setup\x20<command>\x20[options]\x0a\x0aCommands:\x0a\x20\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(default\x20when\x20no\x20subcommand\x20given)\x0a\x20\x20deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20browser\x20binary\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20skills\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20profiles\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set\x20up\x20a\x20local\x20browser\x20profile\x0a\x0aRun\x20`ranger\x20setup\x20<command>\x20--help`\x20for\x20details.\x0a\x0aExamples:\x0a\x20\x20ranger\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Interactive\x20first-time\x20setup\x0a\x20\x20ranger\x20setup\x20deps\x20--with-deps\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Chromium\x20+\x20OS\x20deps\x20(Dockerfile)\x0a\x20\x20ranger\x20setup\x20login\x20--mcp\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Authenticate\x20via\x20MCP\x20proxy\x0a\x20\x20ranger\x20setup\x20skills\x20--scope\x20user\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20skills\x20at\x20user\x20level')[_0x4efda4(0x265)]('tokenOrSubcommand',{'type':_0x3ab7ba[_0x4efda4(0x26f)],'description':_0x4efda4(0x334)})['command'](_0x3ab7ba['RwtJe'],_0x4efda4(0x32f),_0x2054d6=>{const _0x534eae=_0x4efda4;return _0x2054d6[_0x534eae(0x2d1)](_0x3ab7ba[_0x534eae(0x18c)],{'type':_0x3ab7ba['nqzQn'],'description':_0x534eae(0x299)})[_0x534eae(0x2d1)](_0x3ab7ba[_0x534eae(0x1ee)],{'type':'boolean','description':_0x3ab7ba[_0x534eae(0x277)],'default':![]})[_0x534eae(0x2d1)](_0x3ab7ba[_0x534eae(0x18e)],{'type':_0x3ab7ba[_0x534eae(0x239)],'description':'Skip\x20authentication','default':![]})[_0x534eae(0x2d1)]('with-deps',{'type':_0x534eae(0x1c6),'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium','default':![]})['option']('scope',{'type':_0x534eae(0x19c),'choices':[_0x534eae(0x257)],'hidden':!![],'description':_0x3ab7ba[_0x534eae(0x17c)]})[_0x534eae(0x2d1)](_0x3ab7ba['VaRhZ'],{'type':_0x3ab7ba[_0x534eae(0x26f)],'description':_0x3ab7ba[_0x534eae(0x169)]})['option']('force',{'type':_0x3ab7ba['cGrCX'],'description':_0x3ab7ba[_0x534eae(0x25a)],'default':![]})[_0x534eae(0x2d1)](_0x3ab7ba['NaOfS'],{'type':_0x3ab7ba['cGrCX'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]})['option'](_0x534eae(0x19f),{'type':_0x534eae(0x1c6),'description':_0x3ab7ba['mrOHQ'],'default':![]})['option'](_0x3ab7ba[_0x534eae(0x2d9)],{'type':_0x3ab7ba[_0x534eae(0x239)],'description':_0x3ab7ba[_0x534eae(0x172)],'default':![]})['option'](_0x3ab7ba[_0x534eae(0x305)],{'type':_0x3ab7ba[_0x534eae(0x239)],'description':'Alias\x20for\x20--mcp-bootstrap','default':![]});},async _0x44cd2d=>{const _0x2ad7cc=_0x4efda4;(_0x44cd2d[_0x508c08['LlgJE']]||_0x44cd2d['mcp'])&&await _0x508c08['sFvwn'](withTelemetry,_0x2ad7cc(0x341),()=>mcpBootstrap()),await _0x508c08[_0x2ad7cc(0x31b)](withTelemetry,_0x2ad7cc(0x254),_0x1aa2af=>start(_0x44cd2d[_0x2ad7cc(0x298)],{'skipChromium':_0x44cd2d[_0x2ad7cc(0x202)],'skipAuth':_0x44cd2d[_0x2ad7cc(0x31d)],'withDeps':_0x44cd2d['with-deps'],'scope':_0x44cd2d['scope'],'url':_0x44cd2d['url'],'force':_0x44cd2d['force'],'opencode':_0x44cd2d['opencode'],'allowInsecureLocalhost':_0x44cd2d['allow-insecure-localhost']},_0x1aa2af));})['command'](_0x4efda4(0x332),_0x3ab7ba[_0x4efda4(0x173)],_0x49754c=>{const _0xe847a1=_0x4efda4;return _0x49754c['option'](_0xe847a1(0x229),{'type':_0xe847a1(0x1c6),'description':_0x508c08[_0xe847a1(0x2e9)],'default':![]});},async _0x3e4d60=>{const _0x48bc73=_0x4efda4;await _0x3ab7ba[_0x48bc73(0x2ec)](withTelemetry,_0x3ab7ba['ApZYg'],()=>ensureChromium(_0x3e4d60['with-deps']));})['command']('login','Authenticate\x20with\x20Ranger',_0x5cef8c=>{const _0x2f550a=_0x4efda4;return _0x5cef8c[_0x2f550a(0x2d1)](_0x3ab7ba['HkBzK'],{'type':_0x3ab7ba[_0x2f550a(0x26f)],'description':_0x3ab7ba['vTOnR']})['option'](_0x3ab7ba[_0x2f550a(0x305)],{'type':_0x3ab7ba[_0x2f550a(0x239)],'description':'Authenticate\x20via\x20MCP\x20proxy','default':![]});},async _0x3a4eae=>{await _0x3ab7ba['YOdji'](withTelemetry,'setup:login',async()=>{const _0x16e670=_0x508c;if(_0x3a4eae[_0x16e670(0x204)]){await mcpBootstrap();const _0x412b64=await _0x508c08['vKEgW'](refreshCliToken);if(!_0x412b64)throw new Error(_0x508c08['GpzvM']);const _0x478201=await _0x508c08[_0x16e670(0x250)](getCurrentUser,_0x412b64);if(!_0x478201['success'])throw new Error(_0x16e670(0x2e2)+_0x478201[_0x16e670(0x2ae)]);console['log'](_0x16e670(0x225)+_0x478201['user'][_0x16e670(0x243)]);return;}await authenticate(_0x3a4eae[_0x16e670(0x298)]);});})[_0x4efda4(0x31e)]('skills',_0x3ab7ba[_0x4efda4(0x312)],_0x1bcad3=>{const _0x1e5a31=_0x4efda4;return _0x1bcad3['option'](_0x508c08['ErsVM'],{'type':_0x508c08[_0x1e5a31(0x28e)],'choices':[_0x508c08[_0x1e5a31(0x197)],_0x508c08[_0x1e5a31(0x23e)]],'description':_0x1e5a31(0x22d)})['option']('opencode',{'type':_0x508c08['UZSyY'],'description':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','default':![]});},async _0x1788df=>{const _0x55b528={'TyAzl':function(_0x3acd76,_0x58aaa6){return _0x3acd76(_0x58aaa6);},'AmHXk':function(_0x2a8b66){return _0x508c08['vKEgW'](_0x2a8b66);},'uifCj':function(_0x2be574,_0xdf067){return _0x2be574(_0xdf067);}};await withTelemetry('setup:skills',async()=>{const _0x4b15f3=_0x508c,_0x12d587=_0x1788df['scope'];if(_0x1788df[_0x4b15f3(0x206)]){const _0x37f30b=await _0x55b528['TyAzl'](ensureOpencodePluginConfig,_0x12d587);_0x37f30b&&await installSkill(_0x4b15f3(0x19d),{'level':_0x37f30b[_0x4b15f3(0x1e4)],'cliVersion':_0x55b528[_0x4b15f3(0x1aa)](getCurrentVersion),'platform':_0x4b15f3(0x206)});}else await ensureClaudePlugin(_0x12d587),await _0x55b528[_0x4b15f3(0x285)](ensureClaudeSkills,_0x12d587);});})['command']('profiles','Set\x20up\x20a\x20local\x20browser\x20profile',_0x3e53d8=>{const _0x56a1b9=_0x4efda4;return _0x3e53d8['option'](_0x508c08['ErsVM'],{'type':_0x508c08[_0x56a1b9(0x28e)],'choices':[_0x508c08['zFBbl']],'description':_0x508c08[_0x56a1b9(0x194)]})['option']('url',{'type':'string','description':_0x508c08[_0x56a1b9(0x1ad)]})['option'](_0x508c08[_0x56a1b9(0x2c9)],{'type':_0x508c08[_0x56a1b9(0x2f7)],'description':'Skip\x20browser\x20authentication','default':![]})['option']('force',{'type':_0x508c08['UZSyY'],'description':_0x56a1b9(0x1a6),'default':![]})['option']('allow-insecure-localhost',{'type':'boolean','description':_0x56a1b9(0x183),'default':![]});},async _0x10c620=>{const _0x106845=_0x4efda4,_0x3a9ea9=_0x10c620['scope'];_0x3ab7ba[_0x106845(0x28c)](_0x3a9ea9,undefined)&&_0x3ab7ba['tOpoh'](_0x3a9ea9,_0x3ab7ba['mlLBd'])&&(console['error'](_0x3ab7ba[_0x106845(0x1c7)]('ranger\x20setup\x20profiles\x20--scope='+_0x3a9ea9+_0x106845(0x309),'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20')+_0x106845(0x2f3)),process[_0x106845(0x2e3)](0x1)),await withTelemetry(_0x3ab7ba[_0x106845(0x25f)],_0x1908db=>ensureLocalEnv({'url':_0x10c620['url'],'force':_0x10c620[_0x106845(0x2f5)],'allowInsecureLocalhost':_0x10c620['allow-insecure-localhost'],'scope':_0x106845(0x257)},_0x1908db));})['option']('skip-chromium',{'type':_0x3ab7ba[_0x4efda4(0x239)],'description':_0x3ab7ba[_0x4efda4(0x277)],'default':![]})['option'](_0x4efda4(0x1e4),{'type':_0x4efda4(0x19c),'choices':[_0x3ab7ba['mlLBd']],'hidden':!![],'description':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.'})[_0x4efda4(0x2d1)](_0x4efda4(0x1b5),{'type':_0x3ab7ba['nqzQn'],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)'})['option'](_0x3ab7ba[_0x4efda4(0x2b2)],{'type':'boolean','description':_0x3ab7ba[_0x4efda4(0x25a)],'default':![]})['option'](_0x3ab7ba[_0x4efda4(0x30a)],{'type':_0x4efda4(0x1c6),'description':_0x3ab7ba['TNeAb'],'default':![]})[_0x4efda4(0x2d1)]('allow-insecure-localhost',{'type':_0x3ab7ba[_0x4efda4(0x239)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x4efda4(0x2d1)]('mcp-bootstrap',{'type':'boolean','description':_0x3ab7ba[_0x4efda4(0x185)],'default':![]})['option'](_0x4efda4(0x31d),{'type':_0x4efda4(0x1c6),'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})['option'](_0x3ab7ba['NzNlD'],{'type':_0x3ab7ba[_0x4efda4(0x239)],'description':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','default':![]})[_0x4efda4(0x2d1)](_0x3ab7ba['HkBzK'],{'type':_0x3ab7ba['nqzQn'],'hidden':!![],'description':'API\x20token'});},async _0x31ec0b=>{const _0x59f3ef=_0x38eff1,_0x1b866a=_0x31ec0b[_0x59f3ef(0x24c)],_0x228425=_0x31ec0b['token']??_0x1b866a;_0x31ec0b[_0x59f3ef(0x341)]&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await _0x3ab7ba[_0x59f3ef(0x20f)](withTelemetry,'start',_0x275bf1=>start(_0x228425,{'skipChromium':_0x31ec0b[_0x59f3ef(0x202)],'skipAuth':_0x31ec0b['skip-auth'],'withDeps':_0x31ec0b['with-deps'],'scope':_0x31ec0b[_0x59f3ef(0x1e4)],'url':_0x31ec0b['url'],'force':_0x31ec0b[_0x59f3ef(0x2f5)],'opencode':_0x31ec0b[_0x59f3ef(0x206)],'allowInsecureLocalhost':_0x31ec0b['allow-insecure-localhost']},_0x275bf1));})[_0x38eff1(0x31e)]('setup-ci\x20<token>',![],_0x2973ea=>{const _0x157ccb=_0x38eff1;return _0x2973ea['positional'](_0x3ab7ba['HkBzK'],{'type':_0x3ab7ba[_0x157ccb(0x26f)],'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x157ccb(0x2c6),{'type':_0x157ccb(0x19c),'description':_0x3ab7ba[_0x157ccb(0x2a3)]})['option']('base-url',{'type':_0x3ab7ba[_0x157ccb(0x26f)],'description':_0x157ccb(0x207)})['option']('skip-chromium',{'type':_0x3ab7ba[_0x157ccb(0x239)],'description':_0x3ab7ba['zmGcj'],'default':![]});},async _0x1ffe4a=>{const _0x31c8d2=_0x38eff1;await _0x3ab7ba[_0x31c8d2(0x318)](withTelemetry,'setup-ci',_0x591a30=>setupCi(_0x1ffe4a[_0x31c8d2(0x298)],{'profile':_0x1ffe4a['profile'],'baseUrl':_0x1ffe4a[_0x31c8d2(0x1be)],'skipChromium':_0x1ffe4a['skip-chromium']},_0x591a30));})[_0x38eff1(0x31e)](_0x3ab7ba['rwODp'],_0x38eff1(0x1d1),()=>{},async()=>{await withTelemetry(_0x3ab7ba['rwODp'],()=>login());})[_0x38eff1(0x31e)](_0x38eff1(0x313),_0x3ab7ba['EFjCs'],_0x579d65=>{const _0x2fcb18=_0x38eff1;return _0x579d65[_0x2fcb18(0x2d1)]('opencode',{'type':'boolean','description':_0x3ab7ba[_0x2fcb18(0x1cd)],'default':![]})['option'](_0x3ab7ba[_0x2fcb18(0x267)],{'type':_0x3ab7ba[_0x2fcb18(0x26f)],'choices':[_0x3ab7ba[_0x2fcb18(0x2a2)],_0x2fcb18(0x279)],'description':'Install\x20scope\x20for\x20skills'});},async _0x2413e7=>{const _0x54fadd=_0x38eff1,_0x568937=Boolean(_0x2413e7['opencode']);await withTelemetry(_0x3ab7ba[_0x54fadd(0x2e0)],()=>skillup({'autoInstall':_0x2413e7[_0x54fadd(0x1e4)],'platform':_0x568937?_0x54fadd(0x206):'claude'}));})['command'](_0x38eff1(0x2c2),'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project',()=>{},async()=>{const _0x3fe2e8=_0x38eff1;await withTelemetry(_0x3ab7ba[_0x3fe2e8(0x24d)],()=>clean());})['command']([_0x3ab7ba['cbsGa'],_0x3ab7ba['gnWuP']],_0x38eff1(0x32a),_0x3cc176=>{const _0x4843da=_0x38eff1,_0x4d1199={'NMOrM':_0x3ab7ba['odpKX'],'qCeOi':_0x4843da(0x19c),'amMPD':_0x3ab7ba[_0x4843da(0x239)],'ikaph':_0x4843da(0x222),'kcoSl':_0x4843da(0x19f),'TrXTm':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','dKYNJ':_0x3ab7ba[_0x4843da(0x205)],'gaXlv':_0x3ab7ba['PZKEy'],'qZwGD':'user','EhSPQ':_0x4843da(0x279),'hImNn':'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.','ZkVPI':'yes','ZfeYB':function(_0x49064d,_0x5f3b93,_0x52fb99){const _0x4e96c6=_0x4843da;return _0x3ab7ba[_0x4e96c6(0x2c0)](_0x49064d,_0x5f3b93,_0x52fb99);},'tTunN':'profile\x20use','Nrezr':'profile','XKMQO':function(_0x2b3c21,_0x2d0c5c,_0x2224b6){return _0x2b3c21(_0x2d0c5c,_0x2224b6);},'mzuCk':_0x4843da(0x28a),'PFzhI':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','iGlCJ':_0x3ab7ba[_0x4843da(0x278)],'zFRkD':_0x4843da(0x203),'iYSAY':'profile\x20update','XhbIs':_0x4843da(0x30e),'HhCtB':function(_0x269887,_0x4cefa8){return _0x269887||_0x4cefa8;},'yIpXw':function(_0x13b04a,_0x4c84e3,_0x23c147){const _0x3a2822=_0x4843da;return _0x3ab7ba[_0x3a2822(0x32d)](_0x13b04a,_0x4c84e3,_0x23c147);},'KNjyW':function(_0x359fc9,_0x2f53dc){return _0x359fc9===_0x2f53dc;},'HNCAf':_0x3ab7ba[_0x4843da(0x22c)],'dbFzC':_0x3ab7ba[_0x4843da(0x16c)],'rSjqY':_0x3ab7ba['dgXwk'],'HGZrE':function(_0x2a66c9,_0x5d0f35,_0x1710a1){const _0x2fad3d=_0x4843da;return _0x3ab7ba[_0x2fad3d(0x289)](_0x2a66c9,_0x5d0f35,_0x1710a1);}};return _0x3cc176['usage'](PROFILE_HELP)['command'](_0x3ab7ba['nEtlP'],_0x4843da(0x338),_0x5c2ba1=>{const _0x2be705=_0x4843da;return _0x5c2ba1[_0x2be705(0x265)](_0x4d1199[_0x2be705(0x2e5)],{'type':_0x4d1199['qCeOi'],'description':_0x2be705(0x1fd),'demandOption':!![]})[_0x2be705(0x2d1)]('ci',{'type':_0x4d1199[_0x2be705(0x296)],'hidden':!![],'default':![]})['option']('skip-auth',{'type':_0x4d1199['amMPD'],'description':_0x2be705(0x2cf),'default':![]})[_0x2be705(0x2d1)](_0x2be705(0x1b5),{'type':_0x4d1199[_0x2be705(0x1a0)],'description':'Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)'})['option']('force',{'type':_0x4d1199[_0x2be705(0x296)],'description':_0x2be705(0x1a6),'default':![]})[_0x2be705(0x2d1)](_0x4d1199[_0x2be705(0x2e6)],{'type':_0x2be705(0x19c),'description':'CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.'})['option'](_0x4d1199[_0x2be705(0x315)],{'type':_0x2be705(0x1c6),'description':_0x2be705(0x2d7),'default':![]})['option']('safe-mode',{'type':_0x4d1199['amMPD'],'description':_0x4d1199[_0x2be705(0x1a5)],'default':![]})[_0x2be705(0x2d1)](_0x4d1199['dKYNJ'],{'type':'string','array':!![],'description':'HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)'})['option'](_0x4d1199[_0x2be705(0x330)],{'type':'string','choices':[_0x4d1199[_0x2be705(0x21c)],_0x4d1199[_0x2be705(0x1d2)]],'description':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)'})[_0x2be705(0x2d1)]('env',{'type':'string','description':_0x4d1199[_0x2be705(0x164)]})[_0x2be705(0x2d1)](_0x4d1199['ZkVPI'],{'type':_0x4d1199['amMPD'],'alias':'y','description':_0x2be705(0x2da),'default':![]});},async _0x4d2efe=>{const _0x33478f=_0x4843da;await withTelemetry(_0x3ab7ba['ndBde'],_0x47a230=>addEnv(_0x4d2efe[_0x33478f(0x1e3)],{'ci':_0x4d2efe['ci'],'skipAuth':_0x4d2efe['skip-auth'],'url':_0x4d2efe['url'],'force':_0x4d2efe[_0x33478f(0x2f5)],'cdpEndpoint':_0x4d2efe['cdp-endpoint'],'allowInsecureLocalhost':_0x4d2efe[_0x33478f(0x19f)],'safeMode':_0x4d2efe['safe-mode'],'setupHeader':_0x4d2efe[_0x33478f(0x2a8)],'scope':_0x4d2efe['scope'],'authEnv':_0x4d2efe[_0x33478f(0x1d5)],'yes':_0x4d2efe[_0x33478f(0x2aa)]},_0x47a230),{'isElectron':Boolean(_0x4d2efe[_0x33478f(0x222)])});})[_0x4843da(0x31e)](_0x3ab7ba[_0x4843da(0x1cf)],'Switch\x20to\x20using\x20a\x20specific\x20profile',_0x5e08d2=>{const _0x2086b2=_0x4843da;return _0x5e08d2[_0x2086b2(0x265)](_0x4d1199['NMOrM'],{'type':'string','description':_0x2086b2(0x234),'demandOption':!![]});},async _0x23f809=>{await _0x4d1199['ZfeYB'](withTelemetry,_0x4d1199['tTunN'],()=>useEnv(_0x23f809['profile-name']));})['command'](_0x3ab7ba[_0x4843da(0x2af)],_0x3ab7ba['ufvWM'],_0x4d87c2=>{const _0x1fbce4=_0x4843da;return _0x4d87c2['positional']('profile-name',{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba['oyEQQ'],'demandOption':!![]})['option'](_0x1fbce4(0x2aa),{'type':'boolean','alias':'y','description':_0x3ab7ba['YSxTH'],'default':![]});},async _0x110526=>{const _0x25dc7b=_0x4843da;await _0x4d1199[_0x25dc7b(0x22f)](withTelemetry,_0x25dc7b(0x219),()=>deleteProfile(_0x110526['profile-name'],{'yes':_0x110526['yes']}));})[_0x4843da(0x31e)](_0x3ab7ba['CQQBd'],![],_0x8ae549=>{const _0x420199=_0x4843da;return _0x8ae549['positional'](_0x4d1199['Nrezr'],{'type':'string','description':_0x420199(0x1a7),'demandOption':!![]});},async _0x2c013d=>{await withTelemetry('profile\x20encrypt-auth',()=>authEncrypt(_0x2c013d['profile']));})['command']('ls',_0x3ab7ba['cqvhE'],()=>{},async()=>{const _0x1002ca=_0x4843da;await _0x4d1199[_0x1002ca(0x308)](withTelemetry,'profile\x20ls',()=>envList());})['command'](_0x3ab7ba[_0x4843da(0x1e8)],_0x4843da(0x2a0),_0x6cb0fc=>{const _0x40f197=_0x4843da;return _0x6cb0fc['positional'](_0x4d1199[_0x40f197(0x2e5)],{'type':_0x40f197(0x19c),'description':_0x4d1199[_0x40f197(0x1d4)],'demandOption':!![]})[_0x40f197(0x2d1)](_0x4d1199['kcoSl'],{'type':_0x40f197(0x1c6),'description':_0x4d1199[_0x40f197(0x2e4)]})['option'](_0x4d1199[_0x40f197(0x258)],{'type':_0x4d1199[_0x40f197(0x296)],'description':_0x4d1199[_0x40f197(0x1a3)]});},async _0x1f947f=>{const _0x5deddd=_0x4843da;await _0x4d1199[_0x5deddd(0x22f)](withTelemetry,_0x4d1199[_0x5deddd(0x304)],_0x5c9571=>updateEnv(_0x1f947f[_0x5deddd(0x1e3)],_0x5c9571,{'allowInsecureLocalhost':_0x1f947f['allow-insecure-localhost'],'manual':_0x1f947f[_0x5deddd(0x261)]}));})[_0x4843da(0x31e)]('login\x20<name>',![],_0xb834d9=>{const _0x1577e8=_0x4843da;return _0xb834d9[_0x1577e8(0x265)]('name',{'type':_0x4d1199[_0x1577e8(0x1a0)],'description':_0x4d1199[_0x1577e8(0x319)],'demandOption':!![]});},async _0x2a08c1=>{const _0x1bf179=_0x4843da;await _0x3ab7ba[_0x1bf179(0x2c0)](withTelemetry,_0x1bf179(0x1b4),async()=>{const _0x2f83d8=_0x1bf179,_0x11ea35=process['env'][_0x2f83d8(0x1dc)],_0x165ed7=process['env'][_0x2f83d8(0x324)];_0x4d1199[_0x2f83d8(0x188)](!_0x11ea35,!_0x165ed7)&&(console[_0x2f83d8(0x2ae)](_0x2f83d8(0x22a)),process['exit'](0x1));const _0x4b1538=_0x2a08c1[_0x2f83d8(0x31f)],_0x2b2354=await _0x4d1199['yIpXw'](serverSideLogin,_0x4b1538,{'force':!![]});_0x4d1199['KNjyW'](_0x2b2354['status'],_0x2f83d8(0x270))&&(console['error'](_0x2f83d8(0x212)),process['exit'](0x1)),_0x2b2354['status']==='failed'&&(console[_0x2f83d8(0x2ae)]('Login\x20failed:\x20'+(_0x2b2354['error']??_0x4d1199['HNCAf'])),_0x2b2354['test_output']&&console['error'](_0x2b2354[_0x2f83d8(0x2ce)]),process[_0x2f83d8(0x2e3)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x4b1538+_0x2f83d8(0x189));});})['command']('migrate\x20[profile-name]',![],_0x322a8a=>{const _0x39b453=_0x4843da;return _0x322a8a[_0x39b453(0x265)](_0x39b453(0x1e3),{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba['PFpHp']})['option'](_0x3ab7ba['RwtJe'],{'type':_0x39b453(0x1c6),'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})[_0x39b453(0x2d1)](_0x3ab7ba[_0x39b453(0x227)],{'type':'boolean','description':_0x39b453(0x1bb),'default':![]})[_0x39b453(0x2d1)](_0x3ab7ba['euFdy'],{'type':_0x39b453(0x1c6),'alias':'y','description':_0x39b453(0x2d4),'default':![]})['option']('save-creds',{'type':_0x3ab7ba['cGrCX'],'description':_0x39b453(0x340),'default':![]});},async _0x2b3846=>{const _0x109638=_0x4843da;await withTelemetry(_0x3ab7ba['JRIiv'],_0x1e5b71=>migrateProfile({'profileName':_0x2b3846['profile-name'],'all':_0x2b3846[_0x109638(0x251)],'dryRun':_0x2b3846[_0x109638(0x32b)],'yes':_0x2b3846['yes'],'saveCreds':_0x2b3846[_0x109638(0x223)]},_0x1e5b71));})[_0x4843da(0x31e)](_0x3ab7ba[_0x4843da(0x316)],_0x3ab7ba['hoZcc'],_0x220566=>{const _0x286b3a=_0x4843da,_0x50b829={'bMiOf':'profile','nMeFo':_0x3ab7ba['nqzQn'],'WOyrz':_0x3ab7ba['dgXwk'],'GjmiB':_0x3ab7ba[_0x286b3a(0x2d2)],'RHAgP':_0x3ab7ba['qOxTp'],'WAYIe':_0x286b3a(0x18b),'BBHvY':function(_0x59ea16,_0x48f04b,_0x5816f5){return _0x59ea16(_0x48f04b,_0x5816f5);},'coIrh':_0x3ab7ba[_0x286b3a(0x1bd)]};return _0x220566[_0x286b3a(0x248)](PROFILE_CONFIG_HELP)['command'](_0x3ab7ba['BaKet'],_0x286b3a(0x1f8),_0x50557c=>{const _0x44e13d=_0x286b3a;return _0x50557c['positional'](_0x50b829['bMiOf'],{'type':_0x50b829['nMeFo'],'description':_0x50b829[_0x44e13d(0x333)],'demandOption':!![]})['positional'](_0x44e13d(0x16b),{'type':_0x50b829[_0x44e13d(0x167)],'description':_0x50b829['GjmiB'],'demandOption':!![]})['positional'](_0x50b829[_0x44e13d(0x2cb)],{'type':_0x50b829[_0x44e13d(0x167)],'description':_0x50b829['WAYIe'],'demandOption':!![]});},async _0x5215f8=>{await withTelemetry(_0x4d1199['dbFzC'],()=>configSet(_0x5215f8['profile'],_0x5215f8['key'],_0x5215f8['value']));})['command'](_0x286b3a(0x294),_0x3ab7ba['WXypy'],_0x407daa=>{const _0x312aa2=_0x286b3a;return _0x407daa[_0x312aa2(0x265)]('profile',{'type':_0x4d1199[_0x312aa2(0x1a0)],'description':_0x4d1199[_0x312aa2(0x310)],'demandOption':!![]})['positional']('key',{'type':_0x4d1199['qCeOi'],'description':_0x312aa2(0x179),'demandOption':!![]});},async _0x20258d=>{const _0x1f4de1=_0x286b3a;await withTelemetry(_0x1f4de1(0x274),()=>configGet(_0x20258d['profile'],_0x20258d['key']));})[_0x286b3a(0x31e)](_0x286b3a(0x25c),_0x3ab7ba['dylxQ'],_0x3b6d39=>{const _0x2e932a=_0x286b3a;return _0x3b6d39[_0x2e932a(0x265)](_0x50b829[_0x2e932a(0x288)],{'type':_0x2e932a(0x19c),'description':'Profile\x20name','demandOption':!![]});},async _0x492f85=>{const _0x4023a7=_0x286b3a;await _0x50b829['BBHvY'](withTelemetry,_0x50b829[_0x4023a7(0x213)],()=>configList(_0x492f85[_0x4023a7(0x2c6)]));})[_0x286b3a(0x31e)](_0x286b3a(0x16f),_0x3ab7ba[_0x286b3a(0x329)],_0x7957ce=>{const _0x573e91=_0x286b3a;return _0x7957ce['positional'](_0x4d1199['Nrezr'],{'type':_0x4d1199['qCeOi'],'description':'Profile\x20name','demandOption':!![]})[_0x573e91(0x265)]('key',{'type':'string','description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x5b3a59=>{const _0x473a7b=_0x286b3a;await withTelemetry('profile\x20config\x20unset',()=>configUnset(_0x5b3a59['profile'],_0x5b3a59[_0x473a7b(0x16b)]));})[_0x286b3a(0x31e)](_0x286b3a(0x17b),_0x286b3a(0x18f),_0x58d98f=>{const _0x4e19c3=_0x286b3a;return _0x58d98f['positional']('profile',{'type':_0x4d1199['qCeOi'],'description':_0x4e19c3(0x1a7),'demandOption':!![]});},async _0x232ac0=>{const _0x5ab9f6=_0x286b3a;await _0x4d1199[_0x5ab9f6(0x275)](withTelemetry,_0x5ab9f6(0x240),()=>configReset(_0x232ac0[_0x5ab9f6(0x2c6)]));})['demandCommand'](0x1,_0x3ab7ba['PXQDu']);})[_0x4843da(0x17a)](0x1,_0x3ab7ba[_0x4843da(0x268)]);})['command'](_0x3ab7ba[_0x38eff1(0x1e9)],_0x3ab7ba[_0x38eff1(0x2a1)],()=>{},async()=>{await _0x3ab7ba['ZUJQf'](withTelemetry,_0x3ab7ba['ABSCL'],()=>status());})[_0x38eff1(0x31e)]('update',_0x38eff1(0x1f7),()=>{},async()=>{await _0x3ab7ba['OZAyP'](withTelemetry,_0x3ab7ba['kTOLp'],()=>update());})[_0x38eff1(0x31e)]('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x1cc635=_0x38eff1;await _0x3ab7ba[_0x1cc635(0x192)](withTelemetry,_0x3ab7ba[_0x1cc635(0x307)],async()=>{const _0x29f61c=await _0x3ab7ba['vnCKf'](getToken);if(!_0x29f61c)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console['log'](_0x29f61c);});})[_0x38eff1(0x31e)]('go',_0x3ab7ba[_0x38eff1(0x231)],_0x555c5d=>{const _0x2f0b49=_0x38eff1;return _0x555c5d[_0x2f0b49(0x2d1)](_0x3ab7ba['bcjim'],{'type':_0x2f0b49(0x19c),'description':_0x2f0b49(0x20d)})['option'](_0x3ab7ba['cbsGa'],{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba[_0x2f0b49(0x196)]})['option'](_0x3ab7ba['dZHZi'],{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba[_0x2f0b49(0x2ad)]})['option'](_0x3ab7ba['WVxVC'],{'type':_0x2f0b49(0x19c),'description':_0x3ab7ba[_0x2f0b49(0x2cd)]})['option'](_0x3ab7ba[_0x2f0b49(0x303)],{'type':_0x2f0b49(0x1b6),'description':_0x3ab7ba[_0x2f0b49(0x283)]})[_0x2f0b49(0x2d1)](_0x3ab7ba[_0x2f0b49(0x26e)],{'type':_0x2f0b49(0x19c),'description':_0x3ab7ba[_0x2f0b49(0x247)]})['option'](_0x3ab7ba['xPYJh'],{'type':_0x2f0b49(0x19c),'description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.'})['option'](_0x3ab7ba[_0x2f0b49(0x232)],{'type':'string','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.'})[_0x2f0b49(0x2d1)](_0x2f0b49(0x1da),{'type':_0x3ab7ba['cGrCX'],'description':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','default':![]})['option']('env-var',{'type':_0x3ab7ba['nqzQn'],'array':!![],'alias':_0x2f0b49(0x175),'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})[_0x2f0b49(0x2d1)]('allow-url-mismatch',{'type':_0x2f0b49(0x1c6),'description':_0x3ab7ba['wnpQO'],'default':![]})['option']('debug-outcome',{'type':_0x2f0b49(0x19c),'hidden':!![],'choices':['verified',_0x3ab7ba['KObNg'],_0x3ab7ba['JuBai'],'failed',_0x3ab7ba[_0x2f0b49(0x1db)]]})['option'](_0x3ab7ba['bEuCe'],{'type':_0x3ab7ba['cGrCX'],'hidden':!![]})['option'](_0x3ab7ba['ZQtCb'],{'type':_0x3ab7ba['nqzQn'],'description':_0x2f0b49(0x2f8)})['option'](_0x3ab7ba['FNjWh'],{'type':'string','hidden':!![]})['option'](_0x3ab7ba[_0x2f0b49(0x1c2)],{'type':_0x2f0b49(0x1b6),'hidden':!![]});},async _0xb2726=>{await _0x3ab7ba['dYKtB'](runGoCommand,_0xb2726);})['command'](_0x3ab7ba['DgBZZ'],![],_0x2281a6=>{const _0x70cda1=_0x38eff1,_0x48db08={'eKXqC':'profile','vBdDz':_0x3ab7ba['nqzQn']};return _0x2281a6[_0x70cda1(0x31e)](_0x3ab7ba['yVTbN'],![],_0x39e872=>{const _0x58c29a=_0x70cda1;return _0x39e872[_0x58c29a(0x265)](_0x48db08['eKXqC'],{'type':_0x48db08['vBdDz'],'description':_0x58c29a(0x1a7),'demandOption':!![]});},async _0x12df8b=>{const _0x319ba6=_0x70cda1;_0x3ab7ba['BqGkK'](warnRenamed,'ranger\x20auth\x20encrypt',_0x319ba6(0x286)),await _0x3ab7ba[_0x319ba6(0x22e)](authEncrypt,_0x12df8b[_0x319ba6(0x2c6)]);})[_0x70cda1(0x17a)](0x1,'You\x20must\x20specify\x20an\x20auth\x20subcommand');},()=>{})[_0x38eff1(0x31e)](_0x38eff1(0x16d),![],_0x4356b0=>{const _0x29ebcd=_0x38eff1;return _0x4356b0['positional'](_0x3ab7ba[_0x29ebcd(0x18c)],{'type':_0x3ab7ba[_0x29ebcd(0x26f)],'description':'Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)'})['option'](_0x3ab7ba['CqFPj'],{'type':'boolean','description':_0x29ebcd(0x1ef),'default':![]})['option'](_0x3ab7ba['PZKEy'],{'type':_0x29ebcd(0x19c),'choices':[_0x3ab7ba[_0x29ebcd(0x2a2)]],'hidden':!![],'description':_0x3ab7ba['LDnma']})['option'](_0x3ab7ba['VaRhZ'],{'type':_0x29ebcd(0x19c),'description':_0x29ebcd(0x1f3)})[_0x29ebcd(0x2d1)](_0x3ab7ba[_0x29ebcd(0x2b2)],{'type':'boolean','description':_0x3ab7ba['RMBkk'],'default':![]})[_0x29ebcd(0x2d1)](_0x3ab7ba['ORbGe'],{'type':'boolean','description':_0x3ab7ba[_0x29ebcd(0x1b8)],'default':![]})[_0x29ebcd(0x2d1)](_0x3ab7ba[_0x29ebcd(0x215)],{'type':_0x3ab7ba['cGrCX'],'description':_0x3ab7ba[_0x29ebcd(0x233)],'default':![]});},async _0x212659=>{const _0x2c26f4=_0x38eff1;warnRenamed(_0x2c26f4(0x1a9),_0x3ab7ba['SqbJr']),await _0x3ab7ba['njIFG'](withTelemetry,'start',_0x24784f=>start(_0x212659['token'],{'skipChromium':_0x212659[_0x2c26f4(0x202)],'skipAuth':_0x212659['skip-auth'],'withDeps':_0x212659[_0x2c26f4(0x229)],'scope':_0x212659[_0x2c26f4(0x1e4)],'url':_0x212659[_0x2c26f4(0x1b5)],'force':_0x212659[_0x2c26f4(0x2f5)]},_0x24784f));})['command'](_0x3ab7ba['kXxwb'],![],_0x8baffc=>{const _0x566231=_0x38eff1;return _0x8baffc[_0x566231(0x2d1)]('env',{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba['skVvm']})[_0x566231(0x2d1)](_0x566231(0x336),{'type':'string','description':_0x566231(0x1e7)})[_0x566231(0x2d1)](_0x566231(0x29f),{'type':_0x3ab7ba[_0x566231(0x301)],'description':'Scenario\x20index\x20(1-based)'})['option'](_0x3ab7ba['cbsGa'],{'type':'string','hidden':!![]})[_0x566231(0x2d1)](_0x3ab7ba[_0x566231(0x2d6)],{'type':_0x3ab7ba[_0x566231(0x26f)],'hidden':!![]})['option'](_0x3ab7ba[_0x566231(0x303)],{'type':_0x3ab7ba[_0x566231(0x301)],'hidden':!![]})['option'](_0x3ab7ba[_0x566231(0x26e)],{'type':'string','description':_0x3ab7ba[_0x566231(0x247)]})[_0x566231(0x2d1)](_0x3ab7ba['xPYJh'],{'type':'string','description':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.'})['option']('model',{'type':'string','hidden':!![]})[_0x566231(0x2d1)]('headed',{'type':'boolean','hidden':!![],'default':![]})['option'](_0x3ab7ba[_0x566231(0x2bb)],{'type':_0x566231(0x19c),'array':!![],'alias':_0x3ab7ba['ummxU'],'hidden':!![]})[_0x566231(0x2d1)]('debug-outcome',{'type':_0x3ab7ba['nqzQn'],'hidden':!![],'choices':[_0x3ab7ba[_0x566231(0x210)],_0x3ab7ba[_0x566231(0x272)],_0x566231(0x176),_0x3ab7ba['KzIII'],_0x566231(0x1c8)]});},async _0x47d144=>{const _0x392a58=_0x38eff1;await _0x3ab7ba[_0x392a58(0x289)](runGoCommand,_0x47d144,!![]);})['command'](_0x38eff1(0x1c5),![],_0x4b3997=>{const _0x242a57=_0x38eff1;return _0x4b3997['positional']('env-name',{'type':_0x3ab7ba['nqzQn'],'description':'Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x3ab7ba[_0x242a57(0x239)],'description':_0x3ab7ba['UxTak'],'default':![]})[_0x242a57(0x2d1)](_0x3ab7ba[_0x242a57(0x18e)],{'type':_0x3ab7ba[_0x242a57(0x239)],'description':_0x3ab7ba[_0x242a57(0x1c4)],'default':![]});},async _0x5b0a59=>{const _0x398f94=_0x38eff1;_0x3ab7ba[_0x398f94(0x2a5)](warnRenamed,_0x398f94(0x16a),_0x398f94(0x253)),await withTelemetry('add\x20env',_0x2f20c7=>addEnv(_0x5b0a59['env-name'],{'ci':_0x5b0a59['ci'],'skipAuth':_0x5b0a59[_0x398f94(0x31d)]},_0x2f20c7));})['command'](_0x3ab7ba[_0x38eff1(0x244)],![],_0x2003ea=>{const _0x38283d=_0x38eff1;return _0x2003ea[_0x38283d(0x265)](_0x3ab7ba['oFskZ'],{'type':_0x38283d(0x19c),'description':_0x38283d(0x2f4),'demandOption':!![]});},async _0x3b8e2d=>{const _0x301f4e=_0x38eff1;_0x3ab7ba['iSSuY'](warnRenamed,'ranger\x20use',_0x301f4e(0x2b9)),await withTelemetry(_0x3ab7ba['ORfAr'],()=>useEnv(_0x3b8e2d['env-name']));})[_0x38eff1(0x31e)](_0x3ab7ba[_0x38eff1(0x316)],![],_0x37d4d9=>{const _0x5c31e7=_0x38eff1,_0x5b949d={'QlOIq':'env','FkUaS':'string','tUzKi':_0x3ab7ba['PZlSk'],'AjVpP':function(_0x3ebc90,_0x2004a3,_0xd4c99f){return _0x3ab7ba['qREHc'](_0x3ebc90,_0x2004a3,_0xd4c99f);},'uGJxz':'ranger\x20profile\x20config\x20list','eXWbD':_0x3ab7ba[_0x5c31e7(0x1eb)],'kkpdj':_0x3ab7ba[_0x5c31e7(0x255)],'czhgP':function(_0x55428b,_0x1fe814,_0x10c5f7){return _0x55428b(_0x1fe814,_0x10c5f7);},'olsdY':_0x3ab7ba[_0x5c31e7(0x306)]};return _0x37d4d9['command'](_0x3ab7ba[_0x5c31e7(0x1dd)],![],_0x53460b=>{const _0x5711b6=_0x5c31e7;return _0x53460b[_0x5711b6(0x265)](_0x5b949d['QlOIq'],{'type':'string','description':'Environment\x20name','demandOption':!![]})[_0x5711b6(0x265)](_0x5711b6(0x16b),{'type':_0x5b949d[_0x5711b6(0x199)],'description':_0x5711b6(0x23b),'demandOption':!![]})['positional'](_0x5711b6(0x2e7),{'type':'string','description':_0x5b949d[_0x5711b6(0x1b9)],'demandOption':!![]});},async _0x4a9a6a=>{const _0x62fc5b=_0x5c31e7;_0x3ab7ba['YFEKO'](warnRenamed,_0x3ab7ba[_0x62fc5b(0x323)],'ranger\x20profile\x20config\x20set'),await _0x3ab7ba['pBOYp'](withTelemetry,_0x3ab7ba['MDaQF'],()=>configSet(_0x4a9a6a['env'],_0x4a9a6a[_0x62fc5b(0x16b)],_0x4a9a6a['value']));})['command'](_0x3ab7ba[_0x5c31e7(0x1cb)],![],_0xdb2908=>{const _0x19181a=_0x5c31e7;return _0xdb2908['positional'](_0x3ab7ba[_0x19181a(0x168)],{'type':_0x3ab7ba['nqzQn'],'description':_0x19181a(0x211),'demandOption':!![]})[_0x19181a(0x265)](_0x3ab7ba['CAUeD'],{'type':_0x19181a(0x19c),'description':'Config\x20key','demandOption':!![]});},async _0x3fb8c2=>{const _0x7920b7=_0x5c31e7;_0x3ab7ba[_0x7920b7(0x320)](warnRenamed,_0x7920b7(0x1d3),_0x7920b7(0x23c)),await withTelemetry(_0x7920b7(0x242),()=>configGet(_0x3fb8c2[_0x7920b7(0x1d5)],_0x3fb8c2[_0x7920b7(0x16b)]));})[_0x5c31e7(0x31e)](_0x3ab7ba[_0x5c31e7(0x326)],![],_0x476b71=>{const _0x27d7f8=_0x5c31e7;return _0x476b71['positional'](_0x3ab7ba[_0x27d7f8(0x168)],{'type':_0x3ab7ba[_0x27d7f8(0x26f)],'description':_0x27d7f8(0x211),'demandOption':!![]});},async _0x577e69=>{const _0x54840a=_0x5c31e7;_0x5b949d[_0x54840a(0x2bc)](warnRenamed,'ranger\x20config\x20list',_0x5b949d[_0x54840a(0x170)]),await _0x5b949d['AjVpP'](withTelemetry,_0x54840a(0x295),()=>configList(_0x577e69['env']));})['command'](_0x5c31e7(0x264),![],_0x37091b=>{const _0x58ba77=_0x5c31e7;return _0x37091b[_0x58ba77(0x265)](_0x3ab7ba['ZQtCb'],{'type':_0x3ab7ba[_0x58ba77(0x26f)],'description':_0x3ab7ba[_0x58ba77(0x28b)],'demandOption':!![]})[_0x58ba77(0x265)](_0x3ab7ba['CAUeD'],{'type':_0x3ab7ba['nqzQn'],'description':_0x3ab7ba['wSizo'],'demandOption':!![]});},async _0x535717=>{const _0x275f59=_0x5c31e7;_0x5b949d['AjVpP'](warnRenamed,_0x5b949d['eXWbD'],_0x5b949d[_0x275f59(0x314)]),await _0x5b949d['czhgP'](withTelemetry,_0x5b949d[_0x275f59(0x181)],()=>configUnset(_0x535717['env'],_0x535717[_0x275f59(0x16b)]));})[_0x5c31e7(0x17a)](0x1,_0x5c31e7(0x201));})[_0x38eff1(0x31e)](_0x3ab7ba['ZQtCb'],![],_0x27f2e2=>{const _0x14bb7f=_0x38eff1,_0x3919f7={'bnWqH':function(_0x2fba78,_0x4b5752,_0x414302){return _0x3ab7ba['YFEKO'](_0x2fba78,_0x4b5752,_0x414302);},'KnCse':_0x3ab7ba['krPZh'],'sPdeN':_0x3ab7ba['nbiVO'],'yknmv':_0x3ab7ba['NcgIG'],'lVPOg':_0x14bb7f(0x1f9)};return _0x27f2e2['command']('ls',![],()=>{},async()=>{const _0x17dfad=_0x14bb7f;warnRenamed(_0x17dfad(0x2fe),'ranger\x20profile\x20ls'),await _0x3919f7['bnWqH'](withTelemetry,_0x3919f7['KnCse'],()=>envList());})['command'](_0x14bb7f(0x26c),![],_0x5b1089=>{const _0x4d6eed=_0x14bb7f;return _0x5b1089[_0x4d6eed(0x265)](_0x4d6eed(0x2f6),{'type':_0x3ab7ba[_0x4d6eed(0x26f)],'description':_0x3ab7ba[_0x4d6eed(0x256)],'demandOption':!![]});},async _0x13ff80=>{const _0x74cf9f=_0x14bb7f;warnRenamed(_0x3919f7['sPdeN'],_0x3919f7['yknmv']),await withTelemetry(_0x3919f7[_0x74cf9f(0x2f2)],_0x1bcdad=>updateEnv(_0x13ff80['env-name'],_0x1bcdad));})[_0x14bb7f(0x17a)](0x1,_0x3ab7ba['GjAyW']);})[_0x38eff1(0x31e)]('feature',![],_0x1ddd55=>{const _0x54d20a=_0x38eff1,_0x331dad={'noMOA':_0x3ab7ba[_0x54d20a(0x193)],'BHdpv':_0x3ab7ba['MFbtc'],'CeWOY':function(_0x4737cb,_0x3d9a77,_0x3107de){return _0x4737cb(_0x3d9a77,_0x3107de);},'UZwHe':_0x3ab7ba[_0x54d20a(0x2ab)],'hyMOM':_0x54d20a(0x19c),'LueBH':function(_0x405d6b,_0x2487c4,_0x707d59){return _0x405d6b(_0x2487c4,_0x707d59);},'PfLgX':_0x3ab7ba['pLBhW'],'UnuPm':_0x54d20a(0x216),'wcxsN':function(_0x3a90db,_0x3dbb8b,_0x3ecee5){const _0x216fd8=_0x54d20a;return _0x3ab7ba[_0x216fd8(0x2dc)](_0x3a90db,_0x3dbb8b,_0x3ecee5);},'QwxPg':'ranger\x20feature\x20resume','zruFk':_0x54d20a(0x1e2),'zjlhO':_0x3ab7ba[_0x54d20a(0x228)],'PSpjr':_0x3ab7ba[_0x54d20a(0x2b7)],'VGHtm':'ranger\x20feature\x20get-feedback','sOpqj':'ranger\x20get-review','ABrpq':_0x54d20a(0x23f),'NacPD':_0x3ab7ba['huPxz'],'CFdBB':_0x54d20a(0x30b),'bKwlJ':_0x3ab7ba[_0x54d20a(0x33b)],'CkKgX':_0x3ab7ba['qcCEs'],'MfZDD':'feature\x20restore'};return _0x1ddd55[_0x54d20a(0x31e)](_0x3ab7ba['UKjqr'],![],_0x1ae01d=>{const _0xd4513b=_0x54d20a;return _0x1ae01d['positional'](_0xd4513b(0x31f),{'type':'string','description':_0x331dad['noMOA'],'demandOption':!![]})[_0xd4513b(0x2d1)](_0xd4513b(0x1e2),{'type':_0xd4513b(0x19c),'alias':'d','description':_0xd4513b(0x29c)})['option']('checklist',{'type':'array','alias':'c','description':_0xd4513b(0x29a)})[_0xd4513b(0x2d1)](_0x331dad['BHdpv'],{'type':_0xd4513b(0x297),'hidden':!![]});},async _0x229066=>{const _0x181213=_0x54d20a;_0x3ab7ba['SroHx'](warnRenamed,_0x3ab7ba[_0x181213(0x16e)],_0x3ab7ba['CPIDa']),warnFlagRenamed(_0x3ab7ba[_0x181213(0x2ff)],_0x181213(0x282),_0x3ab7ba[_0x181213(0x2c8)]);const _0x40f479=_0x229066['scenario']||_0x229066[_0x181213(0x2a6)];await withTelemetry(_0x3ab7ba[_0x181213(0x1f6)],()=>featureCreate(_0x229066['name'],{'description':_0x229066[_0x181213(0x1e2)],'scenarios':_0x40f479}));})[_0x54d20a(0x31e)](_0x3ab7ba[_0x54d20a(0x2c4)],![],_0x8e2d96=>{const _0x1aab57=_0x54d20a;return _0x8e2d96[_0x1aab57(0x2d1)]('current-branch',{'type':_0x1aab57(0x1c6),'description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})[_0x1aab57(0x2d1)]('limit',{'type':_0x3ab7ba[_0x1aab57(0x301)],'alias':'l','description':_0x1aab57(0x24b),'default':0xa})[_0x1aab57(0x2d1)]('offset',{'type':_0x3ab7ba[_0x1aab57(0x301)],'alias':'o','description':_0x1aab57(0x1fb),'default':0x0})[_0x1aab57(0x2d1)](_0x3ab7ba['qrCah'],{'type':_0x3ab7ba['cGrCX'],'alias':'d','description':_0x3ab7ba[_0x1aab57(0x1c0)],'default':![]});},async _0x4fcaae=>{const _0x152588=_0x54d20a;_0x331dad[_0x152588(0x291)](warnRenamed,'ranger\x20feature\x20list',_0x331dad['UZwHe']),await _0x331dad['CeWOY'](withTelemetry,_0x152588(0x2c5),()=>featureList({'currentBranch':_0x4fcaae['current-branch'],'limit':_0x4fcaae['limit'],'offset':_0x4fcaae[_0x152588(0x209)],'includeDeleted':_0x4fcaae[_0x152588(0x1d8)]}));})['command'](_0x54d20a(0x1cc),![],_0x1bc773=>{const _0x3f1b92=_0x54d20a;return _0x1bc773[_0x3f1b92(0x265)]('id',{'type':_0x331dad['hyMOM'],'description':'Feature\x20review\x20ID'});},async _0x164e8f=>{const _0x3e087e=_0x54d20a;_0x331dad[_0x3e087e(0x263)](warnRenamed,_0x331dad[_0x3e087e(0x21b)],_0x331dad[_0x3e087e(0x1c1)]),await withTelemetry(_0x3e087e(0x1ff),()=>featureShow(_0x164e8f['id']));})[_0x54d20a(0x31e)](_0x3ab7ba['TarGv'],![],_0xf359c5=>{const _0x1b057a=_0x54d20a;return _0xf359c5[_0x1b057a(0x265)]('id',{'type':_0x3ab7ba['nqzQn'],'description':'Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)'});},async _0x5a0bce=>{const _0x2450e3=_0x54d20a;_0x331dad['wcxsN'](warnRenamed,_0x331dad[_0x2450e3(0x1ac)],_0x2450e3(0x2e8)),await _0x331dad[_0x2450e3(0x263)](withTelemetry,_0x2450e3(0x1ea),()=>featureResume(_0x5a0bce['id']));})[_0x54d20a(0x31e)]('add-checklist-item\x20<description>',![],_0x177f83=>{const _0x5b06c4=_0x54d20a;return _0x177f83[_0x5b06c4(0x265)](_0x331dad['zruFk'],{'type':_0x331dad['hyMOM'],'description':_0x331dad[_0x5b06c4(0x2b5)],'demandOption':!![]})[_0x5b06c4(0x2d1)]('id',{'type':_0x331dad['hyMOM'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x55eaf4=>{const _0xd27f41=_0x54d20a;warnRenamed(_0xd27f41(0x200),'ranger\x20add-scenario'),await withTelemetry('feature\x20add-checklist-item',()=>featureAddScenario(_0x55eaf4['description'],_0x55eaf4['id']));})['command'](_0x54d20a(0x2d3),![],_0x1ab30f=>{const _0x40e7b3=_0x54d20a;return _0x1ab30f['positional']('id',{'type':_0x331dad[_0x40e7b3(0x29e)],'description':_0x331dad[_0x40e7b3(0x21f)]});},async _0x336d4d=>{const _0x10b3ac=_0x54d20a;warnRenamed(_0x331dad[_0x10b3ac(0x236)],_0x331dad['sOpqj']),await _0x331dad[_0x10b3ac(0x291)](withTelemetry,'feature\x20get-feedback',()=>featureGetReview(_0x336d4d['id']));})[_0x54d20a(0x31e)]('delete\x20[id]',![],_0x1628ce=>{const _0x3601b1=_0x54d20a;return _0x1628ce['positional']('id',{'type':_0x331dad[_0x3601b1(0x29e)],'description':_0x331dad[_0x3601b1(0x2db)]});},async _0x3d5d59=>{const _0x1de320=_0x54d20a;_0x331dad['CeWOY'](warnRenamed,'ranger\x20feature\x20delete',_0x331dad[_0x1de320(0x24a)]),await withTelemetry('feature\x20delete',()=>featureDelete(_0x3d5d59['id']));})[_0x54d20a(0x31e)]('restore\x20<id>',![],_0xbfc425=>{const _0x108860=_0x54d20a;return _0xbfc425[_0x108860(0x265)]('id',{'type':_0x331dad['hyMOM'],'description':_0x331dad[_0x108860(0x22b)],'demandOption':!![]});},async _0x18290e=>{const _0x56f9ac=_0x54d20a;_0x331dad['wcxsN'](warnRenamed,_0x331dad['bKwlJ'],_0x331dad[_0x56f9ac(0x1ce)]),await withTelemetry(_0x331dad['MfZDD'],()=>featureRestore(_0x18290e['id']));})[_0x54d20a(0x17a)](0x1,'You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand');})[_0x38eff1(0x31e)]('hook',![],_0x287ef3=>{const _0x521b2b=_0x38eff1,_0x134006={'aIDpe':function(_0x13b391,_0x1937a7,_0x5e0a1a){const _0x4133ae=_0x508c;return _0x3ab7ba[_0x4133ae(0x238)](_0x13b391,_0x1937a7,_0x5e0a1a);},'gWNiP':_0x3ab7ba[_0x521b2b(0x31c)]};return _0x287ef3['command']('enable',_0x3ab7ba[_0x521b2b(0x260)],_0x448a04=>{const _0x2125e2=_0x521b2b;return _0x448a04['option'](_0x3ab7ba['Xagxc'],{'type':'string','description':_0x2125e2(0x322)});},async _0x3aa054=>{await _0x134006['aIDpe'](withTelemetry,'hook:enable',()=>hook('enable',_0x3aa054['session-id']));})['command'](_0x3ab7ba['NthNJ'],'Disable\x20Ranger\x20hooks\x20for\x20this\x20session',_0x4ca25f=>{const _0x3bd48c=_0x521b2b;return _0x4ca25f[_0x3bd48c(0x2d1)](_0x3bd48c(0x2be),{'type':'string','description':_0x134006[_0x3bd48c(0x2a7)]});},async _0x3ea34b=>{const _0x5b0a1d=_0x521b2b;await withTelemetry(_0x5b0a1d(0x19a),()=>hook('disable',_0x3ea34b['session-id']));})['option'](_0x3ab7ba['mKJUD'],{'type':_0x3ab7ba[_0x521b2b(0x26f)],'description':'Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)'})[_0x521b2b(0x2d1)]('session-id',{'type':_0x521b2b(0x19c),'description':_0x3ab7ba[_0x521b2b(0x31c)]});},async _0x25f697=>{const _0x46cc9d=_0x38eff1;_0x25f697[_0x46cc9d(0x31f)]&&await _0x3ab7ba['xsqrS'](hook,_0x25f697[_0x46cc9d(0x31f)],_0x25f697['session-id']);})['demandCommand'](0x1,_0x38eff1(0x2fc))['strictCommands']()['fail'](async(_0x49b103,_0x28866a,_0x19e256)=>{const _0x2d5ec3=_0x38eff1,_0xc68a77=_0x3ab7ba['fkxWE'](sanitizeArgs,process['argv']['slice'](0x2)),_0x4acb7e=_0x3ab7ba['pBOYp'](getErrorType,_0x49b103,_0x28866a);if(_0x49b103&&_0x49b103['includes'](_0x3ab7ba['aZxBQ'])){const _0xfde77d=process[_0x2d5ec3(0x2ba)][0x2];console['error'](_0x2d5ec3(0x33c)+_0xfde77d),console[_0x2d5ec3(0x2ae)](_0x3ab7ba[_0x2d5ec3(0x1e0)]);}else{if(_0x49b103)console[_0x2d5ec3(0x2ae)]('\x0a'+_0x49b103+'\x0a');else _0x28866a&&console['error'](_0x2d5ec3(0x2c1)+_0x28866a[_0x2d5ec3(0x1e6)]+'\x0a');}await logDesirePath({'rawCommand':_0xc68a77,'errorMessage':_0x49b103||_0x28866a?.['message'],'errorType':_0x4acb7e});const _0x1eff33=getCurrentCollector();_0x1eff33&&await _0x1eff33['trackCommandError'](_0x28866a||new Error(_0x49b103||_0x3ab7ba['yCano'])),process[_0x2d5ec3(0x2e3)](0x1);})[_0x38eff1(0x182)](_0x3ab7ba[_0x38eff1(0x217)](_0x3ab7ba[_0x38eff1(0x252)](_0x38eff1(0x2b0),_0x3ab7ba[_0x38eff1(0x163)]),'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'))[_0x38eff1(0x2e1)]()[_0x38eff1(0x17e)]('help','h');}process['env']['NODE_ENV']!=='test'&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()[_0x4cf02b(0x249)]());
|
|
2
|
+
const _0x592cb3=_0x5120;(function(_0x5b8c97,_0x3c7da3){const _0x33d153=_0x5120,_0x131d57=_0x5b8c97();while(!![]){try{const _0x3ccb50=-parseInt(_0x33d153(0x21b))/0x1*(-parseInt(_0x33d153(0x1eb))/0x2)+parseInt(_0x33d153(0x323))/0x3*(parseInt(_0x33d153(0x251))/0x4)+-parseInt(_0x33d153(0x350))/0x5*(-parseInt(_0x33d153(0x202))/0x6)+-parseInt(_0x33d153(0x32f))/0x7*(parseInt(_0x33d153(0x2e5))/0x8)+-parseInt(_0x33d153(0x2ca))/0x9+parseInt(_0x33d153(0x322))/0xa*(-parseInt(_0x33d153(0x1c7))/0xb)+-parseInt(_0x33d153(0x295))/0xc*(-parseInt(_0x33d153(0x282))/0xd);if(_0x3ccb50===_0x3c7da3)break;else _0x131d57['push'](_0x131d57['shift']());}catch(_0x54cda9){_0x131d57['push'](_0x131d57['shift']());}}}(_0x28a8,0x5926f));import _0x37f4ed from'dotenv';import{dirname,join,parse}from'path';import{existsSync}from'fs';function findProjectRoot(){const _0x21870b=_0x5120,_0x2c04c7={'qpvpc':function(_0x521ff0,_0x30cf5d){return _0x521ff0!==_0x30cf5d;},'PiUoR':function(_0x55729c,_0x3f0f86){return _0x55729c(_0x3f0f86);},'XDDwB':'.ranger','WhPeA':function(_0xacdb2c,_0x562970){return _0xacdb2c(_0x562970);},'xRQAK':'.env'};let _0x41dc70=process['cwd']();const _0x1c80ec=parse(_0x41dc70)['root'];while(_0x2c04c7[_0x21870b(0x276)](_0x41dc70,_0x1c80ec)){if(_0x2c04c7[_0x21870b(0x1dd)](existsSync,join(_0x41dc70,_0x2c04c7[_0x21870b(0x33b)]))||_0x2c04c7[_0x21870b(0x2eb)](existsSync,join(_0x41dc70,_0x2c04c7[_0x21870b(0x1d1)])))return _0x41dc70;_0x41dc70=_0x2c04c7[_0x21870b(0x1dd)](dirname,_0x41dc70);}return process[_0x21870b(0x31b)]();}_0x37f4ed['config']({'path':join(findProjectRoot(),'.env')});import _0x270062 from'yargs/yargs';function _0x28a8(){const _0xd9d6ff=['Scenario\x20description','get\x20<env>\x20<key>','strictCommands','value','13500acVPaV','Create\x20CI\x20environment\x20(encrypted\x20auth,\x20committed\x20to\x20git)','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','HTTP\x20header\x20to\x20send\x20only\x20during\x20profile\x20setup\x20auth,\x20not\x20during\x20test\x20runs\x20(format:\x20\x22Name:\x20Value\x22)','YxyGy','\x20VERIFIED','project','LvSBy','Fdywm','RAvHL','WLATC','vyIop','restore\x20<id>','env-var','Ranger\x20API\x20token\x20(rngr_...)','environment-variable','prybp','aMuEH','Rtuca','Ranger\x20API\x20token\x20(omit\x20to\x20log\x20in\x20via\x20browser)','Manage\x20profile\x20configuration','offset','Auth\x20environment\x20key\x20for\x20ad-hoc\x20profile\x20resolution\x20(e.g.\x20prod,\x20ripples-local-backend).\x20Use\x20with\x20RANGER_TEST_USERNAME.\x20Also\x20respects\x20RANGER_AUTH_ENV.','VRKuN','mcp','KInOe','DItrs','Delete\x20a\x20cloud\x20profile','isArray','forEach','Alias\x20for\x20--mcp-bootstrap','ranger\x20feature\x20add-checklist-item','Install\x20Chromium\x20browser\x20binary','LloSm','feature\x20delete','Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile;\x20also\x20reads\x20RANGER_PROFILE)','\x0aError:\x20','wyWFx','Feature\x20review\x20ID\x20(optional\x20-\x20bypasses\x20search/prompt)','PKqDE','Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','XKaiV','bCvoW','Skip\x20browser\x20authentication\x20(just\x20save\x20URL\x20and\x20settings)','allow-insecure-localhost','CDP\x20endpoint\x20for\x20an\x20Electron\x20app\x20or\x20existing\x20browser\x20(e.g.\x20http://localhost:9222).\x20Skips\x20URL\x20and\x20browser\x20auth\x20setup.','--checklist','option','Dwktv','xNbGC','print-access-token','some','wghue','save-creds','JxFFS','summary','verified','task','CawRb','1499674dPWZgs','yimrL','Skip\x20Chromium\x20browser\x20check\x20and\x20installation','use\x20<env-name>','url','hook','nyeLw','Install\x20scope\x20for\x20plugin\x20and\x20skills','slice','zUUJS','xRQAK','user','XXgkA','map','VFbRM','yNqAK','No\x20auth\x20config\x20for\x20this\x20org;\x20profile\x20login\x20unavailable.','You\x20must\x20specify\x20a\x20profile\x20subcommand','srpYf','Scenario\x20numbers\x20to\x20exclude\x20(use\x20multiple\x20values)','Evaluation:\x20','AAuFT','PiUoR','tokenOrSubcommand','Disable\x20Ranger\x20hooks\x20for\x20this\x20session','VOKRz','model','Base\x20URL\x20of\x20the\x20running\x20app\x20(required\x20in\x20non-interactive\x20mode)','RANGER_PROFILE','ranger\x20config\x20get','get-feedback\x20[id]','\x0aIssues:','nrnZp','ranger\x20profile\x20config\x20unset','rqARQ','New\x20scenario\x20description','20efwtNQ','Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','panuz','bksNw','jykrf','Config\x20key\x20to\x20remove','JUUUX','ranger\x20profile\x20config\x20list','Skip\x20browser\x20authentication','uVkdS','Feature\x20review\x20ID','start-path','nhlIF','feature\x20show','PUnOd','Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch','disable','scope','esEgm','BJrHm','cpSgX','bBrFu','organizationName','642jdkaBR','GaWbT','setup\x20[tokenOrSubcommand]','WJtfu','update\x20<profile-name>','taOzN','NRwpq','ranger','EqUcd','enXxf','list','wrVWG','VdUJk','MbyLC','base-url','failed','vjbNm','include-deleted','profile-name','partial','woMhx','Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.','ranger\x20resume','exit','MgCvZ','67115EbnHfc','rprAz','safe-mode','pfCtf','add\x20env\x20<env-name>','Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run.\x20Also\x20respects\x20RANGER_BASE_URL.','create\x20<name>','oAGwI','ranger\x20get-review','ranger\x20profile\x20update','feature\x20resume','ranger\x20feature\x20delete','Generate\x20PR\x20description\x20markdown\x20(defaults\x20to\x20active\x20feature\x20review)','mqfWi','mcp-bootstrap','allow-url-mismatch','set\x20<profile>\x20<key>\x20<value>','ranger\x20verify-feature','Drop\x20the\x20--scope\x20flag\x20or\x20pass\x20--scope=user.','uBeff','env','Include\x20soft-deleted\x20feature\x20reviews','RANGER_TEST_PASSWORD','positional','unset\x20<profile>\x20<key>','name','Authenticate\x20via\x20MCP\x20proxy','debug-address-comments','WruUY','iMnAL','Hook\x20name\x20(session-start,\x20pre-compact,\x20post-edit,\x20etc.)','TBOTj','Set\x20up\x20a\x20local\x20browser\x20profile','Restore\x20a\x20soft-deleted\x20feature\x20review','Feature\x20review\x20description','usage','Maximum\x20number\x20of\x20feature\x20reviews\x20to\x20return','WPacY','\x27.\x20Session\x20saved.','Mqjww','oHpJm','etmgJ','CI\x20profile\x20name\x20(auto-detected\x20if\x20only\x20one\x20exists)','Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','claude','The\x20--env-var\x20option\x20requires\x20RANGER_TRANSPORT=playwright-cli\x20or\x20RANGER_TRANSPORT=rangerwright-cli.\x20Current\x20transport:\x20','item','Remove\x20a\x20config\x20value','BnAee','skills','login','\x20is\x20no\x20longer\x20supported.\x20','XkzLq','scenario','953404RNflAb','limit','feature','You\x20must\x20specify\x20a\x20feature\x20review\x20subcommand','Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','\x20\x20https://docs.ranger.net\x0a','encrypt-auth\x20<profile>','RFepG','unset\x20<env>\x20<key>','bqsOn','xYQcf','fYDcr','setup-ci\x20<token>','ranger\x20env\x20ls','notes','erBAh','XWdLH','get-review','✓\x20Authenticated\x20to\x20','with-deps','trackCommandError','ranger\x20go','iUnJb','Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server\x20instead\x20of\x20browser\x20login','Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review','XpEbp','get\x20<profile>\x20<key>','auth','boolean','Manage\x20profiles','XGizF','Feature\x20review\x20name','Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','qlEPT','--env','key','zcsKX','qpvpc','exclude-scenario','fqXwf','Summary:\x20','XFqgB','CvbSQ','Profile\x20name','tbKmW','You\x20must\x20specify\x20a\x20profile\x20config\x20subcommand','You\x20must\x20specify\x20an\x20auth\x20subcommand','uGlIf','evaluation','485563nGHpQb','WKVqN','FmtLu','Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','yPwlq','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','config\x20list','length','cZWFD','NFBAT','flatMap','MdrdC','resume\x20[id]','IsLzo','includes','EZPTh','WXiuA','--item','success','204YmFtad','Name\x20of\x20the\x20environment\x20(e.g.,\x20local,\x20staging,\x20prod)','cjOsO','profile\x20login','incomplete','sdCpU','You\x20must\x20specify\x20a\x20config\x20subcommand','HRLmP','check','feature\x20add-checklist-item','VIaKE','deps','XLpoH','force','Name\x20of\x20a\x20single\x20local\x20profile\x20to\x20migrate.\x20Omit\x20with\x20--all.','JGgPl','QtOst','eszmu','ranger\x20feature\x20list','--profile','OQDFV','SzRlT','List\x20all\x20profiles','delete\x20<profile-name>','Set\x20a\x20config\x20value','config\x20get','AnUvU','fiVHI','list\x20<profile>','Authenticated\x20via\x20MCP,\x20but\x20failed\x20to\x20verify:\x20','eDHnZ','profiles','Skip\x20the\x20deletion\x20confirmation\x20prompt.','feature\x20get-feedback','profile\x20config\x20unset','ZRNeG','Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version','fPKkW','show\x20[id]','report\x20[id]','ycMsQ','config\x20set','yes','JtruA','Proceed\x20even\x20when\x20the\x20selected\x20scenario\x20names\x20a\x20URL\x20on\x20a\x20different\x20origin\x20than\x20the\x20resolved\x20target','show','rHcbf','OGLka','token','tfzay','RcdzX','env\x20list','pRbQo','4435182znuWTt','Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)','ouKKz','help','ranger\x20feature\x20show','opencode','demandCommand','pyLZW','GHmpc','config\x20unset','SBOkJ','Config\x20value','tSmvN','cQxSu','--scenario','LVlTM','current-branch','WYcWS','WKxAD','Limid','hZXqI','skip-chromium','VLsNK','Reason:\x20','not_configured','Ngsdl','feature\x20restore','5347344bMmQGB','Wpuba','session-id','number','ZQGKs','Unknown\x20error','WhPeA','mJpMQ','Clear\x20all\x20config\x20overrides\x20for\x20a\x20profile','argv','hgBdC','Base\x20URL\x20of\x20the\x20running\x20app','CRLpt','profile\x20update','env-name','Optional\x20feature\x20ID','PfToc','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','qzMDS','Name\x20of\x20the\x20environment\x20to\x20update','EVUrp','--task','Install\x20OS-level\x20dependencies\x20for\x20Chromium','status','error','eSUxm','cdp-endpoint','profile','Log\x20in\x20to\x20Ranger\x20via\x20browser\x20(re-authenticate\x20without\x20full\x20setup)','kSgVY','migrate\x20[profile-name]','aGuVx','USsmf','syRjQ','Error:\x20`ranger\x20create`\x20requires\x20a\x20feature\x20review\x20name.\x0a','log','string','CvORs','kwbbW','debug-outcome','IVRUZ','ranger\x20list','profile\x20delete','Switch\x20to\x20using\x20a\x20specific\x20profile','uEOcV','feature\x20list','PqmEI','TaRFN','hook:disable','skip-auth','profile\x20config\x20list','command','json','JIxxE','cwd','kTOuw','gCyCW','Ukaqa','FZwqq','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.','get-review\x20[id]','40OBwHjR','6SwDArd','setup-ci','Run\x20full\x20interactive\x20setup','rTYgK','description','message','UQrzW','Get\x20a\x20config\x20value','OpBHu','Login\x20failed:\x20','Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','checklist','7KeJLAU','Soft\x20delete\x20a\x20feature\x20review\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)','BPZck','DYUuU','blocked','\x20BLOCKED','GHjgE','\x20is\x20now\x20','ryAiu','SqkUB','xVhWP','Allow\x20localhost\x20content\x20in\x20deployed\x20environments','XDDwB','Enable\x20Ranger\x20hooks\x20for\x20this\x20session','pZUms','update\x20<env-name>','KtvJZ','config','RqAge','QjWZX','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.','Unknown\x20command','ranger\x20create','You\x20must\x20specify\x20an\x20env\x20subcommand','KuplO','FpQjC','test','YbHzH','FDBbH'];_0x28a8=function(){return _0xd9d6ff;};return _0x28a8();}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 _0x4e2e4d=>{const _0x532e20=_0x5120,_0x42539c=getCurrentCollector();_0x42539c&&await _0x42539c[_0x532e20(0x265)](_0x4e2e4d),process['exitCode']=0x1;});const rawArgs=process['argv']['slice'](0x2),TOP_LEVEL_HELP='Usage:\x20ranger\x20<command>\x20[options]\x0a\x0aTo\x20set\x20up\x20a\x20profile\x20for\x20your\x20app,\x20run\x20`ranger\x20profile\x20add\x20<name>`\x20—\x20opens\x20a\x0abrowser\x20so\x20you\x20can\x20log\x20in\x20once.\x20For\x20CI\x20/\x20background\x20agents\x20and\x20other\x20setup\x0aoptions,\x20see\x20https://docs.ranger.net/main/concepts/profiles.\x0a\x0aCommands:\x0a\x20\x20setup\x20[token]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Initialize\x20Ranger\x20in\x20your\x20project\x0a\x20\x20setup\x20all\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Full\x20interactive\x20setup\x20(same\x20as\x20bare\x20setup)\x0a\x20\x20setup\x20deps\x20[--with-deps]\x20\x20\x20\x20Install\x20Chromium\x20browser\x0a\x20\x20setup\x20login\x20[--token\x20<t>]\x20\x20\x20Authenticate\x20with\x20Ranger\x0a\x20\x20setup\x20skills\x20[--scope\x20...]\x20\x20Install\x20Claude\x20Code\x20plugin\x20and\x20skills\x0a\x20\x20setup\x20profiles\x20[--url\x20<u>]\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20setup\x20--mcp-bootstrap\x20\x20\x20\x20\x20\x20\x20Bootstrap\x20auth\x20via\x20MCP\x20auth\x20server\x0a\x20\x20login\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Re-authenticate\x20without\x20full\x20setup\x0a\x20\x20skillup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Install\x20Ranger\x20skills\x0a\x20\x20clean\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Remove\x20Ranger\x20artifacts\x20from\x20the\x20project\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20version,\x20org,\x20skills,\x20and\x20profile\x20status\x0a\x20\x20update\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Update\x20Ranger\x20CLI\x20to\x20the\x20latest\x20version\x0a\x0a\x20\x20profile\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Manage\x20profiles\x20(add/use/ls/config)\x0a\x20\x20\x20\x20add\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Add\x20a\x20profile\x20(opens\x20a\x20browser\x20for\x20login)\x0a\x20\x20\x20\x20use\x20<profile-name>\x20\x20\x20\x20\x20\x20\x20\x20Switch\x20active\x20profile\x0a\x20\x20\x20\x20update\x20<profile-name>\x20\x20\x20\x20\x20Refresh\x20authentication\x20for\x20an\x20existing\x20profile\x0a\x20\x20\x20\x20delete\x20<profile-name>\x20\x20\x20\x20\x20Delete\x20a\x20cloud\x20profile\x0a\x20\x20\x20\x20ls\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20profiles\x0a\x20\x20\x20\x20config\x20<command>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Set/get/list/unset/reset\x20profile\x20config\x0a\x0a\x20\x20create\x20<name>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Create\x20a\x20feature\x20review\x20with\x20scenarios\x0a\x20\x20list\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20List\x20feature\x20reviews\x0a\x20\x20show\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20feature\x20review\x20details\x0a\x20\x20resume\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20feature\x20review\x0a\x20\x20add-scenario\x20<description>\x20\x20Add\x20a\x20scenario\x20to\x20the\x20active\x20feature\x20review\x0a\x20\x20edit-scenario\x20<description>\x20Edit\x20a\x20scenario\x20description\x0a\x20\x20get-review\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20reviewer\x20feedback\x0a\x20\x20report\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Generate\x20PR\x20description\x20markdown\x0a\x20\x20delete\x20[id]\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Soft\x20delete\x20a\x20feature\x20review\x0a\x20\x20restore\x20<id>\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Restore\x20a\x20soft-deleted\x20feature\x20review\x0a\x0a\x20\x20go\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Verify\x20a\x20scenario\x20in\x20the\x20browser\x0a\x0aRun\x20`ranger\x20<command>\x20--help`\x20for\x20details.',PROFILE_HELP=_0x592cb3(0x287),PROFILE_CONFIG_HELP=_0x592cb3(0x2f6);function warnRenamed(_0x29d589,_0x32f838){const _0x53c527=_0x592cb3;console['error']('\x0a'+_0x29d589+_0x53c527(0x336)+_0x32f838+'\x0a');}function argUsed(_0x2627cc){const _0x30802a=_0x592cb3;return rawArgs[_0x30802a(0x1bf)](_0x26ea5f=>_0x26ea5f===_0x2627cc||_0x26ea5f['startsWith'](_0x2627cc+'='));}function _0x5120(_0x22c4a9,_0x10175a){_0x22c4a9=_0x22c4a9-0x1b0;const _0x28a80f=_0x28a8();let _0x512006=_0x28a80f[_0x22c4a9];return _0x512006;}function warnFlagRenamed(_0x324344,_0x47d7d9,_0x39f467){const _0x5c2ff6={'myiKS':function(_0x137381,_0x51656f,_0x187368){return _0x137381(_0x51656f,_0x187368);}};argUsed(_0x47d7d9)&&_0x5c2ff6['myiKS'](warnRenamed,_0x324344+'\x20'+_0x47d7d9,_0x324344+'\x20'+_0x39f467);}function normalizeEnvVarNames(_0x13b2dd){const _0x2689cc=_0x592cb3,_0x7ddd33=Array[_0x2689cc(0x36c)](_0x13b2dd)?_0x13b2dd:_0x13b2dd?[_0x13b2dd]:[];return _0x7ddd33[_0x2689cc(0x28c)](_0xfbd9bc=>String(_0xfbd9bc)['split'](',')['map'](_0x5c51fb=>_0x5c51fb['trim']())['filter'](Boolean));}async function runGoCommand(_0x4d4a29,_0x22ed2b=![]){const _0x2bc0de=_0x592cb3,_0x4fd3e6={'FZwqq':_0x2bc0de(0x266),'WJtfu':function(_0x5845f5,_0x57f45c,_0x5b098f,_0x432753){return _0x5845f5(_0x57f45c,_0x5b098f,_0x432753);},'aWcyM':'--notes','yIYIO':_0x2bc0de(0x293),'rTYgK':function(_0x26014d){return _0x26014d();},'nfaLf':function(_0x39112f,_0x23665c){return _0x39112f!==_0x23665c;},'JTlxx':function(_0x5cc839,_0x2260b7){return _0x5cc839(_0x2260b7);},'dMpGW':'base-url','SEDQo':'debug-outcome','Lgndr':_0x2bc0de(0x22a),'WBekR':function(_0x349ed8,_0x54f88a){return _0x349ed8+_0x54f88a;},'jzyRB':_0x2bc0de(0x355),'VIaKE':'\x20INCOMPLETE','SqkUB':function(_0x5e58db,_0x4034df){return _0x5e58db===_0x4034df;},'bKRwM':'\x20PARTIAL','eAjFh':'blocked','JGgPl':_0x2bc0de(0x1e6),'HZdna':function(_0x2f6125,_0x480480){return _0x2f6125===_0x480480;},'XidaA':'verified'};_0x22ed2b&&(warnRenamed(_0x2bc0de(0x22c),_0x4fd3e6['FZwqq']),_0x4fd3e6[_0x2bc0de(0x205)](warnFlagRenamed,_0x2bc0de(0x22c),_0x2bc0de(0x273),_0x2bc0de(0x2a8)));_0x4fd3e6[_0x2bc0de(0x205)](warnFlagRenamed,_0x4fd3e6[_0x2bc0de(0x31f)],_0x2bc0de(0x2fa),_0x4fd3e6['aWcyM']),warnFlagRenamed(_0x4fd3e6[_0x2bc0de(0x31f)],_0x4fd3e6['yIYIO'],'--scenario');const _0x48411c=await loadRangerConfig(),_0x136466=_0x4fd3e6[_0x2bc0de(0x326)](isByokEnabled),_0x2a00b3=_0x4d4a29[_0x2bc0de(0x1e1)],_0x388637=_0x48411c[_0x2bc0de(0x1e1)],_0x36e461=normalizeEnvVarNames(_0x4d4a29['env-var']),_0x45ce4c=getVerificationTransport();if(_0x36e461[_0x2bc0de(0x289)]>0x0&&_0x4fd3e6['nfaLf'](_0x45ce4c,'playwright-cli')&&_0x45ce4c!=='rangerwright-cli')throw new Error(_0x2bc0de(0x248)+_0x45ce4c+'.');const _0x270d35=await _0x4fd3e6['JTlxx'](verifyFeature,{'featureId':_0x4d4a29[_0x2bc0de(0x253)],'profile':_0x4d4a29['profile']??(_0x22ed2b?_0x4d4a29[_0x2bc0de(0x22f)]:undefined)??process[_0x2bc0de(0x22f)][_0x2bc0de(0x1e3)],'authEnv':_0x22ed2b?undefined:_0x4d4a29[_0x2bc0de(0x22f)]??process[_0x2bc0de(0x22f)]['RANGER_AUTH_ENV'],'notes':_0x4d4a29['notes']??_0x4d4a29[_0x2bc0de(0x1c5)],'check':_0x4d4a29[_0x2bc0de(0x29d)],'scenario':_0x4d4a29['scenario']??_0x4d4a29[_0x2bc0de(0x249)],'startPath':_0x4d4a29[_0x2bc0de(0x1f6)],'baseUrl':_0x4d4a29[_0x4fd3e6['dMpGW']],'debugOutcome':_0x4d4a29[_0x4fd3e6['SEDQo']],'debugAddressComments':_0x4d4a29['debug-address-comments'],'headed':_0x4d4a29['headed'],'verifierEnvVars':_0x36e461,'allowUrlMismatch':_0x4d4a29[_0x4fd3e6['Lgndr']],'byokEnabled':_0x136466,'flagVerifyModel':_0x2a00b3,'configVerifyModel':_0x388637});console[_0x2bc0de(0x308)](_0x4fd3e6['WBekR']('\x0a','='['repeat'](0x3c))),console[_0x2bc0de(0x308)](_0x270d35['evaluation']===_0x2bc0de(0x1c4)?_0x4fd3e6['jzyRB']:_0x270d35['evaluation']===_0x2bc0de(0x299)?_0x4fd3e6[_0x2bc0de(0x29f)]:_0x4fd3e6[_0x2bc0de(0x338)](_0x270d35['evaluation'],_0x2bc0de(0x215))?_0x4fd3e6['bKRwM']:_0x4fd3e6['SqkUB'](_0x270d35['evaluation'],_0x4fd3e6['eAjFh'])?_0x2bc0de(0x334):'\x20FAILED'),console[_0x2bc0de(0x308)]('='['repeat'](0x3c)),console[_0x2bc0de(0x308)](_0x2bc0de(0x279)+_0x270d35[_0x2bc0de(0x1c3)]),console['log'](_0x2bc0de(0x1db)+_0x270d35['evaluation']),console[_0x2bc0de(0x308)](_0x2bc0de(0x2e1)+_0x270d35['evaluationReason']),_0x270d35['issues']?.['length']&&(console[_0x2bc0de(0x308)](_0x4fd3e6[_0x2bc0de(0x2a4)]),_0x270d35['issues'][_0x2bc0de(0x36d)]((_0x1de596,_0x1b3779)=>{const _0x25eae3=_0x2bc0de;console[_0x25eae3(0x308)]('\x0a'+(_0x1b3779+0x1)+'.\x20['+_0x1de596['severity']+']\x20'+_0x1de596['description']);})),process['exit'](_0x4fd3e6['HZdna'](_0x270d35[_0x2bc0de(0x281)],_0x4fd3e6['XidaA'])?0x0:0x1);}export function buildParser(_0x5c609b){const _0x5d4682=_0x592cb3,_0x284687={'NTyVa':_0x5d4682(0x234),'wghue':_0x5d4682(0x270),'AAuFT':'array','uGlIf':function(_0x3222c5,_0x2729b5){return _0x3222c5+_0x2729b5;},'JIxxE':'--checklist','RlsWH':_0x5d4682(0x2da),'RMshk':_0x5d4682(0x252),'FpQjC':_0x5d4682(0x2e8),'htmhc':_0x5d4682(0x230),'VOKRz':function(_0x3f6fe9,_0xb7c591,_0x1eb61b){return _0x3f6fe9(_0xb7c591,_0x1eb61b);},'KtvJZ':_0x5d4682(0x309),'CvORs':_0x5d4682(0x1b2),'BJrHm':_0x5d4682(0x327),'getnn':_0x5d4682(0x34c),'OiajP':'add-scenario','ZcQUn':_0x5d4682(0x1ea),'yimrL':'Scenario\x20number\x20to\x20edit\x20(1-based)','WciJR':_0x5d4682(0x2cb),'KfOBO':'edit-scenario','AsmeG':'Output\x20structured\x20JSON\x20data\x20instead\x20of\x20markdown','CvbSQ':function(_0x15dfd9,_0x1173f5,_0x566d70){return _0x15dfd9(_0x1173f5,_0x566d70);},'yZLHY':_0x5d4682(0x262),'zUUJS':'Feature\x20review\x20ID\x20to\x20restore','oAGwI':'restore','mHfaK':'Ranger\x20API\x20token','WLATC':_0x5d4682(0x2df),'kSgVY':_0x5d4682(0x26d),'tbKmW':'with-deps','mqfWi':_0x5d4682(0x2fb),'USsmf':'scope','EunWb':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup','RAvHL':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','RcdzX':_0x5d4682(0x2cf),'cOkVR':'allow-insecure-localhost','kTOuw':_0x5d4682(0x33a),'syRjQ':'Bootstrap\x20CLI\x20auth\x20via\x20an\x20MCP\x20auth\x20server','xHXOs':'setup:deps','hZXqI':_0x5d4682(0x35e),'yNqAK':_0x5d4682(0x235),'wminx':_0x5d4682(0x356),'UQrzW':_0x5d4682(0x1ce),'PYXSF':'Install\x20for\x20OpenCode\x20instead\x20of\x20Claude\x20Code','XKaiV':function(_0xd9479d,_0xc66bf7){return _0xd9479d!==_0xc66bf7;},'qzMDS':'setup:all','EOQps':function(_0x446ea5,_0x35d698,_0x4971c2){return _0x446ea5(_0x35d698,_0x4971c2);},'eSUxm':_0x5d4682(0x1cb),'pZUms':_0x5d4682(0x2a2),'kkXro':_0x5d4682(0x1de),'MbyLC':'Subcommand\x20or\x20API\x20token\x20(rngr_...)','Ukaqa':'all','wrVWG':'Authenticate\x20with\x20Ranger','ETdBO':_0x5d4682(0x2b4),'bCvoW':_0x5d4682(0x1c9),'zcsKX':_0x5d4682(0x1d2),'PKqDE':'Reserved\x20—\x20setup\x20always\x20installs\x20at\x20user\x20scope.','enXxf':_0x5d4682(0x229),'RxbiI':_0x5d4682(0x268),'FLbcr':_0x5d4682(0x2c5),'NWplO':'API\x20token','Limid':'start','sdCpU':'profile','rprAz':'Base\x20URL\x20for\x20the\x20app\x20(creates/updates\x20profile\x20settings)','MgCvZ':'Skip\x20Chromium\x20browser\x20installation','rskWt':_0x5d4682(0x324),'pRbQo':function(_0x30335d,_0x46dfb9,_0x5cc63a){return _0x30335d(_0x46dfb9,_0x5cc63a);},'bqsOn':_0x5d4682(0x24d),'ymFHS':'Install\x20skills\x20for\x20OpenCode','ZKQKl':'skillup','OQDFV':'clean','TBOTj':function(_0x3b5d20,_0x165e67,_0x10af7c,_0x470973){return _0x3b5d20(_0x165e67,_0x10af7c,_0x470973);},'iUnJb':'profile\x20add','OpBHu':'profile-name','PftXC':'yes','oViMb':_0x5d4682(0x2b5),'VFbRM':'profile\x20ls','bRRsr':'dry-run','prybp':_0x5d4682(0x1c1),'dNQtA':'Store\x20RANGER_TEST_USERNAME/PASSWORD\x20env\x20values\x20on\x20the\x20migrated\x20profile.','RFeDc':'Profile\x20name','panuz':_0x5d4682(0x2ad),'gCyCW':_0x5d4682(0x26b),'CWuHi':'List\x20all\x20config\x20for\x20a\x20profile','tCvZW':_0x5d4682(0x233),'qtkIs':_0x5d4682(0x24a),'gSepj':_0x5d4682(0x2ed),'qMVXP':_0x5d4682(0x27e),'QZyiy':_0x5d4682(0x1e2),'xnomw':'cdp-endpoint','EVUrp':'Disable\x20browser\x20features\x20that\x20can\x20cause\x20crashes\x20on\x20some\x20systems\x20(e.g.\x20Bluetooth\x20permission\x20prompts\x20on\x20macOS)','rqARQ':'Where\x20to\x20store\x20the\x20profile:\x20user\x20(~/.ranger/)\x20or\x20project\x20(.ranger/)','PqmEI':function(_0x1a64dd,_0x2e320b,_0x1c01db){return _0x1a64dd(_0x2e320b,_0x1c01db);},'GHjgE':'profile\x20encrypt-auth','oHpJm':'Error:\x20`ranger\x20profile\x20login`\x20is\x20headless\x20—\x20set\x20RANGER_TEST_USERNAME\x20and\x20RANGER_TEST_PASSWORD\x20before\x20running.','OXjFt':function(_0x25f959,_0x529026){return _0x25f959===_0x529026;},'Dwktv':_0x5d4682(0x1d7),'aBGkd':'failed','uoDSP':_0x5d4682(0x285),'XkzLq':'profile\x20config\x20set','HRLmP':_0x5d4682(0x1f0),'hsbPs':'profile\x20config\x20reset','SpvGI':_0x5d4682(0x310),'Njjhr':_0x5d4682(0x2ac),'lptFr':_0x5d4682(0x257),'mJpMQ':_0x5d4682(0x206),'bBrFu':_0x5d4682(0x303),'lsXzT':function(_0x163e6d){return _0x163e6d();},'iPxVC':_0x5d4682(0x2f4),'WXiuA':_0x5d4682(0x373),'cHrVx':'Notes\x20for\x20verification\x20(defaults\x20to\x20scenario\x20description)','QjWZX':_0x5d4682(0x29d),'fYDcr':'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`.','gfGRq':_0x5d4682(0x250),'hgBdC':'Scenario\x20index\x20(1-based)','VdUJk':'start-path','tSmvN':_0x5d4682(0x210),'vyIop':'Override\x20the\x20profile\x20base\x20URL\x20for\x20this\x20run\x20(e.g.,\x20https://localhost:3003).\x20Also\x20respects\x20RANGER_BASE_URL.','WZyfG':_0x5d4682(0x1e1),'vYzhR':'headed','QcWCo':'Force\x20headed\x20browser\x20for\x20this\x20run\x20only\x20(does\x20not\x20change\x20profile\x20config)','ZQGKs':_0x5d4682(0x35f),'XGizF':_0x5d4682(0x2c1),'OGLka':_0x5d4682(0x30c),'OLHKE':_0x5d4682(0x333),'YxyGy':_0x5d4682(0x236),'bksNw':_0x5d4682(0x366),'tedXI':'task','nhlIF':'item','pzyMZ':'ranger\x20profile\x20encrypt-auth','pkDqC':function(_0x523c21,_0x39a5e8){return _0x523c21(_0x39a5e8);},'sTNaz':'encrypt\x20<profile>','eszmu':_0x5d4682(0x363),'KInOe':'Base\x20URL\x20of\x20the\x20running\x20app\x20for\x20profile\x20setup\x20(required\x20in\x20non-interactive\x20mode)','OFGdI':_0x5d4682(0x316),'AjhwR':'Skip\x20authentication','fPKkW':function(_0x11d781,_0x672c57,_0x584774){return _0x11d781(_0x672c57,_0x584774);},'kwbbW':'env','hZSHR':'Task\x20description\x20(defaults\x20to\x20scenario\x20description)','QqCHz':_0x5d4682(0x220),'KuplO':_0x5d4682(0x35d),'Rnaaw':'verified','siuCj':'partial','nGeiQ':_0x5d4682(0x296),'ryAiu':function(_0x22a68b,_0x2c7b75,_0x308f76){return _0x22a68b(_0x2c7b75,_0x308f76);},'PfToc':function(_0x5147f2,_0x2b2ec3,_0x40d7c0){return _0x5147f2(_0x2b2ec3,_0x40d7c0);},'pyLZW':'ranger\x20profile\x20use','Xekrb':'key','JxFFS':'Config\x20key','PUnOd':function(_0xcfba6c,_0x37ede1,_0x3753dd){return _0xcfba6c(_0x37ede1,_0x3753dd);},'XLpoH':'ranger\x20config\x20unset','erBAh':_0x5d4682(0x1e8),'yPwlq':'ranger\x20profile\x20config\x20get','yVjmF':'set\x20<env>\x20<key>\x20<value>','IjJvX':'list\x20<env>','vYgQu':_0x5d4682(0x259),'Rtuca':_0x5d4682(0x29b),'cjOsO':_0x5d4682(0x2c8),'zyeSp':'ranger\x20env\x20update','iMnAL':_0x5d4682(0x224),'qlEPT':'env\x20update','atNTG':'Feature\x20review\x20description','HnMNx':'checklist','wyWFx':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)','elmPT':_0x5d4682(0x2a7),'WKxAD':_0x5d4682(0x30e),'vuMjl':function(_0x553225,_0x472626,_0x15dfcd){return _0x553225(_0x472626,_0x15dfcd);},'VLsNK':_0x5d4682(0x218),'lSJeC':_0x5d4682(0x225),'DdMvm':'Feature\x20review\x20ID','etmgJ':'feature\x20create','UYBcs':_0x5d4682(0x1fa),'EZPTh':'ranger\x20show','JtruA':function(_0x1379cd,_0x557114,_0x1f45c7){return _0x1379cd(_0x557114,_0x1f45c7);},'GaWbT':_0x5d4682(0x36f),'taOzN':function(_0x516619,_0x5db45f,_0x506b31){return _0x516619(_0x5db45f,_0x506b31);},'XWdLH':_0x5d4682(0x226),'adLaO':_0x5d4682(0x221),'rHcbf':_0x5d4682(0x20c),'ZRNeG':_0x5d4682(0x2bb),'AzCsa':_0x5d4682(0x28e),'QtOst':'add-checklist-item\x20<description>','tfzay':_0x5d4682(0x35c),'SzRlT':_0x5d4682(0x2e7),'pfCtf':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','zgOgb':function(_0x23971d,_0x246384,_0x15e5c2){return _0x23971d(_0x246384,_0x15e5c2);},'teoFy':'enable','KqYzi':_0x5d4682(0x33c),'XFeRG':_0x5d4682(0x1fb),'pActi':_0x5d4682(0x239),'ROvoG':function(_0x421ada,_0x47df31,_0xcaa215){return _0x421ada(_0x47df31,_0xcaa215);},'HDRbz':function(_0x4cd7bd){return _0x4cd7bd();},'uVkdS':function(_0x4c068c,_0x44e093){return _0x4c068c||_0x44e093;},'CawRb':_0x5d4682(0x2ea),'QfaCj':'Create\x20a\x20new\x20feature\x20review\x20with\x20scenarios','RqAge':'Find\x20and\x20use\x20feature\x20review\x20matching\x20current\x20git\x20context','yXauk':'add-scenario\x20<description>','woMhx':_0x5d4682(0x2bc),'OMbfm':_0x5d4682(0x321),'sftPA':_0x5d4682(0x330),'GVtqF':'Initialize\x20Ranger\x20in\x20your\x20project','JUUUX':_0x5d4682(0x25d),'SOTmF':_0x5d4682(0x301),'GIPBs':'Install\x20Ranger\x20skills','fGEdc':'Remove\x20all\x20Ranger\x20artifacts\x20from\x20the\x20project','xkWjl':_0x5d4682(0x26c),'VIYoL':_0x5d4682(0x21f),'IVRUZ':_0x5d4682(0x1ca),'xNbGC':'config','xrjZn':_0x5d4682(0x1cc),'nBegk':'You\x20must\x20specify\x20a\x20command','maLOi':'Documentation:\x0a','xYQcf':'\x20\x20https://docs.ranger.net/llms.txt\x20(for\x20LLMs)'};return _0x270062(_0x5c609b??process['argv']['slice'](0x2))['scriptName']('ranger')['usage'](TOP_LEVEL_HELP)['version'](getCurrentVersion())[_0x5d4682(0x318)](_0x284687['adLaO'],_0x284687['QfaCj'],_0xe02f8a=>{const _0x24a3c9=_0x5d4682;return _0xe02f8a['positional'](_0x284687['NTyVa'],{'type':_0x24a3c9(0x309),'description':_0x284687[_0x24a3c9(0x1c0)],'demandOption':!![]})[_0x24a3c9(0x1bb)](_0x24a3c9(0x327),{'type':_0x24a3c9(0x309),'alias':'d','description':_0x24a3c9(0x23d)})['option'](_0x24a3c9(0x250),{'type':_0x284687[_0x24a3c9(0x1dc)],'alias':'c','description':'Scenarios\x20(use\x20multiple\x20-c\x20flags\x20for\x20multiple\x20scenarios)'})[_0x24a3c9(0x1bb)](_0x24a3c9(0x32e),{'type':'array','hidden':!![]});},async _0x2776fb=>{const _0x2521e2=_0x5d4682;if(!_0x2776fb[_0x2521e2(0x234)]){console[_0x2521e2(0x2fd)](_0x284687[_0x2521e2(0x280)](_0x2521e2(0x307),'Example:\x20ranger\x20create\x20my-feature')),process['exit'](0x1);return;}warnFlagRenamed('ranger\x20create',_0x284687[_0x2521e2(0x31a)],_0x2521e2(0x2d8));const _0x4c9cdd=_0x2776fb['scenario']||_0x2776fb['checklist'];await withTelemetry('create',()=>featureCreate(_0x2776fb['name'],{'description':_0x2776fb['description'],'scenarios':_0x4c9cdd}));})[_0x5d4682(0x318)](_0x5d4682(0x20c),'List\x20all\x20feature\x20reviews',_0x42f4de=>{const _0x421cd8=_0x5d4682;return _0x42f4de[_0x421cd8(0x1bb)](_0x284687['RlsWH'],{'type':'boolean','description':'Filter\x20to\x20feature\x20reviews\x20for\x20current\x20git\x20branch'})['option'](_0x284687['RMshk'],{'type':_0x284687['FpQjC'],'alias':'l','description':_0x421cd8(0x23f),'default':0xa})[_0x421cd8(0x1bb)]('offset',{'type':_0x421cd8(0x2e8),'alias':'o','description':'Number\x20of\x20feature\x20reviews\x20to\x20skip','default':0x0})[_0x421cd8(0x1bb)](_0x421cd8(0x213),{'type':'boolean','alias':'d','description':_0x284687['htmhc'],'default':![]});},async _0x5d1f31=>{const _0x21ffb6=_0x5d4682;await _0x284687[_0x21ffb6(0x1e0)](withTelemetry,'list',()=>featureList({'currentBranch':_0x5d1f31[_0x21ffb6(0x2da)],'limit':_0x5d1f31[_0x21ffb6(0x252)],'offset':_0x5d1f31[_0x21ffb6(0x365)],'includeDeleted':_0x5d1f31['include-deleted']}));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x2b8)],'Show\x20feature\x20review\x20details\x20(uses\x20active\x20feature\x20review\x20if\x20no\x20id)',_0x752fc9=>{return _0x752fc9['positional']('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0xa86bf5=>{const _0x1d4264=_0x5d4682;await withTelemetry(_0x1d4264(0x2c2),()=>featureShow(_0xa86bf5['id']));})[_0x5d4682(0x318)]('resume\x20[id]',_0x284687[_0x5d4682(0x341)],_0x11b990=>{const _0x2ea8c9=_0x5d4682;return _0x11b990[_0x2ea8c9(0x232)]('id',{'type':_0x284687['KtvJZ'],'description':_0x284687['CvORs']});},async _0x2de1f4=>{await withTelemetry('resume',()=>featureResume(_0x2de1f4['id']));})['command'](_0x284687['yXauk'],_0x5d4682(0x269),_0x36406a=>{const _0x58da32=_0x5d4682;return _0x36406a[_0x58da32(0x232)](_0x284687['BJrHm'],{'type':_0x284687['KtvJZ'],'description':_0x284687['getnn'],'demandOption':!![]})[_0x58da32(0x1bb)]('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x5c5d10=>{await withTelemetry(_0x284687['OiajP'],()=>featureAddScenario(_0x5c5d10['description'],_0x5c5d10['id']));})[_0x5d4682(0x318)]('edit-scenario\x20<description>','Edit\x20a\x20scenario\x20description\x20on\x20the\x20active\x20feature\x20review',_0x43625a=>{const _0x35fdb1=_0x5d4682;return _0x43625a['positional'](_0x284687[_0x35fdb1(0x1fe)],{'type':_0x35fdb1(0x309),'description':_0x284687['ZcQUn'],'demandOption':!![]})['option'](_0x35fdb1(0x250),{'type':_0x35fdb1(0x2e8),'description':_0x284687[_0x35fdb1(0x1c8)],'demandOption':!![]})[_0x35fdb1(0x1bb)]('id',{'type':_0x284687[_0x35fdb1(0x33f)],'description':_0x284687['WciJR']});},async _0x93a2a6=>{const _0xb123e2=_0x5d4682;await _0x284687[_0xb123e2(0x1e0)](withTelemetry,_0x284687['KfOBO'],()=>featureEditScenario(_0x93a2a6[_0xb123e2(0x327)],{'id':_0x93a2a6['id'],'scenario':_0x93a2a6[_0xb123e2(0x250)]}));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x216)],_0x5d4682(0x227),_0x4d465c=>{const _0x115ee7=_0x5d4682;return _0x4d465c['positional']('id',{'type':_0x115ee7(0x309),'description':_0x115ee7(0x1f5)})['option'](_0x115ee7(0x277),{'type':'array','description':_0x115ee7(0x1da)})['option'](_0x115ee7(0x319),{'type':'boolean','description':_0x284687['AsmeG'],'default':![]});},async _0x525c1a=>{const _0x540283=_0x5d4682,_0x3e06db=_0x525c1a['exclude-scenario'],_0x41b43e=_0x3e06db?_0x3e06db[_0x540283(0x1d4)](_0x2969e8=>Number(_0x2969e8)):undefined;await withTelemetry('report',()=>featureReportPrDescription(_0x525c1a['id'],{'excludeScenarios':_0x41b43e,'json':_0x525c1a[_0x540283(0x319)]}));})[_0x5d4682(0x318)](_0x284687['OMbfm'],'Show\x20reviewer\x20feedback\x20(comments)\x20for\x20all\x20scenarios',_0x1fbf16=>{return _0x1fbf16['positional']('id',{'type':_0x284687['KtvJZ'],'description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x30c6d6=>{const _0x37bf19=_0x5d4682;await _0x284687[_0x37bf19(0x27b)](withTelemetry,_0x284687['yZLHY'],()=>featureGetReview(_0x30c6d6['id']));})['command']('delete\x20[id]',_0x284687['sftPA'],_0x3aa2a5=>{const _0x9f9458=_0x5d4682;return _0x3aa2a5['positional']('id',{'type':_0x9f9458(0x309),'description':'Feature\x20review\x20ID'});},async _0x2b6d19=>{await withTelemetry('delete',()=>featureDelete(_0x2b6d19['id']));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x2c6)],_0x5d4682(0x23c),_0x2f5e33=>{const _0x123bdf=_0x5d4682;return _0x2f5e33[_0x123bdf(0x232)]('id',{'type':_0x123bdf(0x309),'description':_0x284687['zUUJS'],'demandOption':!![]});},async _0x11ea90=>{const _0x2617c=_0x5d4682;await withTelemetry(_0x284687[_0x2617c(0x222)],()=>featureRestore(_0x11ea90['id']));})['command'](_0x5d4682(0x204),_0x284687['GVtqF'],_0x2c4ed2=>{const _0x1f4b51=_0x5d4682,_0x40495b={'eMyOd':_0x1f4b51(0x229),'EqUcd':_0x284687[_0x1f4b51(0x2f7)],'fqXwf':_0x1f4b51(0x26d),'nyeLw':'Install\x20OS-level\x20dependencies\x20for\x20Chromium\x20(apt\x20packages\x20for\x20Debian/Ubuntu\x20containers)','bspnf':function(_0x11b8fb){return _0x11b8fb();},'oniha':'Failed\x20to\x20exchange\x20MCP\x20refresh\x20token\x20for\x20a\x20CLI\x20token.','TaRFN':function(_0xdcde63,_0x303ca6){return _0xdcde63(_0x303ca6);},'WKVqN':function(_0x30c832,_0x616604,_0x2c5ecb){return _0x284687['EOQps'](_0x30c832,_0x616604,_0x2c5ecb);},'EUgvh':_0x284687[_0x1f4b51(0x33f)],'VRKuN':_0x1f4b51(0x1d2),'ckWMG':_0x284687[_0x1f4b51(0x2fe)],'BPZck':_0x284687[_0x1f4b51(0x33d)],'gEMgW':_0x1f4b51(0x32d),'CRLpt':_0x1f4b51(0x1b8)};return _0x2c4ed2['usage'](_0x1f4b51(0x352))['positional'](_0x284687['kkXro'],{'type':'string','description':_0x284687[_0x1f4b51(0x20f)]})[_0x1f4b51(0x318)](_0x284687['Ukaqa'],_0x1f4b51(0x325),_0x56544b=>{const _0x4b0b57=_0x1f4b51;return _0x56544b['option']('token',{'type':_0x284687['KtvJZ'],'description':_0x284687['mHfaK']})['option'](_0x284687[_0x4b0b57(0x35a)],{'type':_0x284687[_0x4b0b57(0x302)],'description':_0x4b0b57(0x1c9),'default':![]})['option']('skip-auth',{'type':_0x284687[_0x4b0b57(0x302)],'description':'Skip\x20authentication','default':![]})['option'](_0x284687[_0x4b0b57(0x27d)],{'type':_0x284687[_0x4b0b57(0x302)],'description':_0x284687[_0x4b0b57(0x228)],'default':![]})[_0x4b0b57(0x1bb)](_0x284687[_0x4b0b57(0x305)],{'type':_0x4b0b57(0x309),'choices':[_0x4b0b57(0x1d2)],'hidden':!![],'description':_0x4b0b57(0x246)})['option']('url',{'type':'string','description':_0x284687['EunWb']})['option'](_0x4b0b57(0x2a2),{'type':_0x4b0b57(0x26d),'description':_0x284687[_0x4b0b57(0x359)],'default':![]})[_0x4b0b57(0x1bb)](_0x284687[_0x4b0b57(0x2c7)],{'type':'boolean','description':_0x4b0b57(0x271),'default':![]})[_0x4b0b57(0x1bb)](_0x284687['cOkVR'],{'type':_0x4b0b57(0x26d),'description':_0x284687[_0x4b0b57(0x31c)],'default':![]})[_0x4b0b57(0x1bb)]('mcp-bootstrap',{'type':_0x284687['kSgVY'],'description':_0x284687[_0x4b0b57(0x306)],'default':![]})['option'](_0x4b0b57(0x368),{'type':_0x284687['kSgVY'],'description':_0x4b0b57(0x36e),'default':![]});},async _0x598a61=>{const _0x2aea27=_0x1f4b51;(_0x598a61[_0x40495b['eMyOd']]||_0x598a61['mcp'])&&await withTelemetry('mcp-bootstrap',()=>mcpBootstrap()),await withTelemetry(_0x40495b[_0x2aea27(0x20a)],_0x3f484c=>start(_0x598a61['token'],{'skipChromium':_0x598a61['skip-chromium'],'skipAuth':_0x598a61[_0x2aea27(0x316)],'withDeps':_0x598a61[_0x2aea27(0x264)],'scope':_0x598a61[_0x2aea27(0x1fc)],'url':_0x598a61[_0x2aea27(0x1cb)],'force':_0x598a61[_0x2aea27(0x2a2)],'opencode':_0x598a61['opencode'],'allowInsecureLocalhost':_0x598a61['allow-insecure-localhost']},_0x3f484c));})[_0x1f4b51(0x318)](_0x1f4b51(0x2a0),_0x1f4b51(0x370),_0x52003b=>{const _0x3cbf69=_0x1f4b51;return _0x52003b[_0x3cbf69(0x1bb)]('with-deps',{'type':_0x40495b[_0x3cbf69(0x278)],'description':_0x40495b[_0x3cbf69(0x1cd)],'default':![]});},async _0x480a2d=>{const _0x5e2fec=_0x1f4b51;await _0x284687[_0x5e2fec(0x27b)](withTelemetry,_0x284687['xHXOs'],()=>ensureChromium(_0x480a2d['with-deps']));})['command']('login',_0x284687[_0x1f4b51(0x20d)],_0x4ce7d8=>{const _0x2023df=_0x1f4b51;return _0x4ce7d8[_0x2023df(0x1bb)]('token',{'type':_0x284687[_0x2023df(0x33f)],'description':_0x284687[_0x2023df(0x2de)]})['option']('mcp',{'type':'boolean','description':_0x284687[_0x2023df(0x1d6)],'default':![]});},async _0x2e1f64=>{const _0x4c759a=_0x1f4b51;await _0x40495b[_0x4c759a(0x283)](withTelemetry,'setup:login',async()=>{const _0xd008e2=_0x4c759a;if(_0x2e1f64[_0xd008e2(0x368)]){await _0x40495b['bspnf'](mcpBootstrap);const _0x121f2f=await refreshCliToken();if(!_0x121f2f)throw new Error(_0x40495b['oniha']);const _0x15ea5f=await _0x40495b['TaRFN'](getCurrentUser,_0x121f2f);if(!_0x15ea5f[_0xd008e2(0x294)])throw new Error(_0xd008e2(0x2b2)+_0x15ea5f[_0xd008e2(0x2fd)]);console['log'](_0xd008e2(0x263)+_0x15ea5f[_0xd008e2(0x1d2)][_0xd008e2(0x201)]);return;}await _0x40495b[_0xd008e2(0x314)](authenticate,_0x2e1f64['token']);});})['command'](_0x1f4b51(0x24c),'Install\x20Claude\x20Code\x20plugin\x20and\x20skills',_0x1a5244=>{const _0x41a040=_0x1f4b51;return _0x1a5244['option']('scope',{'type':_0x284687[_0x41a040(0x33f)],'choices':['user',_0x284687['wminx']],'description':_0x284687[_0x41a040(0x329)]})[_0x41a040(0x1bb)]('opencode',{'type':_0x41a040(0x26d),'description':_0x284687['PYXSF'],'default':![]});},async _0x1d1741=>{await withTelemetry('setup:skills',async()=>{const _0x5da309=_0x5120,_0x987ede=_0x1d1741['scope'];if(_0x1d1741['opencode']){const _0x27bd78=await ensureOpencodePluginConfig(_0x987ede);_0x27bd78&&await _0x40495b[_0x5da309(0x283)](installSkill,_0x5da309(0x209),{'level':_0x27bd78['scope'],'cliVersion':_0x40495b['bspnf'](getCurrentVersion),'platform':'opencode'});}else await _0x40495b[_0x5da309(0x314)](ensureClaudePlugin,_0x987ede),await ensureClaudeSkills(_0x987ede);});})['command'](_0x284687['ETdBO'],_0x1f4b51(0x23b),_0x10b849=>{const _0x551b3c=_0x1f4b51;return _0x10b849['option']('scope',{'type':_0x40495b['EUgvh'],'choices':[_0x40495b[_0x551b3c(0x367)]],'description':_0x551b3c(0x246)})['option'](_0x40495b['ckWMG'],{'type':_0x40495b['EUgvh'],'description':_0x551b3c(0x2f0)})['option'](_0x551b3c(0x316),{'type':_0x40495b['fqXwf'],'description':_0x551b3c(0x1f3),'default':![]})['option'](_0x40495b[_0x551b3c(0x331)],{'type':_0x40495b[_0x551b3c(0x278)],'description':_0x40495b['gEMgW'],'default':![]})[_0x551b3c(0x1bb)](_0x40495b[_0x551b3c(0x2f1)],{'type':_0x551b3c(0x26d),'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments','default':![]});},async _0x5e8c3d=>{const _0x39f231=_0x1f4b51,_0x43ab58=_0x5e8c3d['scope'];_0x43ab58!==undefined&&_0x284687[_0x39f231(0x1b5)](_0x43ab58,_0x39f231(0x1d2))&&(console['error'](_0x284687[_0x39f231(0x280)]('ranger\x20setup\x20profiles\x20--scope='+_0x43ab58+_0x39f231(0x24e)+'Setup\x20always\x20installs\x20at\x20user\x20scope\x20now.\x20',_0x39f231(0x22d))),process['exit'](0x1)),await withTelemetry('setup:profiles',_0x59152c=>ensureLocalEnv({'url':_0x5e8c3d['url'],'force':_0x5e8c3d[_0x39f231(0x2a2)],'allowInsecureLocalhost':_0x5e8c3d['allow-insecure-localhost'],'scope':_0x39f231(0x1d2)},_0x59152c));})['option'](_0x284687['WLATC'],{'type':'boolean','description':_0x284687[_0x1f4b51(0x1b6)],'default':![]})[_0x1f4b51(0x1bb)]('scope',{'type':_0x284687['KtvJZ'],'choices':[_0x284687['zcsKX']],'hidden':!![],'description':_0x284687[_0x1f4b51(0x1b3)]})[_0x1f4b51(0x1bb)](_0x1f4b51(0x1cb),{'type':_0x284687['KtvJZ'],'description':_0x1f4b51(0x1ec)})[_0x1f4b51(0x1bb)]('force',{'type':_0x284687[_0x1f4b51(0x302)],'description':'Skip\x20URL\x20reachability\x20check\x20when\x20using\x20--url','default':![]})[_0x1f4b51(0x1bb)](_0x284687[_0x1f4b51(0x2c7)],{'type':_0x1f4b51(0x26d),'description':_0x284687['PYXSF'],'default':![]})[_0x1f4b51(0x1bb)](_0x284687['cOkVR'],{'type':'boolean','description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})['option'](_0x284687['enXxf'],{'type':'boolean','description':_0x284687['RxbiI'],'default':![]})[_0x1f4b51(0x1bb)](_0x1f4b51(0x316),{'type':_0x284687['kSgVY'],'description':'Skip\x20authentication\x20(install\x20deps\x20only\x20—\x20for\x20container/CI\x20image\x20builds)','default':![]})[_0x1f4b51(0x1bb)](_0x284687[_0x1f4b51(0x27d)],{'type':_0x284687['kSgVY'],'description':_0x1f4b51(0x1b4),'default':![]})[_0x1f4b51(0x1bb)](_0x284687['FLbcr'],{'type':'string','hidden':!![],'description':_0x284687['NWplO']});},async _0xee1245=>{const _0x57a3a4=_0x5d4682,_0x43d47e=_0xee1245[_0x57a3a4(0x1de)],_0x14bd4d=_0xee1245['token']??_0x43d47e;_0xee1245[_0x57a3a4(0x229)]&&await withTelemetry(_0x284687[_0x57a3a4(0x20b)],()=>mcpBootstrap()),await _0x284687['VOKRz'](withTelemetry,_0x284687['Limid'],_0x5b8914=>start(_0x14bd4d,{'skipChromium':_0xee1245[_0x57a3a4(0x2df)],'skipAuth':_0xee1245[_0x57a3a4(0x316)],'withDeps':_0xee1245['with-deps'],'scope':_0xee1245['scope'],'url':_0xee1245['url'],'force':_0xee1245[_0x57a3a4(0x2a2)],'opencode':_0xee1245['opencode'],'allowInsecureLocalhost':_0xee1245['allow-insecure-localhost']},_0x5b8914));})['command'](_0x284687[_0x5d4682(0x1f1)],![],_0x12207d=>{const _0x47d0e4=_0x5d4682;return _0x12207d[_0x47d0e4(0x232)](_0x284687['FLbcr'],{'type':_0x47d0e4(0x309),'description':'Ranger\x20API\x20token','demandOption':!![]})['option'](_0x284687[_0x47d0e4(0x29a)],{'type':'string','description':_0x47d0e4(0x245)})[_0x47d0e4(0x1bb)](_0x47d0e4(0x210),{'type':_0x284687['KtvJZ'],'description':_0x284687[_0x47d0e4(0x21c)]})[_0x47d0e4(0x1bb)](_0x47d0e4(0x2df),{'type':_0x284687[_0x47d0e4(0x302)],'description':_0x284687[_0x47d0e4(0x21a)],'default':![]});},async _0x2b7765=>{const _0x353898=_0x5d4682;await withTelemetry(_0x284687['rskWt'],_0x41d8ef=>setupCi(_0x2b7765['token'],{'profile':_0x2b7765['profile'],'baseUrl':_0x2b7765['base-url'],'skipChromium':_0x2b7765[_0x353898(0x2df)]},_0x41d8ef));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x25a)],_0x284687['SOTmF'],()=>{},async()=>{const _0xb51d4d=_0x5d4682;await _0x284687['pRbQo'](withTelemetry,_0x284687[_0xb51d4d(0x25a)],()=>login());})['command'](_0x284687['ZKQKl'],_0x284687['GIPBs'],_0x5385c1=>{const _0xbd9ba6=_0x5d4682;return _0x5385c1['option'](_0x284687['RcdzX'],{'type':_0x284687[_0xbd9ba6(0x302)],'description':_0x284687['ymFHS'],'default':![]})['option'](_0x284687[_0xbd9ba6(0x305)],{'type':_0x284687['KtvJZ'],'choices':[_0xbd9ba6(0x1d2),_0x284687['wminx']],'description':'Install\x20scope\x20for\x20skills'});},async _0x3c61c6=>{const _0x5a4735=_0x5d4682,_0x5514c7=Boolean(_0x3c61c6[_0x5a4735(0x2cf)]);await withTelemetry(_0x284687['ZKQKl'],()=>skillup({'autoInstall':_0x3c61c6['scope'],'platform':_0x5514c7?_0x5a4735(0x2cf):_0x5a4735(0x247)}));})['command'](_0x284687[_0x5d4682(0x2a9)],_0x284687['fGEdc'],()=>{},async()=>{const _0x2b42e3=_0x5d4682;await withTelemetry(_0x284687[_0x2b42e3(0x2a9)],()=>clean());})[_0x5d4682(0x318)]([_0x5d4682(0x300),_0x284687['ETdBO']],_0x5d4682(0x26e),_0xe77212=>{const _0x13a730=_0x5d4682,_0x2aa9e5={'hbNCo':_0x284687[_0x13a730(0x32b)],'LloSm':_0x284687[_0x13a730(0x302)],'aGuVx':_0x13a730(0x1b7),'NFBAT':_0x284687['KtvJZ'],'WPacY':_0x284687['QZyiy'],'cpSgX':_0x13a730(0x2a2),'XpEbp':_0x13a730(0x32d),'lgkra':_0x284687['xnomw'],'ycMsQ':_0x13a730(0x1b9),'xVhWP':_0x13a730(0x1b8),'gcgfK':_0x284687[_0x13a730(0x2f9)],'vyjPg':'scope','LvSBy':_0x284687[_0x13a730(0x275)],'BnAee':_0x13a730(0x356),'jWsqj':_0x284687[_0x13a730(0x1e9)],'LPAna':'Skip\x20interactive\x20confirmation\x20prompts\x20(e.g.\x20cloud-profile\x20auto-route).','MdrdC':function(_0x12eb03,_0x3ce374,_0x330604){const _0x316fb9=_0x13a730;return _0x284687[_0x316fb9(0x313)](_0x12eb03,_0x3ce374,_0x330604);},'IsLzo':_0x284687['RFeDc'],'MpFvC':function(_0x5c526c,_0x24761a,_0x5235fa){return _0x5c526c(_0x24761a,_0x5235fa);},'SBOkJ':_0x284687[_0x13a730(0x335)],'nePWk':'Name\x20of\x20the\x20profile\x20to\x20update','AxssV':function(_0x5b4935,_0x5a9be5){return _0x5b4935||_0x5a9be5;},'XXgkA':_0x284687[_0x13a730(0x243)],'Fdywm':function(_0x5e2726,_0x4a3eb5){return _0x284687['OXjFt'](_0x5e2726,_0x4a3eb5);},'nrnZp':_0x284687[_0x13a730(0x1bc)],'vJyMg':_0x284687['aBGkd'],'Mqjww':_0x13a730(0x298),'aMuEH':_0x284687['sdCpU'],'FDBbH':_0x284687['uoDSP'],'cQxSu':'value','AnUvU':_0x284687[_0x13a730(0x24f)],'jykrf':'key','Ngsdl':_0x284687[_0x13a730(0x29c)],'LReTN':function(_0x4815b9,_0x138181,_0x55f6b3){return _0x4815b9(_0x138181,_0x55f6b3);},'esEgm':_0x284687['hsbPs']};return _0xe77212[_0x13a730(0x23e)](PROFILE_HELP)['command']('add\x20<profile-name>','Add\x20profile\x20configuration',_0xd7ed31=>{const _0x29cf3f=_0x13a730;return _0xd7ed31[_0x29cf3f(0x232)](_0x2aa9e5['hbNCo'],{'type':_0x29cf3f(0x309),'description':'Name\x20of\x20the\x20profile\x20(e.g.,\x20local,\x20staging,\x20prod)','demandOption':!![]})['option']('ci',{'type':_0x29cf3f(0x26d),'hidden':!![],'default':![]})['option'](_0x29cf3f(0x316),{'type':_0x2aa9e5['LloSm'],'description':_0x2aa9e5[_0x29cf3f(0x304)],'default':![]})['option']('url',{'type':_0x2aa9e5['NFBAT'],'description':_0x2aa9e5[_0x29cf3f(0x240)]})['option'](_0x2aa9e5[_0x29cf3f(0x1ff)],{'type':_0x2aa9e5['LloSm'],'description':_0x2aa9e5[_0x29cf3f(0x26a)],'default':![]})[_0x29cf3f(0x1bb)](_0x2aa9e5['lgkra'],{'type':_0x2aa9e5['NFBAT'],'description':_0x2aa9e5[_0x29cf3f(0x2bd)]})['option'](_0x2aa9e5['xVhWP'],{'type':_0x2aa9e5[_0x29cf3f(0x371)],'description':'Allow\x20localhost\x20content\x20in\x20deployed\x20environments\x20(for\x20micro\x20frontend\x20/\x20single-spa\x20workflows)','default':![]})[_0x29cf3f(0x1bb)](_0x29cf3f(0x21d),{'type':_0x29cf3f(0x26d),'description':_0x2aa9e5['gcgfK'],'default':![]})[_0x29cf3f(0x1bb)]('setup-header',{'type':_0x2aa9e5[_0x29cf3f(0x28b)],'array':!![],'description':_0x29cf3f(0x353)})['option'](_0x2aa9e5['vyjPg'],{'type':'string','choices':[_0x2aa9e5[_0x29cf3f(0x357)],_0x2aa9e5[_0x29cf3f(0x24b)]],'description':_0x2aa9e5['jWsqj']})[_0x29cf3f(0x1bb)]('env',{'type':_0x2aa9e5['NFBAT'],'description':_0x29cf3f(0x343)})[_0x29cf3f(0x1bb)]('yes',{'type':'boolean','alias':'y','description':_0x2aa9e5['LPAna'],'default':![]});},async _0x23cc5d=>{const _0x47b84f=_0x13a730;await _0x284687[_0x47b84f(0x23a)](withTelemetry,_0x284687[_0x47b84f(0x267)],_0x2a6897=>addEnv(_0x23cc5d['profile-name'],{'ci':_0x23cc5d['ci'],'skipAuth':_0x23cc5d['skip-auth'],'url':_0x23cc5d[_0x47b84f(0x1cb)],'force':_0x23cc5d[_0x47b84f(0x2a2)],'cdpEndpoint':_0x23cc5d[_0x47b84f(0x2ff)],'allowInsecureLocalhost':_0x23cc5d['allow-insecure-localhost'],'safeMode':_0x23cc5d['safe-mode'],'setupHeader':_0x23cc5d['setup-header'],'scope':_0x23cc5d['scope'],'authEnv':_0x23cc5d[_0x47b84f(0x22f)],'yes':_0x23cc5d['yes']},_0x2a6897),{'isElectron':Boolean(_0x23cc5d[_0x47b84f(0x2ff)])});})[_0x13a730(0x318)]('use\x20<profile-name>',_0x284687['SpvGI'],_0x2391cf=>{const _0x408a6a=_0x13a730;return _0x2391cf['positional'](_0x408a6a(0x214),{'type':'string','description':'Name\x20of\x20the\x20profile','demandOption':!![]});},async _0x560e34=>{const _0x2dd4f3=_0x13a730;await _0x2aa9e5[_0x2dd4f3(0x28d)](withTelemetry,'profile\x20use',()=>useEnv(_0x560e34['profile-name']));})['command'](_0x284687['Njjhr'],_0x13a730(0x36b),_0xd31a09=>{const _0x44f3be=_0x13a730;return _0xd31a09['positional'](_0x284687[_0x44f3be(0x32b)],{'type':_0x44f3be(0x309),'description':'Name\x20of\x20the\x20cloud\x20profile\x20to\x20delete','demandOption':!![]})['option'](_0x284687['PftXC'],{'type':_0x284687['kSgVY'],'alias':'y','description':_0x284687['oViMb'],'default':![]});},async _0x1cf468=>{const _0x43deac=_0x13a730;await withTelemetry(_0x43deac(0x30f),()=>deleteProfile(_0x1cf468[_0x43deac(0x214)],{'yes':_0x1cf468[_0x43deac(0x2bf)]}));})['command'](_0x284687['lptFr'],![],_0x21aa80=>{const _0x86fe36=_0x13a730;return _0x21aa80[_0x86fe36(0x232)]('profile',{'type':_0x86fe36(0x309),'description':_0x2aa9e5[_0x86fe36(0x28f)],'demandOption':!![]});},async _0xbdc31d=>{const _0x1d9b5b=_0x13a730;await _0x2aa9e5['MpFvC'](withTelemetry,_0x2aa9e5[_0x1d9b5b(0x2d4)],()=>authEncrypt(_0xbdc31d[_0x1d9b5b(0x300)]));})['command']('ls',_0x13a730(0x2ab),()=>{},async()=>{const _0x4b576c=_0x13a730;await withTelemetry(_0x284687[_0x4b576c(0x1d5)],()=>envList());})[_0x13a730(0x318)](_0x284687[_0x13a730(0x2ec)],'Update\x20authentication\x20for\x20an\x20existing\x20profile',_0x19258a=>{const _0x5ecf14=_0x13a730;return _0x19258a[_0x5ecf14(0x232)](_0x2aa9e5['hbNCo'],{'type':_0x5ecf14(0x309),'description':_0x2aa9e5['nePWk'],'demandOption':!![]})[_0x5ecf14(0x1bb)](_0x2aa9e5[_0x5ecf14(0x339)],{'type':_0x2aa9e5['LloSm'],'description':_0x5ecf14(0x255)})['option']('manual',{'type':_0x2aa9e5['LloSm'],'description':'Force\x20headed\x20browser\x20session\x20capture\x20and\x20skip\x20server-side\x20login'});},async _0x548d4f=>{const _0x19b9c9=_0x13a730;await withTelemetry(_0x19b9c9(0x2f2),_0x2d95fd=>updateEnv(_0x548d4f[_0x19b9c9(0x214)],_0x2d95fd,{'allowInsecureLocalhost':_0x548d4f[_0x19b9c9(0x1b8)],'manual':_0x548d4f['manual']}));})[_0x13a730(0x318)]('login\x20<name>',![],_0x531223=>{const _0x1aa9e0=_0x13a730;return _0x531223[_0x1aa9e0(0x232)](_0x284687['NTyVa'],{'type':_0x1aa9e0(0x309),'description':'Cloud\x20profile\x20name','demandOption':!![]});},async _0x5c99f6=>{const _0x10816f=_0x13a730;await withTelemetry(_0x2aa9e5[_0x10816f(0x242)],async()=>{const _0x47ac44=_0x10816f,_0x116788=process['env']['RANGER_TEST_USERNAME'],_0x3e8af3=process[_0x47ac44(0x22f)][_0x47ac44(0x231)];_0x2aa9e5['AxssV'](!_0x116788,!_0x3e8af3)&&(console[_0x47ac44(0x2fd)](_0x2aa9e5[_0x47ac44(0x1d3)]),process[_0x47ac44(0x219)](0x1));const _0x6a5d16=_0x5c99f6['name'],_0x2af195=await _0x2aa9e5['MpFvC'](serverSideLogin,_0x6a5d16,{'force':!![]});_0x2aa9e5[_0x47ac44(0x358)](_0x2af195['status'],_0x47ac44(0x2e2))&&(console['error'](_0x2aa9e5[_0x47ac44(0x1e7)]),process['exit'](0x1)),_0x2af195[_0x47ac44(0x2fc)]===_0x2aa9e5['vJyMg']&&(console['error'](_0x47ac44(0x32c)+(_0x2af195['error']??'unknown\x20error')),_0x2af195['test_output']&&console['error'](_0x2af195['test_output']),process[_0x47ac44(0x219)](0x1)),console['log']('✓\x20Login\x20succeeded\x20for\x20\x27'+_0x6a5d16+_0x47ac44(0x241));});})['command'](_0x284687[_0x13a730(0x200)],![],_0x220004=>{const _0x41e6a3=_0x13a730;return _0x220004[_0x41e6a3(0x232)](_0x41e6a3(0x214),{'type':_0x41e6a3(0x309),'description':_0x41e6a3(0x2a3)})[_0x41e6a3(0x1bb)](_0x284687[_0x41e6a3(0x31e)],{'type':_0x284687[_0x41e6a3(0x302)],'description':'Migrate\x20all\x20local\x20profiles\x20that\x20match\x20a\x20configured\x20auth\x20environment.','default':![]})['option'](_0x284687['bRRsr'],{'type':_0x284687[_0x41e6a3(0x302)],'description':'Print\x20the\x20migration\x20plan\x20without\x20mutating\x20anything.','default':![]})['option'](_0x284687['PftXC'],{'type':'boolean','alias':'y','description':'Skip\x20interactive\x20confirmation\x20prompts.','default':![]})['option'](_0x284687[_0x41e6a3(0x360)],{'type':_0x284687['kSgVY'],'description':_0x284687['dNQtA'],'default':![]});},async _0x3e35c5=>{const _0x2dd18c=_0x13a730;await _0x284687['EOQps'](withTelemetry,'profile\x20migrate',_0x2ec692=>migrateProfile({'profileName':_0x3e35c5[_0x2dd18c(0x214)],'all':_0x3e35c5['all'],'dryRun':_0x3e35c5['dry-run'],'yes':_0x3e35c5[_0x2dd18c(0x2bf)],'saveCreds':_0x3e35c5['save-creds']},_0x2ec692));})[_0x13a730(0x318)](_0x13a730(0x340),_0x13a730(0x364),_0x5586b9=>{const _0x4bb901=_0x13a730,_0x2df9e1={'ZcClJ':'profile\x20config\x20get','LVlTM':_0x284687['sdCpU'],'tCdoS':_0x284687['RFeDc'],'DYUuU':function(_0x358a93,_0x4e7722,_0x5ddc6a){return _0x358a93(_0x4e7722,_0x5ddc6a);},'srpYf':_0x4bb901(0x2b7),'zCPps':_0x4bb901(0x309)};return _0x5586b9[_0x4bb901(0x23e)](PROFILE_CONFIG_HELP)[_0x4bb901(0x318)](_0x4bb901(0x22b),_0x284687[_0x4bb901(0x1ed)],_0x16d7c9=>{const _0x6b5681=_0x4bb901;return _0x16d7c9[_0x6b5681(0x232)](_0x2aa9e5['aMuEH'],{'type':_0x6b5681(0x309),'description':_0x2aa9e5['IsLzo'],'demandOption':!![]})['positional'](_0x6b5681(0x274),{'type':_0x2aa9e5['NFBAT'],'description':_0x2aa9e5[_0x6b5681(0x34b)],'demandOption':!![]})[_0x6b5681(0x232)](_0x2aa9e5[_0x6b5681(0x2d7)],{'type':'string','description':_0x6b5681(0x2d5),'demandOption':!![]});},async _0x305075=>{const _0x3b4a35=_0x4bb901;await withTelemetry(_0x2aa9e5[_0x3b4a35(0x2af)],()=>configSet(_0x305075[_0x3b4a35(0x300)],_0x305075[_0x3b4a35(0x274)],_0x305075[_0x3b4a35(0x34f)]));})[_0x4bb901(0x318)](_0x284687[_0x4bb901(0x31d)],_0x4bb901(0x32a),_0x443a07=>{const _0x211dd0=_0x4bb901;return _0x443a07[_0x211dd0(0x232)]('profile',{'type':_0x2aa9e5['NFBAT'],'description':_0x211dd0(0x27c),'demandOption':!![]})['positional'](_0x2aa9e5['jykrf'],{'type':_0x2aa9e5['NFBAT'],'description':'Config\x20key','demandOption':!![]});},async _0x383310=>{const _0x683b98=_0x4bb901;await withTelemetry(_0x2df9e1['ZcClJ'],()=>configGet(_0x383310[_0x683b98(0x300)],_0x383310['key']));})[_0x4bb901(0x318)](_0x4bb901(0x2b1),_0x284687['CWuHi'],_0x5da3de=>{return _0x5da3de['positional'](_0x2df9e1['LVlTM'],{'type':'string','description':_0x2df9e1['tCdoS'],'demandOption':!![]});},async _0x51b069=>{const _0x1d57b3=_0x4bb901;await _0x2df9e1[_0x1d57b3(0x332)](withTelemetry,_0x1d57b3(0x317),()=>configList(_0x51b069[_0x1d57b3(0x300)]));})[_0x4bb901(0x318)](_0x284687['tCvZW'],_0x284687['qtkIs'],_0x5ca2cf=>{const _0x1f66a9=_0x4bb901;return _0x5ca2cf[_0x1f66a9(0x232)](_0x2aa9e5[_0x1f66a9(0x361)],{'type':_0x1f66a9(0x309),'description':_0x2aa9e5[_0x1f66a9(0x28f)],'demandOption':!![]})[_0x1f66a9(0x232)](_0x2aa9e5[_0x1f66a9(0x1ef)],{'type':_0x2aa9e5['NFBAT'],'description':_0x2aa9e5[_0x1f66a9(0x2e3)],'demandOption':!![]});},async _0x32766d=>{const _0x387acf=_0x4bb901;await withTelemetry(_0x2df9e1[_0x387acf(0x1d9)],()=>configUnset(_0x32766d['profile'],_0x32766d[_0x387acf(0x274)]));})[_0x4bb901(0x318)]('reset\x20<profile>',_0x284687['gSepj'],_0x3b4cc5=>{const _0x2b4535=_0x4bb901;return _0x3b4cc5[_0x2b4535(0x232)](_0x2df9e1[_0x2b4535(0x2d9)],{'type':_0x2df9e1['zCPps'],'description':_0x2b4535(0x27c),'demandOption':!![]});},async _0x3e0c22=>{const _0x132101=_0x4bb901;await _0x2aa9e5['LReTN'](withTelemetry,_0x2aa9e5[_0x132101(0x1fd)],()=>configReset(_0x3e0c22[_0x132101(0x300)]));})['demandCommand'](0x1,_0x284687['qMVXP']);})[_0x13a730(0x2d0)](0x1,_0x13a730(0x1d8));})['command'](_0x5d4682(0x2fc),'Show\x20Ranger\x20status\x20(version,\x20skills,\x20profiles)',()=>{},async()=>{await withTelemetry('status',()=>status());})['command']('update',_0x5d4682(0x2b9),()=>{},async()=>{const _0xf5b562=_0x5d4682;await _0x284687[_0xf5b562(0x27b)](withTelemetry,'update',()=>update());})[_0x5d4682(0x318)]('print-access-token','Print\x20the\x20current\x20CLI\x20access\x20token',()=>{},async()=>{const _0x461a13=_0x5d4682;await withTelemetry(_0x461a13(0x1be),async()=>{const _0xaabcc5=_0x461a13,_0x1a9acb=await _0x284687['lsXzT'](getToken);if(!_0x1a9acb)throw new Error('No\x20token\x20found.\x20Run\x20`ranger\x20login`\x20to\x20authenticate.');console[_0xaabcc5(0x308)](_0x1a9acb);});})[_0x5d4682(0x318)]('go','Verify\x20a\x20scenario\x20in\x20the\x20browser.\x20Uses\x20the\x20active\x20profile\x20by\x20default;\x20pass\x20--profile\x20to\x20switch.',_0x2efcc5=>{const _0x498222=_0x5d4682;return _0x2efcc5[_0x498222(0x1bb)]('feature',{'type':_0x284687[_0x498222(0x33f)],'description':_0x284687['iPxVC']})[_0x498222(0x1bb)](_0x284687['sdCpU'],{'type':'string','description':_0x284687[_0x498222(0x292)]})[_0x498222(0x1bb)](_0x498222(0x25f),{'type':_0x284687['KtvJZ'],'description':_0x284687['cHrVx']})['option'](_0x284687[_0x498222(0x342)],{'type':_0x284687['KtvJZ'],'description':_0x284687[_0x498222(0x25c)]})['option'](_0x284687['gfGRq'],{'type':_0x284687['FpQjC'],'description':_0x284687[_0x498222(0x2ef)]})['option'](_0x284687[_0x498222(0x20e)],{'type':'string','description':_0x498222(0x217)})['option'](_0x284687['tSmvN'],{'type':_0x498222(0x309),'description':_0x284687[_0x498222(0x35b)]})[_0x498222(0x1bb)](_0x284687['WZyfG'],{'type':_0x498222(0x309),'description':_0x498222(0x320)})['option'](_0x284687['vYzhR'],{'type':_0x498222(0x26d),'description':_0x284687['QcWCo'],'default':![]})['option']('env-var',{'type':_0x498222(0x309),'array':!![],'alias':_0x284687[_0x498222(0x2e9)],'description':'Environment\x20variable\x20name\x20to\x20expose\x20to\x20the\x20verifier\x20runtime.\x20May\x20be\x20repeated;\x20values\x20come\x20from\x20the\x20local\x20shell\x20first,\x20then\x20organization\x20env\x20vars.'})[_0x498222(0x1bb)](_0x498222(0x22a),{'type':_0x284687[_0x498222(0x302)],'description':_0x284687[_0x498222(0x26f)],'default':![]})[_0x498222(0x1bb)](_0x284687[_0x498222(0x2c4)],{'type':_0x284687['KtvJZ'],'hidden':!![],'choices':[_0x498222(0x1c4),'partial',_0x284687['OLHKE'],_0x498222(0x211),_0x498222(0x299)]})[_0x498222(0x1bb)](_0x284687[_0x498222(0x354)],{'type':_0x284687[_0x498222(0x302)],'hidden':!![]})[_0x498222(0x1bb)]('env',{'type':_0x284687[_0x498222(0x33f)],'description':_0x284687[_0x498222(0x1ee)]})[_0x498222(0x1bb)](_0x284687['tedXI'],{'type':'string','hidden':!![]})['option'](_0x284687[_0x498222(0x1f7)],{'type':_0x284687[_0x498222(0x348)],'hidden':!![]});},async _0x4d981d=>{await runGoCommand(_0x4d981d);})[_0x5d4682(0x318)](_0x284687['xkWjl'],![],_0x39db0a=>{const _0x2d7a19=_0x5d4682,_0x298cd9={'ULqDb':_0x284687['sdCpU']};return _0x39db0a[_0x2d7a19(0x318)](_0x284687['sTNaz'],![],_0x243fbe=>{const _0x44781c=_0x2d7a19;return _0x243fbe['positional'](_0x298cd9['ULqDb'],{'type':_0x44781c(0x309),'description':_0x44781c(0x27c),'demandOption':!![]});},async _0x59c32a=>{warnRenamed('ranger\x20auth\x20encrypt',_0x284687['pzyMZ']),await _0x284687['pkDqC'](authEncrypt,_0x59c32a['profile']);})['demandCommand'](0x1,_0x2d7a19(0x27f));},()=>{})['command']('start\x20[token]',![],_0x903d=>{const _0x449fd1=_0x5d4682;return _0x903d['positional']('token',{'type':'string','description':_0x284687[_0x449fd1(0x2a6)]})['option']('skip-chromium',{'type':_0x449fd1(0x26d),'description':_0x284687[_0x449fd1(0x1b6)],'default':![]})['option'](_0x449fd1(0x1fc),{'type':'string','choices':[_0x284687['zcsKX']],'hidden':!![],'description':_0x449fd1(0x246)})['option']('url',{'type':'string','description':_0x284687[_0x449fd1(0x369)]})[_0x449fd1(0x1bb)](_0x449fd1(0x2a2),{'type':'boolean','description':_0x284687['RAvHL'],'default':![]})[_0x449fd1(0x1bb)](_0x284687['OFGdI'],{'type':_0x284687[_0x449fd1(0x302)],'description':_0x284687['AjhwR'],'default':![]})['option'](_0x284687[_0x449fd1(0x27d)],{'type':_0x284687[_0x449fd1(0x302)],'description':_0x449fd1(0x2fb),'default':![]});},async _0x15fb72=>{const _0x369965=_0x5d4682;warnRenamed('ranger\x20start','ranger\x20setup'),await _0x284687[_0x369965(0x2ba)](withTelemetry,_0x284687[_0x369965(0x2dd)],_0x15df1b=>start(_0x15fb72[_0x369965(0x2c5)],{'skipChromium':_0x15fb72['skip-chromium'],'skipAuth':_0x15fb72[_0x369965(0x316)],'withDeps':_0x15fb72['with-deps'],'scope':_0x15fb72['scope'],'url':_0x15fb72['url'],'force':_0x15fb72[_0x369965(0x2a2)]},_0x15df1b));})[_0x5d4682(0x318)]('verify-feature',![],_0x3cd65c=>{const _0x2533a4=_0x5d4682;return _0x3cd65c['option'](_0x284687[_0x2533a4(0x30b)],{'type':_0x284687['KtvJZ'],'description':'Profile\x20to\x20use\x20(defaults\x20to\x20active\x20profile)'})['option']('task',{'type':_0x284687[_0x2533a4(0x33f)],'description':_0x284687['hZSHR']})[_0x2533a4(0x1bb)](_0x284687['nhlIF'],{'type':_0x2533a4(0x2e8),'description':'Scenario\x20index\x20(1-based)'})[_0x2533a4(0x1bb)](_0x284687['sdCpU'],{'type':'string','hidden':!![]})['option'](_0x2533a4(0x25f),{'type':_0x284687['KtvJZ'],'hidden':!![]})['option'](_0x284687['gfGRq'],{'type':'number','hidden':!![]})['option'](_0x2533a4(0x1f6),{'type':_0x284687['KtvJZ'],'description':'Path\x20to\x20start\x20on\x20(appended\x20to\x20base\x20URL,\x20e.g.,\x20/dashboard).\x20Also\x20respects\x20RANGER_START_PATH.'})[_0x2533a4(0x1bb)](_0x284687[_0x2533a4(0x2d6)],{'type':'string','description':_0x284687['QqCHz']})[_0x2533a4(0x1bb)]('model',{'type':_0x2533a4(0x309),'hidden':!![]})[_0x2533a4(0x1bb)](_0x284687['vYzhR'],{'type':'boolean','hidden':!![],'default':![]})['option'](_0x284687[_0x2533a4(0x347)],{'type':_0x284687['KtvJZ'],'array':!![],'alias':_0x284687['ZQGKs'],'hidden':!![]})['option'](_0x2533a4(0x30c),{'type':_0x284687['KtvJZ'],'hidden':!![],'choices':[_0x284687['Rnaaw'],_0x284687['siuCj'],_0x284687['OLHKE'],_0x2533a4(0x211),'incomplete']});},async _0x4b32e3=>{const _0x4b84ed=_0x5d4682;await _0x284687[_0x4b84ed(0x1e0)](runGoCommand,_0x4b32e3,!![]);})[_0x5d4682(0x318)](_0x284687['VIYoL'],![],_0x19145d=>{const _0xbfd9f3=_0x5d4682;return _0x19145d[_0xbfd9f3(0x232)]('env-name',{'type':_0xbfd9f3(0x309),'description':_0x284687['nGeiQ'],'demandOption':!![]})[_0xbfd9f3(0x1bb)]('ci',{'type':_0x284687['kSgVY'],'description':_0xbfd9f3(0x351),'default':![]})['option'](_0xbfd9f3(0x316),{'type':'boolean','description':_0xbfd9f3(0x1b7),'default':![]});},async _0x396d5e=>{const _0x55e2e7=_0x5d4682;_0x284687[_0x55e2e7(0x337)](warnRenamed,'ranger\x20add\x20env','ranger\x20profile\x20add'),await _0x284687[_0x55e2e7(0x2f5)](withTelemetry,'add\x20env',_0x56545a=>addEnv(_0x396d5e[_0x55e2e7(0x2f3)],{'ci':_0x396d5e['ci'],'skipAuth':_0x396d5e[_0x55e2e7(0x316)]},_0x56545a));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x30d)],![],_0x5bc2fa=>{const _0x510504=_0x5d4682;return _0x5bc2fa[_0x510504(0x232)](_0x510504(0x2f3),{'type':'string','description':'Name\x20of\x20the\x20environment','demandOption':!![]});},async _0x49a81e=>{const _0x5726e0=_0x5d4682;_0x284687['CvbSQ'](warnRenamed,'ranger\x20use',_0x284687[_0x5726e0(0x2d1)]),await _0x284687[_0x5726e0(0x313)](withTelemetry,'use',()=>useEnv(_0x49a81e['env-name']));})[_0x5d4682(0x318)](_0x284687[_0x5d4682(0x1bd)],![],_0x5c56ea=>{const _0x325aa6=_0x5d4682,_0x585bf4={'dQNUy':'ranger\x20config\x20set','NRwpq':function(_0x5b5d32,_0x36c497,_0x34da28){return _0x284687['ryAiu'](_0x5b5d32,_0x36c497,_0x34da28);},'uEOcV':_0x325aa6(0x2be),'Zgcjm':function(_0x1ba7d4,_0x141ef7,_0x3f50ee){const _0x281aca=_0x325aa6;return _0x284687[_0x281aca(0x2c9)](_0x1ba7d4,_0x141ef7,_0x3f50ee);},'uBeff':_0x325aa6(0x1e4),'TkljR':_0x284687[_0x325aa6(0x286)],'DaVov':_0x325aa6(0x2ae),'SaYIy':_0x284687[_0x325aa6(0x30b)],'eDHnZ':_0x284687['KtvJZ'],'xsuJA':_0x325aa6(0x288)};return _0x5c56ea['command'](_0x284687['yVjmF'],![],_0x1d0746=>{const _0x1ab4f9=_0x325aa6;return _0x1d0746[_0x1ab4f9(0x232)](_0x284687[_0x1ab4f9(0x30b)],{'type':_0x284687[_0x1ab4f9(0x33f)],'description':'Environment\x20name','demandOption':!![]})[_0x1ab4f9(0x232)](_0x1ab4f9(0x274),{'type':_0x284687['KtvJZ'],'description':'Config\x20key\x20(e.g.,\x20userAgent,\x20headers.X-Custom)','demandOption':!![]})[_0x1ab4f9(0x232)](_0x1ab4f9(0x34f),{'type':_0x284687['KtvJZ'],'description':'Config\x20value','demandOption':!![]});},async _0x4e953e=>{const _0x3bc865=_0x325aa6;warnRenamed(_0x585bf4['dQNUy'],'ranger\x20profile\x20config\x20set'),await _0x585bf4['NRwpq'](withTelemetry,_0x585bf4[_0x3bc865(0x311)],()=>configSet(_0x4e953e[_0x3bc865(0x22f)],_0x4e953e['key'],_0x4e953e['value']));})['command'](_0x325aa6(0x34d),![],_0x2ae3fe=>{const _0x1cd0ee=_0x325aa6;return _0x2ae3fe[_0x1cd0ee(0x232)](_0x1cd0ee(0x22f),{'type':_0x1cd0ee(0x309),'description':'Environment\x20name','demandOption':!![]})[_0x1cd0ee(0x232)](_0x284687['Xekrb'],{'type':'string','description':_0x284687[_0x1cd0ee(0x1c2)],'demandOption':!![]});},async _0x5e6f41=>{const _0x532278=_0x325aa6;_0x585bf4['Zgcjm'](warnRenamed,_0x585bf4[_0x532278(0x22e)],_0x585bf4['TkljR']),await withTelemetry(_0x585bf4['DaVov'],()=>configGet(_0x5e6f41['env'],_0x5e6f41['key']));})['command'](_0x284687['IjJvX'],![],_0x22a46e=>{const _0x35f0ee=_0x325aa6;return _0x22a46e['positional'](_0x585bf4['SaYIy'],{'type':_0x585bf4[_0x35f0ee(0x2b3)],'description':'Environment\x20name','demandOption':!![]});},async _0x9d0505=>{const _0x43370f=_0x325aa6;_0x585bf4[_0x43370f(0x208)](warnRenamed,'ranger\x20config\x20list',_0x43370f(0x1f2)),await withTelemetry(_0x585bf4['xsuJA'],()=>configList(_0x9d0505['env']));})[_0x325aa6(0x318)](_0x284687['vYgQu'],![],_0x268589=>{const _0x37ca92=_0x325aa6;return _0x268589[_0x37ca92(0x232)](_0x284687[_0x37ca92(0x30b)],{'type':_0x284687['KtvJZ'],'description':'Environment\x20name','demandOption':!![]})[_0x37ca92(0x232)]('key',{'type':_0x284687['KtvJZ'],'description':'Config\x20key\x20to\x20remove','demandOption':!![]});},async _0x4f86fd=>{const _0x4e266d=_0x325aa6;_0x284687[_0x4e266d(0x1f9)](warnRenamed,_0x284687[_0x4e266d(0x2a1)],_0x284687[_0x4e266d(0x260)]),await _0x284687[_0x4e266d(0x2ba)](withTelemetry,_0x4e266d(0x2d3),()=>configUnset(_0x4f86fd[_0x4e266d(0x22f)],_0x4f86fd[_0x4e266d(0x274)]));})[_0x325aa6(0x2d0)](0x1,_0x284687[_0x325aa6(0x362)]);})['command'](_0x284687['kwbbW'],![],_0x3b6f0d=>{const _0x547f82=_0x5d4682,_0x52c064={'XFqgB':_0x547f82(0x2f3)};return _0x3b6f0d[_0x547f82(0x318)]('ls',![],()=>{},async()=>{const _0x186f55=_0x547f82;_0x284687[_0x186f55(0x27b)](warnRenamed,_0x186f55(0x25e),'ranger\x20profile\x20ls'),await withTelemetry(_0x284687[_0x186f55(0x297)],()=>envList());})['command'](_0x547f82(0x33e),![],_0x1555c4=>{const _0x4bb497=_0x547f82;return _0x1555c4['positional'](_0x52c064[_0x4bb497(0x27a)],{'type':_0x4bb497(0x309),'description':_0x4bb497(0x2f8),'demandOption':!![]});},async _0x386cf4=>{const _0x3bb069=_0x547f82;warnRenamed(_0x284687['zyeSp'],_0x284687[_0x3bb069(0x238)]),await withTelemetry(_0x284687[_0x3bb069(0x272)],_0x24e11b=>updateEnv(_0x386cf4[_0x3bb069(0x2f3)],_0x24e11b));})['demandCommand'](0x1,_0x547f82(0x346));})['command'](_0x5d4682(0x253),![],_0x18b733=>{const _0x51b4cc=_0x5d4682,_0x9a6869={'Wpuba':_0x51b4cc(0x1ba),'FmtLu':function(_0x394b78,_0xefec2c,_0x168e33){return _0x394b78(_0xefec2c,_0x168e33);},'RFepG':_0x284687[_0x51b4cc(0x244)],'itbFM':_0x284687['RlsWH'],'DItrs':_0x284687['kSgVY'],'IDDSr':_0x284687['UYBcs'],'RqnNY':_0x284687['FpQjC'],'dssWO':'Number\x20of\x20feature\x20reviews\x20to\x20skip','tKByG':_0x51b4cc(0x213),'vjbNm':_0x284687['htmhc'],'haZty':_0x284687[_0x51b4cc(0x291)],'HbSvm':function(_0x3ba27c,_0xe9f23a,_0x12c5b6){return _0x3ba27c(_0xe9f23a,_0x12c5b6);},'bxXPw':'description','nppmp':_0x51b4cc(0x309),'fLHAf':_0x51b4cc(0x34c),'vCTjT':function(_0x36a462,_0x1a80d9,_0x3e2ff7){return _0x284687['JtruA'](_0x36a462,_0x1a80d9,_0x3e2ff7);},'WYcWS':_0x284687[_0x51b4cc(0x203)],'hplrG':function(_0x128319,_0x53e894,_0xd4f073){return _0x128319(_0x53e894,_0xd4f073);},'MnRXP':function(_0x4c3cfe,_0x4a9933,_0x5a8604){const _0x5ec97b=_0x51b4cc;return _0x284687[_0x5ec97b(0x207)](_0x4c3cfe,_0x4a9933,_0x5a8604);},'WruUY':_0x51b4cc(0x2b6),'GHmpc':function(_0x49412f,_0x833a23,_0x338524){return _0x284687['pRbQo'](_0x49412f,_0x833a23,_0x338524);},'YbHzH':_0x284687[_0x51b4cc(0x261)],'LeuDG':function(_0x113059,_0x463430,_0x2545ee){return _0x113059(_0x463430,_0x2545ee);},'HjBME':function(_0x2cd00c,_0x4647c6,_0x11a975){const _0x20de21=_0x51b4cc;return _0x284687[_0x20de21(0x2c9)](_0x2cd00c,_0x4647c6,_0x11a975);},'fiVHI':'ranger\x20restore'};return _0x18b733[_0x51b4cc(0x318)](_0x284687['adLaO'],![],_0x499f57=>{const _0x19363a=_0x51b4cc;return _0x499f57[_0x19363a(0x232)](_0x19363a(0x234),{'type':'string','description':_0x284687['wghue'],'demandOption':!![]})[_0x19363a(0x1bb)]('description',{'type':_0x284687[_0x19363a(0x33f)],'alias':'d','description':_0x284687['atNTG']})['option'](_0x284687['HnMNx'],{'type':_0x284687['AAuFT'],'alias':'c','description':_0x284687[_0x19363a(0x1b1)]})[_0x19363a(0x1bb)]('scenario',{'type':_0x284687['AAuFT'],'hidden':!![]});},async _0x2397d1=>{const _0x4180f1=_0x51b4cc;warnRenamed('ranger\x20feature\x20create','ranger\x20create'),warnFlagRenamed(_0x4180f1(0x345),_0x9a6869[_0x4180f1(0x2e6)],_0x4180f1(0x2d8));const _0x2e3bc1=_0x2397d1[_0x4180f1(0x250)]||_0x2397d1[_0x4180f1(0x32e)];await _0x9a6869[_0x4180f1(0x284)](withTelemetry,_0x9a6869[_0x4180f1(0x258)],()=>featureCreate(_0x2397d1[_0x4180f1(0x234)],{'description':_0x2397d1['description'],'scenarios':_0x2e3bc1}));})[_0x51b4cc(0x318)](_0x284687[_0x51b4cc(0x2c3)],![],_0xc0e5aa=>{const _0x5910b4=_0x51b4cc;return _0xc0e5aa['option'](_0x9a6869['itbFM'],{'type':_0x9a6869['DItrs'],'description':_0x9a6869['IDDSr']})[_0x5910b4(0x1bb)](_0x5910b4(0x252),{'type':'number','alias':'l','description':_0x5910b4(0x23f),'default':0xa})[_0x5910b4(0x1bb)]('offset',{'type':_0x9a6869['RqnNY'],'alias':'o','description':_0x9a6869['dssWO'],'default':0x0})[_0x5910b4(0x1bb)](_0x9a6869['tKByG'],{'type':_0x9a6869[_0x5910b4(0x36a)],'alias':'d','description':_0x9a6869[_0x5910b4(0x212)],'default':![]});},async _0x3c1e68=>{const _0x3ed5cf=_0x51b4cc;_0x284687['fPKkW'](warnRenamed,_0x284687['elmPT'],_0x284687[_0x3ed5cf(0x2dc)]),await _0x284687['vuMjl'](withTelemetry,_0x3ed5cf(0x312),()=>featureList({'currentBranch':_0x3c1e68['current-branch'],'limit':_0x3c1e68[_0x3ed5cf(0x252)],'offset':_0x3c1e68['offset'],'includeDeleted':_0x3c1e68['include-deleted']}));})[_0x51b4cc(0x318)](_0x284687[_0x51b4cc(0x2b8)],![],_0x2b6177=>{const _0x1120b9=_0x51b4cc;return _0x2b6177[_0x1120b9(0x232)]('id',{'type':'string','description':'Feature\x20review\x20ID'});},async _0x2375ed=>{const _0x36fabf=_0x51b4cc;warnRenamed(_0x36fabf(0x2ce),_0x9a6869['haZty']),await _0x9a6869['HbSvm'](withTelemetry,_0x36fabf(0x1f8),()=>featureShow(_0x2375ed['id']));})[_0x51b4cc(0x318)](_0x284687['AzCsa'],![],_0x1e71e8=>{const _0x46e5af=_0x51b4cc;return _0x1e71e8['positional']('id',{'type':_0x284687['KtvJZ'],'description':_0x284687[_0x46e5af(0x30a)]});},async _0x2885b2=>{const _0x1f07b5=_0x51b4cc;warnRenamed('ranger\x20feature\x20resume',_0x284687[_0x1f07b5(0x2e0)]),await withTelemetry(_0x284687['lSJeC'],()=>featureResume(_0x2885b2['id']));})[_0x51b4cc(0x318)](_0x284687[_0x51b4cc(0x2a5)],![],_0x4130a1=>{const _0x16a855=_0x51b4cc;return _0x4130a1['positional'](_0x9a6869['bxXPw'],{'type':_0x9a6869['nppmp'],'description':_0x9a6869['fLHAf'],'demandOption':!![]})['option']('id',{'type':_0x9a6869['nppmp'],'description':_0x16a855(0x2cb)});},async _0x3e5995=>{const _0x3dcd6b=_0x51b4cc;_0x9a6869['vCTjT'](warnRenamed,_0x9a6869[_0x3dcd6b(0x2db)],'ranger\x20add-scenario'),await _0x9a6869['hplrG'](withTelemetry,_0x3dcd6b(0x29e),()=>featureAddScenario(_0x3e5995['description'],_0x3e5995['id']));})[_0x51b4cc(0x318)](_0x51b4cc(0x1e5),![],_0x5edb90=>{return _0x5edb90['positional']('id',{'type':'string','description':'Feature\x20review\x20ID\x20(uses\x20active\x20feature\x20review\x20if\x20not\x20provided)'});},async _0x49fd6f=>{const _0x33a027=_0x51b4cc;_0x9a6869['MnRXP'](warnRenamed,'ranger\x20feature\x20get-feedback',_0x33a027(0x223)),await withTelemetry(_0x9a6869[_0x33a027(0x237)],()=>featureGetReview(_0x49fd6f['id']));})[_0x51b4cc(0x318)]('delete\x20[id]',![],_0x3780c6=>{const _0x313d3c=_0x51b4cc;return _0x3780c6[_0x313d3c(0x232)]('id',{'type':_0x284687[_0x313d3c(0x33f)],'description':_0x284687['DdMvm']});},async _0x59d65e=>{const _0x26c6f2=_0x51b4cc;_0x9a6869[_0x26c6f2(0x2d2)](warnRenamed,_0x9a6869[_0x26c6f2(0x34a)],'ranger\x20delete'),await _0x9a6869['LeuDG'](withTelemetry,_0x26c6f2(0x372),()=>featureDelete(_0x59d65e['id']));})['command'](_0x284687['tfzay'],![],_0x59b5ec=>{const _0x3974dc=_0x51b4cc;return _0x59b5ec[_0x3974dc(0x232)]('id',{'type':'string','description':_0x284687[_0x3974dc(0x1d0)],'demandOption':!![]});},async _0x4aff08=>{const _0x1e8c4a=_0x51b4cc;_0x9a6869['HjBME'](warnRenamed,'ranger\x20feature\x20restore',_0x9a6869[_0x1e8c4a(0x2b0)]),await withTelemetry(_0x1e8c4a(0x2e4),()=>featureRestore(_0x4aff08['id']));})[_0x51b4cc(0x2d0)](0x1,_0x51b4cc(0x254));})['command'](_0x284687['xrjZn'],![],_0x37085c=>{const _0x2e18ba=_0x5d4682,_0x3c2c88={'cZWFD':'session-id','LGjZB':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)','ouKKz':function(_0x577e24,_0x57b73c,_0x1f86d1){return _0x284687['zgOgb'](_0x577e24,_0x57b73c,_0x1f86d1);}};return _0x37085c['command'](_0x284687['teoFy'],_0x284687['KqYzi'],_0x20a3f9=>{const _0x534011=_0x5120;return _0x20a3f9['option'](_0x3c2c88[_0x534011(0x28a)],{'type':_0x534011(0x309),'description':_0x3c2c88['LGjZB']});},async _0x1c4767=>{const _0x1272f0=_0x5120;await _0x3c2c88[_0x1272f0(0x2cc)](withTelemetry,'hook:enable',()=>hook('enable',_0x1c4767[_0x1272f0(0x2e7)]));})['command'](_0x284687['XFeRG'],_0x2e18ba(0x1df),_0x46a3a0=>{const _0x3c8443=_0x2e18ba;return _0x46a3a0[_0x3c8443(0x1bb)](_0x284687[_0x3c8443(0x2aa)],{'type':'string','description':_0x284687[_0x3c8443(0x21e)]});},async _0x50738f=>{const _0x3d7418=_0x2e18ba;await _0x3c2c88['ouKKz'](withTelemetry,_0x3d7418(0x315),()=>hook(_0x3d7418(0x1fb),_0x50738f[_0x3d7418(0x2e7)]));})['option']('name',{'type':'string','description':_0x284687['pActi']})['option'](_0x284687['SzRlT'],{'type':_0x284687['KtvJZ'],'description':'Session\x20ID\x20(for\x20non-Claude\x20integrations\x20like\x20OpenCode)'});},async _0x1bfa83=>{const _0xa14ee4=_0x5d4682;_0x1bfa83[_0xa14ee4(0x234)]&&await _0x284687['ROvoG'](hook,_0x1bfa83['name'],_0x1bfa83[_0xa14ee4(0x2e7)]);})[_0x5d4682(0x2d0)](0x1,_0x284687['nBegk'])[_0x5d4682(0x34e)]()['fail'](async(_0x2ff1f5,_0x18a248,_0x26f0d0)=>{const _0x2f37a2=_0x5d4682,_0x3734bf=sanitizeArgs(process[_0x2f37a2(0x2ee)][_0x2f37a2(0x1cf)](0x2)),_0x366619=_0x284687[_0x2f37a2(0x2c0)](getErrorType,_0x2ff1f5,_0x18a248);if(_0x2ff1f5&&_0x2ff1f5[_0x2f37a2(0x290)](_0x2f37a2(0x344))){const _0x1a6921=process['argv'][0x2];console[_0x2f37a2(0x2fd)]('\x0aUnknown\x20command:\x20'+_0x1a6921),console['error']('Run\x20\x22ranger\x20--help\x22\x20to\x20see\x20available\x20commands.\x0a');}else{if(_0x2ff1f5)console['error']('\x0a'+_0x2ff1f5+'\x0a');else _0x18a248&&console[_0x2f37a2(0x2fd)](_0x2f37a2(0x1b0)+_0x18a248[_0x2f37a2(0x328)]+'\x0a');}await logDesirePath({'rawCommand':_0x3734bf,'errorMessage':_0x2ff1f5||_0x18a248?.['message'],'errorType':_0x366619});const _0x1c6ecd=_0x284687['HDRbz'](getCurrentCollector);_0x1c6ecd&&await _0x1c6ecd[_0x2f37a2(0x265)](_0x18a248||new Error(_0x284687[_0x2f37a2(0x1f4)](_0x2ff1f5,_0x284687[_0x2f37a2(0x1c6)]))),process['exit'](0x1);})['epilogue'](_0x284687['maLOi']+_0x5d4682(0x256)+_0x284687[_0x5d4682(0x25b)])[_0x5d4682(0x2cd)]()['alias']('help','h');}process[_0x592cb3(0x22f)]['NODE_ENV']!==_0x592cb3(0x349)&&(shouldShowLegacyWarning(process['argv'])&&showLegacyDeprecationWarning(),buildParser()['parse']());
|