refactor(agent-streaming): Convert client to TS#117
Conversation
agduan
commented
Jun 12, 2026
- refactor: Convert frontend to TypeScript
- refactor: Update index.html to reference TS
- chore: Add typecheck to build script
There was a problem hiding this comment.
Code Review
This pull request migrates the client-side script from JavaScript to TypeScript, updates the HTML script reference, and integrates TypeScript verification into the build pipeline. The new script implements SSE streaming for chat messages, rendering markdown securely using marked and DOMPurify. Feedback on the changes suggests simplifying the markdown rendering logic in script.ts by removing redundant runtime type checks and avoiding the use of @ts-ignore since the libraries are statically imported.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
44a225d to
8667785
Compare
a23af3a to
2fbb433
Compare
8667785 to
c76d147
Compare
1979861 to
dae6383
Compare
c76d147 to
0a8bc45
Compare
dae6383 to
835c31f
Compare
0a8bc45 to
d692374
Compare
- refactor: Convert frontend to TypeScript - refactor: Update index.html to reference TS - chore: Add typecheck to build script
d692374 to
f8869b2
Compare
835c31f to
4e5665c
Compare
- refactor: Add React entry point - refactor: Update index.html with React root - chore: Delete unused script.ts
- chore: Add React dependencies - chore: Update configs for React - refactor: Create React types - refactor: Create ThoughtBox component - refactor: Create MessageBubble component - refactor: Create ChatInput component - refactor: Create App component
refactor(agent-streaming): Mount React app
…ents refactor(agent-streaming): Create React components