6 Commits
Author SHA1 Message Date
Pascal LinxweilerandClaude Opus 5.5 8447289649 Release 0.23.0: run without login
Release / release (push) Successful in 2m59s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:20:49 +01:00
Pascal LinxweilerandClaude Opus 5.5 a13ac85f7c Run without login when OIDC isn't configured
With OIDC_ISSUER, OIDC_CLIENT_ID and OIDC_CLIENT_SECRET empty (or at the
.env.example placeholders) Kaname needs no login. With all three set, OIDC
works as before; only some set is an error. /api/v1 still requires tokens.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:18:47 +01:00
Pascal LinxweilerandClaude Opus 5.5 1fe61142f4 README: show the full compose.yaml and .env in the install steps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:16:38 +01:00
Pascal LinxweilerandClaude Opus 5.5 15d8ae155e Simplify compose files and .env.example
Folders, port and image are written straight into compose.yaml; the
KANAME_DATA_DIR, KANAME_MODELS_DIR, WEB_PORT and KANAME_IMAGE variables
are gone. .env.example is down to the settings people actually set.
README and CHANGELOG updated accordingly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 22:14:15 +01:00
Pascal LinxweilerandClaude Opus 5.5 5bc1ad1395 Release 0.22.0: API for agents
Release / release (push) Successful in 4m16s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 21:55:01 +01:00
Pascal LinxweilerandClaude Opus 5.5 0e0445a418 API for agents: tokens, /api/v1 for downloads, verify, repair, tags
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>
2026-11-11 21:52:28 +01:00