refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { RuntimeEnv } from "clawdbot/plugin-sdk";
import type { RuntimeEnv } from "openclaw/plugin-sdk";
import { formatChangesDate } from "./utils.js";
+1 -1
View File
@@ -1,4 +1,4 @@
import type { RuntimeEnv } from "clawdbot/plugin-sdk";
import type { RuntimeEnv } from "openclaw/plugin-sdk";
import { extractMessageText } from "./utils.js";
+3 -3
View File
@@ -1,6 +1,6 @@
import { format } from "node:util";
import type { RuntimeEnv, ReplyPayload, MoltbotConfig } from "clawdbot/plugin-sdk";
import type { RuntimeEnv, ReplyPayload, OpenClawConfig } from "openclaw/plugin-sdk";
import { getTlonRuntime } from "../runtime.js";
import { resolveTlonAccount } from "../types.js";
@@ -31,7 +31,7 @@ type ChannelAuthorization = {
};
function resolveChannelAuthorization(
cfg: MoltbotConfig,
cfg: OpenClawConfig,
channelNest: string,
): { mode: "restricted" | "open"; allowedShips: string[] } {
const tlonConfig = cfg.channels?.tlon as
@@ -49,7 +49,7 @@ function resolveChannelAuthorization(
export async function monitorTlonProvider(opts: MonitorTlonOpts = {}): Promise<void> {
const core = getTlonRuntime();
const cfg = core.config.loadConfig() as MoltbotConfig;
const cfg = core.config.loadConfig() as OpenClawConfig;
if (cfg.channels?.tlon?.enabled === false) return;
const logger = core.logging.getChildLogger({ module: "tlon-auto-reply" });