@prosdevlab/dev-agent 0.9.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -19
- package/dist/cli.js +18737 -24177
- package/dist/cli.js.map +1 -1
- package/dist/mcp.js +11390 -14559
- package/dist/mcp.js.map +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -10,9 +10,12 @@ Local-first semantic code search, GitHub integration, and development planning f
|
|
|
10
10
|
# Install globally
|
|
11
11
|
npm install -g @prosdevlab/dev-agent
|
|
12
12
|
|
|
13
|
+
# One-time setup (starts Antfly search backend)
|
|
14
|
+
dev setup
|
|
15
|
+
|
|
13
16
|
# Index your repository
|
|
14
17
|
cd /path/to/your/repo
|
|
15
|
-
dev index
|
|
18
|
+
dev index
|
|
16
19
|
|
|
17
20
|
# Install MCP integration
|
|
18
21
|
dev mcp install --cursor # For Cursor IDE
|
|
@@ -24,8 +27,6 @@ dev mcp install # For Claude Code
|
|
|
24
27
|
## Features
|
|
25
28
|
|
|
26
29
|
- 🔍 **Semantic Code Search** - Natural language queries across your codebase
|
|
27
|
-
- 🐙 **GitHub Integration** - Search issues/PRs with semantic understanding
|
|
28
|
-
- 📋 **Implementation Planning** - Generate plans from GitHub issues with code context
|
|
29
30
|
- 🔎 **Code Exploration** - Discover patterns, find similar code, analyze relationships
|
|
30
31
|
- 💚 **Health Monitoring** - Check component status and system health
|
|
31
32
|
- 📊 **Repository Status** - View indexing progress and statistics
|
|
@@ -35,16 +36,15 @@ dev mcp install # For Claude Code
|
|
|
35
36
|
When integrated with Cursor or Claude Code, you get 6 powerful tools:
|
|
36
37
|
|
|
37
38
|
- `dev_search` - Semantic code search
|
|
39
|
+
- `dev_refs` - Find callers/callees of functions
|
|
40
|
+
- `dev_map` - Codebase structure with change frequency
|
|
41
|
+
- `dev_patterns` - File analysis and pattern checking
|
|
38
42
|
- `dev_status` - Repository status and health
|
|
39
|
-
- `dev_inspect` - File analysis and pattern checking
|
|
40
|
-
- `dev_plan` - Implementation planning from issues
|
|
41
|
-
- `dev_gh` - GitHub issue/PR search
|
|
42
43
|
- `dev_health` - Component health checks
|
|
43
44
|
|
|
44
45
|
## Requirements
|
|
45
46
|
|
|
46
47
|
- Node.js >= 22 (LTS)
|
|
47
|
-
- For GitHub integration: [GitHub CLI](https://cli.github.com/)
|
|
48
48
|
|
|
49
49
|
## Production Features
|
|
50
50
|
|
|
@@ -65,7 +65,7 @@ When integrated with Cursor or Claude Code, you get 6 powerful tools:
|
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
67
|
# Indexing
|
|
68
|
-
dev index
|
|
68
|
+
dev index # Index current repository
|
|
69
69
|
dev github index # Index GitHub issues/PRs
|
|
70
70
|
|
|
71
71
|
# MCP Server Integration
|
|
@@ -83,8 +83,8 @@ dev <command> --help # Help for specific command
|
|
|
83
83
|
## How It Works
|
|
84
84
|
|
|
85
85
|
1. **Index** - Scans your TypeScript/JavaScript codebase and builds semantic vectors
|
|
86
|
-
2. **Search** - Uses local embeddings (
|
|
87
|
-
3. **Store** -
|
|
86
|
+
2. **Search** - Uses local embeddings (BAAI/bge-small-en-v1.5) for semantic understanding
|
|
87
|
+
3. **Store** - Antfly hybrid search (BM25 + vector), all data stays on your machine
|
|
88
88
|
4. **Integrate** - MCP protocol connects to Cursor/Claude Code
|
|
89
89
|
5. **Query** - AI tools can now understand your codebase semantically
|
|
90
90
|
|
|
@@ -99,8 +99,8 @@ All processing happens on your machine:
|
|
|
99
99
|
## Technology
|
|
100
100
|
|
|
101
101
|
- **Analysis:** TypeScript Compiler API + ts-morph
|
|
102
|
-
- **Embeddings:**
|
|
103
|
-
- **Vector Storage:**
|
|
102
|
+
- **Embeddings:** Antfly Termite (ONNX, BAAI/bge-small-en-v1.5)
|
|
103
|
+
- **Vector Storage:** Antfly (hybrid search: BM25 + vector + RRF)
|
|
104
104
|
- **GitHub:** GitHub CLI for local metadata
|
|
105
105
|
- **Protocol:** Model Context Protocol (MCP)
|
|
106
106
|
|
|
@@ -110,14 +110,8 @@ All processing happens on your machine:
|
|
|
110
110
|
# Find authentication-related code
|
|
111
111
|
dev_search: "JWT token validation middleware"
|
|
112
112
|
|
|
113
|
-
# Plan implementation from GitHub issue
|
|
114
|
-
dev_plan: issue #42
|
|
115
|
-
|
|
116
113
|
# Find similar code patterns
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
# Search GitHub issues semantically
|
|
120
|
-
dev_gh: search "memory leak in vector storage"
|
|
114
|
+
dev_patterns: { action: "compare", query: "src/auth/middleware.ts" }
|
|
121
115
|
|
|
122
116
|
# Check system health
|
|
123
117
|
dev_health: verbose
|