@cejel/cejel 0.1.9 → 0.1.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 +29 -70
- package/dist/{chunk-DVVBWBAA.js → chunk-EFOUXVJE.js} +868 -67
- package/dist/index.js +68 -3586
- package/dist/mcp/index.js +2 -2
- package/package.json +10 -12
package/dist/mcp/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
renderWitanBadgeSvg,
|
|
11
11
|
renderWitanHtmlReport,
|
|
12
12
|
runCejelScan
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-EFOUXVJE.js";
|
|
14
14
|
|
|
15
15
|
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
16
16
|
var require_code = __commonJS({
|
|
@@ -17061,7 +17061,7 @@ function createCejelMcpServer(identity) {
|
|
|
17061
17061
|
});
|
|
17062
17062
|
server.tool(
|
|
17063
17063
|
"scan",
|
|
17064
|
-
`Score a repository's engineering-trust signals (tests, secrets, isolation, claim-vs-reality, CI discipline) with the ${identity.packageName} trust-certificate scan \u2014 the exact same offline, deterministic scoring as running the ${identity.packageName} CLI on the path. Returns the trust cert as JSON: overall + code/process sub-scores (0-4) for a scored repository, or null scores with an
|
|
17064
|
+
`Score a repository's engineering-trust signals (tests, secrets, isolation, claim-vs-reality, CI discipline) with the ${identity.packageName} trust-certificate scan \u2014 the exact same offline, deterministic scoring as running the ${identity.packageName} CLI on the path. Returns the trust cert as JSON: overall + code/process sub-scores (0-4) for a scored repository, or null scores with an abstention reason when Cejel establishes structural source absence or zero measurable free-core criteria; plus the verdict and top findings. No network, no telemetry, no signup. After a scan, the full HTML certificate and SVG badge are readable as the resources ${certificateUri} and ${badgeUri}.`,
|
|
17065
17065
|
{
|
|
17066
17066
|
path: external_exports.string().min(1).describe("Path to the repository to score (absolute, or relative to the server CWD)"),
|
|
17067
17067
|
format: external_exports.enum(["summary", "json"]).optional().describe(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cejel/cejel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"mcpName": "io.github.BargLabs/cejel",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -44,16 +44,6 @@
|
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=18"
|
|
46
46
|
},
|
|
47
|
-
"scripts": {
|
|
48
|
-
"build": "tsup",
|
|
49
|
-
"build:sea-js": "tsup --config tsup.public-sea.config.ts",
|
|
50
|
-
"validate:distribution": "node scripts/validate-distribution-metadata.mjs",
|
|
51
|
-
"prepublishOnly": "pnpm run build",
|
|
52
|
-
"prepack": "pnpm run build",
|
|
53
|
-
"dev": "tsx src/index.ts",
|
|
54
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
55
|
-
"test": "vitest run"
|
|
56
|
-
},
|
|
57
47
|
"devDependencies": {
|
|
58
48
|
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
59
49
|
"@types/node": "^25.9.1",
|
|
@@ -63,5 +53,13 @@
|
|
|
63
53
|
"typescript": "^5.5.0",
|
|
64
54
|
"vitest": "^2.0.0",
|
|
65
55
|
"zod": "^3.23.0"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"build": "tsup",
|
|
59
|
+
"build:sea-js": "tsup --config tsup.public-sea.config.ts",
|
|
60
|
+
"validate:distribution": "node scripts/validate-distribution-metadata.mjs",
|
|
61
|
+
"dev": "tsx src/index.ts",
|
|
62
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
63
|
+
"test": "vitest run"
|
|
66
64
|
}
|
|
67
|
-
}
|
|
65
|
+
}
|