Skip to content
曾亮懿 ZengLiangYi Blog
Page 6 of 6

Blog

Notes on frontend engineering and AI coding: problems, implementation choices and lessons learned.

Claude Code, Cursor & Copilot Chat Formats: JSONL vs SQLite

Parse Claude Code, Codex, Cursor, Trae, and Copilot chats, comparing how JSONL messages, event streams, SQLite KV stores, and database snapshots differ.

曾亮懿 Leon Zeng
7 min read
#ChatCrystal #TypeScript #AI #Data parsing

Graph RAG vs Vector Search: One-Hop Context Expansion

Compare keyword search, vectors, and knowledge graphs. Trace one-hop candidate expansion in ChatCrystal and identify boundaries relationships cannot prove.

曾亮懿 Leon Zeng
5 min read
#ChatCrystal #RAG #Knowledge graph

Local-First and Cloud AI: Understanding Data Boundaries

Trace storage, embeddings, summaries, and agent recall in ChatCrystal to identify which data boundaries local-first architecture actually controls.

曾亮懿 Leon Zeng
5 min read
#ChatCrystal #Architecture #AI

Streaming A/V Sync: AudioContext Suspend and Resume Gating

Freeze and release the AudioContext timeline as streamed frames arrive, so frame availability drives playback while audio and video remain synchronized.

曾亮懿 Leon Zeng
4 min read
#TypeScript #Frontend #Performance

Stable React Subscriptions: useRef Proxy vs useEffectEvent

Prevent WebSocket, EventEmitter, and DOM listeners from resubscribing on every callback change, using a ref proxy or React 19.2 useEffectEvent.

曾亮懿 Leon Zeng
4 min read
#React #Frontend

From writing to code

Explore ChatCrystal, KeelDesk, n8n workflows and daily learning notes on my GitHub. Questions about the implementation are welcome.