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,6 +1,6 @@
import type { ChannelId } from "../../channels/plugins/types.js";
import { DEFAULT_CHAT_CHANNEL } from "../../channels/registry.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import {
loadSessionStore,
resolveAgentMainSessionKey,
@@ -14,7 +14,7 @@ import {
} from "../../infra/outbound/targets.js";
export async function resolveDeliveryTarget(
cfg: MoltbotConfig,
cfg: OpenClawConfig,
agentId: string,
jobPayload: {
channel?: "last" | ChannelId;

View File

@@ -38,7 +38,7 @@ import {
supportsXHighThinking,
} from "../../auto-reply/thinking.js";
import { createOutboundSendDeps, type CliDeps } from "../../cli/outbound-send-deps.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { resolveSessionTranscriptPath, updateSessionStore } from "../../config/sessions.js";
import type { AgentDefaultsConfig } from "../../config/types.js";
import { registerAgentRunContext } from "../../infra/agent-events.js";
@@ -86,7 +86,7 @@ export type RunCronAgentTurnResult = {
};
export async function runCronIsolatedAgentTurn(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
deps: CliDeps;
job: CronJob;
message: string;
@@ -117,7 +117,7 @@ export async function runCronIsolatedAgentTurn(params: {
} else if (overrideModel) {
agentCfg.model = overrideModel;
}
const cfgWithAgentDefaults: MoltbotConfig = {
const cfgWithAgentDefaults: OpenClawConfig = {
...params.cfg,
agents: Object.assign({}, params.cfg.agents, { defaults: agentCfg }),
};

View File

@@ -1,10 +1,10 @@
import crypto from "node:crypto";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { loadSessionStore, resolveStorePath, type SessionEntry } from "../../config/sessions.js";
export function resolveCronSession(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
sessionKey: string;
nowMs: number;
agentId: string;