Fix branching logic and add combo robot actions

- Fix handleNextStep to handle both string and object options in conditions
- Add say_with_emotion, bow, wave, nod, shake_head, point combo actions
- Update seed data with nextStepId in wizard_wait_for_response options
This commit is contained in:
2026-03-21 18:51:27 -04:00
parent f8e6fccae3
commit e40c37cfd0
4 changed files with 327 additions and 27 deletions

View File

@@ -448,7 +448,10 @@ async function main() {
// Define the options that will be presented to the Wizard
parameters: {
prompt_text: "Did participant answer 'Red' correctly?",
options: ["Correct", "Incorrect"],
options: [
{ label: "Correct", value: "Correct", nextStepId: step4a!.id },
{ label: "Incorrect", value: "Incorrect", nextStepId: step4b!.id },
],
},
sourceKind: "core",
pluginId: "hristudio-woz", // Explicit link