mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Automated rebrand of all openclaw references to hanzo bot: - Package: openclaw -> @hanzo/bot - Binary: openclaw -> hanzo-bot - Config: ~/.openclaw -> ~/.hanzo/bot - Docker: ghcr.io/hanzoai/bot - Env vars: OPENCLAW_* -> BOT_* - Bundle IDs: ai.hanzo.bot.* - Product name: Hanzo Bot
32 lines
764 B
JavaScript
32 lines
764 B
JavaScript
export const optionalBundledClusters = [
|
|
"acpx",
|
|
"diagnostics-otel",
|
|
"diffs",
|
|
"googlechat",
|
|
"matrix",
|
|
"memory-lancedb",
|
|
"msteams",
|
|
"nostr",
|
|
"tlon",
|
|
"twitch",
|
|
"ui",
|
|
"whatsapp",
|
|
"zalouser",
|
|
];
|
|
|
|
export const optionalBundledClusterSet = new Set(optionalBundledClusters);
|
|
|
|
export const OPTIONAL_BUNDLED_BUILD_ENV = "BOT_INCLUDE_OPTIONAL_BUNDLED";
|
|
|
|
export function isOptionalBundledCluster(cluster) {
|
|
return optionalBundledClusterSet.has(cluster);
|
|
}
|
|
|
|
export function shouldIncludeOptionalBundledClusters(env = process.env) {
|
|
return env[OPTIONAL_BUNDLED_BUILD_ENV] === "1";
|
|
}
|
|
|
|
export function shouldBuildBundledCluster(cluster, env = process.env) {
|
|
return shouldIncludeOptionalBundledClusters(env) || !isOptionalBundledCluster(cluster);
|
|
}
|