chore: rename project to clawdbot

This commit is contained in:
Peter Steinberger
2026-01-04 14:32:47 +00:00
parent d48dc71fa4
commit 246adaa119
841 changed files with 4590 additions and 4328 deletions

View File

@@ -87,7 +87,7 @@ export class GatewayChatClient {
url: resolved.url,
token: resolved.token,
password: resolved.password,
clientName: "clawdis-tui",
clientName: "clawdbot-tui",
clientVersion: VERSION,
platform: process.platform,
mode: "tui",
@@ -210,7 +210,7 @@ export function resolveGatewayConnection(opts: GatewayConnectionOptions) {
? typeof remote?.token === "string" && remote.token.trim().length > 0
? remote.token.trim()
: undefined
: process.env.CLAWDIS_GATEWAY_TOKEN?.trim() ||
: process.env.CLAWDBOT_GATEWAY_TOKEN?.trim() ||
(typeof authToken === "string" && authToken.trim().length > 0
? authToken.trim()
: undefined));
@@ -219,7 +219,7 @@ export function resolveGatewayConnection(opts: GatewayConnectionOptions) {
(typeof opts.password === "string" && opts.password.trim().length > 0
? opts.password.trim()
: undefined) ||
process.env.CLAWDIS_GATEWAY_PASSWORD?.trim() ||
process.env.CLAWDBOT_GATEWAY_PASSWORD?.trim() ||
(typeof remote?.password === "string" && remote.password.trim().length > 0
? remote.password.trim()
: undefined);

View File

@@ -146,7 +146,7 @@ export async function runTui(opts: TuiOptions) {
const updateHeader = () => {
header.setText(
theme.header(
`clawdis tui - ${client.connection.url} - session ${currentSessionKey}`,
`clawdbot tui - ${client.connection.url} - session ${currentSessionKey}`,
),
);
};