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
chore(release): 2.6.6
Davidb34aae6405e6
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 733362a4..d7e956ad 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -4,6 +4,53 @@ All notable changes to Locally Uncensored are documented here.## [Unreleased]+## [2.6.6] - 2026-08-21++The release that makes an agent or coding run cost less to do the same work,+and gives the Code view a mode menu, a plan panel and a real file explorer.++### Added++- **A mode menu in the Code composer.** Ask permissions, Bypass permissions or+ Plan mode, chosen per conversation with a global default in Settings. Bypass+ never lifts the cloud shell lock, and the menu says so. Plan mode explores+ read only and stops for your yes; Approve and run then carries the whole plan+ out in the same run and never lands in Bypass on its own, showing the mode it+ will run in and the real commands first.+- **A file explorer in the Code view.** A real tree you expand folder by folder+ and widen by dragging its edge, with the width kept across a restart. Click a+ file to preview it: code with highlighting, images inline, HTML in a sandboxed+ frame with scripts off until you ask. node_modules, .git, target and dist stay+ out of the way.+- **Prompt caching for your own Anthropic key.** Requests carry cache markers on+ the system block, the last tool and the last stable message, so a repeated+ request reads from the cache instead of paying for the whole prompt again.++### Changed++- **Agent and Code mode send far less context per step.** Older tool results are+ trimmed out of what goes upstream while the newest step is kept in full, the+ amount sent on a paid step is capped, and the stable half of the prompt stays+ put so the upstream cache keeps working across a long run. The coding tool+ catalog is leaner too. A setting turns the trimming off if a run ever+ misbehaves.+- **The plan moved into the right panel**, live above the file explorer, instead+ of sitting over the composer.+- **Plain chat, group chat and A/B compare cap the history they send to paid+ models**, so a long conversation stops getting more expensive without you+ noticing. A group round still bills once per model, and the composer says so.+- **The credits meter counts against the send cap**, not the whole model window,+ so its warning fires before a paid step gets expensive rather than after.++### Fixed++- **An agent run stopped firing a hidden memory step on every round.** The+ automatic memory step on LU Cloud now runs only if you turn it on, and then on+ the cheapest capable model rather than the one you are chatting with.+- **Old images stop riding along.** A follow up in the same conversation no+ longer re-attaches pictures from many messages back on every later step where+ nothing looks at them.+## [2.6.5] - 2026-08-16The release that makes updating possible again, plus the work you alreadydiff --git a/package-lock.json b/package-lock.jsonindex 328dfab1..eb7bdbad 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "locally-uncensored",- "version": "2.6.5",+ "version": "2.6.6","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "locally-uncensored",- "version": "2.6.5",+ "version": "2.6.6","license": "AGPL-3.0","dependencies": {"@react-three/drei": "^10.7.7",diff --git a/package.json b/package.jsonindex 0add94f6..60251b05 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "locally-uncensored",- "version": "2.6.5",+ "version": "2.6.6","private": false,"description": "Generate anything — text, images, video. Locally. Uncensored.","license": "AGPL-3.0",diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex 7a375a40..0faeda4a 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -2543,7 +2543,7 @@ dependencies = [[[package]]name = "locally-uncensored"-version = "2.6.5"+version = "2.6.6"dependencies = ["axum","base64 0.22.1",diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex 0dd0fef4..a4a7bf70 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "locally-uncensored"-version = "2.6.5"+version = "2.6.6"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.jsonindex 1cf364e1..836d4162 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": "2.6.5",+ "version": "2.6.6","identifier": "com.purpledoubled.locally-uncensored","build": {"beforeBuildCommand": "npm run build",diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.tsindex 9a177922..cdc4ed14 100644--- a/src/lib/release-notes.ts+++ b/src/lib/release-notes.ts@@ -31,6 +31,41 @@ export interface ReleaseNote {}export const RELEASE_NOTES: ReleaseNote[] = [+ {+ version: '2.6.6',+ headline: 'Agent and Code mode do the same work for fewer credits',+ lines: [+ 'Agent and Code mode send far less context on every step, so every step costs fewer credits. Old tool results shrink as the run goes on, the amount sent per step is capped, and the stable part of the prompt stays put so the upstream cache keeps paying off. The coding tool list alone is meaningfully leaner.',+ 'A run no longer quietly re-reads and re-sends the same big files forever, and an agent run stopped firing a hidden memory step on every single round. Same result, smaller bill, and the long runs are where you feel it.',+ 'Plain chat, group chat and A/B compare now cap how much history they send to paid models, so a long conversation stops getting more expensive without you noticing. A group round still costs one bill per model, and the composer says so.',+ 'Anthropic models sent with your own key now use prompt caching, so a follow up on the same conversation is cheaper than starting it cold.',+ 'The Code view grew a mode menu per conversation (Ask, Bypass, Plan mode), the plan moved into the right panel, and a real file explorer arrived that you can widen and preview files in without leaving the app.',+ ],+ details: [+ {+ title: 'Local',+ items: [+ 'Agent and Code runs trim older tool results out of what they send upstream. The newest step is always kept in full, so the model never edits against something it can no longer see, and a setting turns the whole thing off if a run ever misbehaves.',+ 'The context sent on a paid step is capped, and the meter now counts against that cap instead of the whole model window, so the warning fires before a step gets expensive rather than after.',+ 'The stable half of the prompt no longer changes every step. The minute clock and everything else that moves each turn sit at the end now, so the upstream cache survives a long run instead of going cold on a timestamp.',+ 'The coding tool catalog is leaner: the git and gh cookbook, paragraphs the system prompt already states, and the PR and delegate tools all left the every-step budget, and the image and video tools share one settings schema.',+ 'A mode menu in the Code composer picks Ask permissions, Bypass permissions or Plan mode per conversation, with a global default in Settings. Bypass never lifts the cloud shell lock, and the menu says so.',+ 'Plan mode explores read only, writes the plan, then stops for your yes. Approve and run carries the whole plan out in the same run and never lands in Bypass on its own: the button shows the mode it will run in, and it shows you the real commands first.',+ 'The plan moved out of the prompt box into the right panel, live above the files.',+ 'The file explorer is a real tree you expand folder by folder, widen by dragging its edge, with the width remembered across a restart. Click a file to preview it: code with highlighting, images inline, HTML in a sandboxed frame with scripts off until you ask. node_modules, .git, target and dist stay out of the way.',+ 'A follow up in the same conversation stops re-attaching images from many messages back, so old pictures no longer ride along on every later step where nothing looks at them.',+ ],+ },+ {+ title: 'Cloud',+ items: [+ 'Anthropic models sent with your own key carry prompt caching markers on the system block, the last tool and the last stable message, so a repeated request reads from the cache instead of paying for the whole prompt again.',+ 'The automatic memory step on LU Cloud only runs if you turn it on, and then on the cheapest capable model rather than the one you are chatting with, and at most every third turn. It used to run on the model you were chatting with, on every single round, whether you wanted it or not.',+ 'Group chat and A/B compare cap the history they send per model, the same as a normal chat, instead of sending the full shared thread to every model on every round.',+ ],+ },+ ],+ },{version: '2.6.5',headline: 'Updating works again, and the work you started survives it',diff --git a/src/stores/__tests__/releaseNotesStore.test.ts b/src/stores/__tests__/releaseNotesStore.test.tsindex 18d4528e..456206f1 100644--- a/src/stores/__tests__/releaseNotesStore.test.ts+++ b/src/stores/__tests__/releaseNotesStore.test.ts@@ -59,11 +59,10 @@ describe('the notes table', () => {it('the shipping entry covers what actually shipped, not the state it was written in', () => {// The existence guard above has a blind spot: an entry written early stays- // green while the branch moves on. The 2.6.5 sheet was written on- // 2026-08-12 and ten commits landed after it, including the three features- // customers asked for by name. A customer reading the sheet would not learn- // that the thing they filed an issue about is in the build they just- // installed. Each anchor below is one of those late arrivals.+ // green while the branch moves on, so the shipping note is pinned to the+ // headline features of the release it ships with. For 2.6.6 those are the+ // context and cost work and the reworked Code view, and each anchor below+ // names one of them, so a note that forgets them fails here.const shipping = JSON.parse(readFileSync(resolve(dirname(fileURLToPath(import.meta.url)), '../../../package.json'), 'utf8'),).version as string@@ -75,7 +74,7 @@ describe('the notes table', () => {].join('\n').toLowerCase()- for (const anchor of ['lora', 'python environment', 'conversation', 'cancel', 'withdrawn']) {+ for (const anchor of ['context', 'credit', 'plan mode', 'explorer', 'prompt caching']) {expect(prose, `${shipping}: nothing about "${anchor}"`).toContain(anchor)}})