lurqrun 0.1.7 → 0.1.8
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 +312 -148
- package/dist/{auditHandler-JCOJSUYW.js → auditHandler-VWCXSDVO.js} +12 -11
- package/dist/autopilotInit-Q62MX5M6.js +178 -0
- package/dist/bin/lurq.js +235 -83
- package/dist/{browserAuth-B6G27USY.js → browserAuth-J7APSD4P.js} +4 -3
- package/dist/{cache-DKI34SVS.js → cache-AEAKCV4I.js} +2 -2
- package/dist/check-2JTQDQA6.js +2613 -0
- package/dist/{check-2FDGUOV7.js → check-PQSQ2MMA.js} +1 -1
- package/dist/checkUpgrade-5YW77OBL.js +24 -0
- package/dist/{chunk-BCANRN5B.js → chunk-2GAYNIHG.js} +8 -1
- package/dist/{chunk-EA3DP5HG.js → chunk-2O6Z37IT.js} +155 -25
- package/dist/{chunk-J5FZYN4A.js → chunk-2WD4QAH4.js} +1 -1
- package/dist/{chunk-CUP36ND3.js → chunk-3676XOBU.js} +145 -36
- package/dist/chunk-3D2MPGOQ.js +181 -0
- package/dist/{chunk-LYMPYETA.js → chunk-4JHDSVIN.js} +270 -6
- package/dist/chunk-53SG6XWA.js +141 -0
- package/dist/chunk-5ABNDB3I.js +37 -0
- package/dist/chunk-5ALIJFDA.js +114 -0
- package/dist/{chunk-BULZAX2U.js → chunk-64ZF7KO4.js} +55 -38
- package/dist/{chunk-2VMOWSRY.js → chunk-6DM6UQFD.js} +19 -1
- package/dist/{chunk-HWBBVLOT.js → chunk-6L67QMCP.js} +1 -1
- package/dist/{chunk-GPTKSNR6.js → chunk-72Y2FDVS.js} +2 -1
- package/dist/{chunk-B43LCXBM.js → chunk-A3TYI2TF.js} +81 -16
- package/dist/{chunk-IQ4SDKKY.js → chunk-B2UUYRBX.js} +31 -228
- package/dist/{chunk-DB2VF5UD.js → chunk-BJT2LHAR.js} +16 -11
- package/dist/chunk-BM3LF5T6.js +132 -0
- package/dist/{chunk-3N3Q3DSW.js → chunk-BN3NM47Q.js} +8 -8
- package/dist/chunk-D3K6IZVR.js +12845 -0
- package/dist/{chunk-AHBP533R.js → chunk-D3VTZS7V.js} +7 -5
- package/dist/{chunk-UDVNA7EA.js → chunk-DM37MTOO.js} +161 -8
- package/dist/chunk-DONTW3NE.js +171 -0
- package/dist/{chunk-M6NYEXCW.js → chunk-DSROTZ3Z.js} +1 -1
- package/dist/{chunk-4F7ZESPO.js → chunk-EQCXENKZ.js} +3 -5
- package/dist/{chunk-CW5HJ3LX.js → chunk-EYAKM6YN.js} +1 -1
- package/dist/{chunk-VL2E5T2A.js → chunk-FDFPMBCA.js} +6 -3
- package/dist/{chunk-BV32UNLL.js → chunk-FVYFV5HA.js} +2 -2
- package/dist/{chunk-DWAGCNEL.js → chunk-GM5Y555O.js} +36 -103
- package/dist/{chunk-PSX3GIAN.js → chunk-HWFX4BC4.js} +2 -1
- package/dist/chunk-IFNONGRQ.js +603 -0
- package/dist/chunk-J3U2CPSK.js +136 -0
- package/dist/{chunk-Y5GI7RL3.js → chunk-J6XQ7OPZ.js} +9 -1
- package/dist/{chunk-LBFGSSF2.js → chunk-KMV4Y6R3.js} +2 -1
- package/dist/{chunk-L6N4JFW2.js → chunk-KP5ZDDPE.js} +81 -4
- package/dist/{chunk-SJOVFF7B.js → chunk-KYKSZ3XZ.js} +3 -2
- package/dist/chunk-NEZNAPPN.js +41 -0
- package/dist/{chunk-NH5I4KHH.js → chunk-NPVN2THM.js} +1 -5
- package/dist/{chunk-6L3U7DZ5.js → chunk-NYZU5NCW.js} +1 -1
- package/dist/chunk-O4KHCV6I.js +320 -0
- package/dist/{chunk-LO35HLQZ.js → chunk-ONDVTXUO.js} +25 -4
- package/dist/{chunk-4ZYCIMY4.js → chunk-OTJFHESY.js} +25 -4
- package/dist/chunk-P6MIKSPY.js +243 -0
- package/dist/{checkUpgrade-F2WESBPM.js → chunk-QCRBX3LV.js} +72 -10
- package/dist/{chunk-LRD4GBYE.js → chunk-QUIMQ7YL.js} +1 -1
- package/dist/chunk-RG3YLU6E.js +49 -0
- package/dist/{chunk-ST2X2GYN.js → chunk-SHZFOSXC.js} +109 -20
- package/dist/{chunk-CIDWNUAP.js → chunk-SOXFMMXC.js} +8 -2
- package/dist/chunk-TDTYV6QI.js +119 -0
- package/dist/{chunk-FW6BD2NO.js → chunk-TUXQ32WE.js} +457 -121
- package/dist/{chunk-WQ23REYT.js → chunk-VGCDRK3S.js} +1 -1
- package/dist/{chunk-U5AT3TD4.js → chunk-X4W64MHU.js} +1735 -1858
- package/dist/chunk-XBQA4I36.js +92 -0
- package/dist/chunk-XGOV6KV4.js +413 -0
- package/dist/{chunk-OQS4GUSI.js → chunk-XIFQIFSZ.js} +210 -661
- package/dist/{chunk-XBIDMHSK.js → chunk-XLXPVN3Y.js} +2 -34
- package/dist/chunk-ZJMLQ37G.js +90 -0
- package/dist/{client-IRKAMDYZ.js → client-MU4EUDZV.js} +3 -3
- package/dist/{commands-FIL5ET6P.js → commands-UOOTMBKA.js} +145 -33
- package/dist/{compat-R3UTFQ5Q.js → compat-Q5DVPITN.js} +6 -6
- package/dist/constants-DJFOFZ44.js +24 -0
- package/dist/{dashboardIssue-WYYMBFIB.js → dashboardIssue-KBKLQMGC.js} +105 -23
- package/dist/{diff-GZA2774U.js → diff-I4SNUHU3.js} +1 -1
- package/dist/domains-VRT4BRVZ.js +14 -0
- package/dist/env-UN6KGZ7S.js +15 -0
- package/dist/envCheck-KUPTORFQ.js +71 -0
- package/dist/{extract-NKGKLIVT.js → extract-6WG265BL.js} +14 -3
- package/dist/{fetch-QYTUJVG2.js → fetch-PJ3SC32M.js} +4 -4
- package/dist/{firstTouch-QQTJH4QX.js → firstTouch-COJCMOB3.js} +1 -1
- package/dist/fix-3EDWNKW3.js +220 -0
- package/dist/{handlers-GEJAVZDK.js → handlers-4Q37WIFT.js} +19 -17
- package/dist/hook-NA66XJLC.js +412 -0
- package/dist/{http-ETPYMBGD.js → http-25GJ6SKK.js} +2078 -510
- package/dist/{ingestQueue-VKN4KBIF.js → ingestQueue-FSVJC3AA.js} +14 -12
- package/dist/{install-EK3W2COX.js → install-G2HHXYJ2.js} +6 -6
- package/dist/{installSkill-VQJWJVCL.js → installSkill-5TIMYIJZ.js} +21 -3
- package/dist/manifest-ENMIC54B.js +13 -0
- package/dist/{mcp-3JHD5SUZ.js → mcp-PENLL2PK.js} +60 -32
- package/dist/mcpConfig-3LYPRY5Q.js +80 -0
- package/dist/{mcpHandlers-QFN4MCFL.js → mcpHandlers-PO7GENA7.js} +7 -7
- package/dist/{mcpScan-QZHWENIP.js → mcpScan-ULP626TQ.js} +306 -442
- package/dist/{mcpScanWorkflow-JPYCBGC4.js → mcpScanWorkflow-27O44FOE.js} +29 -12
- package/dist/{mcpStack-BYJCZNIV.js → mcpStack-ZNYIFXZ5.js} +1 -1
- package/dist/model-ASMZWLM7.js +214 -0
- package/dist/{packages-THVFMWFP.js → packages-RWF2LXST.js} +3 -5
- package/dist/{plan-V4OEI3J4.js → plan-SDILIDZT.js} +23 -21
- package/dist/{planView-JRXGCG2N.js → planView-ZAKRTGVS.js} +4 -1
- package/dist/{policy-3P6BGRDN.js → policy-JAGNMQJI.js} +5 -5
- package/dist/probe-3IK646WN.js +610 -0
- package/dist/publicUpgrades-WTBGLDIK.js +42 -0
- package/dist/{references-6N7VEPHT.js → references-I6Y4BSRR.js} +3 -1
- package/dist/{release-4U4ABNSJ.js → release-7IU2R4YG.js} +5 -5
- package/dist/{remote-YGCXYI4V.js → remote-FN6225AH.js} +13 -3
- package/dist/rename-OS6JYBZQ.js +204 -0
- package/dist/{reportRuns-CKQQYLY4.js → reportRuns-O4X7ZFTX.js} +15 -2
- package/dist/safeFetch-COERXGFN.js +19 -0
- package/dist/{sandbox-MEZLAODF.js → sandbox-SAPSRKEI.js} +4 -4
- package/dist/sarif-WLVJFJ7U.js +125 -0
- package/dist/server-OLTY3NYT.js +59 -0
- package/dist/{surface-V62GE554.js → surface-7MHE3RL7.js} +18 -16
- package/dist/{surface-YL6O67W3.js → surface-JS2XU3U3.js} +5 -3
- package/dist/{surfaceHandlers-X2IZKA3E.js → surfaceHandlers-4B6TMZ34.js} +5 -5
- package/dist/{typecheck-X7U5ELMR.js → typecheck-NGOKNAJY.js} +23 -9
- package/dist/{uninstall-P7RGBX6G.js → uninstall-I2IJP5JZ.js} +30 -4
- package/dist/{upgrade-NQ5IWFZB.js → upgrade-FS26DJGG.js} +86 -32
- package/dist/{upgradePlan-A4LRKLEG.js → upgradePlan-ZS5IOVMZ.js} +46 -11
- package/dist/upkeepHandler-VFGYXJKB.js +13 -0
- package/dist/{userConfig-Z3GQE776.js → userConfig-ICASHI47.js} +1 -1
- package/dist/{watch-DGFMWUDL.js → watch-OCNEUXG6.js} +24 -34
- package/package.json +3 -2
- package/templates/skill-instructions.md +22 -3
- package/dist/chunk-6AAEVQ7I.js +0 -6336
- package/dist/chunk-I2JUKN6Z.js +0 -24
- package/dist/server-KFUD5X57.js +0 -55
package/README.md
CHANGED
|
@@ -2,195 +2,300 @@
|
|
|
2
2
|
|
|
3
3
|
# lurq
|
|
4
4
|
|
|
5
|
-
**The verification layer for
|
|
5
|
+
**The verification layer for everything your agent installs.**
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
Your coding agent picks npm packages from memory. lurq checks them against the live
|
|
8
|
+
registry, security advisories, shipped type definitions and real co-installs, before
|
|
9
|
+
anything lands in `package.json`.
|
|
9
10
|
|
|
10
11
|
[](https://www.npmjs.com/package/lurqrun)
|
|
11
12
|
[](https://www.npmjs.com/package/lurqrun)
|
|
13
|
+
[](https://registry.modelcontextprotocol.io/v0/servers?search=io.github.jadenryu/lurq)
|
|
12
14
|
[](LICENSE)
|
|
13
15
|
[](https://nodejs.org)
|
|
14
|
-
[](https://modelcontextprotocol.io)
|
|
15
16
|
|
|
16
|
-
[
|
|
17
|
+
[Install](#install) · [For AI agents](#for-ai-agents) · [MCP tools](#mcp-tools) · [CLI](#cli) · [Autopilot](#autopilot) · [Docs](https://www.lurq.run/docs)
|
|
17
18
|
|
|
18
19
|
</div>
|
|
19
20
|
|
|
21
|
+
```text
|
|
22
|
+
$ lurq verify lodahs
|
|
23
|
+
lodahs ✗ do not install 0.0.1-security (latest) without review
|
|
24
|
+
• name closely mimics "lodash" — possible typosquat
|
|
25
|
+
• 1 critical/high advisory(ies) recorded against this package
|
|
26
|
+
risk flags: possible-typosquat-of:lodash, low-downloads, single-maintainer, has-known-advisory
|
|
27
|
+
|
|
28
|
+
$ lurq verify zod
|
|
29
|
+
zod ✓ no supply-chain problems found in 4.6.4 (latest)
|
|
30
|
+
weekly dl: 209.2M confidence: proven advisories: 0
|
|
31
|
+
|
|
32
|
+
$ lurq compat next @auth/core next-auth
|
|
33
|
+
next + @auth/core + next-auth conflict
|
|
34
|
+
peer-deps next-auth needs peer @auth/core@0.34.3, but the stack uses @auth/core@0.41.3
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Real output, not a mockup. Your agent gets the same answers over MCP.
|
|
38
|
+
|
|
20
39
|
---
|
|
21
40
|
|
|
22
|
-
## Why
|
|
41
|
+
## Why your agent needs this
|
|
23
42
|
|
|
24
|
-
|
|
43
|
+
A model's knowledge of npm stops at its training cutoff. The registry doesn't.
|
|
25
44
|
|
|
26
|
-
|
|
45
|
+
- **Invented and typosquatted names.** Agents confidently install packages that don't exist, or that
|
|
46
|
+
exist only because someone registered the misspelling.
|
|
47
|
+
- **APIs that moved.** Of the 38,752 packages lurq tracks, 2,725 shipped a new major version between
|
|
48
|
+
May 1 and September 13, 2026. Code written from memory calls functions that were renamed or removed.
|
|
49
|
+
- **Stacks that don't install together.** Every package can be healthy on its own while the set
|
|
50
|
+
fails on a peer or engine range. That usually surfaces at deploy.
|
|
27
51
|
|
|
28
|
-
lurq
|
|
29
|
-
|
|
30
|
-
|
|
52
|
+
lurq answers from evidence it can show: **47,238 packages scored, 4.2M versions tracked, 34,843 API
|
|
53
|
+
surfaces extracted from shipped code, and 27M co-install pairs**, refreshed daily from npm, GitHub,
|
|
54
|
+
deps.dev and OSV. Every answer carries a `dataAsOf` timestamp.
|
|
31
55
|
|
|
32
|
-
> **Scope:** the JavaScript/TypeScript
|
|
56
|
+
> **Scope:** the JavaScript/TypeScript ecosystem (npm).
|
|
33
57
|
|
|
34
58
|
---
|
|
35
59
|
|
|
36
|
-
##
|
|
60
|
+
## Install
|
|
37
61
|
|
|
38
|
-
|
|
39
|
-
with nothing installed first:
|
|
62
|
+
One command, once per machine. Nothing to install first:
|
|
40
63
|
|
|
41
64
|
```bash
|
|
42
65
|
npx lurqrun
|
|
43
66
|
```
|
|
44
67
|
|
|
45
|
-
|
|
46
|
-
detects your installed assistants and writes a remote MCP entry.
|
|
68
|
+
The setup wizard:
|
|
47
69
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
70
|
+
1. Opens lurq in your browser. Sign in and the key comes back to the terminal by itself.
|
|
71
|
+
2. Detects every coding agent on the machine.
|
|
72
|
+
3. Writes a keyed remote MCP entry for each, in the shape that agent expects.
|
|
73
|
+
4. Installs standing instructions where the agent supports them, so it reaches for lurq instead of
|
|
74
|
+
answering from memory.
|
|
75
|
+
|
|
76
|
+
Restart your agent afterward. **The free plan includes 1,000 hosted calls a month and never asks
|
|
77
|
+
for a card.**
|
|
78
|
+
|
|
79
|
+
**Works with:** Claude Code · Cursor · Windsurf · VS Code / GitHub Copilot · OpenAI Codex CLI ·
|
|
80
|
+
Gemini CLI · Google Antigravity · Kiro
|
|
55
81
|
|
|
56
|
-
**
|
|
82
|
+
**Check it worked:** ask your agent to _"add zod to this project"_. It should call lurq's `verify`
|
|
83
|
+
before installing anything.
|
|
84
|
+
|
|
85
|
+
**Claude Code plugin**, no terminal needed:
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
/plugin marketplace add jadenryu/lurq
|
|
89
|
+
/plugin install lurq@lurq
|
|
90
|
+
```
|
|
57
91
|
|
|
58
|
-
|
|
92
|
+
One-click links for Cursor and VS Code are in the
|
|
93
|
+
[quickstart](https://www.lurq.run/docs/quickstart#one-click-install).
|
|
59
94
|
|
|
60
|
-
The package is published as **`lurqrun
|
|
61
|
-
installed.
|
|
95
|
+
The package is published as **`lurqrun`** (the bare name was taken). The command is `lurq`:
|
|
62
96
|
|
|
63
97
|
```bash
|
|
64
|
-
npm install -g lurqrun
|
|
98
|
+
npm install -g lurqrun
|
|
65
99
|
lurq --version
|
|
66
100
|
```
|
|
67
101
|
|
|
68
|
-
|
|
69
|
-
<summary><b>Supported assistants</b></summary>
|
|
102
|
+
---
|
|
70
103
|
|
|
71
|
-
|
|
72
|
-
Antigravity · Kiro
|
|
104
|
+
## For AI agents
|
|
73
105
|
|
|
74
|
-
|
|
75
|
-
self-host against your own database with `--local`.
|
|
106
|
+
If you are an AI coding agent and your user asked you to set up lurq, follow these steps.
|
|
76
107
|
|
|
77
|
-
|
|
108
|
+
**1. Run setup.**
|
|
78
109
|
|
|
79
|
-
|
|
80
|
-
|
|
110
|
+
```bash
|
|
111
|
+
npx lurqrun setup
|
|
112
|
+
```
|
|
81
113
|
|
|
82
|
-
|
|
114
|
+
In your shell it does not prompt: it prints a one-time sign-in link and exits right away. Give the
|
|
115
|
+
user that link. When they sign in on this computer, lurq stores a key and connects every detected
|
|
116
|
+
coding agent by itself. Never invent a key.
|
|
117
|
+
|
|
118
|
+
**2. Or configure non-interactively** when the user already has a key from
|
|
119
|
+
[lurq.run/dashboard/keys](https://www.lurq.run/dashboard/keys), or on a cloud, SSH or CI machine, where
|
|
120
|
+
a sign-in link on this computer can't work:
|
|
83
121
|
|
|
84
122
|
```bash
|
|
85
|
-
npx lurqrun
|
|
123
|
+
npx lurqrun setup --yes --no-open --api-key <key> --agent <id>
|
|
86
124
|
```
|
|
87
125
|
|
|
88
|
-
|
|
126
|
+
| Agent | `--agent` |
|
|
127
|
+
| ------------------------ | ------------- |
|
|
128
|
+
| Claude Code | `claude-code` |
|
|
129
|
+
| Cursor | `cursor` |
|
|
130
|
+
| Windsurf | `windsurf` |
|
|
131
|
+
| VS Code / GitHub Copilot | `copilot` |
|
|
132
|
+
| OpenAI Codex CLI | `codex` |
|
|
133
|
+
| Gemini CLI | `gemini-cli` |
|
|
134
|
+
| Google Antigravity | `antigravity` |
|
|
135
|
+
| Kiro | `kiro` |
|
|
89
136
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
137
|
+
`--agent all` configures every detected agent. With `--yes`, the key can also come from `LURQ_API_KEY`.
|
|
138
|
+
|
|
139
|
+
Some checks need no key at all. `npx lurqrun check-upgrade --upgrade <package>@<from>..<to>` compares an
|
|
140
|
+
upgrade against the names your code actually imports, locally.
|
|
141
|
+
|
|
142
|
+
**3. Tell the user to restart the agent**, then confirm `lurq` appears in its MCP tool list.
|
|
143
|
+
|
|
144
|
+
<details>
|
|
145
|
+
<summary><b>Writing the MCP config by hand</b></summary>
|
|
146
|
+
|
|
147
|
+
Endpoint: `https://api.lurq.run/mcp` (streamable HTTP), header `Authorization: Bearer <key>`. The
|
|
148
|
+
field names differ by client:
|
|
149
|
+
|
|
150
|
+
**Claude Code** (`~/.claude.json`, under `mcpServers`) and **VS Code** (`mcp.json`, under `servers`):
|
|
151
|
+
|
|
152
|
+
```json
|
|
153
|
+
"lurq": { "type": "http", "url": "https://api.lurq.run/mcp", "headers": { "Authorization": "Bearer <key>" } }
|
|
94
154
|
```
|
|
95
155
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
156
|
+
**Cursor** (`~/.cursor/mcp.json`) and **Kiro** (`~/.kiro/settings/mcp.json`), under `mcpServers`:
|
|
157
|
+
|
|
158
|
+
```json
|
|
159
|
+
"lurq": { "url": "https://api.lurq.run/mcp", "headers": { "Authorization": "Bearer <key>" } }
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Windsurf** (`~/.codeium/windsurf/mcp_config.json`) and **Antigravity** (`~/.gemini/config/mcp_config.json`), under `mcpServers`:
|
|
163
|
+
|
|
164
|
+
```json
|
|
165
|
+
"lurq": { "serverUrl": "https://api.lurq.run/mcp", "headers": { "Authorization": "Bearer <key>" } }
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**Gemini CLI** (`~/.gemini/settings.json`, under `mcpServers`). It must be `httpUrl`, because a
|
|
169
|
+
plain `url` is read as SSE:
|
|
170
|
+
|
|
171
|
+
```json
|
|
172
|
+
"lurq": { "httpUrl": "https://api.lurq.run/mcp", "headers": { "Authorization": "Bearer <key>" } }
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
**Codex** (`~/.codex/config.toml`). Headers go in an inline table:
|
|
176
|
+
|
|
177
|
+
```toml
|
|
178
|
+
[mcp_servers.lurq]
|
|
179
|
+
url = "https://api.lurq.run/mcp"
|
|
180
|
+
http_headers = { Authorization = "Bearer <key>" }
|
|
181
|
+
```
|
|
113
182
|
|
|
114
183
|
</details>
|
|
115
184
|
|
|
185
|
+
### When to call lurq
|
|
186
|
+
|
|
187
|
+
| You are about to… | Call |
|
|
188
|
+
| ----------------------------------------------------- | -------------------------------------------------------------------- |
|
|
189
|
+
| Install or import a package | `verify` with the exact name, first |
|
|
190
|
+
| Choose between libraries | `compare` your candidates, then `verify` the pick |
|
|
191
|
+
| Commit to a set of packages | `compat` with the whole set in one call |
|
|
192
|
+
| Write code against a package whose API may have moved | `usage`, with the version you remember as `knownVersion` |
|
|
193
|
+
| Upgrade, or explain a break | `diff_surface` between the two versions |
|
|
194
|
+
| Add dependencies in a team codebase | `policy`, before choosing |
|
|
195
|
+
| Review a whole project | `audit` with names and versions from `package.json` and the lockfile |
|
|
196
|
+
| Wire an MCP server into an agent | `mcp_surface`, or `mcp_stack` for several |
|
|
197
|
+
| Not sure which tool fits | `capabilities` |
|
|
198
|
+
|
|
199
|
+
When lurq flags something, tell the user what it found and that it came from lurq. An `unknown` or
|
|
200
|
+
`UNVERIFIABLE` result means lurq could not check. It never means the package is clean.
|
|
201
|
+
|
|
202
|
+
Machine-readable docs: [lurq.run/llms.txt](https://www.lurq.run/llms.txt) ·
|
|
203
|
+
[lurq.run/docs/llms-full.txt](https://www.lurq.run/docs/llms-full.txt)
|
|
204
|
+
|
|
116
205
|
---
|
|
117
206
|
|
|
118
207
|
## MCP tools
|
|
119
208
|
|
|
120
|
-
|
|
121
|
-
|
|
209
|
+
Fifteen tools. Responses are compact to save tokens, and package answers carry `dataAsOf`.
|
|
210
|
+
|
|
211
|
+
**Before installing**
|
|
212
|
+
|
|
213
|
+
| Tool | What it answers |
|
|
214
|
+
| ---------- | -------------------------------------------------------------------------------------- |
|
|
215
|
+
| `verify` | Is this package real, healthy and safe? Catches hallucinated and typosquatted names |
|
|
216
|
+
| `evaluate` | The full evidence for one package: scores, advisories, usage guide, sandbox verdict |
|
|
217
|
+
| `compare` | 2–5 packages ranked head-to-head |
|
|
218
|
+
| `policy` | What your team's selection policy refuses, so the agent picks an allowed package first |
|
|
219
|
+
|
|
220
|
+
**Across a stack**
|
|
221
|
+
|
|
222
|
+
| Tool | What it answers |
|
|
223
|
+
| --------- | ------------------------------------------------------------------------------------------------------- |
|
|
224
|
+
| `compat` | Will these packages install together? Returns the exact clashing peer or engine range |
|
|
225
|
+
| `audit` | A whole project's outdated, deprecated and vulnerable dependencies and drifted MCP servers, in one call |
|
|
226
|
+
| `diagram` | A reference-architecture Mermaid diagram for a stack |
|
|
227
|
+
|
|
228
|
+
**Writing code**
|
|
229
|
+
|
|
230
|
+
| Tool | What it answers |
|
|
231
|
+
| ----------------- | ------------------------------------------------------------------------------------------------- |
|
|
232
|
+
| `usage` | A version's real public API from its shipped `.d.ts`, and what changed since the version you know |
|
|
233
|
+
| `resolve_surface` | What a version actually exports at runtime |
|
|
234
|
+
| `diff_surface` | What a version bump adds, removes, renames or changes arity on |
|
|
235
|
+
|
|
236
|
+
**MCP servers**
|
|
122
237
|
|
|
123
|
-
| Tool
|
|
124
|
-
|
|
125
|
-
| `
|
|
126
|
-
| `
|
|
127
|
-
| `
|
|
128
|
-
| `compat` | Will these packages actually install together? (peer/engine constraints) |
|
|
129
|
-
| `diagram` | A reference-architecture Mermaid diagram for a stack |
|
|
130
|
-
| `usage` | A version's *real* public API — symbols and signatures from its shipped `.d.ts` |
|
|
131
|
-
| `resolve_surface` | The exact export surface of one package version |
|
|
132
|
-
| `diff_surface` | What a version bump adds, removes, renames, or changes arity on |
|
|
133
|
-
| `report_outcome` | What happened after a pick shipped — installed clean, broke the build, resolved the task |
|
|
238
|
+
| Tool | What it answers |
|
|
239
|
+
| ------------- | -------------------------------------------------------------------------------------------------------------- |
|
|
240
|
+
| `mcp_surface` | A server's real tool contract, from a live `tools/list` handshake, including what each tool can write or reach |
|
|
241
|
+
| `mcp_drift` | What a server changed between two versions |
|
|
242
|
+
| `mcp_stack` | Do these servers collide in one agent's tool namespace? |
|
|
134
243
|
|
|
135
|
-
|
|
136
|
-
|
|
244
|
+
**About lurq**
|
|
245
|
+
|
|
246
|
+
| Tool | What it answers |
|
|
247
|
+
| ---------------- | --------------------------------------------------------------- |
|
|
248
|
+
| `capabilities` | Which lurq tool answers this situation |
|
|
249
|
+
| `report_outcome` | What happened after a pick shipped, which feeds future rankings |
|
|
250
|
+
|
|
251
|
+
Inputs, outputs and verdict definitions for each: [MCP tools reference](https://www.lurq.run/docs/mcp-tools).
|
|
137
252
|
|
|
138
253
|
---
|
|
139
254
|
|
|
140
255
|
## CLI
|
|
141
256
|
|
|
142
|
-
The same index, scriptable. Every
|
|
257
|
+
The same index, scriptable. Every read command takes `--json`.
|
|
143
258
|
|
|
144
259
|
```bash
|
|
145
|
-
#
|
|
260
|
+
# Before installing
|
|
261
|
+
lurq verify jsonwebtoken
|
|
146
262
|
lurq evaluate zod
|
|
147
263
|
lurq compare date-fns dayjs moment
|
|
148
|
-
lurq verify jsonwebtoken
|
|
149
|
-
|
|
150
|
-
# API surfaces
|
|
151
|
-
lurq usage zod --known 3.22.4 # what changed since the version you know
|
|
152
|
-
lurq versions react # version timeline (self-hosted index only)
|
|
153
264
|
|
|
154
|
-
# Stacks
|
|
155
|
-
lurq compat next react react-dom
|
|
265
|
+
# Stacks and projects
|
|
266
|
+
lurq compat next react react-dom
|
|
267
|
+
lurq audit . # every dependency and MCP server in the project
|
|
156
268
|
|
|
157
|
-
#
|
|
269
|
+
# APIs and upgrades
|
|
270
|
+
lurq usage zod --known 3.22.4 # what changed since the version you know
|
|
158
271
|
lurq upgrade-plan . # what's behind, and what each upgrade removes
|
|
159
272
|
lurq check-upgrade . --plan lurq-plan.json --exit-code
|
|
160
273
|
|
|
161
|
-
#
|
|
274
|
+
# Publishing your own package
|
|
162
275
|
lurq check-release # is the version you're about to publish honest?
|
|
163
|
-
lurq check-api --against origin/main # does this break
|
|
276
|
+
lurq check-api --against origin/main # does this break your API's callers?
|
|
164
277
|
|
|
165
|
-
#
|
|
166
|
-
lurq
|
|
278
|
+
# MCP servers
|
|
279
|
+
lurq mcp-scan # read the servers you have configured, record what changed
|
|
167
280
|
|
|
168
|
-
#
|
|
169
|
-
lurq
|
|
170
|
-
lurq
|
|
171
|
-
lurq uninstall # take lurq back out of every agent config
|
|
281
|
+
# Team policy
|
|
282
|
+
lurq policy pull policy.json # keep the selection policy in a reviewed file
|
|
283
|
+
lurq policy push policy.json # and apply it from CI (needs a policy:write key)
|
|
172
284
|
|
|
173
|
-
#
|
|
174
|
-
lurq
|
|
285
|
+
# Finding your way
|
|
286
|
+
lurq can "will this upgrade break my code" # which capability answers this?
|
|
175
287
|
```
|
|
176
288
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
The published CLI installs only what the commands above need. Self-hosting (`lurq serve`, `lurq serve-http`, or a
|
|
180
|
-
local `DATABASE_URL` index) also needs the server packages (Postgres driver, Express, Redis client, and so on); the
|
|
181
|
-
first command that needs them prints the exact `npm install` line.
|
|
289
|
+
Full reference: [CLI docs](https://www.lurq.run/docs/cli).
|
|
182
290
|
|
|
183
291
|
---
|
|
184
292
|
|
|
185
293
|
## Autopilot
|
|
186
294
|
|
|
187
|
-
lurq
|
|
188
|
-
upgrade breaks.**
|
|
189
|
-
|
|
190
|
-
lurq can open PRs addressing the symbol-level API surface diff
|
|
191
|
-
and resolve with what calls your code references.
|
|
295
|
+
lurq keeps a repository's dependencies current, and names the code an upgrade breaks before it merges.
|
|
192
296
|
|
|
193
|
-
|
|
297
|
+
The check reads the symbol-level API diff between versions and matches it against what your code
|
|
298
|
+
actually references. **It needs no tests.**
|
|
194
299
|
|
|
195
300
|
```
|
|
196
301
|
blocking a referenced symbol or deep import disappears,
|
|
@@ -201,70 +306,129 @@ ok nothing referenced is affected
|
|
|
201
306
|
unverified could not be established → never counted as safe
|
|
202
307
|
```
|
|
203
308
|
|
|
204
|
-
|
|
309
|
+
| Step | Runs on | Needs |
|
|
310
|
+
| ----------------------------------------------------------------------------------------------------- | ----------- | -------------------- |
|
|
311
|
+
| 1. `lurq upgrade-plan`: drift, plus what each upgrade removes | your runner | lurq key |
|
|
312
|
+
| 2. `lurq check-upgrade`: matched against your source, with `file:line` | your runner | nothing |
|
|
313
|
+
| 3. `lurq fix`: applies what the package itself proves — renames, and the range bump in every manifest | your runner | nothing |
|
|
314
|
+
| 4. `claude-code-action`: migrates what a rule cannot, and runs your tests | your runner | Anthropic credential |
|
|
315
|
+
| 5. `create-pull-request`: one branch, one PR | your runner | `GITHUB_TOKEN` |
|
|
316
|
+
| 6. Outcomes post back: names and counts, never source | lurq | nothing |
|
|
317
|
+
|
|
318
|
+
**Three modes, and editing is opt-in.** The workflow starts in `comment`: it plans, checks, writes the
|
|
319
|
+
brief to the run summary, and changes nothing. `fix` opens a pull request containing only what the
|
|
320
|
+
package itself proves — renamed call sites, and the range bump in every manifest — so it needs **no
|
|
321
|
+
Anthropic credential**, and it is what a newly armed repo gets. `pr` is `fix` plus the agent, for the
|
|
322
|
+
changes a rule cannot make. Step 4 above is the only one that needs a model, so only `pr` does.
|
|
323
|
+
|
|
324
|
+
The dashboard setting governs repos that already installed the workflow: each run reads the mode from
|
|
325
|
+
the plan response rather than from the committed file.
|
|
326
|
+
|
|
327
|
+
Cadence follows scope — weekly for the scopes that track breakage, since majors arrive slowly enough
|
|
328
|
+
that a daily run mostly reports nothing new; daily for a repo set to advisories-only, because weekly
|
|
329
|
+
can mean seven days sitting on a known CVE.
|
|
330
|
+
|
|
331
|
+
**Trust model.** lurq's GitHub App holds `Contents: read-only` and `Actions: write`. It can read your
|
|
332
|
+
manifests and _start_ the workflow you committed — it cannot write a byte to your repository, change
|
|
333
|
+
this file, or set a repository variable. Every write is made by the workflow itself using your own
|
|
334
|
+
ephemeral `GITHUB_TOKEN`, bounded by the `permissions:` block in the file you control. The agent's allowlist is
|
|
335
|
+
`Read,Edit,Write,Bash(<pkg-manager>:*)`, so it edits files but never touches version control.
|
|
336
|
+
Removing it is `git rm .github/workflows/lurq-upgrade.yml`.
|
|
205
337
|
|
|
206
|
-
|
|
207
|
-
|---|---|---|
|
|
208
|
-
| 1. `lurq upgrade-plan` — drift + what each upgrade removes | your runner | lurq key |
|
|
209
|
-
| 2. `lurq check-upgrade` — intersect with your source, `file:line` | your runner | nothing |
|
|
210
|
-
| 3. `claude-code-action` — rewrite the named call sites, run your tests | your runner | Anthropic credential |
|
|
211
|
-
| 4. `create-pull-request` — one branch, one PR | your runner | `GITHUB_TOKEN` |
|
|
212
|
-
| 5. Outcomes post back — names and counts, never source | lurq | — |
|
|
213
|
-
|
|
214
|
-
Steps 1–2 are the default and are also available on the web app through project autopilot. The generated workflow starts in `comment` mode: it
|
|
215
|
-
plans, checks, and writes the brief to the run summary. Editing
|
|
216
|
-
is opt-in per repository. Click the policy tab to set global security parameters.
|
|
338
|
+
---
|
|
217
339
|
|
|
218
|
-
|
|
340
|
+
## What leaves your machine
|
|
219
341
|
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
limited to the `permissions:` block in your committed file.
|
|
224
|
-
- **The agent cannot touch version control.** Its allowlist is
|
|
225
|
-
`Read,Edit,Write,Bash(<pkg-manager>:*)`. Your agent can only edit
|
|
226
|
-
files.
|
|
227
|
-
- **Revoking it is `git rm .github/workflows/lurq-upgrade.yml`.**
|
|
342
|
+
Package names and versions, never your source code. `audit` receives the inventory your agent reads
|
|
343
|
+
locally, `check-upgrade` matches symbols against your code on your own runner, and outcomes report
|
|
344
|
+
names and counts only.
|
|
228
345
|
|
|
229
|
-
|
|
346
|
+
`lurq mcp-scan` is the one exception worth knowing: by default it records what your MCP servers
|
|
347
|
+
expose (tool names, descriptions and parameters, with secrets redacted) to your account, so it can
|
|
348
|
+
tell you what changed. `--no-upload` keeps the scan on your machine.
|
|
230
349
|
|
|
231
350
|
---
|
|
232
351
|
|
|
233
352
|
## Where the evidence comes from
|
|
234
353
|
|
|
235
|
-
**Readable
|
|
236
|
-
|
|
354
|
+
**Readable:** npm, GitHub, deps.dev and OSV, re-synced daily. Downloads, release cadence,
|
|
355
|
+
maintenance, advisories, deprecations, license and bundle cost.
|
|
237
356
|
|
|
238
|
-
**Executed
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
that an entire stack holds together.
|
|
357
|
+
**Executed:** an isolated sandbox installs and imports package versions and records the results in a
|
|
358
|
+
compatibility matrix. `compat` reads those edges alongside declared peer and engine ranges, which is
|
|
359
|
+
why lurq can say whether a whole stack holds together.
|
|
242
360
|
|
|
243
|
-
|
|
361
|
+
**Ranking is deterministic and public.** No model sits in the scoring path:
|
|
362
|
+
|
|
363
|
+
```
|
|
364
|
+
health = maintenance 0.35 · adoption 0.30 · reliability 0.25 · efficiency 0.10
|
|
365
|
+
quality = types · tests · docs · changelog · dep count · license · provenance
|
|
366
|
+
composite = blend at a single tunable λ (default 0.35)
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
Every weight lives in [`src/scoring/weights.ts`](src/scoring/weights.ts) and prints with `lurq weights`.
|
|
244
370
|
|
|
245
371
|
---
|
|
246
372
|
|
|
247
|
-
##
|
|
373
|
+
## Plans
|
|
248
374
|
|
|
249
|
-
|
|
250
|
-
|
|
375
|
+
| Plan | Price | Hosted calls |
|
|
376
|
+
| -------- | --------------------------- | ----------------------------------- |
|
|
377
|
+
| Free | $0 | 1,000 a month |
|
|
378
|
+
| Pro | $15/mo | 10,000 a month |
|
|
379
|
+
| Team | $25/seat/mo, 3-seat minimum | 15,000 per seat, pooled |
|
|
380
|
+
| Business | from $1,000/mo | Uncapped, with SSO and audit export |
|
|
251
381
|
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
382
|
+
Past the limit, calls slow to 20 a day rather than stopping. The CLI run against your own database
|
|
383
|
+
is never metered. Details: [pricing](https://www.lurq.run/#pricing).
|
|
384
|
+
|
|
385
|
+
---
|
|
386
|
+
|
|
387
|
+
<details>
|
|
388
|
+
<summary><b>Uninstall, reinstall, and where setup writes</b></summary>
|
|
389
|
+
|
|
390
|
+
Setup is safe to re-run: `npx lurqrun` again overwrites the previous entries.
|
|
391
|
+
|
|
392
|
+
```bash
|
|
393
|
+
lurq uninstall # MCP entries, agent instructions, the stored key
|
|
394
|
+
lurq uninstall --agent cursor # just one agent
|
|
395
|
+
npm uninstall -g lurqrun # then remove the `lurq` command
|
|
256
396
|
```
|
|
257
397
|
|
|
258
|
-
|
|
398
|
+
It lists what it will remove and asks first (`--yes` skips the question).
|
|
399
|
+
|
|
400
|
+
| Agent | MCP config | Instructions |
|
|
401
|
+
| ----------------- | ------------------------------------- | ---------------------------------------------- |
|
|
402
|
+
| Claude Code | `~/.claude.json` | `~/.claude/skills/lurq/SKILL.md` |
|
|
403
|
+
| Cursor | `~/.cursor/mcp.json` | none (tool descriptions carry the guidance) |
|
|
404
|
+
| Windsurf | `~/.codeium/windsurf/mcp_config.json` | `~/.codeium/windsurf/memories/global_rules.md` |
|
|
405
|
+
| VS Code / Copilot | `<VS Code user dir>/mcp.json` | none |
|
|
406
|
+
| Codex | `~/.codex/config.toml` | `~/.codex/AGENTS.md` |
|
|
407
|
+
| Gemini CLI | `~/.gemini/settings.json` | `~/.gemini/GEMINI.md` |
|
|
408
|
+
| Antigravity | `~/.gemini/config/mcp_config.json` | `~/.gemini/GEMINI.md` |
|
|
409
|
+
| Kiro | `~/.kiro/settings/mcp.json` | `~/.kiro/steering/lurq.md` |
|
|
410
|
+
|
|
411
|
+
`lurq logout` only clears the CLI's stored key. A copy stays in each MCP entry until `lurq uninstall`
|
|
412
|
+
removes it, and the key keeps working until you revoke it in
|
|
413
|
+
[the dashboard](https://www.lurq.run/dashboard/keys).
|
|
259
414
|
|
|
260
|
-
|
|
261
|
-
|
|
415
|
+
</details>
|
|
416
|
+
|
|
417
|
+
<details>
|
|
418
|
+
<summary><b>Self-hosting</b></summary>
|
|
419
|
+
|
|
420
|
+
lurq runs against your own Postgres too: `lurq serve` (stdio MCP) or `lurq serve-http` (a
|
|
421
|
+
rate-limited HTTP service), with `DATABASE_URL` set. The published CLI installs only what hosted use
|
|
422
|
+
needs; the first self-hosting command prints the exact `npm install` line for the server packages.
|
|
423
|
+
Guide: [self-hosting](https://www.lurq.run/docs/self-hosting).
|
|
424
|
+
|
|
425
|
+
</details>
|
|
262
426
|
|
|
263
427
|
---
|
|
264
428
|
|
|
265
429
|
## Contact
|
|
266
430
|
|
|
267
|
-
Inquiries, partnerships
|
|
431
|
+
Inquiries, partnerships or proposals: **jadenryu@lurq.run**
|
|
268
432
|
|
|
269
433
|
## License
|
|
270
434
|
|
|
@@ -1,22 +1,23 @@
|
|
|
1
1
|
import { createRequire as __lurqCreateRequire } from 'node:module'; const require = __lurqCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
handleAudit
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-VL2E5T2A.js";
|
|
4
|
+
} from "./chunk-B2UUYRBX.js";
|
|
5
|
+
import "./chunk-FDFPMBCA.js";
|
|
6
|
+
import "./chunk-BJT2LHAR.js";
|
|
7
|
+
import "./chunk-P6MIKSPY.js";
|
|
9
8
|
import "./chunk-6EQ3ARXA.js";
|
|
10
9
|
import "./chunk-SHCEBP3J.js";
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-LEGPB7DO.js";
|
|
11
|
+
import "./chunk-Q5VPF4WI.js";
|
|
12
12
|
import "./chunk-QSL6QN5X.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QUIMQ7YL.js";
|
|
14
|
+
import "./chunk-ONDVTXUO.js";
|
|
15
|
+
import "./chunk-4JHDSVIN.js";
|
|
16
|
+
import "./chunk-KYKSZ3XZ.js";
|
|
17
|
+
import "./chunk-6L67QMCP.js";
|
|
17
18
|
import "./chunk-3GHJR7XR.js";
|
|
18
19
|
import "./chunk-MYGSLK44.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-72Y2FDVS.js";
|
|
20
21
|
import "./chunk-I3M2KJXB.js";
|
|
21
22
|
export {
|
|
22
23
|
handleAudit
|