@cejel/cejel 0.4.7 → 0.4.9
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 +59 -24
- package/dist/calibration/llm-detector.js +5 -5
- package/dist/{chunk-UYJBSQCV.js → chunk-GKYTLWQK.js} +1 -1
- package/dist/{chunk-OIGCYULH.js → chunk-IHT7B6L7.js} +1 -1
- package/dist/{chunk-EP7YYWEP.js → chunk-IN2LPGGU.js} +2 -2
- package/dist/{chunk-XHAETB7N.js → chunk-IQ42TE5H.js} +1 -1
- package/dist/{chunk-ZNVILRHK.js → chunk-PTZU6G4E.js} +65 -20
- package/dist/{chunk-QTLLASOO.js → chunk-TUUNJP27.js} +473 -172
- package/dist/index.js +7 -5
- package/dist/mcp/index.js +5 -5
- package/dist/packs/d-series/index.js +4 -4
- package/dist/packs/decision-contracts/index.js +3 -3
- package/package.json +12 -15
package/dist/index.js
CHANGED
|
@@ -21,12 +21,12 @@ import {
|
|
|
21
21
|
runCejelScan,
|
|
22
22
|
serializeWitanReport,
|
|
23
23
|
verifyWitanAttestationBinding
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-TUUNJP27.js";
|
|
25
|
+
import "./chunk-IHT7B6L7.js";
|
|
26
|
+
import "./chunk-GKYTLWQK.js";
|
|
27
27
|
import {
|
|
28
28
|
init_esm_shims
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PTZU6G4E.js";
|
|
30
30
|
|
|
31
31
|
// src/index.ts
|
|
32
32
|
init_esm_shims();
|
|
@@ -76,6 +76,7 @@ function renderTerminalCertificate(summary, report) {
|
|
|
76
76
|
lines.splice(
|
|
77
77
|
3,
|
|
78
78
|
0,
|
|
79
|
+
`Scope: ${relyingPartySummary.scope}`,
|
|
79
80
|
`What was examined: ${relyingPartySummary.examined}`,
|
|
80
81
|
`What was established: ${relyingPartySummary.established}`,
|
|
81
82
|
`What was not established: ${relyingPartySummary.notEstablished}`,
|
|
@@ -324,7 +325,8 @@ async function runWitanCli(args, rubricVersion) {
|
|
|
324
325
|
...options.productDisplayName ? { productDisplayName: options.productDisplayName } : {},
|
|
325
326
|
...effectiveRubricVersion ? { rubricVersion: effectiveRubricVersion } : {},
|
|
326
327
|
ingestPatterns: options.ingestPatterns,
|
|
327
|
-
warnOnEmptyIngestMatch: !options.quiet
|
|
328
|
+
warnOnEmptyIngestMatch: !options.quiet,
|
|
329
|
+
toolVersion: cliVersion()
|
|
328
330
|
});
|
|
329
331
|
const attestation = createWitanAttestation(report, {
|
|
330
332
|
toolVersion: cliVersion(),
|
package/dist/mcp/index.js
CHANGED
|
@@ -5,20 +5,20 @@ import {
|
|
|
5
5
|
renderWitanBadgeSvg,
|
|
6
6
|
renderWitanHtmlReport,
|
|
7
7
|
runCejelScan
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-TUUNJP27.js";
|
|
9
|
+
import "../chunk-IHT7B6L7.js";
|
|
10
10
|
import {
|
|
11
11
|
ZodFirstPartyTypeKind,
|
|
12
12
|
ZodOptional,
|
|
13
13
|
external_exports,
|
|
14
14
|
objectType
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-GKYTLWQK.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__export,
|
|
19
19
|
__toESM,
|
|
20
20
|
init_esm_shims
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-PTZU6G4E.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
24
24
|
var require_code = __commonJS({
|
|
@@ -17280,7 +17280,7 @@ function createCejelMcpServer(identity) {
|
|
|
17280
17280
|
async ({ path, format }) => {
|
|
17281
17281
|
let result;
|
|
17282
17282
|
try {
|
|
17283
|
-
result = runCejelScan({ repoPath: resolve(path) });
|
|
17283
|
+
result = runCejelScan({ repoPath: resolve(path), toolVersion: identity.version });
|
|
17284
17284
|
} catch (error2) {
|
|
17285
17285
|
const message = error2 instanceof Error ? error2.message : String(error2);
|
|
17286
17286
|
return {
|
|
@@ -3,18 +3,18 @@ import { createRequire as __cejelCreateRequire } from 'node:module';
|
|
|
3
3
|
const require = __cejelCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
listCejelLlmPackFiles
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-IN2LPGGU.js";
|
|
7
7
|
import {
|
|
8
8
|
execGit
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-IHT7B6L7.js";
|
|
10
10
|
import {
|
|
11
11
|
require_typescript
|
|
12
|
-
} from "../../chunk-
|
|
12
|
+
} from "../../chunk-IQ42TE5H.js";
|
|
13
13
|
import {
|
|
14
14
|
__toESM,
|
|
15
15
|
init_esm_shims,
|
|
16
16
|
readRepoText
|
|
17
|
-
} from "../../chunk-
|
|
17
|
+
} from "../../chunk-PTZU6G4E.js";
|
|
18
18
|
|
|
19
19
|
// src/packs/d-series/index.ts
|
|
20
20
|
init_esm_shims();
|
|
@@ -3,15 +3,15 @@ import { createRequire as __cejelCreateRequire } from 'node:module';
|
|
|
3
3
|
const require = __cejelCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
external_exports
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-GKYTLWQK.js";
|
|
7
7
|
import {
|
|
8
8
|
require_typescript
|
|
9
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-IQ42TE5H.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM,
|
|
12
12
|
init_esm_shims,
|
|
13
13
|
readRepoText
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-PTZU6G4E.js";
|
|
15
15
|
|
|
16
16
|
// src/packs/decision-contracts/index.ts
|
|
17
17
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cejel/cejel",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.9",
|
|
4
4
|
"mcpName": "io.github.BargLabs/cejel",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "git+https://github.com/BargLabs/cejel.git"
|
|
33
33
|
},
|
|
34
|
-
"packageManager": "pnpm@9.0.0",
|
|
35
34
|
"type": "module",
|
|
36
35
|
"bin": {
|
|
37
36
|
"cejel": "dist/index.js",
|
|
@@ -49,6 +48,16 @@
|
|
|
49
48
|
"engines": {
|
|
50
49
|
"node": ">=18"
|
|
51
50
|
},
|
|
51
|
+
"devDependencies": {
|
|
52
|
+
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
53
|
+
"@types/node": "^25.9.1",
|
|
54
|
+
"postject": "^1.0.0-alpha.6",
|
|
55
|
+
"tsup": "^8.0.0",
|
|
56
|
+
"tsx": "^4.0.0",
|
|
57
|
+
"typescript": "^5.5.0",
|
|
58
|
+
"vitest": "^2.0.0",
|
|
59
|
+
"zod": "^3.23.0"
|
|
60
|
+
},
|
|
52
61
|
"scripts": {
|
|
53
62
|
"build": "tsup",
|
|
54
63
|
"build:sea-js": "tsup --config tsup.public-sea.config.ts",
|
|
@@ -62,21 +71,9 @@
|
|
|
62
71
|
"gate:d6": "pnpm run build && node scripts/d6-precision-gate.mjs",
|
|
63
72
|
"validate:distribution": "node scripts/validate-distribution-metadata.mjs",
|
|
64
73
|
"pnpm:devPreinstall": "node scripts/assert-dev-environment.mjs --phase=preinstall",
|
|
65
|
-
"prepublishOnly": "pnpm run build",
|
|
66
|
-
"prepack": "pnpm run build",
|
|
67
74
|
"pretest": "node scripts/assert-dev-environment.mjs --phase=verify",
|
|
68
75
|
"dev": "tsx src/index.ts",
|
|
69
76
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
70
77
|
"test": "vitest run"
|
|
71
|
-
},
|
|
72
|
-
"devDependencies": {
|
|
73
|
-
"@modelcontextprotocol/sdk": "^1.0.0",
|
|
74
|
-
"@types/node": "^25.9.1",
|
|
75
|
-
"postject": "^1.0.0-alpha.6",
|
|
76
|
-
"tsup": "^8.0.0",
|
|
77
|
-
"tsx": "^4.0.0",
|
|
78
|
-
"typescript": "^5.5.0",
|
|
79
|
-
"vitest": "^2.0.0",
|
|
80
|
-
"zod": "^3.23.0"
|
|
81
78
|
}
|
|
82
|
-
}
|
|
79
|
+
}
|