Simplify beat prompt directive helpers

This commit is contained in:
2026-08-26 19:48:52 +00:00
parent 86a77043d7
commit 73291f310c
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -9,9 +9,10 @@ const DEFAULT_H = 340;
const DEFAULT_BEAT = "Describe this beat.";
const STATE_PROPERTY = "dumas_h3_beat_prompt_state";
const DIRECTIVE_EXAMPLES = [
["wardrobe", "wardrobe: Maya = grey shorts, red jacket"],
["wardrobe set", "wardrobe: Maya = grey shorts, red jacket"],
["wardrobe add", "wardrobe: Maya += red jacket"],
["wardrobe remove", "wardrobe: Maya -= red jacket"],
["seconds", "seconds: 8"],
["duration", "duration: 8 seconds"],
["exit", "exit: Maya"],
["enter", "enter: Jon"],
["overall_soundscape", "overall_soundscape: soft rain, distant traffic"],
@@ -287,7 +288,7 @@ function setupNode(node) {
title.textContent = "Beat Prompt Builder";
const subtitle = document.createElement("div");
subtitle.className = "dh3bp-subtitle";
subtitle.textContent = "One textbox per H3 beat. Buttons append directive examples into that beat.";
subtitle.textContent = "One textbox per H3 beat. Use the buttons for seconds and quick wardrobe set/add/remove syntax.";
titleWrap.append(title, subtitle);
const addButton = document.createElement("button");