Repository navigation
CatCup Tavern 0.3.0
Early-access release. Moves your SillyTavern data in and handles single-character roleplay end to end. The Windows installer is unsigned, and what works and what does not says exactly where the line is.
Added
- Group chat storage and REST endpoints: groups are stored in SillyTavern's
data/groups/<id>.jsonshape and their chats indata/group chats/<chatId>.jsonl, withmembersas avatar file names andoriginal_avataron every group message./api/groupscan create, edit and delete groups, their chats and their messages. - Group chats are usable end to end: a Groups tab with a group editor, a group chat pane with per-member avatars, and server-side replies. Natural, list, manual and pooled speaker selection; each reply uses the chosen member's card, with a group nudge,
Name:history prefixes, ST's group new-chat marker, reply trimming and a manual speaker picker. New chats seed one greeting per member, muted members included. - Summary memory: a rolling summary stored as
extra.memoryon the message it covers, as SillyTavern's Memory extension does. Automatic updates run after a reply when the message or word interval is reached; the Memory panel can summarize now, edit, restore or delete it; the injection template and position (after/before the main prompt, or in chat at a depth with a role) mirror the extension.{{summary}}and{{words}}expand in prompts, the context inspector has a Memory tab with the injected text and its token cost, and a new Settings → Memory tab edits the schedule and injection. Works in group chats too. New endpoints:POST …/summarize,PUT …/memoryandDELETE …/memoryfor both chat kinds. - Quick Replies (subset): SillyTavern version 2 quick reply sets are stored one file per set in
data/quickreplies/, with import, export, rename and delete. A bar above the message box shows the enabled sets in account order and runs a button; a Settings → Quick Replies tab edits sets, their buttons, colors and the bar order. Plain-text replies fill the message box (or the whole set can paste instead of run), and/send,/sys(/nar),/echo,/trigger,/continue,/regenerateand/runexecute as SillyTavern's do, chained with|./triggerand Quick Replies in group chats choose a speaker by name or index. A chat's ownchat_metadata.quickReplyset links are honoured. New endpoints:/api/quick-repliesandPOST …/quick-replies/executefor both chat kinds, plus atriggergeneration action. - Text to speech: browser speech synthesis or any OpenAI-compatible
/audio/speechendpoint, configured in Settings → TTS. A play button on each reply (and on narrator notes) speaks it with a per-character voice; autoplay follows new replies. The remote backend keeps its API key indata/secrets.jsonand the response only exposes whether one is set. Message text is cleaned of code blocks, tags, links and markdown before speaking, and audio is generated on demand rather than stored. New endpoint:POST /api/tts/speak. - Image generation: Automatic1111/Forge or any OpenAI-compatible
/images/generationsendpoint, configured in Settings → Images. A prompt can be typed or drafted from the recent chat by the active text model. Generated images are written todata/user/images/<character or group>/with a metadata sidecar, listed in a per-character and per-group gallery, and inserted into a chat as SillyTavernextra.mediamessages that the ST client can read back. The API key is write-only indata/secrets.json, and/api/settingsonly reportsimageHasKey. New endpoints:POST /api/images/draft,/generate,/attachand/test, plusGET /api/images,GET|DELETE /api/images/:folder/:file. - ComfyUI image generation: paste an API-format workflow in Settings → Images and its
%prompt%,%negative_prompt%,%seed%,%width%,%height%,%steps%,%scale%,%sampler%,%scheduler%and%model%placeholders are filled before the graph is posted to/prompt. The adapter polls/history/<id>, downloads the first image from/view, reports node tracebacks and validation details in errors, and posts/interruptwhen the browser disconnects or the job times out. Interface-format workflows are rejected with a hint to use Save (API Format); the default is SillyTavern's starter graph withCatCupas the filename prefix. - CharX import and export. A
.charxpackage (RisuAI's ZIP format) is imported from the character library: the card becomes a PNG card when it has a PNG icon, or a JSON card otherwise, and everyassets/**file is kept underdata/character-assets/<character>/. The character editor exports a V3card.jsonwith the PNG image as its icon and the stored assets, so a package round-trips; Risumodule.risumbundles and.charxembedded-JPEG files are not imported. ZIP entries are checked for path traversal and capped at 200 files, 25 MB per file and 60 MB in total. - Character library improvements: a star on every card toggles SillyTavern's
data.extensions.favflag (read from a legacy rootfavon flat cards), a favorites-only filter and favorite-first sorting, tag chips with multi-select AND filtering, sorting by name A–Z/Z–A, recently changed, newest created and favorites, and a selection mode for bulk favorite/unfavorite, add/remove tag and delete. Bulk tag edits leave existing tag spelling untouched and skip redundant writes. New endpoints:PATCH /api/characters/:id/favoriteandPOST /api/characters/bulk. A card's first write stamps a V2/V3creation_datewhen it has none, so the creation sort survives atomic file replacement; bulk delete keeps chat files on disk. - GitHub Actions builds the Windows installer when a merge into
maincarries an untagged version, or when av*tag is pushed, and attaches it to the matching GitHub release, using that version'sCHANGELOG.mdsection as the release body. Run the Release workflow manually with an existing tag to rebuild or republish an installer. mainanddevare protected on GitHub: both only change through a pull request whoseTypecheck, lint, test and buildcheck passes, and neither accepts a force push or deletion.mainadditionally requires the branch to be up to date before merging. Branches are named by prefix (feat/,fix/,docs/,ci/,chore/,release/,hotfix/) and deleted once merged.- Releases are cut automatically from
main. A merge intomainwhosepackage.jsonversion has no tag yet creates thev<version>tag on that commit and runs the installer build and release publish in one pass, so tagging by hand is no longer part of the flow. A merge whose version is already tagged is skipped. - Settings and provider management were redesigned around the new
docs/DESIGN.mdsystem. Settings now uses a grouped left navigation (Model, Prompt, Chat, Media, About) at every width, with a section select on narrow screens, so all eleven sections stay reachable. Providers is a master–detail panel: adding one starts from a type template, the list shows Active, Disabled and missing-key state, Fetch models and Test connection both run against the unsaved form, Advanced exposes custom request headers, and the provider actions are separated from the save bar. Unsaved provider and Generation edits are protected by a three-way guard (Save and continue, Discard changes, Keep editing) when switching provider, switching section or closing the dialog. Clearing a stored API key is staged and applied on save. New endpoint:POST /api/providers/test. - The modal shell now traps focus, focuses the dialog on open, restores focus to the trigger on close, and supports reduced motion. Stacked layers such as the image lightbox participate in the same focus stack. Buttons and inputs have visible
focus-visiblerings, and essential hints use solidmutedtext instead of low-contrast opacity.
Changed
- An active provider is always enabled. Disabling or deleting the active provider moves
activeProviderIdto the first other enabled provider, or tonullwhen none is enabled; enabling a provider while none is active makes it active. The UI cannot disable the active provider, andPATCH /api/settingsrejects a disabled provider with400 PROVIDER_DISABLED. - Test connection no longer saves the provider first; it tests the current form through the new draft endpoint. The old Load button became Fetch models, which also tests the connection. Saving is a separate, explicit action.
- A draft test reuses a stored key only when the form's provider kind and base URL match the saved provider; testing a different endpoint requires entering the key again. The endpoint accepts only http(s) URLs, times out model lookups after 15 seconds, and is rate-limited.
Fixed
- A failed settings load shows an error with a retry action instead of an endless spinner; a failed refresh keeps the open provider form and its unsaved edits. Switching providers no longer silently discards edits.
- Settings navigation moves focus from the tab that currently has it, every tab's
aria-controlsresolves to the single panel, scroll-only sections such as About are keyboard-scrollable, the temperature and top-p sliders have accessible names, and file imports use a visible button instead of an invisible focused input. - Draft connection results, model suggestions and late save responses are discarded when the form changes or another provider is selected, so they cannot appear against the wrong configuration.