Brings back the token API that 0.15 removed with deployments, for
models only, ported onto the current code (local models, lean client
bundles, MiB-rounded disk space):
- Scoped bearer tokens (models:read, downloads:create, models:verify,
tags:write), stored as SHA-256, managed in Settings -> API tokens.
Only /api/v1 accepts them; the rest stays OIDC-only.
- /api/v1: Hub lookup, library with the search filters, download
requests through the add-model/queue path (idempotent), repair of
missing or broken files, verify / deep verify, tags, job status with
?wait=, cancelling or withdrawing the token's own jobs, disk space.
- Guardrails for downloads and repairs: approval (default ask), max
size per request, minimum free space incl. reserved bytes, agent jobs
at once, author allowlist (new downloads only). Approve/reject in the
UI, "requested by" badges and filter, activity log per token.
- Migration 0027 adds api_tokens, agent_activity and requested_by
columns on models and jobs; job state pending_approval.
- docs/api.md, docs/agent/SKILL.md and the kaname curl helper; DB-backed
API tests. The login gate test now expects /api/v1 to be left to
token auth.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Dot-matrix "Creation of Adam" page banners behind a floating menu,
glass cards and tables, library header with live stats, table toolbar
with pagination, Cmd/Ctrl+K search across models, endpoints, runs,
tags, settings and actions.
- Remove single files from a model (selection + disk, via a worker job).
- Containers start as root to prepare folders and drop to PUID:PGID;
AUTH_SECRET is generated when unset; sandbox runs as nobody;
KANAME_IMAGE and image docs in the README.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
- Scoped bearer tokens (models:read, downloads:create), stored as SHA-256, managed in
Settings -> API tokens. Only /api/v1 accepts them; the rest stays OIDC-only.
- /api/v1: Hub lookup, library list with the search filters, download requests through the
existing add-model/queue path (idempotent), compact job status, disk space.
- Guardrails: approval mode (default approve), max size per request, minimum free space incl.
reserved bytes, max open agent jobs, author allowlist. Approve/reject in the UI; "requested by"
shown and filterable.
- docs/api.md (incl. Traefik forward-auth bypass), docs/agent/SKILL.md, DB-backed API tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Files is the default tab: icon/size/LFS/state per file, on-disk summary, unselected files collapsed
- Custom tags color-coded by name (editor, library, filter chips and menu)
- Header: only the Hugging Face link (top right); README link moved to the end of the model card
- App icon; proxy lets /icon.svg through
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Model URLs are the repo path (case-insensitive, canonical redirect);
/models/<id> redirects
- Header with avatar, org/name + copy, task/format/arch/language/license
pills, user tags, cross-links to the Hub (files @ sha, commits, community,
base model) and tabs: rendered model card at the pinned commit, files, jobs
- Sidebar: download card, local copy, model tree with related local models
- Metadata gains author avatar and base relation (refetched once)
- Proxy matcher excludes only exact /login and /api/auth/ paths
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>