@openvtc/trust-tasks 0.16.5 → 0.16.7
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/CHANGELOG.md +22 -0
- package/dist/_shared/components.d.ts +79 -4
- package/dist/_shared/components.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.d.ts +8 -8
- package/dist/device/list/0.1/payload.d.ts.map +1 -1
- package/dist/device/list/0.1/payload.js +12 -4
- package/dist/device/list/0.1/payload.js.map +1 -1
- package/dist/device/list/0.2/payload.d.ts +8 -8
- package/dist/device/list/0.2/payload.d.ts.map +1 -1
- package/dist/device/list/0.2/payload.js +12 -4
- package/dist/device/list/0.2/payload.js.map +1 -1
- package/dist/device/register/0.1/payload.d.ts +8 -8
- package/dist/device/register/0.1/payload.d.ts.map +1 -1
- package/dist/device/register/0.1/payload.js +12 -4
- package/dist/device/register/0.1/payload.js.map +1 -1
- package/dist/device/register/0.2/payload.d.ts +8 -8
- package/dist/device/register/0.2/payload.d.ts.map +1 -1
- package/dist/device/register/0.2/payload.js +12 -4
- package/dist/device/register/0.2/payload.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts +16 -0
- package/dist/rooms/_shared/0.1/room.d.ts.map +1 -0
- package/dist/rooms/_shared/0.1/room.js +6 -0
- package/dist/rooms/_shared/0.1/room.js.map +1 -0
- package/dist/rooms/create/0.1/payload.d.ts +305 -0
- package/dist/rooms/create/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/create/0.1/payload.js +176 -0
- package/dist/rooms/create/0.1/payload.js.map +1 -0
- package/dist/rooms/epoch/mint/0.1/payload.d.ts +385 -0
- package/dist/rooms/epoch/mint/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/epoch/mint/0.1/payload.js +214 -0
- package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -0
- package/dist/rooms/records/get/0.1/payload.d.ts +505 -0
- package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/records/get/0.1/payload.js +279 -0
- package/dist/rooms/records/get/0.1/payload.js.map +1 -0
- package/dist/rooms/records/list/0.1/payload.d.ts +618 -0
- package/dist/rooms/records/list/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/records/list/0.1/payload.js +338 -0
- package/dist/rooms/records/list/0.1/payload.js.map +1 -0
- package/dist/rooms/records/put/0.1/payload.d.ts +591 -0
- package/dist/rooms/records/put/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/records/put/0.1/payload.js +314 -0
- package/dist/rooms/records/put/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +95 -4
- package/src/device/list/0.1/payload.ts +12 -4
- package/src/device/list/0.2/payload.ts +12 -4
- package/src/device/register/0.1/payload.ts +12 -4
- package/src/device/register/0.2/payload.ts +12 -4
- package/src/index.ts +6 -0
- package/src/rooms/_shared/0.1/room.ts +17 -0
- package/src/rooms/create/0.1/payload.ts +224 -0
- package/src/rooms/epoch/mint/0.1/payload.ts +262 -0
- package/src/rooms/records/get/0.1/payload.ts +333 -0
- package/src/rooms/records/list/0.1/payload.ts +397 -0
- package/src/rooms/records/put/0.1/payload.ts +388 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/epoch/mint/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
import type { AuthorityPresentation, Ext } from "../../../../_shared/components.js";
|
|
6
|
+
export interface RoomsEpochMintPayload {
|
|
7
|
+
/**
|
|
8
|
+
* The room whose epoch advances.
|
|
9
|
+
*/
|
|
10
|
+
roomId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The new epoch number, which MUST be exactly one greater than the current one. A host records the number and never learns the key.
|
|
13
|
+
*/
|
|
14
|
+
epoch: number;
|
|
15
|
+
/**
|
|
16
|
+
* Must confer the `admin` action at this room's scope. Restricting epoch minting matters: if any key-holder could mint one, any member could evict any other by declining to seal the new key to them — silently, and with no server-side check possible on a room whose membership the host cannot see.
|
|
17
|
+
*/
|
|
18
|
+
presentation: AuthorityPresentation;
|
|
19
|
+
/**
|
|
20
|
+
* Optional operator-facing rationale, recorded in the room's audit.
|
|
21
|
+
*/
|
|
22
|
+
reason?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
25
|
+
*/
|
|
26
|
+
ext?: Ext;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.
|
|
30
|
+
*/
|
|
31
|
+
export interface RoomsEpochMintResponsePayload {
|
|
32
|
+
roomId: string;
|
|
33
|
+
epoch: number;
|
|
34
|
+
ext?: Ext;
|
|
35
|
+
}
|
|
36
|
+
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
37
|
+
export type { AuthorityPresentation, Ext };
|
|
38
|
+
/** Trust Task type URI. */
|
|
39
|
+
export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/epoch/mint/0.1";
|
|
40
|
+
/** Stable alias for this specification's request payload shape. */
|
|
41
|
+
export type Payload = RoomsEpochMintPayload;
|
|
42
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
43
|
+
export declare const RESPONSE_TYPE_URI: "https://trusttasks.org/spec/rooms/epoch/mint/0.1#response";
|
|
44
|
+
/** Stable alias for this specification's success-response payload shape. */
|
|
45
|
+
export type Response = RoomsEpochMintResponsePayload;
|
|
46
|
+
/**
|
|
47
|
+
* This specification's payload schema, as a value.
|
|
48
|
+
*
|
|
49
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
50
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
51
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
52
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
53
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
54
|
+
*/
|
|
55
|
+
export declare const PAYLOAD_SCHEMA: {
|
|
56
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
57
|
+
readonly $id: "https://trusttasks.org/spec/rooms/epoch/mint/0.1";
|
|
58
|
+
readonly title: "Rooms Epoch Mint — payload";
|
|
59
|
+
readonly type: "object";
|
|
60
|
+
readonly additionalProperties: false;
|
|
61
|
+
readonly required: readonly ["roomId", "epoch", "presentation"];
|
|
62
|
+
readonly properties: {
|
|
63
|
+
readonly roomId: {
|
|
64
|
+
readonly type: "string";
|
|
65
|
+
readonly description: "The room whose epoch advances.";
|
|
66
|
+
};
|
|
67
|
+
readonly epoch: {
|
|
68
|
+
readonly type: "integer";
|
|
69
|
+
readonly minimum: 2;
|
|
70
|
+
readonly description: "The new epoch number, which MUST be exactly one greater than the current one. A host records the number and never learns the key.";
|
|
71
|
+
};
|
|
72
|
+
readonly presentation: {
|
|
73
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
74
|
+
readonly description: "Must confer the `admin` action at this room's scope. Restricting epoch minting matters: if any key-holder could mint one, any member could evict any other by declining to seal the new key to them — silently, and with no server-side check possible on a room whose membership the host cannot see.";
|
|
75
|
+
};
|
|
76
|
+
readonly reason: {
|
|
77
|
+
readonly type: "string";
|
|
78
|
+
readonly maxLength: 1024;
|
|
79
|
+
readonly description: "Optional operator-facing rationale, recorded in the room's audit.";
|
|
80
|
+
};
|
|
81
|
+
readonly ext: {
|
|
82
|
+
readonly $ref: "#/$defs/Ext";
|
|
83
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
readonly $defs: {
|
|
87
|
+
readonly Response: {
|
|
88
|
+
readonly $anchor: "response";
|
|
89
|
+
readonly title: "Rooms Epoch Mint — response payload";
|
|
90
|
+
readonly description: "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.";
|
|
91
|
+
readonly type: "object";
|
|
92
|
+
readonly additionalProperties: false;
|
|
93
|
+
readonly required: readonly ["roomId", "epoch"];
|
|
94
|
+
readonly properties: {
|
|
95
|
+
readonly roomId: {
|
|
96
|
+
readonly type: "string";
|
|
97
|
+
};
|
|
98
|
+
readonly epoch: {
|
|
99
|
+
readonly type: "integer";
|
|
100
|
+
readonly minimum: 2;
|
|
101
|
+
};
|
|
102
|
+
readonly ext: {
|
|
103
|
+
readonly $ref: "#/$defs/Ext";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly Ext: {
|
|
108
|
+
readonly title: "Ext";
|
|
109
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
110
|
+
readonly type: "object";
|
|
111
|
+
readonly minProperties: 1;
|
|
112
|
+
readonly additionalProperties: true;
|
|
113
|
+
readonly propertyNames: {
|
|
114
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
readonly AuthorityPresentation: {
|
|
118
|
+
readonly title: "AuthorityPresentation";
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly additionalProperties: false;
|
|
121
|
+
readonly required: readonly ["membership", "authority"];
|
|
122
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.";
|
|
123
|
+
readonly properties: {
|
|
124
|
+
readonly membership: {
|
|
125
|
+
readonly type: "string";
|
|
126
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
127
|
+
};
|
|
128
|
+
readonly authority: {
|
|
129
|
+
readonly type: "array";
|
|
130
|
+
readonly minItems: 1;
|
|
131
|
+
readonly maxItems: 8;
|
|
132
|
+
readonly items: {
|
|
133
|
+
readonly type: "string";
|
|
134
|
+
};
|
|
135
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
136
|
+
};
|
|
137
|
+
readonly subjectBinding: {
|
|
138
|
+
readonly type: "string";
|
|
139
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
146
|
+
export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
147
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
148
|
+
readonly $ref: "#/$defs/Response";
|
|
149
|
+
readonly $defs: {
|
|
150
|
+
readonly Response: {
|
|
151
|
+
readonly $anchor: "response";
|
|
152
|
+
readonly title: "Rooms Epoch Mint — response payload";
|
|
153
|
+
readonly description: "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.";
|
|
154
|
+
readonly type: "object";
|
|
155
|
+
readonly additionalProperties: false;
|
|
156
|
+
readonly required: readonly ["roomId", "epoch"];
|
|
157
|
+
readonly properties: {
|
|
158
|
+
readonly roomId: {
|
|
159
|
+
readonly type: "string";
|
|
160
|
+
};
|
|
161
|
+
readonly epoch: {
|
|
162
|
+
readonly type: "integer";
|
|
163
|
+
readonly minimum: 2;
|
|
164
|
+
};
|
|
165
|
+
readonly ext: {
|
|
166
|
+
readonly $ref: "#/$defs/Ext";
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
readonly Ext: {
|
|
171
|
+
readonly title: "Ext";
|
|
172
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
173
|
+
readonly type: "object";
|
|
174
|
+
readonly minProperties: 1;
|
|
175
|
+
readonly additionalProperties: true;
|
|
176
|
+
readonly propertyNames: {
|
|
177
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
readonly AuthorityPresentation: {
|
|
181
|
+
readonly title: "AuthorityPresentation";
|
|
182
|
+
readonly type: "object";
|
|
183
|
+
readonly additionalProperties: false;
|
|
184
|
+
readonly required: readonly ["membership", "authority"];
|
|
185
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.";
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly membership: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
190
|
+
};
|
|
191
|
+
readonly authority: {
|
|
192
|
+
readonly type: "array";
|
|
193
|
+
readonly minItems: 1;
|
|
194
|
+
readonly maxItems: 8;
|
|
195
|
+
readonly items: {
|
|
196
|
+
readonly type: "string";
|
|
197
|
+
};
|
|
198
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
199
|
+
};
|
|
200
|
+
readonly subjectBinding: {
|
|
201
|
+
readonly type: "string";
|
|
202
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
/**
|
|
209
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
210
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
211
|
+
* per-specification and cannot be derived from the document alone, and
|
|
212
|
+
* item 2 needs the schema this carries.
|
|
213
|
+
*/
|
|
214
|
+
export declare const SPEC: {
|
|
215
|
+
readonly typeUri: "https://trusttasks.org/spec/rooms/epoch/mint/0.1";
|
|
216
|
+
readonly isBearer: false;
|
|
217
|
+
readonly isProofRequired: true;
|
|
218
|
+
readonly isRecipientRequired: true;
|
|
219
|
+
readonly isIssuedAtRequired: true;
|
|
220
|
+
readonly payloadSchema: {
|
|
221
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
222
|
+
readonly $id: "https://trusttasks.org/spec/rooms/epoch/mint/0.1";
|
|
223
|
+
readonly title: "Rooms Epoch Mint — payload";
|
|
224
|
+
readonly type: "object";
|
|
225
|
+
readonly additionalProperties: false;
|
|
226
|
+
readonly required: readonly ["roomId", "epoch", "presentation"];
|
|
227
|
+
readonly properties: {
|
|
228
|
+
readonly roomId: {
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
readonly description: "The room whose epoch advances.";
|
|
231
|
+
};
|
|
232
|
+
readonly epoch: {
|
|
233
|
+
readonly type: "integer";
|
|
234
|
+
readonly minimum: 2;
|
|
235
|
+
readonly description: "The new epoch number, which MUST be exactly one greater than the current one. A host records the number and never learns the key.";
|
|
236
|
+
};
|
|
237
|
+
readonly presentation: {
|
|
238
|
+
readonly $ref: "#/$defs/AuthorityPresentation";
|
|
239
|
+
readonly description: "Must confer the `admin` action at this room's scope. Restricting epoch minting matters: if any key-holder could mint one, any member could evict any other by declining to seal the new key to them — silently, and with no server-side check possible on a room whose membership the host cannot see.";
|
|
240
|
+
};
|
|
241
|
+
readonly reason: {
|
|
242
|
+
readonly type: "string";
|
|
243
|
+
readonly maxLength: 1024;
|
|
244
|
+
readonly description: "Optional operator-facing rationale, recorded in the room's audit.";
|
|
245
|
+
};
|
|
246
|
+
readonly ext: {
|
|
247
|
+
readonly $ref: "#/$defs/Ext";
|
|
248
|
+
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
249
|
+
};
|
|
250
|
+
};
|
|
251
|
+
readonly $defs: {
|
|
252
|
+
readonly Response: {
|
|
253
|
+
readonly $anchor: "response";
|
|
254
|
+
readonly title: "Rooms Epoch Mint — response payload";
|
|
255
|
+
readonly description: "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.";
|
|
256
|
+
readonly type: "object";
|
|
257
|
+
readonly additionalProperties: false;
|
|
258
|
+
readonly required: readonly ["roomId", "epoch"];
|
|
259
|
+
readonly properties: {
|
|
260
|
+
readonly roomId: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
};
|
|
263
|
+
readonly epoch: {
|
|
264
|
+
readonly type: "integer";
|
|
265
|
+
readonly minimum: 2;
|
|
266
|
+
};
|
|
267
|
+
readonly ext: {
|
|
268
|
+
readonly $ref: "#/$defs/Ext";
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
readonly Ext: {
|
|
273
|
+
readonly title: "Ext";
|
|
274
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
275
|
+
readonly type: "object";
|
|
276
|
+
readonly minProperties: 1;
|
|
277
|
+
readonly additionalProperties: true;
|
|
278
|
+
readonly propertyNames: {
|
|
279
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
readonly AuthorityPresentation: {
|
|
283
|
+
readonly title: "AuthorityPresentation";
|
|
284
|
+
readonly type: "object";
|
|
285
|
+
readonly additionalProperties: false;
|
|
286
|
+
readonly required: readonly ["membership", "authority"];
|
|
287
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.";
|
|
288
|
+
readonly properties: {
|
|
289
|
+
readonly membership: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
292
|
+
};
|
|
293
|
+
readonly authority: {
|
|
294
|
+
readonly type: "array";
|
|
295
|
+
readonly minItems: 1;
|
|
296
|
+
readonly maxItems: 8;
|
|
297
|
+
readonly items: {
|
|
298
|
+
readonly type: "string";
|
|
299
|
+
};
|
|
300
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
301
|
+
};
|
|
302
|
+
readonly subjectBinding: {
|
|
303
|
+
readonly type: "string";
|
|
304
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
313
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
314
|
+
* parties (§7.3 item 5).
|
|
315
|
+
*/
|
|
316
|
+
export declare const RESPONSE_SPEC: {
|
|
317
|
+
readonly typeUri: "https://trusttasks.org/spec/rooms/epoch/mint/0.1#response";
|
|
318
|
+
readonly isBearer: false;
|
|
319
|
+
readonly isProofRequired: true;
|
|
320
|
+
readonly isRecipientRequired: true;
|
|
321
|
+
readonly isIssuedAtRequired: true;
|
|
322
|
+
readonly payloadSchema: {
|
|
323
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
324
|
+
readonly $ref: "#/$defs/Response";
|
|
325
|
+
readonly $defs: {
|
|
326
|
+
readonly Response: {
|
|
327
|
+
readonly $anchor: "response";
|
|
328
|
+
readonly title: "Rooms Epoch Mint — response payload";
|
|
329
|
+
readonly description: "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.";
|
|
330
|
+
readonly type: "object";
|
|
331
|
+
readonly additionalProperties: false;
|
|
332
|
+
readonly required: readonly ["roomId", "epoch"];
|
|
333
|
+
readonly properties: {
|
|
334
|
+
readonly roomId: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
};
|
|
337
|
+
readonly epoch: {
|
|
338
|
+
readonly type: "integer";
|
|
339
|
+
readonly minimum: 2;
|
|
340
|
+
};
|
|
341
|
+
readonly ext: {
|
|
342
|
+
readonly $ref: "#/$defs/Ext";
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
readonly Ext: {
|
|
347
|
+
readonly title: "Ext";
|
|
348
|
+
readonly description: "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.";
|
|
349
|
+
readonly type: "object";
|
|
350
|
+
readonly minProperties: 1;
|
|
351
|
+
readonly additionalProperties: true;
|
|
352
|
+
readonly propertyNames: {
|
|
353
|
+
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
readonly AuthorityPresentation: {
|
|
357
|
+
readonly title: "AuthorityPresentation";
|
|
358
|
+
readonly type: "object";
|
|
359
|
+
readonly additionalProperties: false;
|
|
360
|
+
readonly required: readonly ["membership", "authority"];
|
|
361
|
+
readonly description: "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.";
|
|
362
|
+
readonly properties: {
|
|
363
|
+
readonly membership: {
|
|
364
|
+
readonly type: "string";
|
|
365
|
+
readonly description: "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile.";
|
|
366
|
+
};
|
|
367
|
+
readonly authority: {
|
|
368
|
+
readonly type: "array";
|
|
369
|
+
readonly minItems: 1;
|
|
370
|
+
readonly maxItems: 8;
|
|
371
|
+
readonly items: {
|
|
372
|
+
readonly type: "string";
|
|
373
|
+
};
|
|
374
|
+
readonly description: "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent.";
|
|
375
|
+
};
|
|
376
|
+
readonly subjectBinding: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly description: "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this.";
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
};
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
//# sourceMappingURL=payload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/rooms/epoch/mint/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,qBAAqB,EAAE,GAAG,EAAE,MAAM,mCAAmC,CAAC;AAGpF,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,qBAAqB,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC5C,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,kHAAkH;AAClH,YAAY,EAAE,qBAAqB,EAAE,GAAG,EAAE,CAAC;AAE3C,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,kDAA2D,CAAC;AAEpF,mEAAmE;AACnE,MAAM,MAAM,OAAO,GAAG,qBAAqB,CAAC;AAE5C,qEAAqE;AACrE,eAAO,MAAM,iBAAiB,EAAG,2DAAoE,CAAC;AAEtG,4EAA4E;AAC5E,MAAM,MAAM,QAAQ,GAAG,6BAA6B,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmGjB,CAAC;AAEX,mEAAmE;AACnE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmE1B,CAAC;AAEX;;;;;GAKG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
|
+
* Source: specs/rooms/epoch/mint/0.1/payload.schema.json
|
|
4
|
+
*/
|
|
5
|
+
/** Trust Task type URI. */
|
|
6
|
+
export const TYPE_URI = "https://trusttasks.org/spec/rooms/epoch/mint/0.1";
|
|
7
|
+
/** Trust Task response type URI (request type URI + "#response"). */
|
|
8
|
+
export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/epoch/mint/0.1#response";
|
|
9
|
+
/**
|
|
10
|
+
* This specification's payload schema, as a value.
|
|
11
|
+
*
|
|
12
|
+
* SPEC.md §7.2 item 2 is performed against this. It is shipped as data
|
|
13
|
+
* rather than only as a `.json` file because TypeScript types are erased
|
|
14
|
+
* at runtime: without a schema a consumer has nothing to validate, and
|
|
15
|
+
* every REQUIRED payload member is optional in practice. Cross-file
|
|
16
|
+
* `$ref`s are already inlined, so it needs no resolver.
|
|
17
|
+
*/
|
|
18
|
+
export const PAYLOAD_SCHEMA = {
|
|
19
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
20
|
+
"$id": "https://trusttasks.org/spec/rooms/epoch/mint/0.1",
|
|
21
|
+
"title": "Rooms Epoch Mint — payload",
|
|
22
|
+
"type": "object",
|
|
23
|
+
"additionalProperties": false,
|
|
24
|
+
"required": [
|
|
25
|
+
"roomId",
|
|
26
|
+
"epoch",
|
|
27
|
+
"presentation"
|
|
28
|
+
],
|
|
29
|
+
"properties": {
|
|
30
|
+
"roomId": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "The room whose epoch advances."
|
|
33
|
+
},
|
|
34
|
+
"epoch": {
|
|
35
|
+
"type": "integer",
|
|
36
|
+
"minimum": 2,
|
|
37
|
+
"description": "The new epoch number, which MUST be exactly one greater than the current one. A host records the number and never learns the key."
|
|
38
|
+
},
|
|
39
|
+
"presentation": {
|
|
40
|
+
"$ref": "#/$defs/AuthorityPresentation",
|
|
41
|
+
"description": "Must confer the `admin` action at this room's scope. Restricting epoch minting matters: if any key-holder could mint one, any member could evict any other by declining to seal the new key to them — silently, and with no server-side check possible on a room whose membership the host cannot see."
|
|
42
|
+
},
|
|
43
|
+
"reason": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"maxLength": 1024,
|
|
46
|
+
"description": "Optional operator-facing rationale, recorded in the room's audit."
|
|
47
|
+
},
|
|
48
|
+
"ext": {
|
|
49
|
+
"$ref": "#/$defs/Ext",
|
|
50
|
+
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"$defs": {
|
|
54
|
+
"Response": {
|
|
55
|
+
"$anchor": "response",
|
|
56
|
+
"title": "Rooms Epoch Mint — response payload",
|
|
57
|
+
"description": "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.",
|
|
58
|
+
"type": "object",
|
|
59
|
+
"additionalProperties": false,
|
|
60
|
+
"required": [
|
|
61
|
+
"roomId",
|
|
62
|
+
"epoch"
|
|
63
|
+
],
|
|
64
|
+
"properties": {
|
|
65
|
+
"roomId": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"epoch": {
|
|
69
|
+
"type": "integer",
|
|
70
|
+
"minimum": 2
|
|
71
|
+
},
|
|
72
|
+
"ext": {
|
|
73
|
+
"$ref": "#/$defs/Ext"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"Ext": {
|
|
78
|
+
"title": "Ext",
|
|
79
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
80
|
+
"type": "object",
|
|
81
|
+
"minProperties": 1,
|
|
82
|
+
"additionalProperties": true,
|
|
83
|
+
"propertyNames": {
|
|
84
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"AuthorityPresentation": {
|
|
88
|
+
"title": "AuthorityPresentation",
|
|
89
|
+
"type": "object",
|
|
90
|
+
"additionalProperties": false,
|
|
91
|
+
"required": [
|
|
92
|
+
"membership",
|
|
93
|
+
"authority"
|
|
94
|
+
],
|
|
95
|
+
"description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
|
|
96
|
+
"properties": {
|
|
97
|
+
"membership": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
|
|
100
|
+
},
|
|
101
|
+
"authority": {
|
|
102
|
+
"type": "array",
|
|
103
|
+
"minItems": 1,
|
|
104
|
+
"maxItems": 8,
|
|
105
|
+
"items": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
},
|
|
108
|
+
"description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
|
|
109
|
+
},
|
|
110
|
+
"subjectBinding": {
|
|
111
|
+
"type": "string",
|
|
112
|
+
"description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
/** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
|
|
119
|
+
export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
120
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
121
|
+
"$ref": "#/$defs/Response",
|
|
122
|
+
"$defs": {
|
|
123
|
+
"Response": {
|
|
124
|
+
"$anchor": "response",
|
|
125
|
+
"title": "Rooms Epoch Mint — response payload",
|
|
126
|
+
"description": "Success response to rooms/epoch/mint. Type https://trusttasks.org/spec/rooms/epoch/mint/0.1#response.",
|
|
127
|
+
"type": "object",
|
|
128
|
+
"additionalProperties": false,
|
|
129
|
+
"required": [
|
|
130
|
+
"roomId",
|
|
131
|
+
"epoch"
|
|
132
|
+
],
|
|
133
|
+
"properties": {
|
|
134
|
+
"roomId": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
},
|
|
137
|
+
"epoch": {
|
|
138
|
+
"type": "integer",
|
|
139
|
+
"minimum": 2
|
|
140
|
+
},
|
|
141
|
+
"ext": {
|
|
142
|
+
"$ref": "#/$defs/Ext"
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"Ext": {
|
|
147
|
+
"title": "Ext",
|
|
148
|
+
"description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
|
|
149
|
+
"type": "object",
|
|
150
|
+
"minProperties": 1,
|
|
151
|
+
"additionalProperties": true,
|
|
152
|
+
"propertyNames": {
|
|
153
|
+
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"AuthorityPresentation": {
|
|
157
|
+
"title": "AuthorityPresentation",
|
|
158
|
+
"type": "object",
|
|
159
|
+
"additionalProperties": false,
|
|
160
|
+
"required": [
|
|
161
|
+
"membership",
|
|
162
|
+
"authority"
|
|
163
|
+
],
|
|
164
|
+
"description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
|
|
165
|
+
"properties": {
|
|
166
|
+
"membership": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"description": "The presenter's membership credential for this room, or — on a `private` room — a zero-knowledge presentation of it. Serialized per the governing profile."
|
|
169
|
+
},
|
|
170
|
+
"authority": {
|
|
171
|
+
"type": "array",
|
|
172
|
+
"minItems": 1,
|
|
173
|
+
"maxItems": 8,
|
|
174
|
+
"items": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
},
|
|
177
|
+
"description": "The authority chain, LEAF FIRST: the first element is the credential being relied on and the last MUST be one issued by the room itself. Every link the presenter relies on is present, because the host will not fetch one. Capped at 8: verification is linear in chain length and runs on every operation, so an unbounded chain is a denial-of-service surface against the host. The known uses need 2 to 3 — a person attenuating to an agent, and that agent to a sub-agent."
|
|
178
|
+
},
|
|
179
|
+
"subjectBinding": {
|
|
180
|
+
"type": "string",
|
|
181
|
+
"description": "REQUIRED on a `private` room, where the subject identifier is withheld: a proof that the membership credential and the authority chain's leaf describe the SAME subject. Without it two parties pool credentials — one contributes membership, the other authority — and the combination verifies as a single party holding both. A host MUST refuse a private-room presentation that omits this."
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* SPEC.md §7.2 policy for the request variant, from this specification's
|
|
189
|
+
* front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
|
|
190
|
+
* per-specification and cannot be derived from the document alone, and
|
|
191
|
+
* item 2 needs the schema this carries.
|
|
192
|
+
*/
|
|
193
|
+
export const SPEC = {
|
|
194
|
+
typeUri: TYPE_URI,
|
|
195
|
+
isBearer: false,
|
|
196
|
+
isProofRequired: true,
|
|
197
|
+
isRecipientRequired: true,
|
|
198
|
+
isIssuedAtRequired: true,
|
|
199
|
+
payloadSchema: PAYLOAD_SCHEMA,
|
|
200
|
+
};
|
|
201
|
+
/**
|
|
202
|
+
* SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
|
|
203
|
+
* tracks the *issuer* party's requirement because a response swaps the
|
|
204
|
+
* parties (§7.3 item 5).
|
|
205
|
+
*/
|
|
206
|
+
export const RESPONSE_SPEC = {
|
|
207
|
+
typeUri: RESPONSE_TYPE_URI,
|
|
208
|
+
isBearer: false,
|
|
209
|
+
isProofRequired: true,
|
|
210
|
+
isRecipientRequired: true,
|
|
211
|
+
isIssuedAtRequired: true,
|
|
212
|
+
payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
|
|
213
|
+
};
|
|
214
|
+
//# sourceMappingURL=payload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/rooms/epoch/mint/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuCH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,kDAA2D,CAAC;AAKpF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,2DAAoE,CAAC;AAKtG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,kDAAkD;IACzD,OAAO,EAAE,4BAA4B;IACrC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EA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