ext-apps/examples/transcript-server/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jonathan Hefner def96b392a
Fix onhostcontextchanged handler invocation in examples
`App.onhostcontextchanged` is a setter-only property with no getter.
TypeScript doesn't prevent reading from setter-only properties, so
`app.onhostcontextchanged?.(ctx)` compiles but silently returns
`undefined` at runtime.

Extract the handler into a named `handleHostContextChanged()` function
and call it directly after `connect()`, matching the pattern used in
`basic-server-vanillajs` and other examples.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 13:38:33 -06:00
..
global.css examples: add transcript-server example with live speech transcription (#240) 2026-01-12 21:27:31 +00:00
mcp-app.css fix[examples/transcript]: fix transitional deltas (#275) 2026-01-15 12:06:02 +00:00
mcp-app.ts Fix onhostcontextchanged handler invocation in examples 2026-01-25 13:38:33 -06:00