Fix branching logic and robot action timing

- Remove onCompleted() call after branch selection to prevent count increment
- Add proper duration estimation for speech actions (word count + emotion overhead)
- Add say_with_emotion and wave_goodbye to built-in actions
- Add identifier field to admin.ts plugin creation
This commit is contained in:
2026-03-21 20:15:39 -04:00
parent 8e647c958e
commit bbc34921b5
4 changed files with 43 additions and 6 deletions

View File

@@ -536,7 +536,8 @@ export function WizardActionItem({
onClick={(e) => {
e.preventDefault();
onExecute(action.id, { value, label, nextStepId });
onCompleted();
// Don't call onCompleted() here - the branching logic in handleWizardResponse
// will handle the jump and reset completedActionsCount
}}
disabled={readOnly || isExecuting}
>