Loading workspace insights... Statistics interval
7 days30 daysLatest CI Pipeline Executions
e3234d9b fix(examples): repair angular chat example and add client-tools demo
The ts-angular-chat example was non-functional:
- Server threw `serverTools.map is not a function` (500) because
`mergeAgentTools` was passed `{}` instead of an array, so sending a
message did nothing. Pass `[]` like every other example.
- `src/styles.css` was never imported, and it `@import`ed `tailwindcss`
which the example never declared as a dependency. Import the stylesheet
from `main.ts` and drop the unresolved Tailwind import (styles are now
self-contained CSS).
- Tool-call assistant turns rendered as empty bubbles because the template
only handled `text` parts. Render `tool-call` parts as a pill (name,
args, output) and skip messages with no visible content.
Also adds invokable client tools (rollDice, flipCoin, calculate, mock
getWeather) alongside getTime, and gives the demo a polished UI
(hero/empty state, suggestion chips, streaming tool pills, auto-scroll).