agentcall
agentcall copied to clipboard
Bridges: support the collaborative voice strategy
The bridges (bridge.py, bridge-visual.py, bridge.js, bridge-visual.js) only run in direct mode. Collaborative mode, where voice intelligence speaks for the bot and the agent provides knowledge, avatar, screenshare and tools, needs join.py or a hand-patched bridge.
Needed:
- Launch flags for collaborative mode: voice strategy, trigger words, initial context, barge-in prevention, voice
- Accept the voice intelligence commands on stdin (
inject.verbatim,inject.natural,trigger.speak,voice.contribute,voice.context_update) and return their real result - Forward the voice intelligence events the agent needs (what the bot said; voice unavailable / recovered)
- Keep chat, mic, screenshot, screenshare, webpage and avatar commands working
- Don't apply direct-mode speech behaviour (automatic "thinking" state, greeting prompt for
tts.speak) in collaborative mode
Reported in #15.
Released in v1.1.21: all four bridges now support --voice-strategy collaborative.
python scripts/python/bridge-visual.py "<meet-url>" --name "Juno" \
--voice-strategy collaborative --trigger-words "juno,zuno" --context "You are Juno, ..."
- Flags:
--trigger-words,--context,--barge-in-prevention on|off(defaulton),--voice(voice.heartby default, orvoice.bella,voice.echo,voice.eric), and--voice-eventsto also receivevoice.state(off by default). - Speak with
inject.verbatim/inject.natural. Steer withtrigger.speak,voice.contribute,voice.context_update. Each getscommand.ack, orcommand.errorwith areason. tts.speakis rejected in this mode, because voice intelligence is the bot's voice.- New events:
voice.text(what the bot said),call.degraded/call.recovered.user.messagestill arrives. - Unchanged: screenshare (including
screenshare.swap),webpage.open, chat, mic,set_stateandtasks.set. - Direct mode is unchanged.
Details: SKILL.md (Collaborative voice strategy) and CHANGELOG.md.