mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 15:01:41 +03:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
import type { SlashCommand } from "@mariozechner/pi-tui";
|
||||
import { listChatCommands, listChatCommandsForConfig } from "../auto-reply/commands-registry.js";
|
||||
import { formatThinkingLevels, listThinkingLevelLabels } from "../auto-reply/thinking.js";
|
||||
import type { ClawdbotConfig } from "../config/types.js";
|
||||
import type { MoltbotConfig } from "../config/types.js";
|
||||
|
||||
const VERBOSE_LEVELS = ["on", "off"];
|
||||
const REASONING_LEVELS = ["on", "off"];
|
||||
@@ -15,7 +15,7 @@ export type ParsedCommand = {
|
||||
};
|
||||
|
||||
export type SlashCommandOptions = {
|
||||
cfg?: ClawdbotConfig;
|
||||
cfg?: MoltbotConfig;
|
||||
provider?: string;
|
||||
model?: string;
|
||||
};
|
||||
|
||||
@@ -112,7 +112,7 @@ export class GatewayChatClient {
|
||||
token: resolved.token,
|
||||
password: resolved.password,
|
||||
clientName: GATEWAY_CLIENT_NAMES.GATEWAY_CLIENT,
|
||||
clientDisplayName: "clawdbot-tui",
|
||||
clientDisplayName: "moltbot-tui",
|
||||
clientVersion: VERSION,
|
||||
platform: process.platform,
|
||||
mode: GATEWAY_CLIENT_MODES.UI,
|
||||
|
||||
+1
-1
@@ -290,7 +290,7 @@ export async function runTui(opts: TuiOptions) {
|
||||
const agentLabel = formatAgentLabel(currentAgentId);
|
||||
header.setText(
|
||||
theme.header(
|
||||
`clawdbot tui - ${client.connection.url} - agent ${agentLabel} - session ${sessionLabel}`,
|
||||
`moltbot tui - ${client.connection.url} - agent ${agentLabel} - session ${sessionLabel}`,
|
||||
),
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user