@chappibunny/repolens 1.14.2 → 1.14.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  All notable changes to RepoLens will be documented in this file.
4
4
 
5
+ ## 1.14.3
6
+
7
+ ### Docs
8
+
9
+ - README "Use with Cline" section and `llms-install.md` for agent-driven installs
10
+ - Note on `min-release-age` / stale npx cache resolving a pre-MCP release
11
+ - Verified end to end from a clean npm cache with the MCP SDK stdio client: initialize, tools/list, all six tools on expressjs/express, error cases, stdout carries only JSON-RPC
12
+
5
13
  ## 1.14.2
6
14
 
7
15
  ### Discoverability
package/README.md CHANGED
@@ -192,7 +192,7 @@ Step-by-step setup for publishers, AI features, Notion, Confluence, GitHub Wiki,
192
192
 
193
193
  ## MCP server
194
194
 
195
- Cursor, Claude Desktop, Claude Code, and VS Code Copilot can call RepoLens over stdio. The server is read-only except for `generate_docs`, which writes Markdown inside the workspace. Deterministic mode does not use the network. Paths cannot leave the workspace root.
195
+ Cursor, Cline, Claude Desktop, Claude Code, and VS Code Copilot can call RepoLens over stdio. The server is read-only except for `generate_docs`, which writes Markdown inside the workspace. Deterministic mode does not use the network. Paths cannot leave the workspace root.
196
196
 
197
197
  [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=repolens&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjaGFwcGlidW5ueS9yZXBvbGVucyIsIm1jcCJdfQ%3D%3D)
198
198
  [![Install in VS Code](https://img.shields.io/badge/VS_Code-Install_MCP_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=repolens&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40chappibunny%2Frepolens%22%2C%22mcp%22%5D%7D)
@@ -210,9 +210,21 @@ Copy-paste configs for Cursor, Claude Desktop, and VS Code are in [docs/MCP.md](
210
210
  }
211
211
  ```
212
212
 
213
+ ### Use with Cline
214
+
215
+ Open Cline → MCP Servers → Installed → Configure MCP Servers, paste this into `cline_mcp_settings.json`, and save:
216
+
217
+ ```json
218
+ {"mcpServers":{"repolens":{"command":"npx","args":["-y","@chappibunny/repolens","mcp"]}}}
219
+ ```
220
+
221
+ Cline starts the server with no install step (Node 18+ required). It reads the directory the server starts in. To point it at a specific repo, add `"env": {"REPOLENS_WORKSPACE": "/absolute/path/to/repo"}`. Six tools appear: `get_system_overview`, `list_modules`, `get_api_surface`, `get_dependency_graph`, `get_architecture_diff`, `generate_docs`. Step-by-step agent instructions are in [llms-install.md](llms-install.md).
222
+
223
+ If `npx` reports `Unknown command: mcp`, an `.npmrc` with `min-release-age` (or an old npx cache) resolved a release older than 1.14.0. Use `npx -y @chappibunny/repolens@latest mcp` or clear `~/.npm/_npx`.
224
+
213
225
  ## GitHub Action
214
226
 
215
- `action.yml` is a composite action named **RepoLens Architecture Docs**. It runs the published npm package (`npx --yes @chappibunny/repolens@1.14.1`). Inputs are `command` (`publish`, `demo`, or `doctor`), `config`, `node-version`, `pr-comment`, and `version`.
227
+ `action.yml` is a composite action named **RepoLens Architecture Docs**. It runs the published npm package (`npx --yes @chappibunny/repolens@1.14.3`). Inputs are `command` (`publish`, `demo`, or `doctor`), `config`, `node-version`, `pr-comment`, and `version`.
216
228
 
217
229
  ```yaml
218
230
  name: Architecture docs
@@ -228,7 +240,7 @@ jobs:
228
240
  runs-on: ubuntu-latest
229
241
  steps:
230
242
  - uses: actions/checkout@9f698171ed81b15d1823a05fc7211befd50c8ae0 # v6.0.3
231
- - uses: CHAPIBUNNY/repolens@v1.14.1
243
+ - uses: CHAPIBUNNY/repolens@v1.14.3
232
244
  with:
233
245
  command: publish
234
246
  config: .repolens.yml
@@ -236,7 +248,7 @@ jobs:
236
248
  pr-comment: ${{ github.event_name == 'pull_request' && 'true' || 'false' }}
237
249
  ```
238
250
 
239
- The action is listed on the GitHub Marketplace only after a release is published with **Publish this Action to the GitHub Marketplace** checked. Those steps are in [docs/RELEASE.md](docs/RELEASE.md). The tag `v1.14.1` has to exist before `uses: CHAPIBUNNY/repolens@v1.14.1` resolves, and `@chappibunny/repolens@1.14.1` has to be on npm before the action can install it.
251
+ The action is listed on the GitHub Marketplace only after a release is published with **Publish this Action to the GitHub Marketplace** checked. Those steps are in [docs/RELEASE.md](docs/RELEASE.md). The tag `v1.14.1` has to exist before `uses: CHAPIBUNNY/repolens@v1.14.3` resolves, and `@chappibunny/repolens@1.14.3` has to be on npm before the action can install it.
240
252
 
241
253
  ## Add the badge to your repo
242
254
 
@@ -256,7 +268,7 @@ Generated docs also link to the [gallery](https://chapibunny.github.io/repolens/
256
268
 
257
269
  Published system maps are Unicode diagrams drawn from import edges. RepoLens does not emit Mermaid.
258
270
 
259
- The publisher set is Notion, Confluence, GitHub Wiki, Obsidian, and Markdown (`src/publishers`, 7 files). 1.14.0 adds the MCP server, the Marketplace action, and the docs badge. 1.14.1 sets the registry name to `io.github.CHAPIBUNNY/repolens`. 1.14.2 adds the gallery link to the badge line, `glama.json`, and `CITATION.cff`. Layout and counts are in [ARCHITECTURE.md](docs/ARCHITECTURE.md).
271
+ The publisher set is Notion, Confluence, GitHub Wiki, Obsidian, and Markdown (`src/publishers`, 7 files). 1.14.0 adds the MCP server, the Marketplace action, and the docs badge. 1.14.1 sets the registry name to `io.github.CHAPIBUNNY/repolens`. 1.14.2 adds the gallery link to the badge line, `glama.json`, and `CITATION.cff`. 1.14.3 adds Cline setup docs and `llms-install.md`. Layout and counts are in [ARCHITECTURE.md](docs/ARCHITECTURE.md).
260
272
 
261
273
  ### System Overview (Technical Profile)
262
274
 
@@ -0,0 +1,13 @@
1
+ # Installing the RepoLens MCP server (for AI agents)
2
+
3
+ 1. Requires Node.js 18 or newer. Nothing else needs to be installed; `npx` fetches the package.
4
+ 2. Add this to the MCP settings file (Cline: `cline_mcp_settings.json`):
5
+
6
+ ```json
7
+ {"mcpServers":{"repolens":{"command":"npx","args":["-y","@chappibunny/repolens","mcp"]}}}
8
+ ```
9
+
10
+ 3. Optional: set `"env": {"REPOLENS_WORKSPACE": "/absolute/path/to/repo"}` to choose the repository. Otherwise the server reads its working directory.
11
+ 4. No API keys are needed. Tools run deterministically and offline unless `generate_docs` is called with `deterministic: false`.
12
+ 5. Verify: the server should list six tools — `get_system_overview`, `list_modules`, `get_api_surface`, `get_dependency_graph`, `get_architecture_diff`, `generate_docs`. Call `get_system_overview` with no arguments.
13
+ 6. If you see `Unknown command: mcp`, an older release was resolved (often an `.npmrc` with `min-release-age`). Use `@chappibunny/repolens@latest`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chappibunny/repolens",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
4
4
  "mcpName": "io.github.CHAPIBUNNY/repolens",
5
5
  "description": "AI-assisted documentation intelligence system for technical and non-technical audiences",
6
6
  "license": "MIT",
@@ -22,7 +22,8 @@
22
22
  "src",
23
23
  "package.json",
24
24
  "README.md",
25
- "CHANGELOG.md"
25
+ "CHANGELOG.md",
26
+ "llms-install.md"
26
27
  ],
27
28
  "keywords": [
28
29
  "cli",