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

@@ -1,10 +1,10 @@
#!/usr/bin/env node
import process from "node:process";
declare const __CLAWDIS_VERSION__: string | undefined;
declare const __CLAWDBOT_VERSION__: string | undefined;
const BUNDLED_VERSION =
typeof __CLAWDIS_VERSION__ === "string" ? __CLAWDIS_VERSION__ : "0.0.0";
typeof __CLAWDBOT_VERSION__ === "string" ? __CLAWDBOT_VERSION__ : "0.0.0";
function hasFlag(args: string[], flag: string): boolean {
return args.includes(flag);
@@ -37,8 +37,8 @@ async function main() {
const { default: dotenv } = await import("dotenv");
dotenv.config({ quiet: true });
const { ensureClawdisCliOnPath } = await import("../infra/path-env.js");
ensureClawdisCliOnPath();
const { ensureClawdbotCliOnPath } = await import("../infra/path-env.js");
ensureClawdbotCliOnPath();
const { enableConsoleCapture } = await import("../logging.js");
enableConsoleCapture();
@@ -51,7 +51,7 @@ async function main() {
process.on("unhandledRejection", (reason, _promise) => {
console.error(
"[clawdis] Unhandled promise rejection:",
"[clawdbot] Unhandled promise rejection:",
reason instanceof Error ? (reason.stack ?? reason.message) : reason,
);
process.exit(1);
@@ -59,7 +59,7 @@ async function main() {
process.on("uncaughtException", (error) => {
console.error(
"[clawdis] Uncaught exception:",
"[clawdbot] Uncaught exception:",
error.stack ?? error.message,
);
process.exit(1);