Shared TypeScript helpers used across the React frontend.
| File | Purpose |
|---|---|
cn.ts |
Tailwind class merging utility (clsx + tailwind-merge) |
format.ts |
Number and date formatting helpers |
platform.ts |
Platform detection (Tauri vs web, OS) |
sse.ts |
Server-Sent Events client with reconnect logic |
modelSearchParser.ts |
Parse HuggingFace search queries and filters |
stripThinkingBlocks.ts |
Remove thinking blocks for clean display / TTS |
batchWithinWindow.ts |
Batch rapid events within a time window |
messages/ |
Chat message transformation helpers |
For Rust-side utilities (paths, config, process management), see gglib-core and gglib-runtime.