@aikdna/kdna-core 0.37.0 → 0.37.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/README.md +28 -7
- package/package.json +11 -1
- package/src/public-contract/browser-native/generated-contract.json +3 -3
- package/src/public-contract/browser-native/sections/contract.json +2 -2
- package/src/public-contract/browser-native/whole.js +30 -1
- package/src/public-contract/browser-protected/request.js +77 -0
- package/src/public-contract/browser-protected/state.js +200 -0
- package/src/public-contract/browserwhole06/contract.json +2 -2
- package/src/public-contract/creation06/contract.json +2 -2
- package/src/public-contract/creation06/generation-manifest.json +8 -8
- package/src/public-contract/execution06/contract.json +2 -2
- package/src/public-contract/execution06/generation-manifest.json +8 -8
- package/src/public-contract/generated-contract.json +3 -3
- package/src/public-contract/issuer-contract.generated.json +6 -6
- package/src/public-contract/issuer-validators.generated.js +7 -7
- package/src/public-contract/key-grant-issuer-node.d.ts +1 -1
- package/src/public-contract/package-set-contract.generated.json +5 -5
- package/src/public-contract/package-set-node.d.ts +1 -1
- package/src/public-contract/package-set-validators.generated.js +9 -9
- package/src/public-contract/packageset06/contract.json +2 -2
- package/src/public-contract/packageset06/generation-manifest.json +8 -8
- package/src/public-contract/protected-browser-contract/contract.json +11824 -0
- package/src/public-contract/protected-browser-contract/descriptor.json +5 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedAdmissionResult.json +443 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedAuthorityContext.json +939 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedBinding.json +156 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedCallResult.json +10489 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedDeliveryToken.json +10 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedExpansionHandle.json +320 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedHostContext.json +677 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedHostObservation.json +208 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedReadAuthority.json +10 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedReadResult.json +10795 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedRequest.json +539 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedRequestAdmission.json +1016 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedSignaturePolicy.json +35 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedSnapshotData.json +8451 -0
- package/src/public-contract/protected-browser-contract/schemas/BrowserProtectedTransportCommitResult.json +304 -0
- package/src/public-contract/protected-browser-contract/schemas/TrustedBrowserProtectedHost.json +10 -0
- package/src/public-contract/protected-browser-contract/types.d.ts +389 -0
- package/src/public-contract/protected-browser-contract/validators.cjs +223756 -0
- package/src/public-contract/protected-sections-browser.d.ts +11 -0
- package/src/public-contract/protected-sections-browser.js +22 -0
- package/src/public-contract/protected-sections-browser.mjs +2 -0
- package/src/public-contract/protected-source-contract.generated.json +8 -8
- package/src/public-contract/protected-source-node.d.ts +1 -1
- package/src/public-contract/protection-admission-browser.js +21 -3
- package/src/public-contract/protection-contract.generated.json +9 -9
- package/src/public-contract/protection-envelope-codec.js +16 -12
- package/src/public-contract/protection-node.d.ts +2 -2
- package/src/public-contract/protection-validators.generated.js +5 -5
- package/src/public-contract/public-contract.d.ts +13 -0
- package/src/public-contract/public-contract.js +32 -0
- package/src/public-contract/public-contract.mjs +2 -0
- package/src/public-contract/retained/contract.json +2 -2
- package/src/public-contract/retained/generation-manifest.json +8 -8
- package/src/public-contract/retained-browser06/contract.json +2 -2
- package/src/public-contract/sectionbytes/contract.json +2 -2
- package/src/public-contract/sectionbytes/generation-manifest.json +8 -8
- package/src/public-contract/sections/contract.json +2 -2
- package/src/public-contract/sections/generation-manifest.json +8 -8
- package/src/public-contract/sections-bytes-node.js +31 -0
- package/src/public-contract/sections-node.js +36 -1
- package/src/public-contract/source-validators.generated.js +6 -6
- package/src/public-contract/source06/contract.json +2 -2
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "urn:kdna:candidate:protected-browser:BrowserProtectedBinding",
|
|
4
|
+
"title": "BrowserProtectedBinding",
|
|
5
|
+
"description": "Browser protected retained projection contract. Original base tuple and host-supplied-triple provenance; no native authentication claims.",
|
|
6
|
+
"$ref": "#/$defs/BrowserProtectedBinding",
|
|
7
|
+
"$defs": {
|
|
8
|
+
"AssetIdentity": {
|
|
9
|
+
"type": "object",
|
|
10
|
+
"properties": {
|
|
11
|
+
"asset_id": {
|
|
12
|
+
"$ref": "#/$defs/Identifier"
|
|
13
|
+
},
|
|
14
|
+
"asset_version": {
|
|
15
|
+
"$ref": "#/$defs/VersionLabel"
|
|
16
|
+
},
|
|
17
|
+
"judgment_version": {
|
|
18
|
+
"$ref": "#/$defs/VersionLabel"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"required": [
|
|
22
|
+
"asset_id",
|
|
23
|
+
"asset_version",
|
|
24
|
+
"judgment_version"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
},
|
|
28
|
+
"BrowserProtectedBinding": {
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"operation_id": {
|
|
32
|
+
"$ref": "#/$defs/Identifier"
|
|
33
|
+
},
|
|
34
|
+
"snapshot_id": {
|
|
35
|
+
"$ref": "#/$defs/Identifier"
|
|
36
|
+
},
|
|
37
|
+
"capture_id": {
|
|
38
|
+
"$ref": "#/$defs/Identifier"
|
|
39
|
+
},
|
|
40
|
+
"request_id": {
|
|
41
|
+
"$ref": "#/$defs/Identifier"
|
|
42
|
+
},
|
|
43
|
+
"request_digest": {
|
|
44
|
+
"$ref": "#/$defs/Digest"
|
|
45
|
+
},
|
|
46
|
+
"source_request_digest": {
|
|
47
|
+
"$ref": "#/$defs/Digest"
|
|
48
|
+
},
|
|
49
|
+
"read_intent_digest": {
|
|
50
|
+
"$ref": "#/$defs/Digest"
|
|
51
|
+
},
|
|
52
|
+
"tuple": {
|
|
53
|
+
"$ref": "#/$defs/VersionTuple"
|
|
54
|
+
},
|
|
55
|
+
"asset": {
|
|
56
|
+
"$ref": "#/$defs/AssetIdentity"
|
|
57
|
+
},
|
|
58
|
+
"A": {
|
|
59
|
+
"$ref": "#/$defs/Digest"
|
|
60
|
+
},
|
|
61
|
+
"C": {
|
|
62
|
+
"$ref": "#/$defs/Digest"
|
|
63
|
+
},
|
|
64
|
+
"E": {
|
|
65
|
+
"$ref": "#/$defs/Digest"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"operation_id",
|
|
70
|
+
"snapshot_id",
|
|
71
|
+
"capture_id",
|
|
72
|
+
"request_id",
|
|
73
|
+
"request_digest",
|
|
74
|
+
"source_request_digest",
|
|
75
|
+
"read_intent_digest",
|
|
76
|
+
"tuple",
|
|
77
|
+
"asset",
|
|
78
|
+
"A",
|
|
79
|
+
"C",
|
|
80
|
+
"E"
|
|
81
|
+
],
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
},
|
|
84
|
+
"Digest": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"pattern": "^sha256:[0-9a-f]{64}$"
|
|
87
|
+
},
|
|
88
|
+
"Identifier": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1,
|
|
91
|
+
"maxLength": 256,
|
|
92
|
+
"pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\ud800-\\udfff]+$"
|
|
93
|
+
},
|
|
94
|
+
"VersionLabel": {
|
|
95
|
+
"$ref": "#/$defs/Identifier"
|
|
96
|
+
},
|
|
97
|
+
"VersionTuple": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"properties": {
|
|
100
|
+
"container": {
|
|
101
|
+
"const": "0.5.0",
|
|
102
|
+
"type": "string"
|
|
103
|
+
},
|
|
104
|
+
"payload_profile": {
|
|
105
|
+
"const": "kdna.payload.judgment",
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"payload_version": {
|
|
109
|
+
"const": "0.5.1",
|
|
110
|
+
"type": "string"
|
|
111
|
+
},
|
|
112
|
+
"core": {
|
|
113
|
+
"const": "kdna.core/0.8.2",
|
|
114
|
+
"type": "string"
|
|
115
|
+
},
|
|
116
|
+
"ir": {
|
|
117
|
+
"const": "kdna.canonical-ir/0.6.1",
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
"runtime": {
|
|
121
|
+
"const": "kdna.runtime-capsule/0.3.1",
|
|
122
|
+
"type": "string"
|
|
123
|
+
},
|
|
124
|
+
"plan": {
|
|
125
|
+
"const": "kdna.consumption-plan/0.3.1",
|
|
126
|
+
"type": "string"
|
|
127
|
+
},
|
|
128
|
+
"host": {
|
|
129
|
+
"const": "kdna.agent-host/0.3.1",
|
|
130
|
+
"type": "string"
|
|
131
|
+
},
|
|
132
|
+
"trace": {
|
|
133
|
+
"const": "kdna.judgment-trace/0.3.1",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"read": {
|
|
137
|
+
"const": "kdna.read/0.6.4",
|
|
138
|
+
"type": "string"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"required": [
|
|
142
|
+
"container",
|
|
143
|
+
"payload_profile",
|
|
144
|
+
"payload_version",
|
|
145
|
+
"core",
|
|
146
|
+
"ir",
|
|
147
|
+
"runtime",
|
|
148
|
+
"plan",
|
|
149
|
+
"host",
|
|
150
|
+
"trace",
|
|
151
|
+
"read"
|
|
152
|
+
],
|
|
153
|
+
"additionalProperties": false
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|