feat(a2a): add IHost.WaitForInput hook (wait-for-input 0x72); trace parity preserved

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-07-06 14:48:46 -04:00
parent e42655a849
commit b668c83de4
4 changed files with 35 additions and 1 deletions

View File

@@ -164,7 +164,8 @@ public sealed class VirtualMachine
_host.ShowText(off, text);
}
return pc + 1;
case "end-text-line": case "wait-for-input": case "set-font":
case "wait-for-input": _host.WaitForInput(); return pc + 1;
case "end-text-line": case "set-font":
case "comment": case "display-furigana": case "dev_ukn":
return pc + 1;
default: