@ziffer-io/types 0.1.0
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 +120 -0
- package/README.md +58 -0
- package/THIRD-PARTY-NOTICES +18 -0
- package/dist/generated.d.ts +1696 -0
- package/dist/generated.d.ts.map +1 -0
- package/dist/generated.js +193 -0
- package/dist/generated.js.map +1 -0
- package/dist/generated_wire.d.ts +4466 -0
- package/dist/generated_wire.d.ts.map +1 -0
- package/dist/generated_wire.js +20 -0
- package/dist/generated_wire.js.map +1 -0
- package/dist/index.d.ts +58 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +61 -0
- package/dist/index.js.map +1 -0
- package/package.json +52 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated_wire.d.ts","sourceRoot":"","sources":["../src/generated_wire.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE/G;;;;;;GAMG;AACH,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,WAAW,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,WAAW,CAAC;AAEnD;;;;;;;;GAQG;AACH,MAAM,MAAM,eAAe,GAAG,iBAAiB,GAAG,UAAU,GAAG,qBAAqB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnI;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,eAAe,GAAG,eAAe,GAAG,SAAS,CAAC;AAEjG;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC;AAEjC;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsHG;AACH,MAAM,MAAM,WAAW,GACnB,iBAAiB,GACjB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// @ziffer-io/types build-time copy — DO NOT EDIT.
|
|
2
|
+
// Regenerated by packages/types/scripts/vendor-engine-types.mjs on every build.
|
|
3
|
+
// source: packages/acp-types/src/generated_wire.ts @ fed43d10b427e0a4435a8f04e474334d88a5aa6e (the engine pin in Cargo.toml)
|
|
4
|
+
// @generated by tools/codegen.sh from spec/schemas/wire/ — DO NOT EDIT.
|
|
5
|
+
//
|
|
6
|
+
// Regenerate with `./tools/codegen.sh`. `./tools/codegen.sh --check` asserts
|
|
7
|
+
// this file still matches the schemas and runs from tools/selftest.sh.
|
|
8
|
+
//
|
|
9
|
+
// DR-2: services/notifier and services/approval may both depend on this
|
|
10
|
+
// package and on nothing else in common. These are the wire format.
|
|
11
|
+
// Rendering is not — no shared template engine, formatter, sanitiser or
|
|
12
|
+
// component library. Without that carve-out the first shared formatDate()
|
|
13
|
+
// is technically compliant and voids the property.
|
|
14
|
+
//
|
|
15
|
+
// THE WIRE ROOT: message objects, re-exported by `src/index.ts` under the
|
|
16
|
+
// `wire` namespace so a wire type and a bundle type of the same name cannot
|
|
17
|
+
// collide. Signed policy and a transmitted claim are never interchangeable
|
|
18
|
+
// (RES-8), and the namespace is where a reader sees which one they hold.
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=generated_wire.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated_wire.js","sourceRoot":"","sources":["../src/generated_wire.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,gFAAgF;AAChF,6HAA6H;AAC7H,wEAAwE;AACxE,EAAE;AACF,6EAA6E;AAC7E,uEAAuE;AACvE,EAAE;AACF,wEAAwE;AACxE,oEAAoE;AACpE,wEAAwE;AACxE,0EAA0E;AAC1E,mDAAmD;AACnD,EAAE;AACF,0EAA0E;AAC1E,4EAA4E;AAC5E,2EAA2E;AAC3E,yEAAyE"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Wire types for ACP.
|
|
3
|
+
*
|
|
4
|
+
* The types themselves are GENERATED from `spec/schemas/bundle/*.schema.json`
|
|
5
|
+
* by `tools/codegen.sh` and live in `./generated.js`, which is re-exported
|
|
6
|
+
* below. `spec/` is the only normative source, so a hand-written wire type is a
|
|
7
|
+
* second definition of an object the specification already defines — and two
|
|
8
|
+
* definitions of one object is the encoding-split defect at the source level.
|
|
9
|
+
*
|
|
10
|
+
* The generated output is committed so the repository stays clonable and
|
|
11
|
+
* buildable without a codegen toolchain. `./tools/codegen.sh --check`
|
|
12
|
+
* regenerates and compares, and runs from `tools/selftest.sh`: a generator
|
|
13
|
+
* whose output nobody re-derives is a generator that has silently stopped
|
|
14
|
+
* describing its source.
|
|
15
|
+
*
|
|
16
|
+
* **Do not hand-edit `generated.ts`.** The drift check exists to catch that
|
|
17
|
+
* edit, and it will.
|
|
18
|
+
*
|
|
19
|
+
* This file is hand-written and holds only what is true of the PACKAGE rather
|
|
20
|
+
* than of the schemas.
|
|
21
|
+
*
|
|
22
|
+
* Note on DR-2 independence: `services/notifier` and `services/approval` are
|
|
23
|
+
* both permitted to depend on this package, and on nothing else in common.
|
|
24
|
+
* These are the wire format. Rendering is not — no shared template engine,
|
|
25
|
+
* formatter, sanitiser or component library. Without that carve-out the first
|
|
26
|
+
* shared `formatDate()` is technically compliant and voids the property.
|
|
27
|
+
*
|
|
28
|
+
* ## What used to be here, and why it was wrong (ACP-51)
|
|
29
|
+
*
|
|
30
|
+
* A hand-written `RiskTier = 'LOW' | 'MEDIUM' | 'HIGH'`, and beside it
|
|
31
|
+
*
|
|
32
|
+
* export const UNCLASSIFIED_RESOURCE_TIER: RiskTier = 'HIGH';
|
|
33
|
+
*
|
|
34
|
+
* RK-1 says a resource absent from the signed floors table is **T3**. `'HIGH'`
|
|
35
|
+
* is a risk level, not a tier — the schemas define two ordered domains over
|
|
36
|
+
* different subjects, and §8.4 composes both with `max`, which is exactly why
|
|
37
|
+
* one type served for both until someone read the schemas as a producer of
|
|
38
|
+
* types. The Python reference had it right all along
|
|
39
|
+
* (`floors.get(resource, "T3")`).
|
|
40
|
+
*
|
|
41
|
+
* Both ladders are now generated, separately, from the `x-acp-absent` and
|
|
42
|
+
* `x-acp-ordered` annotations on the schemas. The fail-safe value is not
|
|
43
|
+
* restated here: `floorsLookup()` in `./generated.js` returns it, and there is
|
|
44
|
+
* no other way to read a floor.
|
|
45
|
+
*/
|
|
46
|
+
export * from './generated.js';
|
|
47
|
+
/**
|
|
48
|
+
* The wire root: message objects, generated from `spec/schemas/wire/`.
|
|
49
|
+
*
|
|
50
|
+
* Namespaced rather than flattened. A bundle type and a wire type of the same
|
|
51
|
+
* name would otherwise collide here, and the resolution would be to rename one
|
|
52
|
+
* of them, which is how an object acquires a second name. It also keeps the two
|
|
53
|
+
* KINDS of value apart at the import site: what comes out of the signed bundle
|
|
54
|
+
* is `Floors`, what a party SENT is `wire.AttestationObject`, and RES-8 is the
|
|
55
|
+
* rule that they are never interchangeable.
|
|
56
|
+
*/
|
|
57
|
+
export * as wire from './generated_wire.js';
|
|
58
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,cAAc,gBAAgB,CAAC;AAE/B;;;;;;;;;GASG;AACH,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// @ziffer-io/types build-time copy — DO NOT EDIT.
|
|
2
|
+
// Regenerated by packages/types/scripts/vendor-engine-types.mjs on every build.
|
|
3
|
+
// source: packages/acp-types/src/index.ts @ fed43d10b427e0a4435a8f04e474334d88a5aa6e (the engine pin in Cargo.toml)
|
|
4
|
+
/**
|
|
5
|
+
* Wire types for ACP.
|
|
6
|
+
*
|
|
7
|
+
* The types themselves are GENERATED from `spec/schemas/bundle/*.schema.json`
|
|
8
|
+
* by `tools/codegen.sh` and live in `./generated.js`, which is re-exported
|
|
9
|
+
* below. `spec/` is the only normative source, so a hand-written wire type is a
|
|
10
|
+
* second definition of an object the specification already defines — and two
|
|
11
|
+
* definitions of one object is the encoding-split defect at the source level.
|
|
12
|
+
*
|
|
13
|
+
* The generated output is committed so the repository stays clonable and
|
|
14
|
+
* buildable without a codegen toolchain. `./tools/codegen.sh --check`
|
|
15
|
+
* regenerates and compares, and runs from `tools/selftest.sh`: a generator
|
|
16
|
+
* whose output nobody re-derives is a generator that has silently stopped
|
|
17
|
+
* describing its source.
|
|
18
|
+
*
|
|
19
|
+
* **Do not hand-edit `generated.ts`.** The drift check exists to catch that
|
|
20
|
+
* edit, and it will.
|
|
21
|
+
*
|
|
22
|
+
* This file is hand-written and holds only what is true of the PACKAGE rather
|
|
23
|
+
* than of the schemas.
|
|
24
|
+
*
|
|
25
|
+
* Note on DR-2 independence: `services/notifier` and `services/approval` are
|
|
26
|
+
* both permitted to depend on this package, and on nothing else in common.
|
|
27
|
+
* These are the wire format. Rendering is not — no shared template engine,
|
|
28
|
+
* formatter, sanitiser or component library. Without that carve-out the first
|
|
29
|
+
* shared `formatDate()` is technically compliant and voids the property.
|
|
30
|
+
*
|
|
31
|
+
* ## What used to be here, and why it was wrong (ACP-51)
|
|
32
|
+
*
|
|
33
|
+
* A hand-written `RiskTier = 'LOW' | 'MEDIUM' | 'HIGH'`, and beside it
|
|
34
|
+
*
|
|
35
|
+
* export const UNCLASSIFIED_RESOURCE_TIER: RiskTier = 'HIGH';
|
|
36
|
+
*
|
|
37
|
+
* RK-1 says a resource absent from the signed floors table is **T3**. `'HIGH'`
|
|
38
|
+
* is a risk level, not a tier — the schemas define two ordered domains over
|
|
39
|
+
* different subjects, and §8.4 composes both with `max`, which is exactly why
|
|
40
|
+
* one type served for both until someone read the schemas as a producer of
|
|
41
|
+
* types. The Python reference had it right all along
|
|
42
|
+
* (`floors.get(resource, "T3")`).
|
|
43
|
+
*
|
|
44
|
+
* Both ladders are now generated, separately, from the `x-acp-absent` and
|
|
45
|
+
* `x-acp-ordered` annotations on the schemas. The fail-safe value is not
|
|
46
|
+
* restated here: `floorsLookup()` in `./generated.js` returns it, and there is
|
|
47
|
+
* no other way to read a floor.
|
|
48
|
+
*/
|
|
49
|
+
export * from './generated.js';
|
|
50
|
+
/**
|
|
51
|
+
* The wire root: message objects, generated from `spec/schemas/wire/`.
|
|
52
|
+
*
|
|
53
|
+
* Namespaced rather than flattened. A bundle type and a wire type of the same
|
|
54
|
+
* name would otherwise collide here, and the resolution would be to rename one
|
|
55
|
+
* of them, which is how an object acquires a second name. It also keeps the two
|
|
56
|
+
* KINDS of value apart at the import site: what comes out of the signed bundle
|
|
57
|
+
* is `Floors`, what a party SENT is `wire.AttestationObject`, and RES-8 is the
|
|
58
|
+
* rule that they are never interchangeable.
|
|
59
|
+
*/
|
|
60
|
+
export * as wire from './generated_wire.js';
|
|
61
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,gFAAgF;AAChF,oHAAoH;AACpH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,cAAc,gBAAgB,CAAC;AAE/B;;;;;;;;;GASG;AACH,OAAO,KAAK,IAAI,MAAM,qBAAqB,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ziffer-io/types",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "The ZIFFER wire format as TypeScript types, generated from the ACP schemas at the engine pin.",
|
|
5
|
+
"author": "code75 SASU",
|
|
6
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
7
|
+
"comment-license": "The SDK is proprietary (code75 SASU). \"license\" is the SPDX escape hatch for exactly this case: there is no SPDX identifier for these terms, so the field points at the file that states them, and LICENSE ships in the tarball beside THIRD-PARTY-NOTICES. Do not put an OSI identifier here -- Apache-2.0 stood in these four files until ACP-214 and was wrong the whole time.",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"sideEffects": false,
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"!dist/**/*.test.*",
|
|
21
|
+
"THIRD-PARTY-NOTICES"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=22"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://github.com/ziffer-hq/ziffer.git",
|
|
29
|
+
"directory": "packages/types"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://ziffer.io",
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public"
|
|
34
|
+
},
|
|
35
|
+
"comment-no-provenance": "There is deliberately no \"provenance\": true here, and it was removed rather than never added. npm generates a provenance attestation only from a recognised CI runner, and its documentation states plainly that provenance is NOT SUPPORTED for private repositories (docs.npmjs.com/trusted-publishers, read 2026-09-03) -- ziffer-hq/ziffer is private (`gh api` says so). Setting the flag does not degrade to a warning: npm attempts the attestation and the publish FAILS, so the field would have broken the operator's very first publish from a laptop and every CI publish after it. tools/release-npm.sh asserts the field stays absent, and that assertion is the thing to delete on the day this repository becomes public -- at which point trusted publishing generates provenance on its own, with no flag at all.",
|
|
36
|
+
"ziffer": {
|
|
37
|
+
"enginePin": "fed43d10b427e0a4435a8f04e474334d88a5aa6e"
|
|
38
|
+
},
|
|
39
|
+
"comment-enginePin": "The engine commit this package wraps, so a published artifact states it rather than leaving a reader to ask. It is a COPY of the rev in Cargo.toml, which is the one authority guard.sh reads. tools/release-npm.sh refuses to release when the two differ, by name. DISCLOSED: tools/bump-pin.sh does NOT move this field -- its three patterns are the Cargo `rev =` syntax, the package.json git+ URL syntax and a bare-sha schemas/PIN file, and none of them matches `\"enginePin\": \"<sha>\"`. So a pin bump leaves this stale and the release refuses until the four package.json files are brought forward by hand. That refusal is real and falsified in --selfcheck; it is still one hand step, and closing it is a fourth pattern in bump-pin.sh (ACP-208's shape, one more time).",
|
|
40
|
+
"comment-why-this-package-exists": "ACP-214. @ziffer-io/client used to declare the engine's @acp/types as a GIT dependency on ziffer-hq/agent-control-plane. That repository is PRIVATE (gh api says private:true, 2026-09-03), so a developer who installed the published client could not resolve it at all -- not 'has to build it', cannot fetch it. A published package may not depend on a private git URL, and it may not depend on a public one either: pnpm runs `prepare` for a git dependency and a consumer would be compiling our wire types on their machine. So the wire format is published, from the pinned engine commit, as compiled dist/ that a consumer just installs.",
|
|
41
|
+
"comment-no-engine-dependency-here": "There is deliberately NO @acp/types dependency in this file, and the absence is load-bearing rather than an oversight. `pnpm pack` keeps devDependencies in the published package.json -- measured, not assumed -- so a git+ URL declared here would ship to the registry, publishing the private engine repository's address and tripping the no-git+ assertion in tools/release-npm.sh over our own tarball. scripts/vendor-engine-types.mjs finds the engine sources through the pin instead, and refuses every way of not finding them.",
|
|
42
|
+
"comment-vendored-not-forked": "src/ is BUILD OUTPUT and gitignored, exactly as sdk/python/src/ziffer/_engine is (sdk/python/build.sh carries the argument at length): committed source here is the packaging only, the engine's generated types are copied in verbatim from the pin at build time, and the copy is regenerated on every build so there is no divergent lineage to drift. A committed copy would be a second definition of the wire format, which is the encoding-split defect this whole repository is organised against.",
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"typescript": "^5.9.2"
|
|
45
|
+
},
|
|
46
|
+
"scripts": {
|
|
47
|
+
"vendor": "node scripts/vendor-engine-types.mjs",
|
|
48
|
+
"build": "pnpm run vendor && tsc -b",
|
|
49
|
+
"typecheck": "pnpm run vendor && tsc -b",
|
|
50
|
+
"test": "pnpm run vendor && tsc -b && node scripts/check-entry-resolves.mjs"
|
|
51
|
+
}
|
|
52
|
+
}
|