refactor(voice): promote realtime voice policy to talk owner (#122668)

* refactor(voice): promote realtime voice policy to talk owner

Move the exact-speech protocol (typed consult-call outcome instead of
string scraping), agent-proxy session instructions, and consult/wake-name/
barge-in policy defaults from the Discord plugin into src/talk, exported
additively via openclaw/plugin-sdk/realtime-voice. Wake-name enablement now
keys on a supportsActivationNameGating provider capability instead of a
hardcoded provider id. Follow-up to the voice split (#122479).

* fix(talk): bind exact-speech bypass to retained session state

Per ClawSweeper review on #122668: the protocol marker is untrusted model
tool-call text; only a parsed answer matching a currently retained
exact-speech text may select the privileged replay path. Unretained
marker calls route to a normal consult.
This commit is contained in:
Peter Steinberger
2026-08-12 09:44:19 -07:00
committed by GitHub
parent 7179d21d97
commit df4e6666c6
34 changed files with 730 additions and 399 deletions
+1 -1
View File
@@ -1 +1 @@
{"contentHash":"d38378e903e47a17e5d3b86ae87c9e93e7513c883b2e6a49e1a6d2ea2f3b1514","entrypoint":"tool-plugin","importSpecifier":"openclaw/plugin-sdk/tool-plugin"}
{"contentHash":"0898758caccfb3cb789606e81cf692dc919e7f993a4d2f9c4487583d7e05f87a","entrypoint":"tool-plugin","importSpecifier":"openclaw/plugin-sdk/tool-plugin"}