chore: normalize Clawdbot naming

This commit is contained in:
Peter Steinberger
2026-01-10 05:14:09 +01:00
parent a7c8341452
commit cdb915d527
21 changed files with 54 additions and 50 deletions

View File

@@ -90,7 +90,7 @@ describe("session_status tool", () => {
const result = await tool.execute("call1", {});
const details = result.details as { ok?: boolean; statusText?: string };
expect(details.ok).toBe(true);
expect(details.statusText).toContain("ClawdBot");
expect(details.statusText).toContain("Clawdbot");
expect(details.statusText).toContain("🧠 Model:");
});

View File

@@ -237,7 +237,7 @@ describe("trigger handling", () => {
makeCfg(home),
);
const text = Array.isArray(res) ? res[0]?.text : res?.text;
expect(text).toContain("ClawdBot");
expect(text).toContain("Clawdbot");
expect(runEmbeddedPiAgent).not.toHaveBeenCalled();
});
});
@@ -254,7 +254,7 @@ describe("trigger handling", () => {
makeCfg(home),
);
const text = Array.isArray(res) ? res[0]?.text : res?.text;
expect(text).toContain("ClawdBot");
expect(text).toContain("Clawdbot");
expect(runEmbeddedPiAgent).not.toHaveBeenCalled();
});
});

View File

@@ -58,7 +58,7 @@ describe("buildStatusMessage", () => {
});
const normalized = normalizeTestText(text);
expect(normalized).toContain("ClawdBot");
expect(normalized).toContain("Clawdbot");
expect(normalized).toContain("Model: anthropic/pi:opus");
expect(normalized).toContain("api-key");
expect(normalized).toContain("Tokens: 1.2k in / 800 out");

View File

@@ -334,7 +334,7 @@ export function buildStatusMessage(args: StatusArgs): string {
const authLabel = authLabelValue ? ` · 🔑 ${authLabelValue}` : "";
const modelLine = `🧠 Model: ${modelLabel}${authLabel}`;
const commit = resolveCommitHash();
const versionLine = `🦞 ClawdBot ${VERSION}${commit ? ` (${commit})` : ""}`;
const versionLine = `🦞 Clawdbot ${VERSION}${commit ? ` (${commit})` : ""}`;
const usagePair = formatUsagePair(inputTokens, outputTokens);
const costLine = costLabel ? `💵 Cost: ${costLabel}` : null;
const usageCostLine =

View File

@@ -38,7 +38,7 @@ export function formatCliBannerLine(
const commitLabel = commit ?? "unknown";
const tagline = pickTagline(options);
const rich = options.richTty ?? isRich();
const title = "🦞 ClawdBot";
const title = "🦞 Clawdbot";
if (rich) {
return `${theme.heading(title)} ${theme.info(version)} ${theme.muted(
`(${commitLabel})`,

View File

@@ -1,4 +1,4 @@
const DEFAULT_TAGLINE = "All your chats, one ClawdBot.";
const DEFAULT_TAGLINE = "All your chats, one Clawdbot.";
const HOLIDAY_TAGLINES = {
newYear: