mirror of
https://github.com/vegu-ai/talemate.git
synced 2026-09-02 03:59:12 +02:00
Major Features - API key encryption at rest using Fernet (OS keyring with file fallback) - Prompt Manager: unified UI with template groups, priority ordering, override tracking, response extractors - Scene context history review panel with token budgets and best-fit mode - Multiple concurrent director chats with auto-generated titles - Granular scene state reset dialog - Time passage insert/edit/delete in scene view - Image analysis via OpenAI-compatible and Talemate Client backends - Volatile context placement after scene history for improved prompt caching Improvements - Configurable narrator generation length per narration type - AI Aware conversation mode - Summarizer: custom instructions, writing style inclusion, short line filtering - Anthropic: adaptive thinking support, updated model list (opus-4-5/4-6, haiku-4-5) - Google: gemini-3.1 support - World editor: generate from topic, quick create state reinforcement, reorganized menus - Node editor: promote scene modules to global - Frontend: version mismatch detection, hideable bracket content, required scene name - TTS: improved pause handling, audio tag support for vocal markers (ElevenLabs v3) - Writing style template for AI-generated instructions - Added Kimi.jinja2 LLM prompt template - Option to disable character names in stopping strings - Client response length enforcement options - Graduated token count sliders - Increased summarizer token threshold max Bugfixes - Fix bracket/paren/brace terminators stripped from message ends - Fix colon in conversation causing content loss - Fix "Use as reference" navigating to blank page - Fix avatar regeneration and manual regenerate - Fix conversation agent ignoring generation length - Fix duplicate length instructions with reasoning enabled - Fix trailing newline on message edits - Fix summarize dialogue sending too much context with layered history - Fix layered history inspection and construction issues - Fix empty response handling in summarization - Fix context ID dot notation with dotted character names - Fix recursive retry in focal agent - Fix leading whitespace causing duplicate prepared responses - Fix summarization not stripping ANALYSIS OF lines - Fix template group selection/removal in prompt manager - Fix multiline text in parentheses/brackets parser - Fix determine_character_name resolution - Fix character activate/deactivate desyncing creative menu - Fix character image generation missing context - Fix LMStudio client not sending token limits - Fix Recent Scene images on newer Chromium - Fix sequential reinforcement messages cut off at first linebreak - Fix reinforcement removal not clearing state - Fixes #252, #256, #258 Deprecations - Removed context investigations (replaced by AI-assisted RAG mixin) - Removed deprecated prompt templates (fix-continuity-errors, fix-exposition, etc.) - Removed conversation/edit.jinja2, auto break repetition, CLI reset layered history --------- Co-authored-by: theDTV2 <47825738+theDTV2@users.noreply.github.com>
94 lines
2.9 KiB
JSON
94 lines
2.9 KiB
JSON
{
|
|
"basic_scene": {
|
|
"title": "Test Scene",
|
|
"description": "A test scene for context_history tests",
|
|
"intro": "Welcome to the test scene.",
|
|
"context": "Fantasy adventure",
|
|
"ts": "PT2H30M",
|
|
"conversation_format": "chat"
|
|
},
|
|
"archived_history": [
|
|
{
|
|
"text": "The party arrived at the ancient ruins.",
|
|
"ts": "PT0S",
|
|
"end": 0
|
|
},
|
|
{
|
|
"text": "They discovered a hidden chamber beneath the temple.",
|
|
"ts": "PT30M",
|
|
"end": 5
|
|
},
|
|
{
|
|
"text": "A mysterious figure emerged from the shadows.",
|
|
"ts": "PT1H",
|
|
"end": 10
|
|
},
|
|
{
|
|
"text": "The confrontation revealed secrets about the ancient prophecy.",
|
|
"ts": "PT1H30M",
|
|
"end": 15
|
|
},
|
|
{
|
|
"text": "The group decided to seek guidance from the Oracle.",
|
|
"ts": "PT2H",
|
|
"end": 20
|
|
}
|
|
],
|
|
"static_archived_history": [
|
|
{
|
|
"text": "Long ago, the kingdom was at peace.",
|
|
"ts": "PT0S",
|
|
"end": null
|
|
}
|
|
],
|
|
"layered_history": {
|
|
"layer_0": [
|
|
{
|
|
"text": "Chapter One: The party formed and began their quest.",
|
|
"ts_start": "PT0S",
|
|
"ts_end": "PT30M",
|
|
"end": 1
|
|
},
|
|
{
|
|
"text": "Chapter Two: They faced their first challenge at the ruins.",
|
|
"ts_start": "PT30M",
|
|
"ts_end": "PT1H",
|
|
"end": 3
|
|
}
|
|
],
|
|
"layer_1": [
|
|
{
|
|
"text": "The first arc of the adventure saw the heroes unite and discover the threat.",
|
|
"ts_start": "PT0S",
|
|
"ts_end": "PT1H",
|
|
"end": 1
|
|
}
|
|
]
|
|
},
|
|
"messages": {
|
|
"character": [
|
|
{"message": "Elena: Hello there, traveler. What brings you to these parts?", "source": "ai"},
|
|
{"message": "Marcus: I seek the lost artifact of the ancients.", "source": "player"},
|
|
{"message": "Elena: The artifact? That's a dangerous quest indeed.", "source": "ai"},
|
|
{"message": "Marcus: I'm prepared for any danger.", "source": "player"},
|
|
{"message": "Elena: Very well. I shall guide you to the temple.", "source": "ai"}
|
|
],
|
|
"narrator": [
|
|
{"message": "The sun began to set over the ancient forest.", "source": "ai"},
|
|
{"message": "A cool breeze rustled through the leaves.", "source": "ai"}
|
|
],
|
|
"director": [
|
|
{"message": "Show hesitation about the journey", "character": "Elena", "source": "player"},
|
|
{"message": "Express determination to find the artifact", "character": "Marcus", "source": "ai"}
|
|
],
|
|
"reinforcement": [
|
|
{"message": "Elena is secretly worried about the prophecy.", "question": "motivation", "character": "Elena"},
|
|
{"message": "The temple holds dark secrets.", "question": "location", "character": null}
|
|
],
|
|
"context_investigation": [
|
|
{"message": "Elena has flowing silver hair and wears a green cloak.", "sub_type": "visual-character", "character": "Elena"},
|
|
{"message": "The forest clearing is bathed in golden light.", "sub_type": "visual-scene"}
|
|
]
|
|
}
|
|
}
|