refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -1,6 +1,6 @@
import type { IncomingMessage, ServerResponse } from "node:http";
import type { ClawdbotConfig } from "clawdbot/plugin-sdk";
import type { MoltbotConfig } from "clawdbot/plugin-sdk";
import {
logAckFailure,
logInboundDrop,
@@ -26,7 +26,7 @@ export type BlueBubblesRuntimeEnv = {
export type BlueBubblesMonitorOptions = {
account: ResolvedBlueBubblesAccount;
config: ClawdbotConfig;
config: MoltbotConfig;
runtime: BlueBubblesRuntimeEnv;
abortSignal: AbortSignal;
statusSink?: (patch: { lastInboundAt?: number; lastOutboundAt?: number }) => void;
@@ -243,7 +243,7 @@ function logGroupAllowlistHint(params: {
type WebhookTarget = {
account: ResolvedBlueBubblesAccount;
config: ClawdbotConfig;
config: MoltbotConfig;
runtime: BlueBubblesRuntimeEnv;
core: BlueBubblesCoreRuntime;
path: string;
@@ -340,7 +340,7 @@ const targetDebouncers = new Map<
>();
function resolveBlueBubblesDebounceMs(
config: ClawdbotConfig,
config: MoltbotConfig,
core: BlueBubblesCoreRuntime,
): number {
const inbound = config.messages?.inbound;
@@ -940,7 +940,7 @@ function maskSecret(value: string): string {
}
function resolveBlueBubblesAckReaction(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
agentId: string;
core: BlueBubblesCoreRuntime;
runtime: BlueBubblesRuntimeEnv;