@xemahq/biome-supply-chain 0.1.1 → 0.1.2
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/LICENSE +1 -1
- package/README.md +7 -1
- package/dist/lib/verdicts.d.ts.map +1 -1
- package/dist/lib/verdicts.js.map +1 -1
- package/package.json +9 -11
- package/src/lib/verdicts.ts +9 -4
package/LICENSE
CHANGED
|
@@ -9,7 +9,7 @@ Parameters
|
|
|
9
9
|
|
|
10
10
|
Licensor: Neuralchowder Inc.
|
|
11
11
|
|
|
12
|
-
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc
|
|
12
|
+
Licensed Work: Xema. The Licensed Work is (c) 2026 Neuralchowder Inc.
|
|
13
13
|
|
|
14
14
|
The Licensed Work includes, without limitation, Xema Core, Xema Runtime,
|
|
15
15
|
Xema Kernel, Xema control plane, Xema application runtime, Xema biome
|
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ This package belongs to Layer 1 — a framework-free runtime SDK utility.
|
|
|
4
4
|
|
|
5
5
|
Shared cosign supply-chain verification for Xema biomes. It centralizes the two
|
|
6
6
|
things that were previously copy-pasted between `biome-fetcher-api` (OCI bundle
|
|
7
|
-
verification) and
|
|
7
|
+
verification) and `xema-store-api`:
|
|
8
8
|
|
|
9
9
|
- the single cosign CLI invocation (`ensureCosignAvailable`,
|
|
10
10
|
`verifyCosignSignature`, `verifyCosignAttestation`, `verifyCosignBlob`), and
|
|
@@ -49,3 +49,9 @@ if (outcome === CosignVerifyOutcome.Verified) {
|
|
|
49
49
|
Artifact resolution (resolving an OCI ref, or fetching + writing a blob to a
|
|
50
50
|
temp file) stays with each consumer; this package owns only the cosign exec and
|
|
51
51
|
the verdict enums.
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
Business Source License 1.1 (BSL-1.1) — source-available; converts to MPL-2.0
|
|
56
|
+
four years after each release. © Xema — [xema.dev](https://xema.dev). See
|
|
57
|
+
the [repository LICENSE](../../../LICENSE).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdicts.d.ts","sourceRoot":"","sources":["../../src/lib/verdicts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verdicts.d.ts","sourceRoot":"","sources":["../../src/lib/verdicts.ts"],"names":[],"mappings":"AAqBA,oBAAY,gBAAgB;IAC1B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,QAAQ,aAAa;CACtB;AAGD,oBAAY,iBAAiB;IAC3B,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,OAAO,YAAY;CACpB;AAGD,oBAAY,eAAe;IACzB,gBAAgB,4BAA4B;IAC5C,gBAAgB,4BAA4B;IAC5C,kBAAkB,yCAAyC;IAC3D,iBAAiB,6BAA6B;IAC9C,iBAAiB,6BAA6B;IAC9C,iBAAiB,6BAA6B;CAC/C;AAOD,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,MAAM,WAAW;CAClB;AAGD,eAAO,MAAM,8BAA8B,EACzC,gCAAyC,CAAC"}
|
package/dist/lib/verdicts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verdicts.js","sourceRoot":"","sources":["../../src/lib/verdicts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"verdicts.js","sourceRoot":"","sources":["../../src/lib/verdicts.ts"],"names":[],"mappings":";;;AAqBA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,mCAAe,CAAA;IACf,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;AACvB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AAGD,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,oCAAe,CAAA;IACf,wCAAmB,CAAA;IACnB,wCAAmB,CAAA;AACrB,CAAC,EAJW,iBAAiB,iCAAjB,iBAAiB,QAI5B;AAGD,IAAY,eAOX;AAPD,WAAY,eAAe;IACzB,+DAA4C,CAAA;IAC5C,+DAA4C,CAAA;IAC5C,8EAA2D,CAAA;IAC3D,iEAA8C,CAAA;IAC9C,iEAA8C,CAAA;IAC9C,iEAA8C,CAAA;AAChD,CAAC,EAPW,eAAe,+BAAf,eAAe,QAO1B;AAOD,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,4CAAqB,CAAA;IACrB,wCAAiB,CAAA;AACnB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAGY,QAAA,8BAA8B,GACzC,gCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/biome-supply-chain",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Shared cosign supply-chain verification for Xema biomes: the single cosign CLI exec + the signature/provenance verdict enums used by biome-fetcher-api (OCI
|
|
5
|
-
"license": "
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Shared cosign supply-chain verification for Xema biomes: the single cosign CLI exec + the signature/provenance verdict enums used by biome-fetcher-api (OCI bundle verification) and xema-store-api. Node-builtins only.",
|
|
5
|
+
"license": "LicenseRef-Xema-BSL-1.1",
|
|
6
6
|
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|
|
7
7
|
"homepage": "https://xema.dev",
|
|
8
8
|
"repository": {
|
|
@@ -33,10 +33,8 @@
|
|
|
33
33
|
"src"
|
|
34
34
|
],
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/node": "
|
|
37
|
-
"
|
|
38
|
-
"ts-jest": "^29.0.0",
|
|
39
|
-
"typescript": "^5.0.0"
|
|
36
|
+
"@types/node": "25.2.3",
|
|
37
|
+
"typescript": "5.9.3"
|
|
40
38
|
},
|
|
41
39
|
"keywords": [
|
|
42
40
|
"xema",
|
|
@@ -48,9 +46,9 @@
|
|
|
48
46
|
"signature-verification"
|
|
49
47
|
],
|
|
50
48
|
"scripts": {
|
|
51
|
-
"build": "tsc",
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
49
|
+
"build": "tsc -p tsconfig.build.json",
|
|
50
|
+
"test": "tsc -p tsconfig.json && node --test \"dist-test/test/**/*.test.js\"",
|
|
51
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
52
|
+
"clean": "rm -rf dist dist-test"
|
|
55
53
|
}
|
|
56
54
|
}
|
package/src/lib/verdicts.ts
CHANGED
|
@@ -2,10 +2,15 @@
|
|
|
2
2
|
* Shared cosign supply-chain verdict vocabulary.
|
|
3
3
|
*
|
|
4
4
|
* This is the single source of truth for the lowercase verdict/error enums
|
|
5
|
-
* that `biome-fetcher-api` (OCI bundle verification)
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
5
|
+
* that `biome-fetcher-api` (OCI bundle verification) previously duplicated
|
|
6
|
+
* locally. They are value-identical to that former copy, so adopting this
|
|
7
|
+
* package is a pure de-duplication with no wire/behaviour change.
|
|
8
|
+
*
|
|
9
|
+
* (`@xemahq/biome-package` was a second consumer until 2026-08-01, when it was
|
|
10
|
+
* deleted: it emitted a 4-layer OCI artifact whose layers carry no
|
|
11
|
+
* `org.opencontainers.image.title`, so the fetcher's `oras pull` skipped every
|
|
12
|
+
* one of them and materialised nothing. `xema biome publish` is now the single
|
|
13
|
+
* biome packager.)
|
|
9
14
|
*
|
|
10
15
|
* NOTE: `xema-store-api` keeps its OWN UPPERCASE `SignatureVerdict` /
|
|
11
16
|
* `ProvenanceVerdict` (persisted + OpenAPI + cross-service event wire); it
|