Centralized version number; bump to 0.4.0

This commit is contained in:
James Babcock committed 2026-08-16 22:38:58 -07:00
1 parent 526a236193
commit eab5a17b6d
3 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -1,4 +1,5 @@
import { toolRegistry, type ToolRegistry } from "./tool-registry";
import { FACECLAW_VERSION } from "../version";
/**
* Minimal MCP (Model Context Protocol) server surface over the assistant
@@ -51,7 +52,7 @@ export class AssistantMcpServer {
? msg.params.protocolVersion
: MCP_PROTOCOL_VERSION,
capabilities: { tools: { listChanged: true } },
serverInfo: { name: "faceclaw", version: "0.3.0" },
serverInfo: { name: "faceclaw", version: FACECLAW_VERSION },
});
return;
case "notifications/initialized":
+2 -1
View File
@@ -3,6 +3,7 @@ import { getDefaultSmallFont } from "../../graphics/bdffont";
import type { GrayImage } from "../../graphics/image";
import { getDashboardLogo } from "../../graphics/logo";
import { wrapText } from "../../graphics/textwrap";
import { FACECLAW_VERSION } from "../../version";
import {
cancelLocalModelDownload,
deleteLocalModel,
@@ -276,7 +277,7 @@ function renderAbout(args: { image: GrayImage; x: number; y: number; width: numb
}
const textX = logo ? x + logo.width + 12 : x;
image.drawText(font, textX, y + 8, "Faceclaw", 220);
image.drawText(font, textX, y + 24, "v0.3.0", 170);
image.drawText(font, textX, y + 24, `v${FACECLAW_VERSION}`, 170);
const blurb = "By James Babcock. Distributed under the GNU General Public License, version 3.";
const blurbY = y + Math.max(64, logo ? logo.height + 12 : 0);
const blurbLines = wrapText(font, blurb, width);
+1
View File
@@ -0,0 +1 @@
export const FACECLAW_VERSION = "0.4.0";