Release 0.15.0: endpoints instead of deployments
Release / release (push) Successful in 12m32s

Kaname keeps two jobs: the model downloader and benchmarks. Benchmarks
now run against endpoints (any OpenAI-compatible server added by URL,
with an optional server-side API key and hand-written hardware notes)
instead of deployments Kaname started itself.

Removed: runtimes, deployments, sweeps, resource telemetry, hardware
detection, the /api/v1 API with tokens and guardrails, and all Docker
access. The quality eval's coding tests run in a network-less sandbox
container that shares only an exchange folder with the worker.

The previous state is kept in branch backup / tag backup-0.14.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-26 21:43:42 +01:00
1 parent 1d2f908b75
commit 276108932d
199 files changed
+5462 -15961

No files matched your search

+57
View File
@@ -0,0 +1,57 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { RunMetaCard } from "@/components/run-meta";
import { endpointRunMeta, endpointSystem } from "@/lib/benchmark-meta";
import { kanameVersion } from "@/lib/benchmark-snapshot";
import { listBenchmarks } from "@/lib/benchmarks";
import { getEndpoint, listEndpoints } from "@/lib/endpoints";
import { BenchmarkList } from "../../benchmarks/benchmark-list";
import { BenchmarkStart } from "./benchmark-start";
import { EndpointHeader } from "./endpoint-header";
export const dynamic = "force-dynamic";
export async function generateMetadata({ params }: PageProps<"/endpoints/[id]">): Promise<Metadata> {
const e = await getEndpoint((await params).id);
return { title: e ? `${e.name} · Endpoint` : "Endpoint" };
}
export default async function EndpointPage({ params }: PageProps<"/endpoints/[id]">) {
const { id } = await params;
const endpoint = await getEndpoint(id);
if (!endpoint) notFound();
const [runs, all] = await Promise.all([listBenchmarks({ endpointId: id }), listEndpoints()]);
const model = endpoint.model ?? (endpoint.probe?.models.length === 1 ? endpoint.probe.models[0] : null);
// What a run would record now (the worker asks the server again when it starts).
const preview = endpointRunMeta({
type: "endpoint",
endpointName: endpoint.name,
model: model ?? "(model)",
engine: endpoint.engine ?? endpoint.probe?.engine ?? null,
engineVersion: endpoint.probe?.engineVersion ?? null,
contextSize: endpoint.probe?.contextSize ?? null,
slots: endpoint.probe?.slots ?? null,
hardware: endpoint.hardware,
});
return (
<div className="flex flex-col gap-4">
<EndpointHeader endpoint={endpoint} runCount={runs.length} />
<div className="grid items-start gap-4 lg:grid-cols-[minmax(0,1fr)_360px]">
<div className="flex min-w-0 flex-col gap-4">
<BenchmarkStart
endpoint={{ id: endpoint.id, name: endpoint.name, model, models: endpoint.probe?.models ?? [] }}
peers={all.filter((e) => e.id !== id).map((e) => ({ id: e.id, name: e.name, models: e.probe?.models ?? [], model: e.model }))}
/>
<BenchmarkList rows={JSON.parse(JSON.stringify(runs))} filter={{ endpoint: id }} />
</div>
<aside className="flex flex-col gap-4">
<RunMetaCard meta={preview} system={endpointSystem(endpoint.hardware, kanameVersion())} />
{endpoint.hardware.description && (
<p className="rounded-xl bg-card px-4 py-3 text-xs whitespace-pre-wrap text-muted-foreground ring-1 ring-foreground/10">{endpoint.hardware.description}</p>
)}
</aside>
</div>
</div>
);
}