@liendev/lien 0.19.0 → 0.19.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.
Files changed (2) hide show
  1. package/README.md +27 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -17,8 +17,10 @@ Lien connects AI coding assistants like Cursor to your codebase through the Mode
17
17
  - 🎯 **MCP Integration** - Works seamlessly with Cursor and other MCP-compatible tools
18
18
  - ⚡ **Fast** - Sub-500ms queries, minutes to index large codebases
19
19
  - 🆓 **Free Forever** - No API costs, no subscriptions, no usage limits
20
- - 📦 **Framework-Aware** - Auto-detects Node.js, Laravel; supports 15+ languages
20
+ - 📦 **Framework-Aware** - Auto-detects Node.js, Laravel, Shopify; supports 15+ languages
21
21
  - 🏗️ **Monorepo Support** - Index multiple frameworks in one repository
22
+ - 📊 **Complexity Analysis** - Human-friendly metrics: test paths, mental load, time to understand
23
+ - 🔍 **Impact Analysis** - Find all dependents before refactoring with risk assessment
22
24
 
23
25
  ## Quick Start
24
26
 
@@ -46,13 +48,35 @@ lien index
46
48
 
47
49
  **👉 [Full installation guide](https://lien.dev/guide/installation)**
48
50
 
51
+ ## MCP Tools
52
+
53
+ Lien exposes **6 powerful tools** via Model Context Protocol:
54
+
55
+ | Tool | Description |
56
+ |------|-------------|
57
+ | `semantic_search` | Natural language code search |
58
+ | `find_similar` | Find similar code patterns |
59
+ | `get_files_context` | Get file context with test associations |
60
+ | `list_functions` | List symbols by pattern |
61
+ | `get_dependents` | Impact analysis (what depends on this?) |
62
+ | `get_complexity` | Tech debt analysis with human-friendly metrics |
63
+
64
+ ### Complexity Metrics
65
+
66
+ Lien tracks code complexity with intuitive outputs:
67
+
68
+ - 🔀 **Test paths** - Cyclomatic complexity as "needs ~X tests for full coverage"
69
+ - 🧠 **Mental load** - Cognitive complexity with nesting penalty
70
+ - ⏱️ **Time to understand** - Halstead effort as readable duration (~2h 30m)
71
+ - 🐛 **Estimated bugs** - Halstead prediction (Volume / 3000)
72
+
49
73
  ## Documentation
50
74
 
51
75
  - **[Installation](https://lien.dev/guide/installation)** - npm, npx, or local setup
52
76
  - **[Getting Started](https://lien.dev/guide/getting-started)** - Step-by-step configuration for Cursor
53
- - **[Configuration](https://lien.dev/guide/configuration)** - Customize indexing, performance tuning
77
+ - **[Configuration](https://lien.dev/guide/configuration)** - Customize indexing, thresholds, performance
54
78
  - **[CLI Commands](https://lien.dev/guide/cli-commands)** - Full command reference
55
- - **[MCP Tools](https://lien.dev/guide/mcp-tools)** - API for semantic search tools
79
+ - **[MCP Tools](https://lien.dev/guide/mcp-tools)** - Complete API reference for all 6 tools
56
80
  - **[How It Works](https://lien.dev/how-it-works)** - Architecture overview
57
81
 
58
82
  ## Supported Languages
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liendev/lien",
3
- "version": "0.19.0",
3
+ "version": "0.19.1",
4
4
  "description": "Local semantic code search for AI assistants via MCP",
5
5
  "type": "module",
6
6
  "bin": {