examples: Rooms (nested listen, move listen/s2s into a Room, room say/play)#14
Merged
Conversation
…y/play Add five WebSocket examples under examples/ demonstrating Rooms: - room-with-listen-stream: a Room with a nested bidirectional listen stream - listen-then-room: 1:1 listen, then move caller + stream into a Room - s2s-move-to-room: Ultravox s2s, then move caller + agent into a Room - room-say: injectSay a one-shot announcement heard by the whole Room - room-play-tone: injectPlay a tone heard by the whole Room Bump @jambonz/schema ^0.3.8 -> ^0.3.14 so the `room` verb validates (the examples use .room(); 0.3.14 adds the room verb). llm-vendors.generated.ts header re-stamped to 0.3.14 (vendor list unchanged). The move examples issue a room-native LCC command (move-to-room / room field), supported by the matching feature-server change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Promote the room and stream verbs everywhere (both kept for back-compat): - rename listen-then-room -> stream-then-room and switch to .stream() + stream:status / move-to-room - rename listen-record -> stream-record and switch .listen() -> .stream() - README + AGENTS verb catalog: add .room(), lead with room/stream, note that conference/listen remain supported synonyms - README + AGENTS audio section + example lists: use stream (not listen), list the new Rooms examples The room verb's nested audio-fork property stays `listen` (room-with-listen-stream) — that's the actual property name; there is no stream synonym at the property level. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Bump @jambonz/schema ^0.3.14 -> ^0.3.15 (adds the conference/room 'stream' nested property). Add ConferenceVerb.stream?: Omit<StreamVerb,'verb'> (RoomVerb inherits) as the preferred synonym for the nested 'listen' fork. Rename the example room-with-listen-stream -> room-with-stream and use the nested stream: property, so it's fully stream-native. README/AGENTS refs updated. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…dor list unchanged) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…oded Replace the hardcoded tvly-dev-... API key with session.data.env_vars.TAVILY_API_KEY and declare TAVILY_API_KEY (obscure: true) as an application env var. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Five WebSocket examples under
examples/for the Rooms features, all Rooms-native (no 'conference' anywhere — they use theroomverb and amove-to-roomLCC command):injectSaya one-shot TTS announcement heard by the whole Room (say-start/say-done on the statusHook).injectPlaya tone heard by the whole Room (play-start/play-done).Bumps
@jambonz/schema^0.3.8→^0.3.14so theroomverb validates (the examples use.room()).llm-vendors.generated.tsheader re-stamped to 0.3.14 (vendor list unchanged).Depends on a matching feature-server change: the two move examples send a room-native LCC command (
move-to-roomvalue,roomname field) — a synonym for the existingmove-to-conference/conference. (Companion feature-server commit on themediajambranch.)🤖 Generated with Claude Code