You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: update documentation for v0.4.0 Intelligent Git History
- Add dev_history tool documentation (new MCP tool)
- Update dev_map docs with change frequency feature
- Update dev_plan docs with git history integration
- Update README with v0.4.0 features and version history
- Update tools overview with 9 tools and v0.4.0 section
- Update examples with dev_history usage patterns
- Mark v0.4.0 tasks as complete in PLAN.md
- Add changeset for v0.4.0 release
**Local-first repository context provider for AI tools. Semantic code search, relationship queries, and codebase mapping via MCP.**
7
+
**Local-first repository context provider for AI tools. Semantic code search, git history, relationship queries, and codebase mapping via MCP.**
8
8
9
9
## What is dev-agent?
10
10
11
11
dev-agent provides **rich, structured context** to AI assistants like Claude and Cursor. Instead of AI tools reading files one at a time, dev-agent gives them:
12
12
13
13
- 🔍 **Semantic search** with code snippets and relationships
14
-
- 🗺️ **Codebase maps** showing structure and hot paths
14
+
- 🗺️ **Codebase maps** showing structure and change frequency
15
15
- 🔗 **Relationship queries** (what calls what)
16
+
- 📜 **Git history search** (who changed what and why)
16
17
- 📋 **Issue context** assembled for planning
17
18
18
19
**Philosophy:** Provide data, let LLMs reason. We don't try to be smart with heuristics—we provide comprehensive context so AI assistants can be smart.
@@ -36,7 +37,7 @@ dev mcp install # For Claude Code
36
37
37
38
## MCP Tools
38
39
39
-
When integrated with Cursor or Claude Code, dev-agent provides 8 powerful tools:
40
+
When integrated with Cursor or Claude Code, dev-agent provides 9 powerful tools:
40
41
41
42
### `dev_search` - Semantic Code Search
42
43
Natural language search with rich results including code snippets, imports, and relationships.
@@ -64,17 +65,19 @@ Find what functions validateToken calls
64
65
- File paths and line numbers
65
66
- Relevance scoring
66
67
67
-
### `dev_map` - Codebase Overview ✨ New in v0.3
68
-
Get a high-level view of repository structure.
68
+
### `dev_map` - Codebase Overview ✨ Enhanced in v0.4
69
+
Get a high-level view of repository structure with change frequency.
69
70
70
71
```
71
72
Show me the codebase structure with depth 3
72
73
Focus on the packages/core directory
74
+
Show hot areas with recent changes
73
75
```
74
76
75
77
**Features:**
76
78
- Directory tree with component counts
77
79
-**Hot Paths:** Most referenced files
80
+
-**Change Frequency:** 🔥 Hot (5+ commits/30d), ✏️ Active (1-4/30d), 📝 Recent (90d)
78
81
-**Smart Depth:** Adaptive expansion based on density
79
82
-**Signatures:** Function/class signatures in exports
80
83
@@ -89,13 +92,27 @@ Focus on the packages/core directory
89
92
## Directory Structure
90
93
91
94
└── packages/ (195 components)
92
-
├── core/ (45 components)
95
+
├── 🔥 core/ (45 components) — 12 commits in 30d
93
96
│ └── exports: function search(query): Promise<Result[]>, class RepositoryIndexer
94
-
├── mcp-server/ (28 components)
97
+
├── ✏️ mcp-server/ (28 components) — 3 commits in 30d
95
98
│ └── exports: class MCPServer, function createAdapter(config): Adapter
96
99
```
97
100
98
-
### `dev_plan` - Context Assembly ✨ Refactored in v0.3
101
+
### `dev_history` - Git History Search ✨ New in v0.4
102
+
Semantic search over git commit history.
103
+
104
+
```
105
+
Find commits about authentication token fixes
106
+
Show history for src/auth/middleware.ts
107
+
```
108
+
109
+
**Features:**
110
+
-**Semantic search:** Find commits by meaning, not just text
111
+
-**File history:** Track changes with rename detection
112
+
-**Issue/PR refs:** Extracted from commit messages
113
+
-**Token-budgeted output**
114
+
115
+
### `dev_plan` - Context Assembly ✨ Enhanced in v0.4
99
116
Assemble rich context for implementing GitHub issues.
100
117
101
118
```
@@ -105,6 +122,7 @@ Assemble context for issue #42
105
122
**Returns:**
106
123
- Full issue with comments
107
124
- Relevant code snippets from semantic search
125
+
-**Related commits** from git history (new in v0.4)
0 commit comments