Sidebar chat foundation

A reusable sidebar-chat pattern: state structure, conversation and draft behavior, streaming ownership, cancellation, and persistence decisions. Adapt it to your app. Includes an optional tested TypeScript controller; no full UI or page files.

Sidebar chat foundation

A working Svelte 5 sidebar chat: conversation history, per-chat drafts, streaming, stop, and local persistence. Includes a portable TypeScript controller, UI, tests, and reuse instructions. Replies are simulated by default; connect your own server transport.

Mouse-Controlled Obstacle-Avoiding Third-Person Camera

Reference implementation for mouse-look camera: pointer-lock orbit controls, stable root/shoulder follow, swept-sphere obstacle avoidance, damped retraction and recovery, preserved zoom intent, and close-character fading.