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 { AGENT_LANE_NESTED } from "../../agents/lanes.js";
import { getChannelPlugin, normalizeChannelId } from "../../channels/plugins/index.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 type { SessionEntry } from "../../config/sessions.js";
import { deliverOutboundPayloads } from "../../infra/outbound/deliver.js";
import { buildOutboundResultEnvelope } from "../../infra/outbound/envelope.js";
@@ -46,7 +46,7 @@ function logNestedOutput(runtime: RuntimeEnv, opts: AgentCommandOpts, output: st
}
export async function deliverAgentCommandResult(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
deps: CliDeps;
runtime: RuntimeEnv;
opts: AgentCommandOpts;

View File

@@ -3,7 +3,7 @@ import { lookupContextTokens } from "../../agents/context.js";
import { DEFAULT_CONTEXT_TOKENS } from "../../agents/defaults.js";
import { isCliProvider } from "../../agents/model-selection.js";
import { hasNonzeroUsage } from "../../agents/usage.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { type SessionEntry, updateSessionStore } from "../../config/sessions.js";
type RunResult = Awaited<
@@ -11,7 +11,7 @@ type RunResult = Awaited<
>;
export async function updateSessionStoreAfterAgentRun(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
contextTokensOverride?: number;
sessionId: string;
sessionKey: string;

View File

@@ -7,7 +7,7 @@ import {
type ThinkLevel,
type VerboseLevel,
} from "../../auto-reply/thinking.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import {
evaluateSessionFreshness,
loadSessionStore,
@@ -40,7 +40,7 @@ type SessionKeyResolution = {
};
export function resolveSessionKeyForRequest(opts: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
to?: string;
sessionId?: string;
sessionKey?: string;
@@ -81,7 +81,7 @@ export function resolveSessionKeyForRequest(opts: {
}
export function resolveSession(opts: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
to?: string;
sessionId?: string;
sessionKey?: string;