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

@@ -4,7 +4,7 @@ import type {
ChannelDirectoryEntryKind,
ChannelId,
} from "../../channels/plugins/types.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { defaultRuntime, type RuntimeEnv } from "../../runtime.js";
import { buildDirectoryCacheKey, DirectoryCache } from "./directory-cache.js";
import {
@@ -30,7 +30,7 @@ export type ResolveMessagingTargetResult =
| { ok: false; error: Error; candidates?: ChannelDirectoryEntry[] };
export async function resolveChannelTarget(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
input: string;
accountId?: string | null;
@@ -177,7 +177,7 @@ function resolveMatch(params: {
}
async function listDirectoryEntries(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
accountId?: string | null;
kind: ChannelDirectoryEntryKind;
@@ -213,7 +213,7 @@ async function listDirectoryEntries(params: {
}
async function getDirectoryEntries(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
accountId?: string | null;
kind: ChannelDirectoryEntryKind;
@@ -281,7 +281,7 @@ function pickAmbiguousMatch(
}
export async function resolveMessagingTarget(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
input: string;
accountId?: string | null;
@@ -397,7 +397,7 @@ export async function resolveMessagingTarget(params: {
}
export async function lookupDirectoryDisplay(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
targetId: string;
accountId?: string | null;