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

@@ -29,7 +29,7 @@ describe("browser chrome profile decoration", () => {
it("writes expected name + signed ARGB seed to Chrome prefs", async () => {
const userDataDir = await fsp.mkdtemp(
path.join(os.tmpdir(), "clawdis-chrome-test-"),
path.join(os.tmpdir(), "clawdbot-chrome-test-"),
);
try {
decorateClawdProfile(userDataDir, { color: DEFAULT_CLAWD_BROWSER_COLOR });
@@ -71,7 +71,7 @@ describe("browser chrome profile decoration", () => {
it("best-effort writes name when color is invalid", async () => {
const userDataDir = await fsp.mkdtemp(
path.join(os.tmpdir(), "clawdis-chrome-test-"),
path.join(os.tmpdir(), "clawdbot-chrome-test-"),
);
try {
decorateClawdProfile(userDataDir, { color: "lobster-orange" });
@@ -89,7 +89,7 @@ describe("browser chrome profile decoration", () => {
it("recovers from missing/invalid preference files", async () => {
const userDataDir = await fsp.mkdtemp(
path.join(os.tmpdir(), "clawdis-chrome-test-"),
path.join(os.tmpdir(), "clawdbot-chrome-test-"),
);
try {
await fsp.mkdir(path.join(userDataDir, "Default"), { recursive: true });
@@ -116,7 +116,7 @@ describe("browser chrome profile decoration", () => {
it("is idempotent when rerun on an existing profile", async () => {
const userDataDir = await fsp.mkdtemp(
path.join(os.tmpdir(), "clawdis-chrome-test-"),
path.join(os.tmpdir(), "clawdbot-chrome-test-"),
);
try {
decorateClawdProfile(userDataDir, { color: DEFAULT_CLAWD_BROWSER_COLOR });

View File

@@ -15,7 +15,7 @@ function enhanceBrowserFetchError(
const code = extractErrorCode(cause) ?? extractErrorCode(err) ?? "";
const hint =
"Start (or restart) the Clawdis gateway (Clawdis.app menubar, or `clawdis gateway`) and try again.";
"Start (or restart) the Clawdbot gateway (Clawdbot.app menubar, or `clawdbot gateway`) and try again.";
if (code === "ECONNREFUSED") {
return new Error(

View File

@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import type { BrowserProfileConfig, ClawdisConfig } from "../config/config.js";
import type { BrowserProfileConfig, ClawdbotConfig } from "../config/config.js";
import { loadConfig, writeConfigFile } from "../config/config.js";
import { resolveClawdUserDataDir } from "./chrome.js";
import { parseHttpUrl, resolveProfile } from "./config.js";
@@ -86,7 +86,7 @@ export function createBrowserProfilesService(ctx: BrowserRouteContext) {
profileConfig = { cdpPort, color: profileColor };
}
const nextConfig: ClawdisConfig = {
const nextConfig: ClawdbotConfig = {
...cfg,
browser: {
...cfg.browser,
@@ -157,7 +157,7 @@ export function createBrowserProfilesService(ctx: BrowserRouteContext) {
}
const { [name]: _removed, ...remainingProfiles } = profiles;
const nextConfig: ClawdisConfig = {
const nextConfig: ClawdbotConfig = {
...cfg,
browser: {
...cfg.browser,

View File

@@ -277,7 +277,7 @@ function createProfileContext(
// HTTP responds but WebSocket fails - port in use by something else
if (!profileState.running) {
throw new Error(
`Port ${profile.cdpPort} is in use for profile "${profile.name}" but not by clawdis. ` +
`Port ${profile.cdpPort} is in use for profile "${profile.name}" but not by clawdbot. ` +
`Run action=reset-profile profile=${profile.name} to kill the process.`,
);
}