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 { getChannelPlugin, listChannelPlugins } from "../channels/plugins/index.js";
import { formatCliCommand } from "../cli/command-format.js";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { CONFIG_PATH } from "../config/config.js";
import type { RuntimeEnv } from "../runtime.js";
import { note } from "../terminal/note.js";
@@ -9,9 +9,9 @@ import { confirm, select } from "./configure.shared.js";
import { guardCancel } from "./onboard-helpers.js";
export async function removeChannelConfigWizard(
cfg: MoltbotConfig,
cfg: OpenClawConfig,
runtime: RuntimeEnv,
): Promise<MoltbotConfig> {
): Promise<OpenClawConfig> {
let next = { ...cfg };
const listConfiguredChannels = () =>
@@ -24,8 +24,8 @@ export async function removeChannelConfigWizard(
if (configured.length === 0) {
note(
[
"No channel config found in moltbot.json.",
`Tip: \`${formatCliCommand("moltbot channels status")}\` shows what is configured and enabled.`,
"No channel config found in openclaw.json.",
`Tip: \`${formatCliCommand("openclaw channels status")}\` shows what is configured and enabled.`,
].join("\n"),
"Remove channel",
);
@@ -64,7 +64,7 @@ export async function removeChannelConfigWizard(
next = {
...next,
channels: Object.keys(nextChannels).length
? (nextChannels as MoltbotConfig["channels"])
? (nextChannels as OpenClawConfig["channels"])
: undefined,
};