feat: LEM Chat TypeScript web components #18
No reviewers
Labels
No labels
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
needs-review
athena
athena-gemini
audit
clotho
clotho-gemini
codex
darbs-claude
security
wiki
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: core/go#18
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/lem-chat-components"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Standalone chat UI built with vanilla Web Components that connects to the MLX inference server's SSE streaming endpoint.
Components:
<lem-chat>— Container with SSE client, configurable via attributes<lem-messages>— Scrollable message list with auto-scroll anchoring<lem-message>— Single message bubble with streaming +<think>tag support<lem-input>— Textarea with Enter/Shift+Enter, SVG send iconStack: TypeScript + esbuild → 15KB ESM bundle. Zero framework dependencies.
Files:
lem-chat/src/*.ts,lem-chat/index.html(demo),lem-chat/dist/lem-chat.js(build output)Ports the existing monolithic
chat.jsfrom go-ml into proper typed modules with interfaces, Shadow DOM isolation, and CSS custom property theming.