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

@@ -4,7 +4,7 @@ import os from "node:os";
import path from "node:path";
import { promisify } from "node:util";
import type { ClawdbotConfig } from "../config/config.js";
import type { MoltbotConfig } from "../config/config.js";
import { note } from "../terminal/note.js";
import { shortenHomePath } from "../utils.js";
@@ -39,7 +39,7 @@ async function launchctlGetenv(name: string): Promise<string | undefined> {
}
}
function hasConfigGatewayCreds(cfg: ClawdbotConfig): boolean {
function hasConfigGatewayCreds(cfg: MoltbotConfig): boolean {
const localToken =
typeof cfg.gateway?.auth?.token === "string" ? cfg.gateway?.auth?.token.trim() : "";
const localPassword =
@@ -52,7 +52,7 @@ function hasConfigGatewayCreds(cfg: ClawdbotConfig): boolean {
}
export async function noteMacLaunchctlGatewayEnvOverrides(
cfg: ClawdbotConfig,
cfg: MoltbotConfig,
deps?: {
platform?: NodeJS.Platform;
getenv?: (name: string) => Promise<string | undefined>;