Download more, file labels, split-file grouping, settings for labels and tags
- Files tab: "Download more" adds files to a model's selection and queues them - Colored file labels (Model, MTP, Vision/mmproj, imatrix, Config, …) - Split GGUF/safetensors parts shown and selected as one entry everywhere - Settings page with a Labels section: file label names/colors, tag rename/recolor/delete; new settings table and tags.color - Quants only count model weights Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
5211ec9064
commit
df18415e02
34 files changed
+2256
-132
No files matched your search
+13
-1
@@ -107,6 +107,8 @@ export const tags = sqliteTable(
|
||||
name: text("name").notNull(),
|
||||
/** Lowercased, trimmed name; unique. */
|
||||
slug: text("slug").notNull(),
|
||||
/** One of LABEL_COLORS; null = automatic color derived from the name. */
|
||||
color: text("color"),
|
||||
createdAt: createdAt(),
|
||||
},
|
||||
(t) => [uniqueIndex("tags_slug_uq").on(t.slug)],
|
||||
@@ -183,7 +185,7 @@ export const modelFiles = sqliteTable(
|
||||
export const JOB_KINDS = ["download", "verify", "deep_verify"] as const;
|
||||
export type JobKind = (typeof JOB_KINDS)[number];
|
||||
|
||||
export const JOB_PURPOSES = ["initial", "repair", "update"] as const;
|
||||
export const JOB_PURPOSES = ["initial", "add", "repair", "update"] as const;
|
||||
export type JobPurpose = (typeof JOB_PURPOSES)[number];
|
||||
|
||||
export const JOB_STATES = [
|
||||
@@ -278,6 +280,16 @@ export const jobLogs = sqliteTable(
|
||||
(t) => [index("job_logs_job_idx").on(t.jobId, t.id)],
|
||||
);
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// App settings (key/value, edited on the Settings page)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export const settings = sqliteTable("settings", {
|
||||
key: text("key").primaryKey(),
|
||||
value: text("value", { mode: "json" }).notNull(),
|
||||
updatedAt: updatedAt(),
|
||||
});
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Worker liveness
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user