@openvtc/trust-tasks 0.18.2 → 0.18.4
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 +216 -0
- package/dist/_shared/components.d.ts +102 -0
- package/dist/_shared/components.d.ts.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/process-attestation/0.1/payload.d.ts +1190 -0
- package/dist/process-attestation/0.1/payload.d.ts.map +1 -0
- package/dist/process-attestation/0.1/payload.js +660 -0
- package/dist/process-attestation/0.1/payload.js.map +1 -0
- package/dist/rooms/_shared/0.1/room.d.ts +1 -1
- package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
- package/dist/rooms/create/0.1/payload.d.ts +58 -2
- package/dist/rooms/create/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/create/0.1/payload.js +32 -0
- package/dist/rooms/create/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/commits/0.1/payload.d.ts +506 -0
- package/dist/rooms/epoch/commits/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/epoch/commits/0.1/payload.js +268 -0
- package/dist/rooms/epoch/commits/0.1/payload.js.map +1 -0
- package/dist/rooms/epoch/mint/0.1/payload.d.ts +20 -0
- package/dist/rooms/epoch/mint/0.1/payload.d.ts.map +1 -1
- package/dist/rooms/epoch/mint/0.1/payload.js +5 -0
- package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -1
- package/dist/rooms/epoch/prune/0.1/payload.d.ts +423 -0
- package/dist/rooms/epoch/prune/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/epoch/prune/0.1/payload.js +229 -0
- package/dist/rooms/epoch/prune/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/browse/0.1/payload.d.ts +825 -0
- package/dist/rooms/keys/browse/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/browse/0.1/payload.js +494 -0
- package/dist/rooms/keys/browse/0.1/payload.js.map +1 -0
- package/dist/rooms/keys/read/0.1/payload.d.ts +703 -0
- package/dist/rooms/keys/read/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/keys/read/0.1/payload.js +424 -0
- package/dist/rooms/keys/read/0.1/payload.js.map +1 -0
- package/dist/rooms/owner/anchor/0.1/payload.d.ts +537 -0
- package/dist/rooms/owner/anchor/0.1/payload.d.ts.map +1 -0
- package/dist/rooms/owner/anchor/0.1/payload.js +291 -0
- package/dist/rooms/owner/anchor/0.1/payload.js.map +1 -0
- package/package.json +1 -1
- package/src/_shared/components.ts +102 -0
- package/src/index.ts +6 -0
- package/src/process-attestation/0.1/payload.ts +794 -0
- package/src/rooms/_shared/0.1/room.ts +1 -1
- package/src/rooms/create/0.1/payload.ts +42 -2
- package/src/rooms/epoch/commits/0.1/payload.ts +341 -0
- package/src/rooms/epoch/mint/0.1/payload.ts +15 -0
- package/src/rooms/epoch/prune/0.1/payload.ts +289 -0
- package/src/rooms/keys/browse/0.1/payload.ts +560 -0
- package/src/rooms/keys/read/0.1/payload.ts +498 -0
- package/src/rooms/owner/anchor/0.1/payload.ts +353 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../src/process-attestation/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA6HH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,qDAA8D,CAAC;AAKvF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,8DAAuE,CAAC;AAKzG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,qDAAqD;IAC5D,OAAO,EAAE,+BAA+B;IACxC,aAAa,EAAE,yQAAyQ;IACxR,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,UAAU;QACV,WA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D,SAAS,EAAE;oBACT,MAAM,EAAE,OAAO;oBACf,OAAO,EAAE;wBACP,MAAM,EAAE,QAAQ;wBAChB,sBAAsB,EAAE,KAAK;wBAC7B,UAAU,EAAE;4BACV,MAAM;yBACP;wBACD,YAAY,EAAE;4BACZ,MAAM,EAAE;gCACN,MAAM,EAAE,QAAQ;gCAChB,MAAM,EAAE;oCACN,SAAS;oCACT,gBAAgB;oCAChB,WAAW;iCACZ;6BACF;4BACD,YAAY,EAAE;gCACZ,MAAM,EAAE,QAAQ;gCAChB,QAAQ,EAAE,WAAW;6BACtB;yBACF;qBACF;iBACF;aACF;SACF;QACD,KAAK,EAAE;YACL,OAAO,EAAE,KAAK;YACd,aAAa,EAAE,uKAAuK;YACtL,MAAM,EAAE,QAAQ;YAChB,eAAe,EAAE,CAAC;YAClB,sBAAsB,EAAE,IAAI;YAC5B,eAAe,EAAE;gBACf,SAAS,EAAE,mCAAmC;aAC/C;SACF;KACF;CACO,CAAC;AAEX;;;;;GAKG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,KAAK;IACtB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,cAAc;CACrB,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,OAAO,EAAE,iBAAiB;IAC1B,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,mBAAmB,EAAE,IAAI;IACzB,kBAAkB,EAAE,IAAI;IACxB,aAAa,EAAE,uBAAuB;CAC9B,CAAC"}
|
|
@@ -12,5 +12,5 @@ export interface RoomsSharedTypes {
|
|
|
12
12
|
* The definitions this shared schema publishes, hoisted to one declaration each.
|
|
13
13
|
* See "../../../_shared/components.js".
|
|
14
14
|
*/
|
|
15
|
-
export type { AuthorityPresentation, DataCommitment, EpochLink, HeadVersion, RecordCount, RecordMetadata, RecordTrace, RetentionPolicy, SealedRecord, Visibility } from "../../../_shared/components.js";
|
|
15
|
+
export type { AnchorCadence, AuthorityPresentation, DataCommitment, EpochAnchor, EpochLink, HeadVersion, ReadVerification, RecordCount, RecordMetadata, RecordTrace, RetentionPolicy, SealedRecord, Visibility } from "../../../_shared/components.js";
|
|
16
16
|
//# sourceMappingURL=room.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"room.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/room.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
|
|
1
|
+
{"version":3,"file":"room.d.ts","sourceRoot":"","sources":["../../../../src/rooms/_shared/0.1/room.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AAED;;;GAGG;AACH,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,cAAc,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
|
|
3
3
|
* Source: specs/rooms/create/0.1/payload.schema.json
|
|
4
4
|
*/
|
|
5
|
-
import type { Ext, RetentionPolicy, Visibility } from "../../../_shared/components.js";
|
|
5
|
+
import type { AnchorCadence, Ext, RetentionPolicy, Visibility } from "../../../_shared/components.js";
|
|
6
6
|
export interface RoomsCreatePayload {
|
|
7
7
|
/**
|
|
8
8
|
* The room's identifier, minted by its owner before this call. A host is told the identifier; it does not assign one, because a room whose identity the host chose could not move to another host.
|
|
@@ -21,6 +21,10 @@ export interface RoomsCreatePayload {
|
|
|
21
21
|
* How long the host will hold the room after its epoch lapses without renewal, before storage may be reclaimed. Stated at creation rather than discovered: reclamation that surprises a member is a failure of the design, not of the member.
|
|
22
22
|
*/
|
|
23
23
|
retentionDays?: number;
|
|
24
|
+
/**
|
|
25
|
+
* What this room intends about anchoring. OPTIONAL; absent reads as `manual`, which draws no expectation and is the honest default for a room whose owner has not decided. A host stores it and serves it back — it constrains nothing the host does.
|
|
26
|
+
*/
|
|
27
|
+
anchorCadence?: AnchorCadence;
|
|
24
28
|
/**
|
|
25
29
|
* Ecosystem-defined extension members per SPEC.md §4.5.1.
|
|
26
30
|
*/
|
|
@@ -35,10 +39,14 @@ export interface RoomsCreateResponsePayload {
|
|
|
35
39
|
* Always 1 for a new room.
|
|
36
40
|
*/
|
|
37
41
|
epoch: number;
|
|
42
|
+
/**
|
|
43
|
+
* Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.
|
|
44
|
+
*/
|
|
45
|
+
anchorCadence?: AnchorCadence;
|
|
38
46
|
ext?: Ext;
|
|
39
47
|
}
|
|
40
48
|
/** Shared definitions this specification references, re-exported under the names it used to declare them with. */
|
|
41
|
-
export type { Ext, RetentionPolicy, Visibility };
|
|
49
|
+
export type { AnchorCadence, Ext, RetentionPolicy, Visibility };
|
|
42
50
|
/** Trust Task type URI. */
|
|
43
51
|
export declare const TYPE_URI: "https://trusttasks.org/spec/rooms/create/0.1";
|
|
44
52
|
/** Stable alias for this specification's request payload shape. */
|
|
@@ -84,6 +92,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
84
92
|
readonly minimum: 1;
|
|
85
93
|
readonly description: "How long the host will hold the room after its epoch lapses without renewal, before storage may be reclaimed. Stated at creation rather than discovered: reclamation that surprises a member is a failure of the design, not of the member.";
|
|
86
94
|
};
|
|
95
|
+
readonly anchorCadence: {
|
|
96
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
97
|
+
readonly description: "What this room intends about anchoring. OPTIONAL; absent reads as `manual`, which draws no expectation and is the honest default for a room whose owner has not decided. A host stores it and serves it back — it constrains nothing the host does.";
|
|
98
|
+
};
|
|
87
99
|
readonly ext: {
|
|
88
100
|
readonly $ref: "#/$defs/Ext";
|
|
89
101
|
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
@@ -106,6 +118,10 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
106
118
|
readonly minimum: 1;
|
|
107
119
|
readonly description: "Always 1 for a new room.";
|
|
108
120
|
};
|
|
121
|
+
readonly anchorCadence: {
|
|
122
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
123
|
+
readonly description: "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.";
|
|
124
|
+
};
|
|
109
125
|
readonly ext: {
|
|
110
126
|
readonly $ref: "#/$defs/Ext";
|
|
111
127
|
};
|
|
@@ -121,6 +137,12 @@ export declare const PAYLOAD_SCHEMA: {
|
|
|
121
137
|
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
122
138
|
};
|
|
123
139
|
};
|
|
140
|
+
readonly AnchorCadence: {
|
|
141
|
+
readonly title: "AnchorCadence";
|
|
142
|
+
readonly type: "string";
|
|
143
|
+
readonly enum: readonly ["never", "renewal", "manual"];
|
|
144
|
+
readonly description: "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour.";
|
|
145
|
+
};
|
|
124
146
|
readonly RetentionPolicy: {
|
|
125
147
|
readonly title: "RetentionPolicy";
|
|
126
148
|
readonly type: "string";
|
|
@@ -157,6 +179,10 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
157
179
|
readonly minimum: 1;
|
|
158
180
|
readonly description: "Always 1 for a new room.";
|
|
159
181
|
};
|
|
182
|
+
readonly anchorCadence: {
|
|
183
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
184
|
+
readonly description: "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.";
|
|
185
|
+
};
|
|
160
186
|
readonly ext: {
|
|
161
187
|
readonly $ref: "#/$defs/Ext";
|
|
162
188
|
};
|
|
@@ -172,6 +198,12 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
|
|
|
172
198
|
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
173
199
|
};
|
|
174
200
|
};
|
|
201
|
+
readonly AnchorCadence: {
|
|
202
|
+
readonly title: "AnchorCadence";
|
|
203
|
+
readonly type: "string";
|
|
204
|
+
readonly enum: readonly ["never", "renewal", "manual"];
|
|
205
|
+
readonly description: "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour.";
|
|
206
|
+
};
|
|
175
207
|
readonly RetentionPolicy: {
|
|
176
208
|
readonly title: "RetentionPolicy";
|
|
177
209
|
readonly type: "string";
|
|
@@ -227,6 +259,10 @@ export declare const SPEC: {
|
|
|
227
259
|
readonly minimum: 1;
|
|
228
260
|
readonly description: "How long the host will hold the room after its epoch lapses without renewal, before storage may be reclaimed. Stated at creation rather than discovered: reclamation that surprises a member is a failure of the design, not of the member.";
|
|
229
261
|
};
|
|
262
|
+
readonly anchorCadence: {
|
|
263
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
264
|
+
readonly description: "What this room intends about anchoring. OPTIONAL; absent reads as `manual`, which draws no expectation and is the honest default for a room whose owner has not decided. A host stores it and serves it back — it constrains nothing the host does.";
|
|
265
|
+
};
|
|
230
266
|
readonly ext: {
|
|
231
267
|
readonly $ref: "#/$defs/Ext";
|
|
232
268
|
readonly description: "Ecosystem-defined extension members per SPEC.md §4.5.1.";
|
|
@@ -249,6 +285,10 @@ export declare const SPEC: {
|
|
|
249
285
|
readonly minimum: 1;
|
|
250
286
|
readonly description: "Always 1 for a new room.";
|
|
251
287
|
};
|
|
288
|
+
readonly anchorCadence: {
|
|
289
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
290
|
+
readonly description: "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.";
|
|
291
|
+
};
|
|
252
292
|
readonly ext: {
|
|
253
293
|
readonly $ref: "#/$defs/Ext";
|
|
254
294
|
};
|
|
@@ -264,6 +304,12 @@ export declare const SPEC: {
|
|
|
264
304
|
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
265
305
|
};
|
|
266
306
|
};
|
|
307
|
+
readonly AnchorCadence: {
|
|
308
|
+
readonly title: "AnchorCadence";
|
|
309
|
+
readonly type: "string";
|
|
310
|
+
readonly enum: readonly ["never", "renewal", "manual"];
|
|
311
|
+
readonly description: "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour.";
|
|
312
|
+
};
|
|
267
313
|
readonly RetentionPolicy: {
|
|
268
314
|
readonly title: "RetentionPolicy";
|
|
269
315
|
readonly type: "string";
|
|
@@ -311,6 +357,10 @@ export declare const RESPONSE_SPEC: {
|
|
|
311
357
|
readonly minimum: 1;
|
|
312
358
|
readonly description: "Always 1 for a new room.";
|
|
313
359
|
};
|
|
360
|
+
readonly anchorCadence: {
|
|
361
|
+
readonly $ref: "#/$defs/AnchorCadence";
|
|
362
|
+
readonly description: "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member.";
|
|
363
|
+
};
|
|
314
364
|
readonly ext: {
|
|
315
365
|
readonly $ref: "#/$defs/Ext";
|
|
316
366
|
};
|
|
@@ -326,6 +376,12 @@ export declare const RESPONSE_SPEC: {
|
|
|
326
376
|
readonly pattern: "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$";
|
|
327
377
|
};
|
|
328
378
|
};
|
|
379
|
+
readonly AnchorCadence: {
|
|
380
|
+
readonly title: "AnchorCadence";
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
readonly enum: readonly ["never", "renewal", "manual"];
|
|
383
|
+
readonly description: "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour.";
|
|
384
|
+
};
|
|
329
385
|
readonly RetentionPolicy: {
|
|
330
386
|
readonly title: "RetentionPolicy";
|
|
331
387
|
readonly type: "string";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGtG,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,UAAU,CAAC;IACvB;;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X;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOhB,CAAC"}
|
|
@@ -47,6 +47,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
47
47
|
"minimum": 1,
|
|
48
48
|
"description": "How long the host will hold the room after its epoch lapses without renewal, before storage may be reclaimed. Stated at creation rather than discovered: reclamation that surprises a member is a failure of the design, not of the member."
|
|
49
49
|
},
|
|
50
|
+
"anchorCadence": {
|
|
51
|
+
"$ref": "#/$defs/AnchorCadence",
|
|
52
|
+
"description": "What this room intends about anchoring. OPTIONAL; absent reads as `manual`, which draws no expectation and is the honest default for a room whose owner has not decided. A host stores it and serves it back — it constrains nothing the host does."
|
|
53
|
+
},
|
|
50
54
|
"ext": {
|
|
51
55
|
"$ref": "#/$defs/Ext",
|
|
52
56
|
"description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
|
|
@@ -72,6 +76,10 @@ export const PAYLOAD_SCHEMA = {
|
|
|
72
76
|
"minimum": 1,
|
|
73
77
|
"description": "Always 1 for a new room."
|
|
74
78
|
},
|
|
79
|
+
"anchorCadence": {
|
|
80
|
+
"$ref": "#/$defs/AnchorCadence",
|
|
81
|
+
"description": "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member."
|
|
82
|
+
},
|
|
75
83
|
"ext": {
|
|
76
84
|
"$ref": "#/$defs/Ext"
|
|
77
85
|
}
|
|
@@ -87,6 +95,16 @@ export const PAYLOAD_SCHEMA = {
|
|
|
87
95
|
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
88
96
|
}
|
|
89
97
|
},
|
|
98
|
+
"AnchorCadence": {
|
|
99
|
+
"title": "AnchorCadence",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"enum": [
|
|
102
|
+
"never",
|
|
103
|
+
"renewal",
|
|
104
|
+
"manual"
|
|
105
|
+
],
|
|
106
|
+
"description": "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour."
|
|
107
|
+
},
|
|
90
108
|
"RetentionPolicy": {
|
|
91
109
|
"title": "RetentionPolicy",
|
|
92
110
|
"type": "string",
|
|
@@ -133,6 +151,10 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
133
151
|
"minimum": 1,
|
|
134
152
|
"description": "Always 1 for a new room."
|
|
135
153
|
},
|
|
154
|
+
"anchorCadence": {
|
|
155
|
+
"$ref": "#/$defs/AnchorCadence",
|
|
156
|
+
"description": "Echoed so a caller knows what was recorded rather than what was asked — the two differ on a host that predates this member."
|
|
157
|
+
},
|
|
136
158
|
"ext": {
|
|
137
159
|
"$ref": "#/$defs/Ext"
|
|
138
160
|
}
|
|
@@ -148,6 +170,16 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
|
|
|
148
170
|
"pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
|
|
149
171
|
}
|
|
150
172
|
},
|
|
173
|
+
"AnchorCadence": {
|
|
174
|
+
"title": "AnchorCadence",
|
|
175
|
+
"type": "string",
|
|
176
|
+
"enum": [
|
|
177
|
+
"never",
|
|
178
|
+
"renewal",
|
|
179
|
+
"manual"
|
|
180
|
+
],
|
|
181
|
+
"description": "How often this room intends to write an `EpochAnchor`. **A statement of intent, not a schedule anything enforces** — nothing in this family can make an owner anchor.\n\nIt is worth stating anyway, and the reason is the interesting part: it makes **silence legible**. A room that says `renewal` and has not anchored in ten epochs is telling a member something, and a member who did not know what to expect could not have noticed. A room that says `never` is telling them not to wait for one.\n\n - `never` — no anchor is intended. Honest, and cheap: anchoring costs a witnessed update and a rotation of the room DID's update key each time.\n - `renewal` — one anchor per epoch change, which is the cadence §9's lifecycle already moves at.\n - `manual` — the owner anchors when they decide to. A member should draw no freshness expectation from this at all, which is exactly what it is for: it is the honest answer where there is no rule.\n\nDeliberately not a duration. A room that promised \"daily\" would be making a claim its owner's availability cannot keep, and a member comparing against a clock would read an owner's holiday as a host's misbehaviour."
|
|
182
|
+
},
|
|
151
183
|
"RetentionPolicy": {
|
|
152
184
|
"title": "RetentionPolicy",
|
|
153
185
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../src/rooms/create/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAmDH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,8CAAuD,CAAC;AAKhF,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,uDAAgE,CAAC;AAKlG;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,8CAA8C;IACrD,OAAO,EAAE,wBAAwB;IACjC,MAAM,EAAE,QAAQ;IAChB,sBAAsB,EAAE,KAAK;IAC7B,UAAU,EAAE;QACV,QAAQ;QACR,YAAY;QACZ,UAAU;KACX;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,aAAa,EAAE,kMAAkM;SAClN;QACD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