lurqrun 0.0.8 → 0.0.10
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 +189 -75
- package/dist/bin/lurq.js +667 -127
- package/dist/bin/lurq.js.map +1 -1
- package/dist/index.d.ts +31 -3
- package/dist/index.js +667 -127
- package/dist/index.js.map +1 -1
- package/drizzle/0026_awesome_mordo.sql +1 -0
- package/drizzle/0027_charming_ulik.sql +2 -0
- package/drizzle/meta/0026_snapshot.json +2413 -0
- package/drizzle/meta/0027_snapshot.json +2425 -0
- package/drizzle/meta/_journal.json +14 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -208,6 +208,18 @@ interface ScoreBreakdown {
|
|
|
208
208
|
reliability: number;
|
|
209
209
|
efficiency: number | null;
|
|
210
210
|
quality: number | null;
|
|
211
|
+
/**
|
|
212
|
+
* Field evidence (§3.1) — how this package actually fared after agents
|
|
213
|
+
* installed it, from `recommendation_outcomes`. `null` means no reports yet
|
|
214
|
+
* and the weight is redistributed, exactly like `efficiency`.
|
|
215
|
+
*
|
|
216
|
+
* Optional rather than required because it postdates the rows already in
|
|
217
|
+
* `packages.score_breakdown`: a stored breakdown from before this shipped
|
|
218
|
+
* decodes with the key absent, and `undefined` must read as "no evidence",
|
|
219
|
+
* never as 0. Treating it as 0 would drop every un-reported package's health
|
|
220
|
+
* the moment this deployed.
|
|
221
|
+
*/
|
|
222
|
+
field?: number | null;
|
|
211
223
|
}
|
|
212
224
|
/**
|
|
213
225
|
* Structured usage guide generated at ingest (product refinement: lurq explains,
|
|
@@ -284,13 +296,29 @@ interface VerifyOutput {
|
|
|
284
296
|
advisoryCount: number;
|
|
285
297
|
}
|
|
286
298
|
|
|
287
|
-
/** Static identifiers shared across the CLI and MCP server. */
|
|
288
299
|
declare const SERVER_NAME = "lurq";
|
|
289
300
|
/** Published npm package name (the CLI command and MCP nickname stay `lurq`).
|
|
290
301
|
* Keep in sync with package.json "name". */
|
|
291
302
|
declare const PACKAGE_NAME = "lurqrun";
|
|
292
|
-
/**
|
|
293
|
-
|
|
303
|
+
/**
|
|
304
|
+
* Read from package.json rather than restated, so a release bump cannot leave
|
|
305
|
+
* it behind. This used to be a literal under a "keep in sync" comment, and it
|
|
306
|
+
* drifted the moment someone bumped package.json alone: 0.0.9 shipped to npm
|
|
307
|
+
* announcing itself as 0.0.8.
|
|
308
|
+
*
|
|
309
|
+
* That is not only cosmetic. github/workflow.ts defaults `cliSpec()` to this
|
|
310
|
+
* value and bakes it into the `npx lurqrun@<v>` line of every workflow lurq
|
|
311
|
+
* generates, so a stale constant writes users a CI job pinned to a version
|
|
312
|
+
* other than the one that wrote it.
|
|
313
|
+
*
|
|
314
|
+
* The import is resolved at build time — esbuild inlines the JSON, so there is
|
|
315
|
+
* no file read at runtime and no dependence on where the bundle sits on disk.
|
|
316
|
+
* That last part is why this is an import and not a `readFileSync` of a path
|
|
317
|
+
* relative to `import.meta.url`: the public bin lands at dist/bin/lurq.js and
|
|
318
|
+
* the library entry at dist/index.js, so any relative path correct for one is
|
|
319
|
+
* wrong for the other.
|
|
320
|
+
*/
|
|
321
|
+
declare const VERSION: string;
|
|
294
322
|
/** Default hosted endpoint the install wizard writes into agent configs. The
|
|
295
323
|
* marketing site is `lurq.run`; the MCP service lives on the `api.` subdomain.
|
|
296
324
|
* Overridable per-invocation with `lurq install --url …` or `LURQ_ENDPOINT`. */
|