Skip to content

v2.10.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 10:51
· 70 commits to release since this release

Documentation

  • Updated the Server Plugin Development guide with the typed host context API reference, TypeScript declarations, and worked examples.

Connections & Models

  • Fixed unsupported request parameters, reasoning effort mappings, and context limits across chat completion providers and OpenAI-compatible proxies, and added the Extra high reasoning effort option for Google AI Studio and Vertex AI.
  • Fixed Smooth Streaming dropping text or reasoning on Claude, dropping trailing frames or splitting thought signatures on Gemini, and dropping reasoning on Cohere.
  • Fixed trailing assistant turns converted to user messages retaining assistant-only blocks on Claude or thought signatures on Gemini, and fixed edited messages and swipes retaining stale native protocol blocks.
  • Fixed Cohere non-streaming tool plans leaking into visible replies, fixed parsing Gemini underscore-formatted thought signatures and inline images, fixed Gemini 2.0 image output including omitting unsupported system instructions in image mode, and fixed Gemini tool, web search, and Request inline images option conflicts after extension hooks or preset overrides.
  • Fixed streaming parsers ignoring named server-sent events, fixed chat completion error handling missing plain-text error details or HTTP 200 error responses, and fixed streaming state retaining cleared tool calls or protocol fields and omitting tool signatures.
  • Fixed leading thinking blocks breaking structured JSON output parsing, and fixed plain-text function calling and response metadata correlation failing when third-party extensions wrap HTTP responses.
  • Fixed background generation requests overwriting the global response length setting during concurrent generations and added per-request abort signal support.
  • Optimized Gemini streaming state updates and saved returned inline images as disk references in chat history.
  • Fixed server generation jobs retaining acknowledged streaming and image buffers in memory.

Image Generation

  • Upgraded the AI Illustration click popup into an image viewer with zoom and previous/next navigation across chat illustrations, keeping the current image prompt and action buttons below.
  • Changed ComfyUI sampler, model, scheduler, VAE, and LoRA listing requests to query only the required node definitions and abort upstream requests when the client disconnects.
  • Removed the Default prompt style option from AI Illustration presets and moved Tag style and Natural language style selection to a dialog when resetting prompts or creating a preset without existing prompt templates.
  • Added automatic expiration cleanup and memory limits for cached ComfyUI node schemas and enabled lazy image loading and async decoding across Image Studio, Character Archive, and Run Traces.
  • Optimized NovelAI character reference image resizing with direct bilinear sampling to avoid redundant full-image copies and reduce memory allocation.

Workbench

  • Fixed Workbench Q&A requests failing on Gemini models due to an empty string option in an optional tool parameter enum.
  • Fixed stacked pending drafts in Workbench AI iteration retaining stale target details after applying or discarding an earlier draft, and fixed opening a character card replacement preview prematurely rolling back or aborting auto-send.
  • Fixed Workbench Q&A and AI iteration message lists jumping to the bottom after scrolling up during refreshes, fixed background refreshes resetting mobile navigation rail scroll position, and fixed mobile top bar rendering glitches and scroll bleed.
  • Paused background refreshes and polling timers while Workbench and its Multi-Agent Orchestrator view are collapsed, and released GPU compositing layers when the Run panel is closed.

Request Inspector

  • Reduced Request Inspector list payload to metadata summaries with server-side full-text search, instant popup loading, and live updates while the list is open.
  • Fixed low-contrast Request Inspector status and role badges on light themes by adapting badge colors to the active theme.
  • Fixed Request Inspector retaining cached list and detail data after closing the panel and omitting embedding results and failed or aborted requests from memory budget eviction.

Storage & Sync

  • Added keep-latest pruning for native chat and settings backups in Clean-Up and the chat backups list, alongside an immediate cleanup action in Backup Settings to apply retention limits to existing backup files.
  • Fixed database storage backends creating leftover chat sync files and empty chat directories on disk, and rejected optimistic-concurrency chat saves when stored integrity metadata is missing.
  • Hardened chat search, rename, and message patch input validation and prevented concurrent message appends or metadata patches without integrity tokens from overwriting each other.
  • Fixed user backup exports and restores, cross-storage restores, and global extension archive imports dropping Git metadata from third-party extensions, preserving sanitized extension Git metadata instead.
  • Reduced S3 Sync memory usage by validating pack files one at a time without retaining full pack contents and loading the S3 client library on demand.
  • Enforced memory limits on filesystem JSON and world book list caches, switched SQLite world book listing to database-side JSON field projection without retaining world books in memory, and cleared inactive chat integrity snapshots when switching chats.

Multi-Agent Orchestrator

  • Fixed applying character-override edits overwriting prior overrides or leaving newly created overrides inactive when an invalid preset reference exists, and fixed the English Injection position help tooltip showing placeholder text.
  • Fixed previous orchestration results failing to load when prompt regexes rewrite messages or earlier turns are hidden and historical snapshots overwriting each other, migrating existing orchestration records to stable message positions.

Memory Graph

  • Added multi-turn tool continuation for memory extraction with a configurable Max follow-up rounds per extraction setting, returning partial reasoning and tool results to the model until extraction completes while retrying immediately when no tools are called.
  • Fixed nested code fences in the default Extraction Template and duplicate outer retries after extraction tool retries are exhausted.
  • Fixed duplicate node fields and Memory Graph's own world book entries being included in recall and extraction requests.
  • Fixed the English Injection position help tooltip showing placeholder text.
  • Fixed Memory Graph loading snapshots while disabled and retaining inactive chat caches in memory after switching chats.
  • Fixed hiding earlier chat turns causing recall cache drift, swipe retries losing cached recall state, and inaccurate affected-range calculation on message deletion.

Search Tools

  • Fixed hiding earlier chat turns causing search-agent bindings to drift, manual entry edits to fail to save, and cached reuse checks to miss.

Character Cards

  • Optimized reading, opening, and saving large PNG character cards by eliminating redundant metadata parsing, duplicate reads, and unnecessary image re-encoding.
  • Optimized opening character cards by projecting compatibility fields locally on the client, loading card fields and chat statistics in parallel without invalidating field caches on chat updates, and standardizing remaining core and built-in extension card reads and writes on V2 fields.
  • Streamlined character card replacement and renaming by batch-updating past chats on the server, eliminating duplicate chat reloads and spurious import prompts during replacement, migrating character-scoped regexes, skills, and alert flags on rename, and reviewing changed embedded orchestrator custom tools on replacement.
  • Fixed renaming a character card overwriting a sibling card whose name differs only by leading or trailing whitespace, fixed card renames leaving old thumbnails or stale cached entries, fixed card deletions retaining in-memory character caches, and fixed disk cache verification failing to prune stale cached entries.
  • Fixed Gradio JSON character imports dropping the character chat name, fixed BYAF imports writing orphan chat or background files for empty filenames, and rejected blank or dot-segment character names when creating or importing character cards.
  • Fixed creating or importing a character card with the same name as a deleted card adopting orphaned chats on database storage backends, fixed single-character lookups missing chat statistics, and escaped character names in notifications while stripping HTML tags from generated default chat names.
  • Fixed character cards with uppercase .PNG filenames mismatching chat directories across chat history, server generation, Clean-Up, and character stats, and fixed V2 PNG character cards failing validation when merging an embedded world book without extension metadata.
  • Fixed server character resource view caching bypassing the Android memory guard and undercounting cached field and directory representations.

World Info

  • Optimized World Info scanning, plain-text macro evaluation, incremental token budget counting, cache loading and saving, and server-side list and response caching for large world books.
  • Optimized World Info keyword search with per-entry normalized field caching, added pagination to keyword dropdown menus, and paused rendering of off-screen collapsed entries.
  • Optimized World Info editor opening and scrolling performance for large page sizes on desktop and mobile.

Presets

  • Optimized Prompt Manager drawer opening performance with collapsed prompt groups by skipping hidden rows during drag setup.
  • Coalesced overlapping Prompt Manager token-count dry runs and deferred background recalculations while the panel is hidden.
  • Fixed dragging a prompt into a nested prompt group failing to reveal hidden sub-groups or collapsing the parent group again after drop.
  • Fixed non-OpenAI preset switching completing before deferred preset loading finishes, and fixed unselected reasoning templates returning incomplete placeholder entries.
  • Fixed preset extension writes failing on reactive values or deferred settings saves, and fixed card-bound presets shadowing same-named global presets for other characters or missing name-based runtime refreshes.
  • Fixed character-bound preset confirmation dialogs and notifications rendering unescaped character and preset names.
  • Stopped preloading unselected presets in the background after startup and API switches, loading them only when accessed.

Regex

  • Added inline AI diagnosis and sandbox verification inside the slow-regex warning dialog and regex editor, supporting background output comparison, disabled backup copies on apply, and copy-only suggestions for read-only plugin scripts.
  • Fixed third-party scripts losing live reference compatibility with regex script lists, fixed character-scoped regex actions failing after character card reloads, and fixed bulk regex moves reversing script order in the destination scope.

Themes

  • Added dark-mode adaptive Luker logos across web pages, browser tabs, Windows system tray, and desktop, iOS, Android, and HarmonyOS app icons.
  • Refined long-draft input bar expansion with smooth transitions, floating rounded styling in the Lens theme on desktop, improved spacing across built-in themes, and staying expanded until the draft is cleared.
  • Set the built-in Lens theme as the default theme for new setups and set its default palette mode to Auto to follow the system color scheme.
  • Fixed detached notifications and minimized capsules shifting out of viewport when opening a modal dialog in the Lens theme.

Notifications

  • Enabled countdown progress bars by default on auto-dismissing notifications with theme-adaptive colors, semantic accent bars in the built-in Lens theme, compositor-driven scale animation, and batched stacked layout updates.
  • Fixed detached auto-dismissing notifications remaining on screen after a cancelled drag.

Character Editor Assistant

  • Fixed CardApp Studio AI tools failing after a character card refresh.

Skills

  • Fixed corrupt or incomplete skill directories blocking skill replacement and import previews.

Server Plugins

  • Added a typed host context API for server plugins exposing host metadata, configuration, event hooks, user lookup, chat and character services, sync-gated storage, per-user plugin state, secrets, skills, and cleanup hooks.
  • Fixed server plugin routes bypassing the shared storage error handler and fixed a failing plugin exit hook aborting cleanup for remaining plugins.

Third-Party Extensions

  • Fixed extension script and stylesheet loading colliding or hanging on duplicate extension names and fixed manifest loading-order sorting when loading order is omitted.
  • Fixed the built-in Git client failing or hanging on HTTP redirects that drop POST bodies and transient network errors when installing or updating extensions and plugins.
  • Fixed non-Git third-party extensions failing during update checks, branch switching, and automatic updates by marking their status and skipping them with a summary notice, and surfaced redacted error details when extension Git operations fail.

Client Apps

  • Updated the Windows desktop installer to allow choosing the installation directory and added a first-launch data directory selector across Windows, macOS, and Linux.
  • Added automatic system proxy forwarding across desktop, Android, iOS, and HarmonyOS for the embedded backend, desktop update downloads, and Git operations, alongside command-line and environment variable proxy configuration when explicit global proxy settings are disabled.
  • Fixed Android removing local performance traces after saving and exceeding the retained trace limit, and streamed trace capture batches directly to disk to reduce memory pressure.
  • Pruned duplicate tiktoken encoder files and full WASM bundles from packaged Android, iOS, and HarmonyOS runtimes to reduce app size.

Platform

  • Unified update notifications and channel selection across Node, Docker, desktop, Android, iOS, and HarmonyOS in a single modal supporting Release, Pre-release, and Dev channels, exact tag checkouts for git deployments, channel-aware update scripts, inline release notes and progress views, and manual checks in User Settings, replacing the previous pre-release checkbox.
  • Fixed slow or failing extensions blocking World Info entry display, character world book navigation, and other core interface bindings during startup, and isolated startup task failures with error notifications.
  • Added structured startup state snapshots to web, desktop, Android, iOS, and HarmonyOS diagnostics exports with persistent on-disk storage on mobile apps, and fixed Android console object logs collapsing into plain object placeholders.
  • Fixed server logs, Request Inspector, client error messages, image generation debug logs, and diagnostics exports exposing plaintext API keys and proxy credentials.
  • Fixed the segmented switcher and System Overview row failing to render in the mobile Account window under User management.
  • Fixed pressing Enter on action-only custom dialog buttons closing the popup instead of invoking the button action.
  • Added on-demand backend memory snapshot capture in the debug menu across web, desktop, Android, iOS, and HarmonyOS, and included backend diagnostic reports and process memory telemetry in Android and iOS diagnostics exports.
  • Enforced a byte budget on browser debug log capture and stopped dumping full prompt arrays to the console when inspecting itemized prompts.
  • Migrated server and browser tiktoken workers to lite WASM with on-demand per-encoding data and shared instances, added batched client worker token counting and local OpenAI and GPT-2 plain-text counting, fixed counting failures on literal special token markers, and loaded only runtime-compatible image codecs.
  • Optimized settings saves, extension field writes, long chat patch generation, and Workbench undo by hashing large patch test values and avoiding redundant full-document clones and serializations.
  • Optimized macro lexing by coalescing consecutive non-delimiter text runs and fixed stack overflows when evaluating very long macro variable values.
  • Replaced inline-style CSS parent selectors with explicit state hooks to reduce interface style recalculation overhead.

Full Changelog: v2.9.0...v2.10.0