Commit Graph

170 Commits

Author SHA1 Message Date
veguAI
89e01ac138 Node editor node reference glossary (#107) (#111)
* docs: complete node editor node reference glossary (#107) - generated by new nodes.tools glossary subcommand, 47 categorized pages covering all 403 nodes, docstring gap fixes, help-agent docs-index entries

* docs: fix Jinja2 Format discoverability - document dynamic-input template variables, move node to string page, link key inference from dynamic-input notes, strip links from index summaries

* help agent: keep node reference out of the chat prompt - collapse glossary entries to one pointer line (~19k chars saved), agent retrieves node info via search_docs/read_doc tool calls

* help agent: replace in-prompt docs index with find_docs lookup tool - prompt carries a 13-line section overview (~1.5k chars vs ~66k), pages located via keyword-scored find_docs at runtime

* changelog: help agent prompt slimming + find_docs lookup

* docs: sort node reference index and nav alphabetically by page title

* review: move module constants into top-of-file constant blocks (glossary MAX_DEFAULT_LENGTH; docs SECTION_DESCRIPTIONS, _FIND_STOPWORDS, FIND_DOCS_LIMIT)

* review: word-boundary find_docs scoring with plural/-ing folds, find_docs+section_overview unit tests, jinja2 template field description override

* docs: help agent overview no longer claims an in-prompt index of all documentation pages

* docs: full node docstring audit pass - 335 classes audited by 5 agents, ~89 accuracy fixes (nonexistent/misnamed sockets, wrong behavior claims), ~94 expansions, 5 factually-wrong PropertyField descriptions corrected, glossary regenerated
2026-07-20 01:49:33 +03:00
veguAI
e54938d37b Refactor the AppConfig UX: main-view Settings tab with sidebar navigation, search, and dirty tracking (#110)
* refactor: move application settings from modal to main-view Settings tab with sidebar nav, search, and dirty tracking (#108)

* fix: address settings-view review findings (system prompt defaults lost after save, dirty-on-type for prompt overrides, scoped embeddings busy-lock, external-change false positives)

* style: give settings pages a surface-colored canvas so reused editors blend like they did in the modal; anchor env variables in a card with empty state

* style: rename settings groups Creator->Storytelling and General/Gameplay->Game/General, distinct group icons; drop content-classification influence claim

* docs: refresh settings screenshots for the Storytelling and Game/General relabels

* fix: address PR review - decouple settings working copy from shared ws payload, clear saving flag on failed save, gate help-agent config writes on dirty state instead of open settings view, data-drive provider icons

* chore: drop dead null-guard on system-prompt-defaults binding (card is v-if gated on app_config)

* docs: update remaining pages describing the removed settings modal (apis/, client presets, outline, runpod note), fresh per-provider screenshots, help docs-index paths; reword system-prompts client hint

* docs: recapture per-provider API key screenshots as card element shots so each page shows its own provider
2026-07-20 00:55:37 +03:00
veguAI
e3c1c231df Scene browser landing page (#109) (#112)
* Scene browser landing page: full-page home view with scenes tree, project/file/card deletion, prominent import (#109)

* review: anchor scenes dir on talemate.path.SCENES_DIR, share character card spec detection with loader

* docs: scene browser landing page - new Home Screen & Scene Library page, refresh load/import/harness docs and screenshots, update help docs index

* review: refuse deleting the active scene's project, root-anchored cover asset paths, share media-type map, dedupe delete button template

* import dropzone: accept and document .zip scene archives
2026-07-20 00:19:52 +03:00
veguAI
856b4011fa Docker: Pi Bridge client + encrypted environment variable store (#105) (#106)
* Docker support for Pi Bridge client + encrypted environment variable store (#105)

* Address PR #106 review: env name validation on backend, add-form value/duplicate guards, stale openrouter convenience docs
2026-07-19 18:13:05 +03:00
veguAI
31f919e426 docs: fold post-#87 changelog entries into 0.39.0 changelog and What's New (#104) 2026-07-19 11:58:06 +03:00
veguAI
190742b903 Client auto retry for empty, rate-limited and missing-reasoning responses (#103)
* feat: per-client auto retry for empty, rate-limited and missing-reasoning responses (#102)

* fix: scope auto-retry alert close to the emitting client

* fix: make auto-retry Abort effective between attempts in scene-free generations

* fix: auto-retry alert was invisible for fast retry sequences - enforce minimum display time, keep content through fade-out, offset below status snackbar

* fix: reset auto-retry alert display window on client content handoff

* fix: address auto-retry review round 3 - client-owned abort latch, reasoning retry extraction, clamped retry config, countdown and layout polish

* fix: discard stale auto-retry abort latch at sequence entry, disable Abort during linger

* fix: explicit dialog choice discards stale auto-retry abort latch

* fix: key auto-retry abort and alert by per-sequence generation id - same-client concurrency (FOCAL streaks, background chats) is normal operation, not experimental

* test: update direct _generate_with_error_handling callers for generation id param

* docs: concurrent requests are used beyond visual prompt generation

* fix: don't consume an active scene's interrupt flag in retry checks, ignore late aborts for finished sequences

* refactor: unify the three auto-retry policy blocks into _auto_retry_or_prompt

* docs: add Mistral to concurrent requests supported clients
2026-07-19 11:46:38 +03:00
veguAI
0cf438ffe9 fix: show Context Length input in client edit modal for all client types (#101)
* fix: show Context Length input in client edit modal for all client types (#92)

* review: use the dedicated rulesMaxTokenLength ruleset on the Context Length input
2026-07-18 20:24:06 +03:00
veguAI
f86b7c73d8 Simplified character card import: optional AI generation steps (#100)
* feat: simplified character card import - optional AI generation steps (#98)

* refactor: single source of truth for generation option keys/defaults; document auto-direct coverage of story intent toggle

* ui: collapse granular AI generation options by default, toggle via section header

* docs: note AI generation toggles are collapsed behind the section header
2026-07-18 20:14:35 +03:00
veguAI
0e27e87e72 New client type: Pi Bridge (#97) (#99)
* feat: Pi Bridge client - drive generations through the pi coding agent RPC mode (#97)

* fix: pi bridge - refresh pi model catalog on config save so models.json changes appear without restart

* fix: pi bridge - raise subprocess stream limit so oversized RPC event lines (long thinking blocks) do not fail generation

* docs: pi bridge - note that thinking budgets are provider-enforced and may be advisory

* fix: pi bridge - address PR review (surface pi error text in dialog, drain stderr to avoid deadlock, drop dead get_model_name, docs concurrency list)
2026-07-18 19:38:40 +03:00
veguAI
e023cad5c1 OpenRouter client: configurable sampler parameter exclusion via send_* toggles (#95) (#96) 2026-07-17 02:46:38 +03:00
veguAI
237c2762f9 fix: tolerate transient client status failures before flapping to disconnected (#94)
* fix: tolerate transient client status failures before flapping to disconnected (#93)

* refactor: extract shared status-failure debounce helper (review follow-up)
2026-07-16 02:38:42 +03:00
veguAI
85fcad8094 Fix ctx/reasoning slider rubberbanding in the client list (#89) (#91)
* fix: client list ctx/reasoning slider rubberbanding (#89)

* refactor: fold status coalescing tests into test_instance.py, hoist echo grace const (PR #91 review)
2026-07-15 14:08:57 +03:00
veguAI
4a6cd49774 Fix: scene export with Reset Progress no longer wipes the live scene (#90)
* fix: scene export with Reset Progress no longer wipes the live scene

* test: parity guard between scene_export_json reset and Scene.reset()

* refactor: address PR #90 review - shared scene_data_dumps helper, faithful stub serialize, broader parity guard

* refactor: route save_restore through scene_data_dumps; drop now-unused json import
2026-07-15 14:04:44 +03:00
veguAI
95e067bc40 0.39.0 user-facing changelog + What's New (#87)
* docs: add 0.39.0 user-facing changelog and What's New update

* docs: tighten 0.39.0 What's New feature descriptions (drop discovery-path enumerations)
2026-07-11 13:36:54 +03:00
veguAI
0a60aa9dd7 Help agent can read and update application and agent settings (#84)
* Help agent can read and update application and agent settings (#83)

* PR #84 review: fix flags coercion (list-aware), guard app-config writes while app settings dialog open, document guard staleness

* PR #84: read_clients resolves unified API keys before reporting 'not set'

* PR #84: report cleared (empty-string) unified API key as 'not set'
2026-07-07 17:27:32 +03:00
veguAI
ff791307ba fix: repair force-mode dict artifacts in changelog list fields during reconstruction (#81) (#82)
* fix: repair force-mode dict artifacts in changelog list fields during reconstruction (#81)

* fix: address review - move _LIST_FIELDS to constants block, cover game_state_watch_paths, strict index-key regex
2026-07-07 12:25:40 +03:00
veguAI
bf1e57d8b3 docs: 0.39.0 docs pass — scene backdrop, scene visual manager, quick settings, finalizer templates (#80) 2026-07-06 23:20:43 +03:00
veguAI
1d432ecc97 Timeline rollback: dedicated restoration UX (#77) (#79)
* feat: timeline rollback - dedicated restoration UX with revision scrubber, in-place rollback and fork (#77)

* review followup: shared character-message parser, rollback failure recovery, scenario-tools save menu docs
2026-07-06 15:48:12 +03:00
veguAI
5f0ddc919e Node-graph event signals for 0.39.0 features (#76) (#78)
* Add node-graph event signals for 0.39.0 features: visual prompt finalization, creator dialogue examples, help chat, scene asset lifecycle (#76)

* review: fire scene.backdrop_changed when backdrop asset is deleted; suppress no-op backdrop updates (#78)
2026-07-06 14:32:43 +03:00
veguAI
cbc075b0dd Help chat: regenerate as per-message action, matching director chat (#74) (#75)
* feat: help chat regenerate moves to a per-message action on the last answer, matching director chat (#74)

* refactor: render the help chat message-actions wrapper only on the last help answer (PR #75 review)
2026-07-06 02:18:36 +03:00
veguAI
44e09d5881 Example dialogue guidance during character creation (#71)
* feat: example dialogue guidance during character creation (#69)

* docs: document example dialogue generation option; update stale test docstring

* docs: refresh character creation screenshots for example dialogue option
2026-07-06 01:24:11 +03:00
veguAI
b2686b81f8 refactor: extract shared api_handles_prompt_template mixin and chat message assembly (#70)
* refactor: extract shared api_handles_prompt_template mixin and chat message assembly (#67)

* review: direct attribute access in ApiHandlesPromptTemplateMixin (fail loudly on mis-wiring)
2026-07-06 01:18:02 +03:00
veguAI
3d95068163 docs: update World State scene-tool menu for the unified Track State action (#73) 2026-07-06 01:00:32 +03:00
veguAI
73f6199979 Unify tracked-state quick actions into a single Track State action (#72)
* feature(world-state): unify tracked-state quick actions into a single Track State action

* refactor(world-state): address PR review - drop unused character prop, rename defaultInsert, remove comment noise
2026-07-06 00:30:30 +03:00
veguAI
81f5f96241 Add 'API handles prompt template' option to Text-Generation-WebUI and llama.cpp clients (#66)
* Add API handles prompt template option to Text-Generation-WebUI and llama.cpp clients

* Hide prompt-template alert when API handles the prompt template

* Handle reasoning models when API handles the prompt template

* Address PR review: resolve system message on event loop, dedupe llamacpp base url

* Move test imports to top of file per review
2026-07-05 22:51:29 +03:00
veguAI
202e350600 refactor: extract shared asset-grid base for character/scene visual managers (#64)
* refactor: extract shared asset-grid base components for visual managers (#63)
2026-07-05 15:26:22 +03:00
veguAI
a119dfb027 Scene visual manager (World Editor -> Scene -> Visuals) (#62)
* Scene visual manager: World Editor -> Scene -> Visuals tab with backdrop/cover management and prompt finalization scene overrides (#60)

* Address PR #62 review: opt-out guard on finalization tab, extract setActionOverrideSlice + shared asset-menu methods, drop noise comment

* Correct inject-defaults comment in VisualAssetsMixin (PR #62 review)
2026-07-05 02:16:45 +03:00
veguAI
c84d37918c Help Agent: interactive documentation-grounded help chat (#59) (#61)
* feat: help agent - interactive documentation-grounded help chat (#59)

* feat: help agent links doc references to the published manual

* feat: help agent UX snapshot includes open client/agent settings modal (name, type, selected tab)

* feat: settings modals yield to the help chat drawer (scrimless, no focus trap, shifted left) with a help shortcut in their title bar

* fix: agent modal gains an explicit close button (scrim click was its only close path)

* feat: help agent doc lookups run concurrently via focal; lookups-per-round raised (default 5, max 16)

* feat: help agent can emit in-app navigation links (agent settings, world editor, director console) and deflects scene-content questions to director chat

* feat: help chat gets its own blue message palette (hchat_msg_*) distinct from director orange

* feat: help chat palette - blueGrey messages with blue doc lookup results

* feat: world editor navigation blocks with a dialog when no scene is loaded; chat markdown tables get borders, padding and zebra rows

* fix: address PR review - on_done only on success, single-flight rejection feedback, shared chat-title module, unified reverse_trim_history in util, atomic chat store writes

* test: baseline prompt rendering tests for the help agent (chat, scene-aware, doc-lookup/final-round, title)
2026-07-05 02:12:33 +03:00
vegu-ai-tools
91b39ebc74 scene owns the backdrop asset selection 2026-07-04 23:39:34 +03:00
vegu-ai-tools
7e6e746808 Fix: set background attachment to fixed for proper image scaling in viewport 2026-07-04 22:06:33 +03:00
veguAI
d998530730 Background illustration followups: indicator, Immersive scene-tools toggle, per-kind display config (#58)
* Background illustration followups: split scene background/illustration display config, scene-tools Background toggle chip, active-backdrop indicator (closes #57)
2026-07-04 20:16:54 +03:00
vegu-ai-tools
8eff52301e corepack use pnpm@11.9.0 2026-07-04 01:08:49 +03:00
vegu-ai-tools
8cbc2a5d72 set 0.39.0.dev1 2026-07-04 01:08:26 +03:00
veguAI
cd57083963 Add 'background' display mode for scene illustrations (#55)
* Add 'background' display size for scene illustrations (fills behind scene text)

* Background mode: fill whole scene view, add toolbar Illustration chip, solid input/chips over backdrop

* Background mode legibility: configurable panel opacity and text shadow, solid message chips and input buttons

* Background mode: min-height scene column so short scenes fill the view, 'Display as background' asset menu shortcut

* Review fixes: request uncached illustration asset on menu open, resolve View Image src reactively from cache

* Skill review cleanup: drop dead imageSrc menu-context field, extract assetDataUrl helper, remove unreachable config guards
2026-07-04 01:05:31 +03:00
veguAI
48483939d7 Fix: queue generation error dialogs so concurrent failures aren't orphaned (#56)
* fix: queue generation error dialogs so concurrent failures aren't orphaned (#54)

* fix: cancel dialogs on closeAll instead of dropping; type _prompt_generation_error return
2026-07-03 23:59:06 +03:00
veguAI
5622071722 Generalized visual prompt finalization (post-processing) (#51)
feat: generalized visual prompt finalization (post-processing) for image generation prompts
2026-07-03 20:10:22 +03:00
veguAI
e7f2c3777e Fix OpenRouter model/provider list fetch latching on failure (#52)
* fix: don't latch OpenRouter model/provider fetch on failure so it can recover without restart

* fix: use None sentinel for fetch cooldown so low uptime doesn't suppress first OpenRouter fetch
2026-07-03 12:26:57 +03:00
veguAI
46099086d7 Add state output passthrough to node-editor nodes (#45) (#47)
* Add state output passthrough to node-editor nodes (#45)

Any node with a `state` input must expose a `state` output that passes
the input value through. Eleven nodes early in development neglected
this. Add the missing `state` output socket and pass
`get_input_value("state")` through in run() for:

- Counter (util)
- ToggleAgentAction, CallAgentFunctionConditional (agents)
- Sort, MakeDict, MakeList, UUID (data)
- EmitAgentMessage (event)
- ScopedAPIFunction (api)
- WaitForInput (input)
- ActedAsCharacter (raise) — follows the Stop-node precedent, setting
  the passthrough before the (always-raised) exception so the socket
  can be connected.
2026-07-02 15:23:02 +03:00
veguAI
380ec0f663 Uniform UX settings framework for agents and clients (#46)
* refactor: unify agent and client UX settings on shared ux.schema field framework (#43)

* review fixes: shared conditionMet helper for all condition evaluation sites, add table to FieldType
2026-07-02 15:21:56 +03:00
vegu-ai-tools
21d9c1c3b4 Add Concurrent Inference toggle for MistralAI Client 2026-07-02 10:58:42 +03:00
vegu-ai-tools
8fda5a428b Update dependencies for compatibility with CUDA versions 2026-07-02 10:58:28 +03:00
vegu-ai-tools
4e8664afed relock 2026-07-02 10:24:44 +03:00
veguAI
c12a82930e 0.38.0 (#272)
- **Per-Scene Agent Overrides** — Override agent configuration for a single scene without touching your global config.
- **Message Revision History** — Browse and continue from previous regenerations / revisions.
- **Scene Perspective Overrides** — Set distinct narrative perspectives for the player, NPCs, and narrator.
- **Durable World State Snapshot** — The world state snapshot now persists and updates entities across refreshes.
- **World State Highlights** — Characters, objects and places marked by the current world state snapshot are now clickable in the recent message(s) for additional detail.

Plus 30 improvements and 17 bug fixes
0.38.0
2026-07-02 09:28:45 +03:00
veguAI
d4691de357 0.37.1 (#268)
* fix issue where combination of static history entries + best fit context history mode could lead to index error during conversation generation

* 0.37.1
0.37.1
2026-05-21 21:41:29 +03:00
veguAI
f5d41c04c8 0.37.0 (#267)
0.37.0

- **Director Planning** — Multi-step todo lists in director chat plus a Generate long progress action for multi-beat scene arcs.
- **Auto Narration** — Unified auto-narration replacing the old Narrate after Dialogue toggle, with a chance slider and weighted action mix.
- **LLM Prompt Templates Manager** — Dedicated UI tab for viewing, creating, editing, and deleting prompt templates.
- **Character Folders** — Collapsible folders in the World Editor character list, synced across linked scenes.
- **OpenAI Compatible TTS** — Connect any number of OpenAI-compatible TTS servers in parallel.
- **KoboldCpp TTS Auto-Setup** — KoboldCpp clients with a TTS model loaded register themselves as a TTS backend.
- **Model Testing Harness** — Bundled scene that runs basic capability tests against any connected LLM.

Plus 27 improvements and 28 bug fixes
0.37.0
2026-05-12 21:01:51 +03:00
veguAI
a1d209a9ae 0.36.1 (#263)
* fix white space issues in contextual generate causing problems with list creation tasks

* Implement early termination for SSE events in TextGeneratorWebuiClient when receiving "[DONE]" signal,

* gemma-4 template

* prompt tweaks

* set 0.36.1

* update what's new

* prompt tweaks

* update test baselines

* prompt tweaks

* update changelog
0.36.1
2026-04-05 18:20:25 +03:00
veguAI
42a8863e65 0.36.0 (#255)
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>
0.36.0
2026-03-15 12:00:57 +02:00
veguAI
d0ebe95ca6 0.35.0 (#242)
Major features:
- Autonomous scene direction via director agent (replaces auto-direct)
- Inline image display in scene feed
- Character visuals tab for portrait/cover image management
- Character message avatars with dynamic portrait selection
- Pocket TTS and llama.cpp client support
- Message appearance overhaul with configurable markdown display

Improvements:
- KoboldCpp: adaptive-p, min-p, presence/frequency penalty support
- Setup wizard for initial configuration
- Director chat action toggles
- Visual agent: resolution presets, prompt revision, auto-analysis
- Experimental concurrent requests for hosted LLM clients
- Node editor alignment shortcuts (X/Y) and color picker

Bugfixes:
- Empty response retry loop
- Client system prompt display
- Character detail pins loading
- ComfyUI workflow charset encoding
- Various layout and state issues

Breaking: Removed INSTRUCTOR embeddings
0.35.0
2026-01-27 10:22:41 +02:00
veguAI
20af2a9f4b 0.34.1 - Openrouter reasoning model fixes (#241)
fix openrouter reasoning model issues
0.34.1
2025-12-19 23:44:52 +02:00
veguAI
c179fcd3eb 0.34.0 (#239)
Visual Agent Refactor + Visual Library
Character Card Import Refactor
Bug fixes and other improvements
0.34.0
2025-12-06 11:19:48 +02:00