Skip to content

armgit / kokon

Public Imported from GitHub
0

Edit photos by describing the change, on your own GPU. A free, open-source alternative to Nano Banana and ChatGPT image editing: photos stay on your computer, no daily limit. One installer for Windows, Mac and Linux sets up the best open model (Qwen-Image 2.1). MCP server for AI agents.

604 B
Raw Blame
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";

const json = (p: string) => JSON.parse(readFileSync(new URL(p, import.meta.url), "utf8"));

// kokon-mcp ships with the app (sidecar), on npm and in the MCP Registry under one version.
describe("version", () => {
  it("matches the app and the registry entry", () => {
    const mcp = json("../package.json").version;
    expect(mcp).toBe(json("../../package.json").version);
    const server = json("../server.json");
    expect(server.version).toBe(mcp);
    expect(server.packages[0].version).toBe(mcp);
  });
});