The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
style(kommentare): keine Gedankenstriche in den neuen Kommentaren
purple383f5f30d4eb
diff --git a/src-tauri/src/commands/comfy_folders.rs b/src-tauri/src/commands/comfy_folders.rsindex b35efd8b..35e70297 100644--- a/src-tauri/src/commands/comfy_folders.rs+++ b/src-tauri/src/commands/comfy_folders.rs@@ -7,7 +7,7 @@//!//! Both halves of that sentence are the bug. LU decided where the file goes on//! its own: `<the folder we resolved>/models/<subfolder>`, built from a path we-//! found by looking for `main.py`. The picker asks something else entirely —+//! found by looking for `main.py`. The picker asks something else entirely,//! the RUNNING ComfyUI, through its `/object_info` enums. Two answers to one//! question, and they only agree while the ComfyUI we found is the ComfyUI that//! is running AND that ComfyUI keeps its models where we guessed.@@ -17,7 +17,7 @@//! models under a base directory the user picked at install time, and it//! starts the server with `--base-directory`.//! * `--base-directory` does the same for anybody starting ComfyUI by hand.-//! * An `extra_model_paths.yaml` adds roots that are nowhere near `main.py` —+//! * An `extra_model_paths.yaml` adds roots that are nowhere near `main.py`.//! LU writes one itself for the Model Storage folder (see custom_models.rs).//! * A second install on the box is the classic one (pnwpdr4519, 2026-07-27).//!@@ -37,7 +37,7 @@//! because it comes from the process that builds the picker's enums.//!//! Everything here is best effort. A ComfyUI that is not running answers-//! nothing, and a download must still work then — the caller falls back to the+//! nothing, and a download must still work then: the caller falls back to the//! old rule, which is right whenever there is nothing better to know.use std::collections::HashMap;@@ -160,7 +160,7 @@ impl ComfyFolders {/// subfolder we were asked about, and the first one otherwise. ComfyUI lists/// `diffusion_models` as `[models\unet, models\diffusion_models]`, and a/// file the catalog calls a `diffusion_models` file belongs in the folder of- /// that name — both are scanned, so this is about keeping the tree the way+ /// that name. Both are scanned, so this is about keeping the tree the way/// the user (and our own delete) expects it, not about visibility.pub fn dir_for(&self, subfolder: &str) -> Option<PathBuf> {let key = subfolder.trim().to_ascii_lowercase();diff --git a/src-tauri/src/commands/download.rs b/src-tauri/src/commands/download.rsindex 6f715c63..e2491d16 100644--- a/src-tauri/src/commands/download.rs+++ b/src-tauri/src/commands/download.rs@@ -289,7 +289,7 @@ mod civitai_auth_tests {/// Built exactly the way `do_download` builds it and read back off the/// finished request, because the half that was missing in the report was/// never the store or the field: it was whether anything put the key on the- /// wire. No network — `build()` hands back the request without sending it.+ /// wire. No network: `build()` hands back the request without sending it.#[test]fn the_key_is_on_the_wire_as_a_bearer_header_and_only_for_civitai() {use super::outgoing_token;@@ -642,7 +642,7 @@ pub fn delete_comfy_model(/// `folders` is what the RUNNING ComfyUI says about its own model folders/// (see commands/comfy_folders.rs). It wins whenever it has an answer, because/// the picker is built from that same process: a file written anywhere else is-/// a file no picker can ever offer (.__nothing_, 2026-09-02 — FramePack F1 and+/// a file no picker can ever offer (.__nothing_, 2026-09-02: FramePack F1 and/// Wan 2.1 downloaded fine and showed up nowhere until he moved them into the/// other ComfyUI folder by hand).///@@ -1096,7 +1096,7 @@ pub(crate) fn is_huggingface_host(url: &str) -> bool {/// really holds the field. It did not: the key moved out of Model Storage into/// a section of its own (the A14 review found a tester saving a folder path as/// his API key, because the two fields sat under each other), and this text-/// kept sending people to the folder settings — where the field they were+/// kept sending people to the folder settings, where the field they were/// looking for is not. `src/components/settings/__tests__//// die-meldung-zeigt-auf-den-abschnitt-den-es-gibt.test.ts` holds every/// `Settings > …` path in this file against the sections the app really has.@@ -1154,7 +1154,7 @@ pub(crate) fn download_http_error(url: &str, status: u16, sent_token: bool, file/// documents as well: a key in the URL is written into the download meta the/// app persists, printed in every log line that quotes the address, and kept in/// the browser history of the web build. reqwest strips Authorization itself-/// when a redirect leaves the host, which is exactly right here — CivitAI hands+/// when a redirect leaves the host, which is exactly right here: CivitAI hands/// the file to a signed CDN URL that must not see the key.////// Host-gated both ways IN HERE, not only in the caller: the CivitAI key goesdiff --git a/src/api/__tests__/bundle-install-visible-wait.test.ts b/src/api/__tests__/bundle-install-visible-wait.test.tsindex 57fdcd7e..6ce1c1c1 100644--- a/src/api/__tests__/bundle-install-visible-wait.test.ts+++ b/src/api/__tests__/bundle-install-visible-wait.test.ts@@ -305,8 +305,8 @@ describe('a file complete on disk waits out the ComfyUI scan before it is called// "is this folder in a list of folders ComfyUI could enumerate" but "did// the engine in front of us answer about it". The fixture's engine answers// about checkpoints and diffusion_models and nothing else, so an upscale- // model gets no verdict here — waiting on one would be certain failure on- // a click. (loras left this group on 2026-08-29: the LoRA folder IS+ // model gets no verdict here, and waiting on one would be certain failure+ // on a click. (loras left this group on 2026-08-29: the LoRA folder IS// enumerated, by LoraLoader, and the abnahme counter-check showed what not// asking it costs.)const rec = recordVerdicts()diff --git a/src/api/__tests__/get-target-is-a-folder-we-read.test.ts b/src/api/__tests__/get-target-is-a-folder-we-read.test.tsindex 5f733753..a12a70c1 100644--- a/src/api/__tests__/get-target-is-a-folder-we-read.test.ts+++ b/src/api/__tests__/get-target-is-a-folder-we-read.test.ts@@ -54,7 +54,7 @@ import {modelsNotVisibleInComfy, type ModelBundle, type DiscoverModel,} from '../discover'-/** ComfyUI's `supported_pt_extensions` (folder_paths.py). No `.gguf` — that is+/** ComfyUI's `supported_pt_extensions` (folder_paths.py). No `.gguf`, which is* the whole reason the GGUF pack registers a loader of its own. */const PT = new Set(['.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'])const extOf = (n: string) => n.slice(n.lastIndexOf('.')).toLowerCase()@@ -173,7 +173,7 @@ describe('every folder the Get button writes into is one the app reads back', ()})// Negative control: a table that claims a folder ComfyUI does not have would- // be the same drift facing the other way — a reader asking a loader that+ // be the same drift facing the other way: a reader asking a loader that// answers nothing, forever.it('and reads no folder ComfyUI does not have', () => {const known = new Set([...Object.keys(SCANS), 'custom_nodes/ComfyUI-AnimateDiff-Evolved/models'])diff --git a/src/api/comfyui.ts b/src/api/comfyui.tsindex ff2a8a53..31335363 100644--- a/src/api/comfyui.ts+++ b/src/api/comfyui.ts@@ -749,8 +749,8 @@ export async function getCLIPModels(): Promise<string[]> {/*** F2 (cinemazverev GH#4): list LoRA files ComfyUI knows about. Pulls the same- * enum LoraLoader's `lora_name` dropdown shows — anything the user dropped into- * `<comfyui>/models/loras/`.+ * enum LoraLoader's `lora_name` dropdown shows, which is anything the user+ * dropped into `<comfyui>/models/loras/`.*/export async function getLoraModels(): Promise<string[]> {return (await folderOptions('loras')) ?? []@@ -1209,8 +1209,8 @@ export const ANIMATEDIFF_SUBFOLDER = 'custom_nodes/ComfyUI-AnimateDiff-Evolved/m* back were two hand-written lists in two files, and they had already drifted.** Two Get targets were in no reader at all:- * * `clip_vision` — FramePack F1's 900 MB SigCLIP encoder.- * * `audio_encoders` — the Wav2Vec2 encoder both Talking Character bundles+ * * `clip_vision`, FramePack F1's 900 MB SigCLIP encoder.+ * * `audio_encoders`, the Wav2Vec2 encoder both Talking Character bundles* need, added with the 2.5.8 lanes and never read back anywhere.* A file in either could not be confirmed after its download, and the bundle* card's fallback could never call those bundles installed, because it looked@@ -1223,7 +1223,7 @@ export const ANIMATEDIFF_SUBFOLDER = 'custom_nodes/ComfyUI-AnimateDiff-Evolved/mexport const COMFY_MODEL_FOLDERS: Array<{subfolder: string/** The files ComfyUI lists in that folder, or `null` when the loader that- * lists it is not registered in this ComfyUI at all — see+ * lists it is not registered in this ComfyUI at all. See* `nodeOptionsOrNull` for why the two are not the same answer. */read: () => Promise<string[] | null>}> = [diff --git a/src/api/workflows.ts b/src/api/workflows.tsindex decad363..73315000 100644--- a/src/api/workflows.ts+++ b/src/api/workflows.ts@@ -29,9 +29,9 @@ import {** A web-format file passes here and is stored as it came: the converter that* used to stand beside this went with the CivitAI workflow fetcher it was the- * only caller of (3.0.0). Nothing in the app ever called it — the Import button- * in WorkflowsModal hands this JSON straight to `parseImportedWorkflow` — so- * removing it changed no behaviour, and the modal already says what to do:+ * only caller of (3.0.0). Nothing in the app ever called it, because the Import+ * button in WorkflowsModal hands this JSON straight to `parseImportedWorkflow`,+ * so removing it changed no behaviour, and the modal already says what to do:* "Export it from ComfyUI using Save (API Format)".*/export function validateWorkflowJson(json: unknown): json is ComfyApiGraph {diff --git a/src/components/settings/__tests__/die-meldung-zeigt-auf-den-abschnitt-den-es-gibt.test.ts b/src/components/settings/__tests__/die-meldung-zeigt-auf-den-abschnitt-den-es-gibt.test.tsindex e0a85eec..b193bc42 100644--- a/src/components/settings/__tests__/die-meldung-zeigt-auf-den-abschnitt-den-es-gibt.test.ts+++ b/src/components/settings/__tests__/die-meldung-zeigt-auf-den-abschnitt-den-es-gibt.test.ts@@ -9,7 +9,7 @@* in one list, so the key got a section of its own.** The message a refused CivitAI download prints did not move with it. It kept- * saying "Settings > AI Backends > Model Storage" — the folder settings, where+ * saying "Settings > AI Backends > Model Storage", the folder settings, where* the key field is not. The one sentence a user gets at the moment he needs the* field sent him to the wrong section, which is the same complaint as the* original report, one turn later.@@ -55,8 +55,8 @@ function everySectionTitle(): Set<string> {}/** The `Settings > A > B` paths a message PRINTS. Comment lines are dropped- * first — a doc comment that talks about the rule is not a message — and only- * the leaf matters: that is the section the user goes looking for. */+ * first, because a doc comment that talks about the rule is not a message, and+ * only the leaf matters: that is the section the user goes looking for. */function settingsPathsIn(src: string): string[] {const code = src.split('\n').filter((l) => !l.trim().startsWith('//')).join('\n')// A path ends where the sentence goes on: a full stop, a comma or the line.