MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / isAgentEnabled

Function isAgentEnabled

scripts/build-config.js:6–8  ·  view source on GitHub ↗
({ isDev, isBeta })

Source from the content-addressed store, hash-verified

4 * @returns {boolean}
5 */
6export function isAgentEnabled({ isDev, isBeta }) {
7 return Boolean(isDev || isBeta);
8}
9
10/**
11 * 解析 agent 开关:环境变量 SC_ENABLE_AGENT 优先(用于 e2e/CI 或手动强制覆盖),

Callers 2

resolveAgentEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected