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

Blog

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

Local AI Knowledge Base Setup: Install, Ingest, and Search

Verify installation, the local service, both model configurations, import, summarization, and search with the actual ChatCrystal 0.6.1 CLI.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Node.js #Knowledge management

Configure MCP Server: Connect Claude Code to Local Knowledge

Connect ChatCrystal to Claude Code with a project-scoped stdio server, then verify its seven tools, HTTP backend, approvals, and request path.

曾亮懿 曾亮懿
3 min read
#ChatCrystal #MCP #Claude Code

How to Parse and Import Claude Code Chats: Paths and Extraction

Locate Claude Code session paths, parse JSONL message blocks and tool events, and handle incremental sync edge cases with test fixtures.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Claude Code #Data parsing

Filtering Claude Code JSONL: Events, Blocks, and Omissions

Follow ChatCrystal relevance checks, content extraction, and tag cleanup to distinguish top-level filtering from nested thinking and tool flags.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Claude Code #Data parsing

MCP-Based Claude Code Memory Workflow: Recall, Verify, Write Back

Use recall, validation, and write-back MCP tools for an auditable memory workflow, without treating protocol setup as an automatic-memory guarantee.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #MCP #Claude Code

Configuring Cloud LLMs: Providers, Endpoints, and Summaries

Follow ChatCrystal provider registrations to configure remote generation and check native APIs, gateways, persisted settings, credentials, and test boundaries.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #AI #LLM

Parsing Codex, Trae, and Copilot Chat Logs: 3 Storage Formats

Check source directories, event extraction, and snapshot boundaries in ChatCrystal, then verify each adapter against a conversation you know.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Data parsing #Knowledge management

Memory Budgets for Large Chat Imports: Measure Before Batching

Profile memory peaks in large chat imports with sql.js and task queues. Size batches from reproducible benchmarks instead of arbitrary fixed thresholds.

曾亮懿 曾亮懿
6 min read
#ChatCrystal #Node.js #Data parsing #Performance

Extract and Parse Cursor Chat History: Workspaces and Messages

Trace how ChatCrystal joins Cursor SQLite data, discovers orphan sessions, and extracts messages, then verify the import with a known conversation.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Cursor #SQLite #Data parsing

Reverse Engineering Cursor SQLite: Debugging Missing Messages

Check paired databases, key prefixes, unknown versions, and orphan discovery to distinguish unreadable data, parsing omissions, and absent records.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #Cursor #SQLite #Data parsing

Configuring Embeddings: Model Selection and Rebuilding

Check task support, actual embedding inputs, and index compatibility, then accept model settings and changes with known notes and no-answer queries.

曾亮懿 曾亮懿
3 min read
#ChatCrystal #Embedding #Vector search

Decoupling LLMs and Embeddings: Separating Roles Under Gateways

Distinguish text generation from vector generation, then verify ChatCrystal model settings, connection tests, and index rebuilding boundaries.

曾亮懿 曾亮懿
4 min read
#ChatCrystal #AI #Vector search

From writing to code

Explore ChatCrystal, developer tools and daily learning notes on my GitHub. Questions about the implementation are welcome.