Chat History
View and browse your Claude Code conversation history within TeamIDE
Overview
The Chat History feature syncs and displays conversations from Claude Code directly in TeamIDE. This lets you:
Browse past Claude Code sessions inside the repository
Search conversations by topic (In development)
Review messages, tool calls, and assistant responses
Quickly reference previous work without leaving the editor
Usage
Accessing Chat History
Open the Code module for any repository
Click the right drawer toggle (or it opens automatically)
Select the HISTORY tab
Browsing Conversations
Conversations are grouped by date:
Today - Conversations from today
Yesterday - Conversations from yesterday
This Week - Conversations from the past 7 days
This Month - Conversations from the past 30 days
Older - All older conversations
Click any conversation to view its messages.
Searching
Use the search bar to filter conversations by:
Conversation summary/title
Git branch name
Viewing Messages
When viewing a conversation:
You messages show in blue (your prompts)
Claude messages show in purple (assistant responses)
Tool calls display as orange badges (Read, Edit, Bash, etc.)
Long messages are collapsed with a “Read more” button
Click Load older messages at the top to load more history (messages load 50 at a time for performance).
Syncing
Click the sync button to manually refresh conversations from Claude Code’s storage. Conversations also sync automatically when you open a repository.
Storage
Source Location
Claude Code stores conversations in:
~/.claude/projects/{encoded-repo-path}/
Each conversation is a .jsonl file containing
messages, tool calls, and metadata.
Local Database
TeamIDE syncs these into a local SQLite database:
{repo}/.teamide/chatHistory/conversations.db
This database contains:
conversations table - Conversation metadata (summary, dates, message count)
messages table - Individual messages with content, tool calls, timestamps
The .teamide/chatHistory/ folder is gitignored
by default to keep conversation history local.
Components
| Component | Location | Purpose |
|---|---|---|
| ChatHistoryPanel.vue | frontend/src/modules/code/components/ | Main UI for history tab |
| chatHistoryApi.ts | frontend/src/modules/code/ | API client for backend |
| chat-history.js | backend/services/native-backend/src/ | JSONL parser and SQLite storage |
Data Flow
~/.claude/projects/*.jsonl (Claude Code's storage)
↓
[Sync on repo entry]
↓
.teamide/chatHistory/conversations.db (Local SQLite)
↓
[API request]
↓
History Tab UI
Related
- Code Module - Parent module containing the History tab
Changelog
| Date | Change |
|---|---|
| 2026-02-06 | Initial implementation with pagination and search |