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

View File

@@ -1,7 +1,7 @@
import type { MsgContext } from "../../auto-reply/templating.js";
import { getChannelPlugin } from "../../channels/plugins/index.js";
import type { ChannelId } from "../../channels/plugins/types.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { recordSessionMetaFromInbound, resolveStorePath } from "../../config/sessions.js";
import { parseDiscordTarget } from "../../discord/targets.js";
import { parseIMessageTarget, normalizeIMessageHandle } from "../../imessage/targets.js";
@@ -37,7 +37,7 @@ export type OutboundSessionRoute = {
};
export type ResolveOutboundSessionRouteParams = {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
agentId: string;
accountId?: string | null;
@@ -100,7 +100,7 @@ function inferPeerKind(params: {
}
function buildBaseSessionKey(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId: string;
channel: ChannelId;
accountId?: string | null;
@@ -118,7 +118,7 @@ function buildBaseSessionKey(params: {
// Best-effort mpim detection: allowlist/config, then Slack API (if token available).
async function resolveSlackChannelType(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
accountId?: string | null;
channelId: string;
}): Promise<"channel" | "group" | "dm" | "unknown"> {
@@ -824,7 +824,7 @@ export async function resolveOutboundSessionRoute(
}
export async function ensureOutboundSessionEntry(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
agentId: string;
channel: ChannelId;
accountId?: string | null;