chore: rename project to clawdbot

This commit is contained in:
Peter Steinberger committed 2026-01-04 14:38:51 +00:00
1 parent d48dc71fa4
commit 246adaa119
841 files changed
+4590 -4328

No files matched your search

+3 -3
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 {