From 73f619997948ae1cf8ecc3b8a593f808f7084cd9 Mon Sep 17 00:00:00 2001 From: veguAI <152010387+vegu-ai-tools@users.noreply.github.com> Date: Mon, 6 Jul 2026 00:30:30 +0300 Subject: [PATCH] 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 --- CHANGELOG.yaml | 1 + .../QuickCreateStateReinforcement.vue | 92 ++++++++++++++----- .../src/components/SceneToolsWorld.vue | 43 ++++----- 3 files changed, 89 insertions(+), 47 deletions(-) diff --git a/CHANGELOG.yaml b/CHANGELOG.yaml index 76c0cbe3..77cf6d10 100644 --- a/CHANGELOG.yaml +++ b/CHANGELOG.yaml @@ -9,6 +9,7 @@ - "MistralAI Client: Added a Concurrent Inference toggle so batch operations can dispatch multiple requests in parallel. Off by default." - "Text-Generation-WebUI Client: Added an 'API handles prompt template' toggle. When enabled, requests go to the chat/completions API and text-generation-webui applies the model's prompt template; response pre-filling (coercion) keeps working via the API's continue_ mechanism, and reasoning-model thinking is captured automatically without needing a reasoning pattern. Off by default." - "llama.cpp Client: Added an 'API handles prompt template' toggle. When enabled, prompts are rendered through the server's /apply-template endpoint using the model's built-in chat template; response pre-filling (coercion) and reasoning keep working, and thinking-capable templates are asked not to think when reasoning is disabled. Off by default." + - "Track State: The World State scene tool menu's two separate 'Add tracked world state' and 'Add tracked character state' actions are now a single 'Track state' action. The modal itself lets you choose the target — the world or a specific character — before describing what to track, and the context attachment default and 'Require character active' option adapt to the choice." fixes: - "OpenRouter Client: A failed model/provider list fetch at startup no longer sticks until the server is restarted — later config saves and client status refreshes now retry it. Setting the API key for the first time during initial setup also correctly triggers the provider fetch." - "Generation Error Dialog: When several generations failed at the same time (e.g. an API throttle hitting both a summarization and a background task), only the most recent error could be answered — the earlier generation was never resumed and its result (such as a scene summary) was silently lost. Error dialogs are now queued and answered one after another, and pending dialogs are cancelled cleanly when the scene is unloaded or the frontend disconnects." diff --git a/talemate_frontend/src/components/QuickCreateStateReinforcement.vue b/talemate_frontend/src/components/QuickCreateStateReinforcement.vue index 707404a6..44fd927f 100644 --- a/talemate_frontend/src/components/QuickCreateStateReinforcement.vue +++ b/talemate_frontend/src/components/QuickCreateStateReinforcement.vue @@ -7,16 +7,12 @@ {{ description }} - - {{ character }} - - - Create + Create