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

@@ -17,8 +17,8 @@ function isBun(): boolean {
function prefersSips(): boolean {
return (
process.env.CLAWDIS_IMAGE_BACKEND === "sips" ||
(process.env.CLAWDIS_IMAGE_BACKEND !== "sharp" &&
process.env.CLAWDBOT_IMAGE_BACKEND === "sips" ||
(process.env.CLAWDBOT_IMAGE_BACKEND !== "sharp" &&
isBun() &&
process.platform === "darwin")
);
@@ -31,7 +31,7 @@ async function loadSharp(): Promise<(buffer: Buffer) => ReturnType<Sharp>> {
}
async function withTempDir<T>(fn: (dir: string) => Promise<T>): Promise<T> {
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdis-img-"));
const dir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-img-"));
try {
return await fn(dir);
} finally {