Release 0.16.0: new look, search, remove files, easier deploy
Release / release (push) Successful in 4m33s

- 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>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-10-30 14:06:46 +01:00
1 parent c6bcb514e6
commit 5becfc47a0
53 files changed
+1869 -468

No files matched your search

+21 -11
View File
@@ -12,22 +12,38 @@ import { AddModelForm, type ImportFolder } from "./add-model-form";
type Folder = ImportFolder & { totalBytes: number };
/** The "Add model" / "Close" toggle (shown in the library hero). */
export function AddModelToggle({ open, onToggle }: { open: boolean; onToggle: () => void }) {
return (
<Button variant={open ? "outline" : "default"} onClick={onToggle}>
{open ? "Close" : "Add model"}
</Button>
);
}
/**
* Library header with an "Add model" toggle that opens the lookup/selection form inline, and the
* folders in the models folder that aren't in the library yet, each with "Import".
* The lookup/selection form, opened inline by the "Add model" toggle, and the folders in the models
* folder that aren't in the library yet, each with "Import".
*/
export function AddModelPanel({
freeBytes,
defaultOpen,
folders,
open,
setOpen,
}: {
freeBytes: number | null;
defaultOpen: boolean;
folders: Folder[];
open: boolean;
setOpen: (open: boolean) => void;
}) {
const router = useRouter();
const [open, setOpen] = useState(defaultOpen);
const [importing, setImporting] = useState<Folder | null>(null);
// Closed from outside (the toggle in the hero): forget the folder being imported.
const [wasOpen, setWasOpen] = useState(open);
if (open !== wasOpen) {
setWasOpen(open);
if (!open) setImporting(null);
}
const [scanning, setScanning] = useState(false);
function close() {
@@ -53,12 +69,6 @@ export function AddModelPanel({
return (
<>
<div className="flex items-center justify-between">
<h1 className="text-xl font-semibold">Library</h1>
<Button variant={open ? "outline" : "default"} onClick={() => (open ? close() : setOpen(true))}>
{open ? "Close" : "Add model"}
</Button>
</div>
{open && (
<AddModelForm
key={importing?.path ?? "new"}