Files
clawdbot/src/version.ts
2025-11-25 17:10:53 +01:00

8 lines
291 B
TypeScript

import { createRequire } from "node:module";
const require = createRequire(import.meta.url);
const pkg = require("../package.json") as { version?: string };
// Single source of truth for the current warelay version (reads from package.json).
export const VERSION = pkg.version ?? "0.0.0";