@cejel/cejel 0.4.0 → 0.4.1

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 CHANGED
@@ -68,7 +68,7 @@ if (-not $expected -or $actual -ne $expected.ToLowerInvariant()) {
68
68
  ```
69
69
 
70
70
  > **Windows signing status:** `cejel-Windows-x86_64.exe` is intentionally unsigned in
71
- > 0.4.0 and may trigger Microsoft SmartScreen. The release build removes Node's inherited
71
+ > 0.4.1 and may trigger Microsoft SmartScreen. The release build removes Node's inherited
72
72
  > signature before SEA injection and fails unless Windows reports the result as `NotSigned`;
73
73
  > it does not ship an invalid signature. Before running it, verify `SHA256SUMS` and the
74
74
  > GitHub build-provenance attestation. Each binary also has an attached SPDX SBOM and an
@@ -91,7 +91,7 @@ docker run --rm --network=none -v "$PWD:/w" -w /w -v "$PWD/cejel:/cejel:ro" debi
91
91
  npx @cejel/cejel@latest .
92
92
  ```
93
93
 
94
- > **Distribution note:** Cejel `0.4.0` is the coordinated release version for npm,
94
+ > **Distribution note:** Cejel `0.4.1` is the coordinated release version for npm,
95
95
  > standalone binaries, Docker/OCI, GitHub Action, Homebrew, and MCP Registry.
96
96
 
97
97
  `npx` can reuse a stale cached package. Force the current npm release with the `@latest`
@@ -140,16 +140,16 @@ gh attestation verify ./cejel-Windows-x86_64.exe -R BargLabs/cejel
140
140
  This is cryptographically signed provenance. It is distinct from Apple Developer ID or
141
141
  Microsoft Authenticode code-signing.
142
142
 
143
- **Docker / OCI.** The current container release is `0.4.0`:
143
+ **Docker / OCI.** The current container release is `0.4.1`:
144
144
 
145
145
  ```bash
146
- docker run --rm -i -v "$PWD:/workspace:ro" ghcr.io/barglabs/cejel:0.4.0
146
+ docker run --rm -i -v "$PWD:/workspace:ro" ghcr.io/barglabs/cejel:0.4.1
147
147
  ```
148
148
 
149
149
  The image defaults to `cejel-mcp` over stdio. To use the CLI instead:
150
150
 
151
151
  ```bash
152
- docker run --rm -v "$PWD:/workspace:ro" --entrypoint cejel ghcr.io/barglabs/cejel:0.4.0 .
152
+ docker run --rm -v "$PWD:/workspace:ro" --entrypoint cejel ghcr.io/barglabs/cejel:0.4.1 .
153
153
  ```
154
154
 
155
155
  The OCI image carries an SBOM, maximum-mode build provenance, and a signed registry
@@ -426,7 +426,7 @@ The OCI image is an alternative when Docker is the preferred execution boundary.
426
426
  the host path with the repository OpenClaw should allow Cejel to read:
427
427
 
428
428
  ```bash
429
- openclaw mcp set cejel-oci '{"command":"docker","args":["run","--rm","-i","-v","/absolute/path/to/repo:/workspace:ro","ghcr.io/barglabs/cejel:0.4.0"]}'
429
+ openclaw mcp set cejel-oci '{"command":"docker","args":["run","--rm","-i","-v","/absolute/path/to/repo:/workspace:ro","ghcr.io/barglabs/cejel:0.4.1"]}'
430
430
  openclaw mcp doctor cejel-oci --probe
431
431
  ```
432
432
 
@@ -4236,12 +4236,12 @@ var WitanContentReadSummarySchema = external_exports.object({
4236
4236
  }
4237
4237
  });
4238
4238
  var WitanRepoRefSchema = external_exports.object({
4239
+ // Retained for backward-compatible verification of reports emitted through v0.4.0.
4240
+ // New reports omit the checkout path so their bytes are independent of run location.
4239
4241
  path: external_exports.string().min(1).max(700).optional(),
4240
4242
  url: external_exports.string().url().optional(),
4241
4243
  headSha: external_exports.string().min(7).max(64).optional()
4242
- }).strict().refine((value) => Boolean(value.path ?? value.url), {
4243
- message: "Witan repo reference must include a path or url."
4244
- });
4244
+ }).strict();
4245
4245
  var WitanReportInputSchema = external_exports.object({
4246
4246
  productSlug: external_exports.string().regex(/^[a-z0-9][a-z0-9-]{1,62}[a-z0-9]$/),
4247
4247
  productDisplayName: external_exports.string().min(1).max(120),
@@ -4875,7 +4875,7 @@ function renderPathEvidenceTarget(evidence) {
4875
4875
  return [pathTarget, hashTarget].filter(Boolean).join(" \xB7 ");
4876
4876
  }
4877
4877
  function renderRepo(report) {
4878
- const repo = report.repo.path ?? report.repo.url ?? "unknown";
4878
+ const repo = report.repo.path ?? report.repo.url ?? report.productSlug;
4879
4879
  return report.repo.headSha ? `${repo} @ ${report.repo.headSha}` : repo;
4880
4880
  }
4881
4881
  function renderVerdict(score) {
@@ -5359,7 +5359,6 @@ function buildWitanInputFromRepoUntracked(options) {
5359
5359
  productSlug: options.productSlug,
5360
5360
  productDisplayName: options.productDisplayName,
5361
5361
  repo: {
5362
- path: options.repoPath,
5363
5362
  ...headSha ? { headSha } : {}
5364
5363
  },
5365
5364
  generatedAt,
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  runCejelScan,
12
12
  serializeWitanReport,
13
13
  verifyWitanAttestationBinding
14
- } from "./chunk-PSYXFAVU.js";
14
+ } from "./chunk-HG5NAFH5.js";
15
15
  import {
16
16
  init_esm_shims
17
17
  } from "./chunk-LZVKQV3R.js";
package/dist/mcp/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  renderWitanBadgeSvg,
10
10
  renderWitanHtmlReport,
11
11
  runCejelScan
12
- } from "../chunk-PSYXFAVU.js";
12
+ } from "../chunk-HG5NAFH5.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __export,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cejel/cejel",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "mcpName": "io.github.BargLabs/cejel",
5
5
  "private": false,
6
6
  "publishConfig": {