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
fix(pruef): the prose scan reads image/* as code, not as the start of a note
purple987fceaf2763
diff --git a/src/components/__tests__/keine-klasse-aus-prosa.test.ts b/src/components/__tests__/keine-klasse-aus-prosa.test.tsindex 5a1ee4ec..f089a32f 100644--- a/src/components/__tests__/keine-klasse-aus-prosa.test.ts+++ b/src/components/__tests__/keine-klasse-aus-prosa.test.ts@@ -127,8 +127,12 @@ const VOLLTEXT = QUELLEN.map((p) => readFileSync(p, 'utf8')).join('\n')* raus, `://` in URLs geschont. Damit laesst sich sagen, ob eine Klasse im* Code steht oder nur in einer Notiz darueber.*/+//+// Ein `/*` direkt hinter einem Buchstaben ist kein Kommentar: `accept="image/*"`+// (Character-Bereich, HubParts.tsx) hatte sonst alles bis zum naechsten `*/`+// zur Notiz gemacht, auch zwei echte Call-Sites von `w-[92px]`.const nurCode = (s: string) =>- s.replace(/\/\*[\s\S]*?\*\//g, '').replace(/(^|[^:])\/\/.*$/gm, '$1')+ s.replace(/(^|[^\w])\/\*[\s\S]*?\*\//g, '$1').replace(/(^|[^:])\/\/.*$/gm, '$1')const CODETEXT = QUELLEN.map((p) => nurCode(readFileSync(p, 'utf8'))).join('\n')/**