@liendev/lien 0.19.5 → 0.21.0
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 +30 -1
- package/dist/index.js +8441 -7283
- package/dist/index.js.map +1 -1
- package/package.json +6 -13
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ Lien connects AI coding assistants like Cursor to your codebase through the Mode
|
|
|
14
14
|
|
|
15
15
|
- 🔒 **100% Local & Private** - All code analysis happens on your machine
|
|
16
16
|
- 🚀 **Semantic Search** - Natural language queries: "How does authentication work?"
|
|
17
|
+
- 🌐 **Cross-Repo Search** - Search across all repositories in your organization (Qdrant backend)
|
|
17
18
|
- 🎯 **MCP Integration** - Works seamlessly with Cursor and other MCP-compatible tools
|
|
18
19
|
- ⚡ **Fast** - Sub-500ms queries, minutes to index large codebases
|
|
19
20
|
- 🆓 **Free Forever** - No API costs, no subscriptions, no usage limits
|
|
@@ -48,13 +49,41 @@ lien index
|
|
|
48
49
|
|
|
49
50
|
**👉 [Full installation guide](https://lien.dev/guide/installation)**
|
|
50
51
|
|
|
52
|
+
### Qdrant Backend (Cross-Repo Search)
|
|
53
|
+
|
|
54
|
+
For cross-repository search across your organization, configure Qdrant:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Option 1: Global config file
|
|
58
|
+
mkdir -p ~/.lien
|
|
59
|
+
cat > ~/.lien/config.json <<EOF
|
|
60
|
+
{
|
|
61
|
+
"backend": "qdrant",
|
|
62
|
+
"qdrant": {
|
|
63
|
+
"url": "http://localhost:6333",
|
|
64
|
+
"apiKey": "your-api-key"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
EOF
|
|
68
|
+
|
|
69
|
+
# Option 2: Environment variables
|
|
70
|
+
export LIEN_BACKEND=qdrant
|
|
71
|
+
export LIEN_QDRANT_URL=http://localhost:6333
|
|
72
|
+
export LIEN_QDRANT_API_KEY=your-api-key
|
|
73
|
+
|
|
74
|
+
# Index your repos (orgId auto-detected from git remote)
|
|
75
|
+
lien index
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Note:** `orgId` is automatically extracted from your git remote URL. Cross-repo search requires all repos to share the same `orgId`.
|
|
79
|
+
|
|
51
80
|
## MCP Tools
|
|
52
81
|
|
|
53
82
|
Lien exposes **6 powerful tools** via Model Context Protocol:
|
|
54
83
|
|
|
55
84
|
| Tool | Description |
|
|
56
85
|
|------|-------------|
|
|
57
|
-
| `semantic_search` | Natural language code search |
|
|
86
|
+
| `semantic_search` | Natural language code search (supports `crossRepo` with Qdrant) |
|
|
58
87
|
| `find_similar` | Find similar code patterns |
|
|
59
88
|
| `get_files_context` | Get file context with test associations |
|
|
60
89
|
| `list_functions` | List symbols by pattern |
|