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(luc): R6-2, keine Meldung versprechen, die der Code nicht macht
David002fe4c233fd
diff --git a/docs/cloud/index.html b/docs/cloud/index.htmlindex 0ce41e1a..d69592e0 100644--- a/docs/cloud/index.html+++ b/docs/cloud/index.html@@ -33,7 +33,7 @@<li><strong>Not local privacy.</strong> Hosted requests leave your machine and use external inference providers. Account or billing location does not establish the inference region.</li><li><strong>Not a free plan.</strong> The unmetered Flash path is a paid-plan benefit. An account that has never paid keeps its starting credits and pays credits for Flash like for any other model.</li><li><strong>Not unfiltered by default.</strong> Media generation follows your account's content policy. The default setting refuses hardcore prompts; you can turn the filter off yourself in the account settings after confirming you are 18 or older. Text models are not filtered by us at all.</li>- <li><strong>Never, at any setting.</strong> Material involving minors is refused on every request and reported, and you may not upload a photograph of a real, identifiable person without their consent. No setting moves either line.</li>+ <li><strong>Never, at any setting.</strong> Material involving minors is refused on every request, and you may not upload a photograph of a real, identifiable person without their consent. No setting moves either line.</li><li><strong>Not every local checkpoint.</strong> Cloud uses a curated catalog. A model installed on your computer does not automatically become available on our hosted infrastructure.</li><li><strong>Not guaranteed answers or throughput.</strong> Models can make mistakes or refuse requests. Request limits, available capacity and credit balances still apply.</li></ul>diff --git a/docs/pricing/index.html b/docs/pricing/index.htmlindex b15fb7c2..7cf6c345 100644--- a/docs/pricing/index.html+++ b/docs/pricing/index.html@@ -55,7 +55,7 @@<li><strong>Unmetered Flash is a paid benefit.</strong> An account that has never paid keeps its starting credits and pays credits for Flash exactly like for any other model. There is no free tier and no trial allowance.</li><li><strong>API keys always pay credits</strong>, including on Flash models. The unmetered path is the app, not the endpoint.</li><li><strong>Cloud is not local privacy.</strong> Hosted requests leave your machine and run at external inference providers. If that matters for a piece of work, run it locally: the desktop app does that for free.</li>- <li><strong>Two lines no setting moves.</strong> Material involving minors is refused on every request and reported. You may not upload a photograph of a real, identifiable person without their consent.</li>+ <li><strong>Two lines no setting moves.</strong> Material involving minors is refused on every request. You may not upload a photograph of a real, identifiable person without their consent.</li></ul><h2>Prefer your own hardware?</h2>diff --git a/scripts/check-cloud-sales.mjs b/scripts/check-cloud-sales.mjsindex d178dda2..9eba071e 100644--- a/scripts/check-cloud-sales.mjs+++ b/scripts/check-cloud-sales.mjs@@ -70,7 +70,8 @@ console.log('Cloud sales guard passed: model IDs/labels, Flash membership/limit// dort etwas anderes beschlossen wird. Jede Zahl der Seite wird hier gegen// ihre Quelle gehalten: Plaene, Guthaben, Pakete, das Tagesbudget und die// Anzahl der Modelle, die ohne Ablehnung antworten.-const pricing = new JSDOM(readFileSync(new URL('../docs/pricing/index.html', import.meta.url), 'utf8')).window.document+const pricingRaw = readFileSync(new URL('../docs/pricing/index.html', import.meta.url), 'utf8')+const pricing = new JSDOM(pricingRaw).window.documentconst tiers = objects(source('apps/web/lib/pricing.ts'))const tierCredits = objects(source('apps/web/lib/billing/credits.ts')).find((row) => typeof row.hosted === 'number' && typeof row['hosted-max'] === 'number')@@ -167,6 +168,48 @@ assert.equal(pitch.videoModels, countKind('video'), 'pitch: video model count drconsole.log(`Cloud switch guard passed: ${pitch.unfilteredChatModels}/${pitch.chatModels} chat, ${pitch.flashModels} flash, ${pitch.imageModels} image and ${pitch.videoModels} video match the web catalogue.`)console.log(`Pricing guard passed: ${tiers.filter((t) => typeof t.monthlyEUR === 'number').length} plans, ${packs.length} packs, ${unfilteredFull}/${catalogSize} models and the ${daily.toLocaleString('en-US')} token ceiling match the web source.`)+// ── Die zwei Zeilen, die kein Schalter bewegt ───────────────────────+//+// Derselbe Satz steht im Blatt (src/lib/release-notes.ts) und auf der+// Preisseite. Zwei Flaechen, ein Versprechen: sie muessen wortgleich bleiben,+// sonst liest ein Kunde im Fenster etwas anderes als auf der Seite. Der+// Ablehnungsteil wird hier nie schwaecher geprueft, nur gleichgehalten.+// Jede Kundenseite unter docs/, einmal eingesammelt.+function docsFiles(dir, out = []) {+ for (const entry of readdirSync(dir)) {+ const path = `${dir}/${entry}`+ if (statSync(path).isDirectory()) docsFiles(path, out)+ else if (/\.(html|txt|md)$/.test(entry)) out.push(path)+ }+ return out+}+const docsRoot = new URL('../docs', import.meta.url).pathname+const sheet = readFileSync(new URL('../src/lib/release-notes.ts', import.meta.url), 'utf8')+const csamLines = [+ 'aterial involving minors is refused on every request',+ 'ou may not upload a photograph of a real, identifiable person without their consent',+]+for (const [name, text] of [['docs/pricing/index.html', pricingRaw], ['src/lib/release-notes.ts', sheet]]) {+ for (const line of csamLines) {+ assert.ok(text.includes(line), `${name}: the content-policy line drifted, expected "${line}"`)+ }+}+// "and reported" ist eine Zusage ueber eine Meldung. Der einzige Meldeweg im+// Web ist alertCsamBlock, und der steigt ohne gesetzte SAFETY_ALERT_WEBHOOK_URL+// sofort aus. Solange der Weg an einer Umgebungsvariablen haengt, darf keine+// Seite in docs/ eine Meldung versprechen.+const safetySink = readWeb('apps/web/lib/render/safety.ts')+const alertIsOptional = /SAFETY_ALERT_WEBHOOK_URL/.test(safetySink) && /if \(!url\) return/.test(safetySink)+const reportedClaims = alertIsOptional+ ? docsFiles(docsRoot).filter((path) => /refused on every request and reported/i.test(readFileSync(path, 'utf8')))+ : []+assert.equal(+ reportedClaims.length,+ 0,+ `alertCsamBlock returns early without SAFETY_ALERT_WEBHOOK_URL, so no page may promise a report: ${reportedClaims.length} page(s) [${reportedClaims.map((path) => path.slice(docsRoot.length + 1)).join(', ')}]`,+)+console.log('Content-policy guard passed: the two lines are word-identical on the pricing page and in the release sheet, and 0 pages in docs/ promise a report the code cannot make.')+// ── Keine erfundene Tiersperre in docs/ ─────────────────────────────//// Der Katalog kennt kein Tier-Feld: die Zeichenkette `tier:` kommt in@@ -194,15 +237,6 @@ const planGate = new RegExp(+ `|\\b(?:Hosted\\s+)?(?:${planWords.map(escapeForRegExp).join('|')})\\s+(?:plan|tier|subscribers?|accounts?|only)\\b`,'g',)-function docsFiles(dir, out = []) {- for (const entry of readdirSync(dir)) {- const path = `${dir}/${entry}`- if (statSync(path).isDirectory()) docsFiles(path, out)- else if (/\.(html|txt|md)$/.test(entry)) out.push(path)- }- return out-}-const docsRoot = new URL('../docs', import.meta.url).pathnameconst tierGateOffences = []if (!catalogHasTierField) {for (const path of docsFiles(docsRoot)) {