Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
56b546c
Add LiveKit call log demo
leggetter Nov 11, 2026
d64ddab
livekit/call-log: send LIVEKIT source credentials under config.auth
leggetter Nov 16, 2026
2c579b6
Say Event Gateway verifies, without naming internal layers
leggetter Nov 16, 2026
3a27c3c
livekit/call-log: use the shared Hookdeck CLI helper; set LIVEKIT sou…
leggetter Nov 16, 2026
aa5c162
livekit/call-log: live topology pane, four scripted scenes and MP4 ca…
leggetter Nov 16, 2026
a587f03
livekit/call-log: npm run setup also creates the LiveKit Cloud webhook
leggetter Nov 16, 2026
afccff0
livekit/call-log: read the management API's {items} list shape
leggetter Nov 16, 2026
b854199
livekit/call-log: a WEBHOOK source's verified=false is not a rejectio…
leggetter Nov 16, 2026
2b99964
livekit/call-log: commit the scene MP4s
leggetter Nov 16, 2026
25b9b05
livekit/call-log: Join a call from the page
leggetter Nov 16, 2026
591f6a6
livekit/call-log: AI game master story with a soundtrack per scene an…
leggetter Nov 16, 2026
20a5a6d
livekit/call-log: play the call's audio in the page and show who is i…
leggetter Nov 16, 2026
c04af58
livekit/call-log: two characters, live transcript, turn and ending ba…
leggetter Nov 16, 2026
c55d908
livekit/call-log: Hester greets a player by the name they typed and w…
leggetter Nov 16, 2026
a252ef0
livekit/call-log: optional OpenAI key for the agents' LLM, and Pixel …
leggetter Nov 16, 2026
14b4ec5
livekit/call-log: delete scene ingresses when the story or room ends,…
leggetter Nov 16, 2026
e90d9f6
livekit/call-log: give_turn waits for Pixel's gesture; Hester doesn't…
leggetter Nov 16, 2026
483bc2f
livekit/call-log: Hester's handoff to Bram is code, not a model tool …
leggetter Nov 16, 2026
cfe53a3
livekit/call-log: play the scene soundtrack quietly under the voices,…
leggetter Nov 16, 2026
da3a863
livekit/call-log: keep the page to key information, with the details …
leggetter Nov 16, 2026
dbe6b15
livekit/call-log: players drive the pace, plain storyteller, ending p…
leggetter Nov 16, 2026
4c90123
livekit/call-log: back to a speaking player after Pixel's turn
leggetter Nov 16, 2026
c44958f
livekit/call-log: turns are code and count only real player input
leggetter Nov 16, 2026
405c9e8
livekit/call-log: pacing note before each reply, refusals still answe…
leggetter Nov 16, 2026
da64fed
livekit/call-log: a second story agent in the same room leaves
leggetter Nov 16, 2026
9a68aa6
livekit/call-log: LLM watchdog; Pixel's token carries no agent dispatch
leggetter Nov 16, 2026
5ca0348
livekit/call-log: Story theme and a shared theme hook
leggetter Nov 16, 2026
288c610
livekit/call-log: one speaking badge for the story agent, not two
leggetter Nov 16, 2026
ede409a
livekit/call-log: no pacing pressure, describe don't direct, smaller …
leggetter Nov 16, 2026
2541211
livekit/call-log: Bram's hand-over example uses a real player's name,…
leggetter Nov 16, 2026
b507608
livekit/call-log: Bram ends replies on the story, not a tacked-on nam…
leggetter Nov 16, 2026
bd5e59d
livekit/call-log: newest transcript line first
leggetter Nov 16, 2026
f6f4bda
livekit/call-log: recover a user turn that never ends; VAD endpointin…
leggetter Nov 16, 2026
7e40af1
livekit/call-log: name the demo story night; README leads with the us…
leggetter Nov 16, 2026
e2d15dd
livekit/call-log: resume a story from room metadata, Continue button,…
leggetter Nov 16, 2026
f253e41
livekit: rename call-log to voice-adventure (The Drowned Bell: a Live…
leggetter Nov 16, 2026
9958c4b
livekit/voice-adventure: one transcript entry per turn, joining a spe…
leggetter Nov 16, 2026
8faeff7
livekit/voice-adventure: code-decided scene changes, Leave the tale w…
leggetter Nov 16, 2026
70c9e3e
livekit/voice-adventure: Bram describes a scene once, then answers br…
leggetter Nov 16, 2026
1944dac
livekit/voice-adventure: a real quest (map, brass key, Lantern, chest…
leggetter Nov 16, 2026
edc48b5
livekit/voice-adventure: name check logs every reply that uses the sp…
leggetter Nov 17, 2026
3d7ff49
livekit/voice-adventure: the code decides, Bram narrates: a map of pl…
leggetter Nov 17, 2026
22e7ef6
livekit/voice-adventure: the resolver refuses an exit that is not the…
leggetter Nov 17, 2026
d1a0cd7
livekit/voice-adventure: short name placeholder; ask password manager…
leggetter Nov 17, 2026
8e6a3da
livekit/voice-adventure: shorter Pixel label, themed Pixel status, st…
leggetter Nov 17, 2026
7fe4c91
livekit/voice-adventure: Pixel joins the party when added mid-story, …
leggetter Nov 17, 2026
a9b49a2
livekit/voice-adventure: a garbled "give Pixel the map" still gives t…
leggetter Nov 17, 2026
fb1b6ad
livekit/voice-adventure: Pixel out of the turn rotation, state-aware …
leggetter Nov 17, 2026
237271b
livekit/voice-adventure: a blocked move gets one plain sentence namin…
leggetter Nov 17, 2026
8fe3f4e
livekit/voice-adventure: what can be seen is built from the world sta…
leggetter Nov 17, 2026
547c8e5
livekit/voice-adventure: lighting the Lantern is decided on the playe…
leggetter Nov 17, 2026
1244667
livekit/voice-adventure: hover tips for the controls whose meaning is…
leggetter Nov 17, 2026
54bd1e3
livekit/voice-adventure: accept webhook retries up to the end of the …
leggetter Nov 18, 2026
f8583d7
livekit/voice-adventure: a name is only taken from "my name is", "cal…
leggetter Nov 18, 2026
80e6479
livekit/voice-adventure: chronicle matches a session by room sid firs…
leggetter Nov 18, 2026
ea7dba0
livekit/voice-adventure: the turn never goes to a player who left, la…
leggetter Nov 18, 2026
740061f
livekit/voice-adventure: invite link to join a running story; only op…
leggetter Nov 18, 2026
290f6db
livekit/voice-adventure: README: invite link, Pixel's gestures do not…
leggetter Nov 18, 2026
a1f1cb2
_shared: skip key redaction when the key is empty, show Verified only…
leggetter Nov 18, 2026
5eed3f5
livekit/voice-adventure: merge readiness: root README shared rows, op…
leggetter Nov 18, 2026
bf5fcc3
Merge remote-tracking branch 'origin/main' into feat/livekit-call-log
leggetter Nov 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ deepgram/ Deepgram integration demos
vapi/ Vapi integration demos
elevenlabs/ ElevenLabs integration demos
retell/ Retell AI integration demos
livekit/ LiveKit integration demos
_shared/ Source of truth for code shared across demos
```

Expand Down Expand Up @@ -89,6 +90,12 @@ For example, `npx giget@latest gh:hookdeck/hookdeck-demos/deepgram/stt-tts my-de
|------|-------------|
| [outbound-lead-calling](retell/outbound-lead-calling/) | A lead arrives, Retell places an outbound call, and the `call_started`, `call_ended` and `call_analyzed` events come back through Hookdeck (signature verification, deduplication, retries) to update the lead |

### LiveKit

| Demo | Description |
|------|-------------|
| [voice-adventure](livekit/voice-adventure/) | A multiplayer LiveKit voice adventure with AI characters; room, participant and ingress webhooks through Hookdeck build a session chronicle |

## Shared Utilities

| Utility | Description |
Expand Down
9 changes: 9 additions & 0 deletions _shared/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@
"scenes": "scenes/kit",
"topology-pane": "public/topology-pane",
"theme": "public/theme.js"
},
"livekit/voice-adventure": {
"ds": "public/ds",
"hookdeck-cli": "scripts/hookdeck-cli.ts",
"hookdeck-listen": "scripts/hookdeck-listen.ts",
"flow-drawer-server": "src/flow-drawer-server.ts",
"scenes": "scenes/kit",
"topology-pane": "public/topology-pane",
"theme": "public/theme.js"
}
}
}
42 changes: 42 additions & 0 deletions livekit/voice-adventure/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# LiveKit Cloud project credentials (REQUIRED)
# LiveKit Cloud dashboard: Settings -> API keys (https://cloud.livekit.io/projects/p_/settings/keys)
LIVEKIT_URL=wss://your-project.livekit.cloud
LIVEKIT_API_KEY=your_livekit_api_key
LIVEKIT_API_SECRET=your_livekit_api_secret

# Hookdeck project API key (REQUIRED)
# Hookdeck dashboard: Project settings -> API keys. `npm run setup` creates the
# connection in this project and `npm run listen` forwards its source, using a CLI
# config file of its own, so your interactive `hookdeck login` is untouched.
HOOKDECK_API_KEY=your_hookdeck_api_key_here

# Server port (optional), and the address it listens on. The default 127.0.0.1 keeps it local; 0.0.0.0 opens it to your network.
PORT=4000
# HOST=127.0.0.1
# Most story rooms and Pixel bots that can run at once (optional)
# MAX_ROOMS=6
# MAX_PIXELS=4

# Optional settings
# Where the agent reaches the app (default http://localhost:<PORT>), and the agent's registered name (default story-gm)
# STORY_APP_URL=http://localhost:4000
# STORY_AGENT_NAME=story-gm
# Start the story somewhere else, for a quick test: STORY_START=cave
# STORY_START=
# Where the app keeps its data (default data/)
# DATA_DIR=
# LiveKit Cloud project to put the webhook in, if LIVEKIT_URL doesn't pick one (`npm run setup`)
# LIVEKIT_PROJECT_ID=
# A LiveKit Cloud session token, instead of `lk cloud auth --user-auth` (`npm run setup`)
# LIVEKIT_SESSION_TOKEN=
# Path to a Hookdeck CLI binary (default: the hookdeck-cli npm dependency)
# HOOKDECK_CLI=

# Written by `npm run setup`: paste this URL into LiveKit Cloud -> Settings -> Webhooks
LIVEKIT_WEBHOOK_URL=https://hkdk.events/your-source-id-here

# Soundtracks (optional): LiveKit Cloud fetches them, so the URL must be public.
# Default: this folder on the repository's main branch. Host the files yourself with:
# SOUNDTRACK_BASE_URL=https://example.com/soundtracks
# One scene only: SOUNDTRACK_URL_TAVERN, SOUNDTRACK_URL_FOREST, SOUNDTRACK_URL_CAVE or SOUNDTRACK_URL_FINALE
# SOUNDTRACK_URL_CAVE=https://example.com/cave.ogg
41 changes: 41 additions & 0 deletions livekit/voice-adventure/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Dependencies
node_modules/

# Build output
dist/

# Environment files
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# IDE files
.vscode/
.idea/
*.swp
*.swo

# OS files
.DS_Store
Thumbs.db

# TypeScript
*.tsbuildinfo

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# JSON data storage
data/

# Hookdeck CLI config written by the setup and listen scripts
run/
public/scenes/
agent/node_modules/
266 changes: 266 additions & 0 deletions livekit/voice-adventure/README.md

Large diffs are not rendered by default.

Loading
Loading