You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add undo, back, and flip commands; harden click-mid-readout switching
Three new voice commands (REQ-ANS-017, REQ-NAV-009, REQ-NAV-010):
- undo (also heard as "undue"): reverts the last answer the session
entered — cells that were empty before are cleared, letters the entry
overwrote are restored — then re-selects that clue and prompts "say the
answer again, or say spell it". One level deep; with nothing to revert
it says so. In spelling mode "undo" keeps meaning remove-a-letter.
- back: previous clue in list order, wrapping from the first Across to
the last Down. Filled entries are NOT skipped — back exists to revisit
and fix what's already there.
- flip: jumps to the crossing clue (the perpendicular entry at the
current clue's first crossed cell) — across ⇄ down.
Plumbing: new UNDO machine action executed via clearEntry + enterAnswer
with the watcher paused, new UNDO_RESULT event, and lastEntry bookkeeping
captured at ENTER time so undo restores the exact pre-entry pattern.
Click-mid-readout fix-up (REQ-NAV-008): following a click is now scoped
to moments that end in listening. While an accepted answer is being
confirmed and written (between "Fits!" and the letters landing), a click
no longer cancels the flow — previously it silently discarded the
accepted word. An end-to-end orchestrator test now pins the full
click-during-readout behavior: speech cut immediately, clicked clue read
next.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017zPpG6mrZdmsUVNUv1MZ9Z
Copy file name to clipboardExpand all lines: extension/src/conversation/phrases.js
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -130,7 +130,7 @@ export function render(say) {
130
130
return`${letters}. ${summary}`;
131
131
}
132
132
case'help':
133
-
return'You can: say an answer, or answer followed by a word. Say pass or next to skip, repeat to hear the clue again, hint for the letters so far, spell it to spell, anyway to enter over a clash, switch to most filled to change order, or goodbye to stop.';
133
+
return'You can: say an answer, or answer followed by a word. Say pass or next to skip, back for the previous clue, flip for the crossing clue, repeat to hear the clue again, hint for the letters so far, spell it to spell, undo to take back the last answer, anyway to enter over a clash, switch to most filled to change order, or goodbye to stop.';
134
134
case'didnt-catch':
135
135
return"Sorry, I didn't catch that. Say an answer, or say help.";
136
136
case'misheard-reprompt':
@@ -141,6 +141,12 @@ export function render(say) {
0 commit comments