chore: replace chat.js with TypeScript-built bundle #2

Merged
Charon merged 1 commit from chore/lem-chat-typescript-bundle into main 2026-02-24 18:25:24 +00:00
Member

Replaces the 833-line monolithic chat.js with a 556-line esbuild bundle built from TypeScript source in core/go/lem-chat/.

Functionally identical — same SSE streaming, same components, same theme. The TypeScript source lives in core/go and builds via npm run build to produce dist/lem-chat.js, which is copied here.

Depends on: core/go PR for the TypeScript source.

Replaces the 833-line monolithic `chat.js` with a 556-line esbuild bundle built from TypeScript source in `core/go/lem-chat/`. Functionally identical — same SSE streaming, same components, same theme. The TypeScript source lives in core/go and builds via `npm run build` to produce `dist/lem-chat.js`, which is copied here. Depends on: core/go PR for the TypeScript source.
Charon added 1 commit 2026-02-24 18:24:45 +00:00
chore: replace monolithic chat.js with TypeScript-built bundle
All checks were successful
Security Scan / security (pull_request) Successful in 11s
Test / test (pull_request) Successful in 2m50s
12d326edd9
Updated chat.js is now built from TypeScript source in core/go/lem-chat/
via esbuild. Functionally identical, 15KB ESM bundle (was 833 lines,
now 556 — esbuild compacts class syntax).

Source: forge.lthn.ai/core/go → lem-chat/src/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Charon merged commit ab5d4614f9 into main 2026-02-24 18:25:24 +00:00
Charon deleted branch chore/lem-chat-typescript-bundle 2026-02-24 18:25:24 +00:00
Sign in to join this conversation.
No description provided.