Skip to content

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.

chore(release): Version in einem Zug auf 3.0.4, Blatt und CHANGELOG

purpled2acbf2c7ceb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 129fd7b3..8d416ab1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,46 @@
All notable changes to Locally Uncensored are documented here.
+## [3.0.4] - unreleased
+
+A fix for the Code agent and the agent in chat on LU Cloud. Long file writes
+no longer end the run, "continue" picks up where a run stopped, and the agent
+no longer spends requests on steps nobody asked for. The open-model counts
+from 3.0.2 still hold: fourteen video models and seven image models in the
+cloud catalogue.
+
+### Fixed
+
+- **Writing a long file no longer ends the run.** While a model writes a file,
+ the app receives the file in pieces but has no text to show. After five
+ minutes without text it treated the connection as stalled and ended the run
+ in the middle of the write, and the next run started that step again. The
+ app now ends a run only when no data arrives at all for a minute. While a
+ model is still working, the server sends a short signal every 15 seconds.
+- **"continue" picks up where the run stopped.** After a stop or an error, the
+ next message lost the steps the run had already done, and the agent started
+ over. The steps of a run are now kept for the next message, also after a
+ stop or an error. Older steps that no longer fit into the context are kept
+ as a short list of what is already done, instead of being dropped.
+- **The agent keeps a plan only when you ask for one.** The Code agent wrote a
+ todo list for almost every task and sent an update after each step, each one
+ a request of its own. It now keeps a plan in Plan mode, when you ask for a
+ plan, or while a plan is still open. The plan panel, the approval bar and the
+ file explorer are dark instead of blue.
+
+### Changed
+
+- **Fewer requests for the same work.** The agent is now told to read several
+ files in one step instead of one request per file. file_edit changes several
+ places in a file in one call, all or nothing, can replace every occurrence of
+ a string, and still finds the place when the indentation in the file differs
+ slightly from the model's copy.
+- **Cloud context is 32K by default and can be set per model.** Cloud models
+ now send at most 32K of context by default instead of 64K. You can change it
+ per model in the context menu in the header. Once you set it above the
+ default, a small triangle shows that every message then sends more and costs
+ more credits.
+
## [3.0.3] - 2026-09-28
A hotfix for chats with many images, which could run the app out of memory,
diff --git a/package-lock.json b/package-lock.json
index b56a9b20..54812666 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "locally-uncensored",
- "version": "3.0.3",
+ "version": "3.0.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "locally-uncensored",
- "version": "3.0.3",
+ "version": "3.0.4",
"license": "AGPL-3.0-only",
"dependencies": {
"@pipecat-ai/client-js": "1.13.1",
diff --git a/package.json b/package.json
index 9c1a7cc1..0551f2de 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "locally-uncensored",
- "version": "3.0.3",
+ "version": "3.0.4",
"private": false,
"description": "The all-in-one local AI studio for your desktop: chat, images, video and a coding agent in one app.",
"license": "AGPL-3.0-only",
diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock
index 266a8053..66dc4e71 100644
--- a/src-tauri/Cargo.lock
+++ b/src-tauri/Cargo.lock
@@ -2543,7 +2543,7 @@ dependencies = [
[[package]]
name = "locally-uncensored"
-version = "3.0.3"
+version = "3.0.4"
dependencies = [
"axum",
"base64 0.22.1",
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index c370d05b..2327459b 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "locally-uncensored"
-version = "3.0.3"
+version = "3.0.4"
description = "Private, local AI chat & image/video generation"
authors = ["purpledoubled"]
edition = "2021"
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 39fa0573..f81db9de 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json",
"productName": "LU",
- "version": "3.0.3",
+ "version": "3.0.4",
"identifier": "com.purpledoubled.locally-uncensored",
"build": {
"beforeBuildCommand": "npm run build",
diff --git a/src/components/release/__tests__/release-notes-modal.test.tsx b/src/components/release/__tests__/release-notes-modal.test.tsx
index ecadcb79..ee51e1e9 100644
--- a/src/components/release/__tests__/release-notes-modal.test.tsx
+++ b/src/components/release/__tests__/release-notes-modal.test.tsx
@@ -235,15 +235,15 @@ describe('the wired-up sheet, end to end', () => {
it('opens for the shipping version and Escape closes it, stamping the version so it does not return', async () => {
render(<ReleaseNotesModal />)
- // package.json pins the running version to 3.0.3, and RELEASE_NOTES
+ // package.json pins the running version to 3.0.4, and RELEASE_NOTES
// carries an entry for it, so the sheet is open on mount.
await waitFor(() => expect(screen.getByTestId('release-heading')).toBeTruthy())
- expect(screen.getByTestId('release-heading').textContent).toBe("What's new in 3.0.3")
- expect(useReleaseNotesStore.getState().lastNotesVersion).not.toBe('3.0.3')
+ expect(screen.getByTestId('release-heading').textContent).toBe("What's new in 3.0.4")
+ expect(useReleaseNotesStore.getState().lastNotesVersion).not.toBe('3.0.4')
fireEvent.keyDown(document, { key: 'Escape' })
- await waitFor(() => expect(useReleaseNotesStore.getState().lastNotesVersion).toBe('3.0.3'))
+ await waitFor(() => expect(useReleaseNotesStore.getState().lastNotesVersion).toBe('3.0.4'))
await waitFor(() => expect(screen.queryByTestId('release-heading')).toBeNull())
})
})
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts
index d1b95010..4db67585 100644
--- a/src/lib/release-notes.ts
+++ b/src/lib/release-notes.ts
@@ -130,11 +130,39 @@ export interface ReleaseNote {
}
export const RELEASE_NOTES: ReleaseNote[] = [
- // Stand 28.09.2026: package.json, src-tauri/Cargo.toml (plus Cargo.lock) und
- // src-tauri/tauri.conf.json stehen jetzt alle auf 3.0.3, in einem Zug mit
- // dem Eintrag darunter, damit kein Release still bleibt (Gedaechtnis
- // lu-265-plan-2026-08-10, "release-notes.ts vergessen = stummes Release").
- // 3.0.2 IST veroeffentlicht (v3.0.2 auf 1472e7ad, 22.09.2026) und bleibt
+ // 3.0.4, vorbereitet 30.09.2026 auf fix/agent-credit-burn: der Kundenfall
+ // swift_maple90 (Code-Agent auf LU Cloud). package.json, Cargo.toml/.lock und
+ // tauri.conf.json stehen im selben Zug auf 3.0.4. 3.0.3 darunter bleibt
+ // unveraendert. Veroeffentlicht wird erst auf Davids Go.
+ {
+ version: '3.0.4',
+ headline: 'A fix for the Code agent on LU Cloud: long file writes no longer end the run, "continue" picks up where the run stopped, and the agent no longer spends requests on steps you did not ask for.',
+ lines: [
+ {
+ title: 'Writing a long file no longer ends the run.',
+ detail: 'While a model writes a file, the app receives the file in pieces but shows no text. After five minutes without text it treated the connection as stalled and ended the run in the middle of the write, and the next run started that step again. The app now ends a run only when no data arrives at all.',
+ },
+ {
+ title: '"continue" picks up where the run stopped.',
+ detail: 'After a stop or an error, the next message lost the steps the run had already done, and the agent started over. Those steps are now kept for the next message, also after a stop, and older steps that no longer fit are kept as a short list of what is already done.',
+ },
+ {
+ title: 'The agent keeps a plan only when you ask for one.',
+ detail: 'The Code agent wrote a todo list for almost every task and sent an update after each step, each one a request of its own. It now keeps a plan in Plan mode, when you ask for a plan, or while a plan is still open. The plan panel and the approval bar are dark instead of blue.',
+ },
+ {
+ title: 'Fewer requests for the same work.',
+ detail: 'The agent is now told to read several files in one step instead of one request per file, and file_edit changes several places in a file in one call, also when the indentation in the file differs slightly from the model\'s copy.',
+ },
+ {
+ title: 'Cloud context is 32K by default and can be set per model.',
+ detail: 'Cloud models now send at most 32K of context by default instead of 64K. You can change it per model in the context menu in the header. Once you set it above the default, a small triangle shows that every message then sends more and costs more credits.',
+ },
+ ],
+ },
+ // Stand 28.09.2026: 3.0.3 IST veroeffentlicht und bleibt unveraendert
+ // (Gedaechtnis lu-265-plan-2026-08-10, "release-notes.ts vergessen = stummes
+ // Release"). 3.0.2 IST veroeffentlicht (v3.0.2 auf 1472e7ad, 22.09.2026) und bleibt
// wie 3.0.1 und 3.0.0 darunter unveraendert. Der Hotfix 3.0.3 bringt den
// Chat-Speicherfix, die Create-Fehler aus Discord und die GitHub-Issues 139
// bis 143; dieses Blatt ist diesmal die einzige Ankuendigung (David
diff --git a/src/stores/__tests__/releaseNotesStore.test.ts b/src/stores/__tests__/releaseNotesStore.test.ts
index c24c7b61..74bbaff7 100644
--- a/src/stores/__tests__/releaseNotesStore.test.ts
+++ b/src/stores/__tests__/releaseNotesStore.test.ts
@@ -333,17 +333,12 @@ describe('the notes table', () => {
}
})
- it('the 3.0.3 entry names every fix of the hotfix, now that it is the shipping version', () => {
- // Hotfix vom 28.09.2026: package.json, Cargo.toml/.lock and
- // tauri.conf.json all moved to 3.0.3 in one commit, so THIS is now the
- // shipping entry the earlier existence guard checks. Nothing but this
- // sheet announces the release (no Discord post), so an anchor per fix:
- // a later edit that drops one fails here instead of shipping quietly
- // incomplete.
- const shipping = JSON.parse(
- readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), '../../../package.json'), 'utf8'),
- ).version as string
- expect(shipping).toBe('3.0.3')
+ it('the 3.0.3 entry names every fix of the hotfix', () => {
+ // Hotfix vom 28.09.2026. 3.0.4 kam darauf (package.json), also pinnt
+ // dieser Block den 3.0.3-Eintrag ueber seine eigene Version, wie die
+ // Bloecke darueber. Ein Anker pro Fix: eine spaetere Aenderung, die einen
+ // verliert, faellt hier auf.
+ const shipping = '3.0.3'
const prose = proseOf(shipping)
for (const anchor of [
// Der Chat-Speicher: Ursache, Grenze, Umzug und die Rueckholung.
@@ -373,6 +368,31 @@ describe('the notes table', () => {
}
})
+ it('the 3.0.4 entry names every fix, now that it is the shipping version', () => {
+ // Kundenfall swift_maple90, 30.09.2026: package.json, Cargo.toml/.lock und
+ // tauri.conf.json stehen in einem Zug auf 3.0.4, also ist DAS jetzt der
+ // Eintrag, den die Existenzpruefung oben verlangt. Ein Anker pro Fix.
+ const shipping = JSON.parse(
+ readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), '../../../package.json'), 'utf8'),
+ ).version as string
+ expect(shipping).toBe('3.0.4')
+ const prose = proseOf(shipping)
+ for (const anchor of [
+ // Der Abbruch mitten im Schreiben und was jetzt zaehlt.
+ 'in the middle of the write', 'only when no data arrives at all',
+ // "continue" nach Stopp oder Fehler, und das Protokoll der alten Schritte.
+ 'after a stop or an error', 'short list of what is already done',
+ // Plan nur auf Wunsch, dunkle Leiste.
+ 'in plan mode, when you ask for a plan', 'dark instead of blue',
+ // Buendeln und file_edit.
+ 'several files in one step', 'several places in a file in one call',
+ // Kontext.
+ '32k of context by default instead of 64k', 'a small triangle',
+ ]) {
+ expect(prose, `${shipping}: nothing about "${anchor}"`).toContain(anchor)
+ }
+ })
+
it('the Flash allowance on the sheet hangs on a RUNNING plan, not on money that once arrived', () => {
// Entscheid V3 vom 12.09.2026. Das Blatt mass die Freimenge daran, ob je
// gezahlt wurde ("an account that has never paid"), der Server misst sie