@openvtc/trust-tasks 0.12.9 → 0.12.10

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.
Files changed (53) hide show
  1. package/dist/vtc/_shared/0.1/endorsement.d.ts +1 -1
  2. package/dist/vtc/ceremonies/list/0.1/payload.d.ts +22 -0
  3. package/dist/vtc/ceremonies/list/0.1/payload.d.ts.map +1 -1
  4. package/dist/vtc/ceremonies/list/0.1/payload.js +8 -0
  5. package/dist/vtc/ceremonies/list/0.1/payload.js.map +1 -1
  6. package/dist/vtc/community/profile/show/0.1/payload.d.ts +81 -22
  7. package/dist/vtc/community/profile/show/0.1/payload.d.ts.map +1 -1
  8. package/dist/vtc/community/profile/show/0.1/payload.js +34 -8
  9. package/dist/vtc/community/profile/show/0.1/payload.js.map +1 -1
  10. package/dist/vtc/community/profile/update/0.1/payload.d.ts +81 -22
  11. package/dist/vtc/community/profile/update/0.1/payload.d.ts.map +1 -1
  12. package/dist/vtc/community/profile/update/0.1/payload.js +34 -8
  13. package/dist/vtc/community/profile/update/0.1/payload.js.map +1 -1
  14. package/dist/vtc/endorsements/issue/0.1/payload.d.ts +65 -65
  15. package/dist/vtc/endorsements/issue/0.1/payload.d.ts.map +1 -1
  16. package/dist/vtc/endorsements/issue/0.1/payload.js +36 -32
  17. package/dist/vtc/endorsements/issue/0.1/payload.js.map +1 -1
  18. package/dist/vtc/endorsements/list/0.1/payload.d.ts +41 -61
  19. package/dist/vtc/endorsements/list/0.1/payload.d.ts.map +1 -1
  20. package/dist/vtc/endorsements/list/0.1/payload.js +24 -30
  21. package/dist/vtc/endorsements/list/0.1/payload.js.map +1 -1
  22. package/dist/vtc/endorsements/show/0.1/payload.d.ts +41 -61
  23. package/dist/vtc/endorsements/show/0.1/payload.d.ts.map +1 -1
  24. package/dist/vtc/endorsements/show/0.1/payload.js +24 -30
  25. package/dist/vtc/endorsements/show/0.1/payload.js.map +1 -1
  26. package/dist/vtc/install/claim/start/0.1/payload.d.ts +18 -0
  27. package/dist/vtc/install/claim/start/0.1/payload.d.ts.map +1 -1
  28. package/dist/vtc/install/claim/start/0.1/payload.js +5 -0
  29. package/dist/vtc/install/claim/start/0.1/payload.js.map +1 -1
  30. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts +491 -0
  31. package/dist/vtc/registry/diagnostics/0.1/payload.d.ts.map +1 -1
  32. package/dist/vtc/registry/diagnostics/0.1/payload.js +260 -0
  33. package/dist/vtc/registry/diagnostics/0.1/payload.js.map +1 -1
  34. package/dist/vtc/website/files/list/0.1/payload.d.ts +24 -0
  35. package/dist/vtc/website/files/list/0.1/payload.d.ts.map +1 -1
  36. package/dist/vtc/website/files/list/0.1/payload.js +10 -0
  37. package/dist/vtc/website/files/list/0.1/payload.js.map +1 -1
  38. package/dist/vtc/website/generations/list/0.1/payload.d.ts +48 -0
  39. package/dist/vtc/website/generations/list/0.1/payload.d.ts.map +1 -1
  40. package/dist/vtc/website/generations/list/0.1/payload.js +20 -0
  41. package/dist/vtc/website/generations/list/0.1/payload.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/vtc/_shared/0.1/endorsement.ts +1 -1
  44. package/src/vtc/ceremonies/list/0.1/payload.ts +14 -0
  45. package/src/vtc/community/profile/show/0.1/payload.ts +47 -10
  46. package/src/vtc/community/profile/update/0.1/payload.ts +47 -10
  47. package/src/vtc/endorsements/issue/0.1/payload.ts +45 -41
  48. package/src/vtc/endorsements/list/0.1/payload.ts +29 -39
  49. package/src/vtc/endorsements/show/0.1/payload.ts +29 -39
  50. package/src/vtc/install/claim/start/0.1/payload.ts +13 -0
  51. package/src/vtc/registry/diagnostics/0.1/payload.ts +343 -0
  52. package/src/vtc/website/files/list/0.1/payload.ts +14 -0
  53. package/src/vtc/website/generations/list/0.1/payload.ts +28 -0
@@ -39,6 +39,89 @@ export interface VTCRegistryDiagnosticsResponsePayload {
39
39
  */
40
40
  lastError?: string | null;
41
41
  ext?: Ext;
42
+ /**
43
+ * Whether the membership syncer is configured to run at all — false when no trust registry is configured.
44
+ */
45
+ syncerEnabled?: boolean;
46
+ /**
47
+ * Whether the syncer task is alive right now. `syncerEnabled && !syncerRunning` means spawned but dead — mid-restart after a panic, which no queue count reveals.
48
+ */
49
+ syncerRunning?: boolean;
50
+ /**
51
+ * How many times the syncer has been restarted after a panic. A rising value is the "it keeps crashing" signal; queue depth alone looks identical to a healthy idle queue.
52
+ */
53
+ syncerRestarts?: number;
54
+ /**
55
+ * Live messaging connectivity: `connected` when the delivery layer reports a live mediator connection. A re-falsifiable signal read at request time, never a boot-time latch — a maintainer that connected once and dropped must report `disconnected`.
56
+ */
57
+ messagingStatus?: "connected" | "disconnected";
58
+ /**
59
+ * The DID of the agent this maintainer was provisioned against. Admin-gated rather than public: infrastructure topology is not a free reconnaissance oracle.
60
+ */
61
+ vtaDid?: string;
62
+ /**
63
+ * The mediator's endpoint, when one is configured.
64
+ */
65
+ mediatorUrl?: string | null;
66
+ /**
67
+ * The mediator's DID, when one is configured.
68
+ */
69
+ mediatorDid?: string | null;
70
+ registryTransport?: RegistryTransport;
71
+ /**
72
+ * Every protocol this maintainer knows about, whether its own document advertises it, and whether it can serve it right now.
73
+ *
74
+ * Reports all protocols rather than only the advertised ones, so a client can tell "not advertised" from "absent from an older response".
75
+ */
76
+ transports?: TransportStatus[];
77
+ }
78
+ /**
79
+ * How this maintainer reaches its trust registry, and which protocol the last attempt actually chose.
80
+ */
81
+ export interface RegistryTransport {
82
+ /**
83
+ * The registry's DID, when addressed by one.
84
+ */
85
+ did?: string | null;
86
+ /**
87
+ * The registry's endpoint, when addressed by one.
88
+ */
89
+ url?: string | null;
90
+ /**
91
+ * Protocols the registry's own document advertises, in preference order. Empty before the DID has been resolved, or when addressed by URL alone.
92
+ */
93
+ advertised?: string[];
94
+ /**
95
+ * The protocol the last selection chose. Null before the first call, or when selection failed — see `error`.
96
+ */
97
+ active?: string | null;
98
+ /**
99
+ * Why the last selection failed, if it did.
100
+ */
101
+ error?: string | null;
102
+ }
103
+ /**
104
+ * One protocol's advertised and serviceable state.
105
+ *
106
+ * The two are separate on purpose. `advertised` is read from the DID document; `serviceable` is whether this maintainer can answer on it right now. Advertised-but-not-serviceable is the broken state a single boolean hides; serviceable-but-not-advertised is the staged rollout, where the binary is ready and the document has not caught up.
107
+ */
108
+ export interface TransportStatus {
109
+ /**
110
+ * The protocol this row describes.
111
+ */
112
+ protocol: string;
113
+ /**
114
+ * Present in the DID document, so a resolving client will find it.
115
+ */
116
+ advertised: boolean;
117
+ /**
118
+ * This maintainer can answer on it right now. For messaging transports that means the build supports the protocol *and* the connection is live.
119
+ */
120
+ serviceable: boolean;
121
+ /**
122
+ * The advertised endpoint, or null when not advertised — there is no endpoint to give.
123
+ */
124
+ endpoint?: string | null;
42
125
  }
43
126
  /** Trust Task type URI. */
44
127
  export declare const TYPE_URI: "https://trusttasks.org/spec/vtc/registry/diagnostics/0.1";
@@ -115,6 +198,108 @@ export declare const PAYLOAD_SCHEMA: {
115
198
  readonly ext: {
116
199
  readonly $ref: "#/$defs/Ext";
117
200
  };
201
+ readonly syncerEnabled: {
202
+ readonly type: "boolean";
203
+ readonly description: "Whether the membership syncer is configured to run at all — false when no trust registry is configured.";
204
+ };
205
+ readonly syncerRunning: {
206
+ readonly type: "boolean";
207
+ readonly description: "Whether the syncer task is alive right now. `syncerEnabled && !syncerRunning` means spawned but dead — mid-restart after a panic, which no queue count reveals.";
208
+ };
209
+ readonly syncerRestarts: {
210
+ readonly type: "integer";
211
+ readonly minimum: 0;
212
+ readonly description: "How many times the syncer has been restarted after a panic. A rising value is the \"it keeps crashing\" signal; queue depth alone looks identical to a healthy idle queue.";
213
+ };
214
+ readonly messagingStatus: {
215
+ readonly type: "string";
216
+ readonly enum: readonly ["connected", "disconnected"];
217
+ readonly description: "Live messaging connectivity: `connected` when the delivery layer reports a live mediator connection. A re-falsifiable signal read at request time, never a boot-time latch — a maintainer that connected once and dropped must report `disconnected`.";
218
+ };
219
+ readonly vtaDid: {
220
+ readonly type: "string";
221
+ readonly minLength: 1;
222
+ readonly description: "The DID of the agent this maintainer was provisioned against. Admin-gated rather than public: infrastructure topology is not a free reconnaissance oracle.";
223
+ };
224
+ readonly mediatorUrl: {
225
+ readonly type: readonly ["string", "null"];
226
+ readonly description: "The mediator's endpoint, when one is configured.";
227
+ };
228
+ readonly mediatorDid: {
229
+ readonly type: readonly ["string", "null"];
230
+ readonly description: "The mediator's DID, when one is configured.";
231
+ };
232
+ readonly registryTransport: {
233
+ readonly $ref: "#/$defs/RegistryTransport";
234
+ readonly description: "How this maintainer reaches its trust registry, and which protocol the last attempt actually chose.";
235
+ };
236
+ readonly transports: {
237
+ readonly type: "array";
238
+ readonly items: {
239
+ readonly $ref: "#/$defs/TransportStatus";
240
+ };
241
+ readonly description: "Every protocol this maintainer knows about, whether its own document advertises it, and whether it can serve it right now.\n\nReports all protocols rather than only the advertised ones, so a client can tell \"not advertised\" from \"absent from an older response\".";
242
+ };
243
+ };
244
+ };
245
+ readonly TransportStatus: {
246
+ readonly $anchor: "transportStatus";
247
+ readonly title: "TransportStatus";
248
+ readonly type: "object";
249
+ readonly additionalProperties: false;
250
+ readonly description: "One protocol's advertised and serviceable state.\n\nThe two are separate on purpose. `advertised` is read from the DID document; `serviceable` is whether this maintainer can answer on it right now. Advertised-but-not-serviceable is the broken state a single boolean hides; serviceable-but-not-advertised is the staged rollout, where the binary is ready and the document has not caught up.";
251
+ readonly required: readonly ["protocol", "advertised", "serviceable"];
252
+ readonly properties: {
253
+ readonly protocol: {
254
+ readonly type: "string";
255
+ readonly minLength: 1;
256
+ readonly description: "The protocol this row describes.";
257
+ };
258
+ readonly advertised: {
259
+ readonly type: "boolean";
260
+ readonly description: "Present in the DID document, so a resolving client will find it.";
261
+ };
262
+ readonly serviceable: {
263
+ readonly type: "boolean";
264
+ readonly description: "This maintainer can answer on it right now. For messaging transports that means the build supports the protocol *and* the connection is live.";
265
+ };
266
+ readonly endpoint: {
267
+ readonly type: readonly ["string", "null"];
268
+ readonly description: "The advertised endpoint, or null when not advertised — there is no endpoint to give.";
269
+ };
270
+ };
271
+ };
272
+ readonly RegistryTransport: {
273
+ readonly $anchor: "registryTransport";
274
+ readonly title: "RegistryTransport";
275
+ readonly type: "object";
276
+ readonly additionalProperties: false;
277
+ readonly description: "How a maintainer addresses its trust registry, and what the last selection chose.\n\nAdvertised and active are reported separately: a registry that advertises a protocol this maintainer cannot answer is *configured* and *unreachable* at the same time, and one collapsed field cannot say so.";
278
+ readonly properties: {
279
+ readonly did: {
280
+ readonly type: readonly ["string", "null"];
281
+ readonly description: "The registry's DID, when addressed by one.";
282
+ };
283
+ readonly url: {
284
+ readonly type: readonly ["string", "null"];
285
+ readonly description: "The registry's endpoint, when addressed by one.";
286
+ };
287
+ readonly advertised: {
288
+ readonly type: "array";
289
+ readonly items: {
290
+ readonly type: "string";
291
+ readonly minLength: 1;
292
+ };
293
+ readonly description: "Protocols the registry's own document advertises, in preference order. Empty before the DID has been resolved, or when addressed by URL alone.";
294
+ };
295
+ readonly active: {
296
+ readonly type: readonly ["string", "null"];
297
+ readonly description: "The protocol the last selection chose. Null before the first call, or when selection failed — see `error`.";
298
+ };
299
+ readonly error: {
300
+ readonly type: readonly ["string", "null"];
301
+ readonly description: "Why the last selection failed, if it did.";
302
+ };
118
303
  };
119
304
  };
120
305
  readonly Ext: {
@@ -180,6 +365,108 @@ export declare const RESPONSE_PAYLOAD_SCHEMA: {
180
365
  readonly ext: {
181
366
  readonly $ref: "#/$defs/Ext";
182
367
  };
368
+ readonly syncerEnabled: {
369
+ readonly type: "boolean";
370
+ readonly description: "Whether the membership syncer is configured to run at all — false when no trust registry is configured.";
371
+ };
372
+ readonly syncerRunning: {
373
+ readonly type: "boolean";
374
+ readonly description: "Whether the syncer task is alive right now. `syncerEnabled && !syncerRunning` means spawned but dead — mid-restart after a panic, which no queue count reveals.";
375
+ };
376
+ readonly syncerRestarts: {
377
+ readonly type: "integer";
378
+ readonly minimum: 0;
379
+ readonly description: "How many times the syncer has been restarted after a panic. A rising value is the \"it keeps crashing\" signal; queue depth alone looks identical to a healthy idle queue.";
380
+ };
381
+ readonly messagingStatus: {
382
+ readonly type: "string";
383
+ readonly enum: readonly ["connected", "disconnected"];
384
+ readonly description: "Live messaging connectivity: `connected` when the delivery layer reports a live mediator connection. A re-falsifiable signal read at request time, never a boot-time latch — a maintainer that connected once and dropped must report `disconnected`.";
385
+ };
386
+ readonly vtaDid: {
387
+ readonly type: "string";
388
+ readonly minLength: 1;
389
+ readonly description: "The DID of the agent this maintainer was provisioned against. Admin-gated rather than public: infrastructure topology is not a free reconnaissance oracle.";
390
+ };
391
+ readonly mediatorUrl: {
392
+ readonly type: readonly ["string", "null"];
393
+ readonly description: "The mediator's endpoint, when one is configured.";
394
+ };
395
+ readonly mediatorDid: {
396
+ readonly type: readonly ["string", "null"];
397
+ readonly description: "The mediator's DID, when one is configured.";
398
+ };
399
+ readonly registryTransport: {
400
+ readonly $ref: "#/$defs/RegistryTransport";
401
+ readonly description: "How this maintainer reaches its trust registry, and which protocol the last attempt actually chose.";
402
+ };
403
+ readonly transports: {
404
+ readonly type: "array";
405
+ readonly items: {
406
+ readonly $ref: "#/$defs/TransportStatus";
407
+ };
408
+ readonly description: "Every protocol this maintainer knows about, whether its own document advertises it, and whether it can serve it right now.\n\nReports all protocols rather than only the advertised ones, so a client can tell \"not advertised\" from \"absent from an older response\".";
409
+ };
410
+ };
411
+ };
412
+ readonly TransportStatus: {
413
+ readonly $anchor: "transportStatus";
414
+ readonly title: "TransportStatus";
415
+ readonly type: "object";
416
+ readonly additionalProperties: false;
417
+ readonly description: "One protocol's advertised and serviceable state.\n\nThe two are separate on purpose. `advertised` is read from the DID document; `serviceable` is whether this maintainer can answer on it right now. Advertised-but-not-serviceable is the broken state a single boolean hides; serviceable-but-not-advertised is the staged rollout, where the binary is ready and the document has not caught up.";
418
+ readonly required: readonly ["protocol", "advertised", "serviceable"];
419
+ readonly properties: {
420
+ readonly protocol: {
421
+ readonly type: "string";
422
+ readonly minLength: 1;
423
+ readonly description: "The protocol this row describes.";
424
+ };
425
+ readonly advertised: {
426
+ readonly type: "boolean";
427
+ readonly description: "Present in the DID document, so a resolving client will find it.";
428
+ };
429
+ readonly serviceable: {
430
+ readonly type: "boolean";
431
+ readonly description: "This maintainer can answer on it right now. For messaging transports that means the build supports the protocol *and* the connection is live.";
432
+ };
433
+ readonly endpoint: {
434
+ readonly type: readonly ["string", "null"];
435
+ readonly description: "The advertised endpoint, or null when not advertised — there is no endpoint to give.";
436
+ };
437
+ };
438
+ };
439
+ readonly RegistryTransport: {
440
+ readonly $anchor: "registryTransport";
441
+ readonly title: "RegistryTransport";
442
+ readonly type: "object";
443
+ readonly additionalProperties: false;
444
+ readonly description: "How a maintainer addresses its trust registry, and what the last selection chose.\n\nAdvertised and active are reported separately: a registry that advertises a protocol this maintainer cannot answer is *configured* and *unreachable* at the same time, and one collapsed field cannot say so.";
445
+ readonly properties: {
446
+ readonly did: {
447
+ readonly type: readonly ["string", "null"];
448
+ readonly description: "The registry's DID, when addressed by one.";
449
+ };
450
+ readonly url: {
451
+ readonly type: readonly ["string", "null"];
452
+ readonly description: "The registry's endpoint, when addressed by one.";
453
+ };
454
+ readonly advertised: {
455
+ readonly type: "array";
456
+ readonly items: {
457
+ readonly type: "string";
458
+ readonly minLength: 1;
459
+ };
460
+ readonly description: "Protocols the registry's own document advertises, in preference order. Empty before the DID has been resolved, or when addressed by URL alone.";
461
+ };
462
+ readonly active: {
463
+ readonly type: readonly ["string", "null"];
464
+ readonly description: "The protocol the last selection chose. Null before the first call, or when selection failed — see `error`.";
465
+ };
466
+ readonly error: {
467
+ readonly type: readonly ["string", "null"];
468
+ readonly description: "Why the last selection failed, if it did.";
469
+ };
183
470
  };
184
471
  };
185
472
  readonly Ext: {
@@ -263,6 +550,108 @@ export declare const SPEC: {
263
550
  readonly ext: {
264
551
  readonly $ref: "#/$defs/Ext";
265
552
  };
553
+ readonly syncerEnabled: {
554
+ readonly type: "boolean";
555
+ readonly description: "Whether the membership syncer is configured to run at all — false when no trust registry is configured.";
556
+ };
557
+ readonly syncerRunning: {
558
+ readonly type: "boolean";
559
+ readonly description: "Whether the syncer task is alive right now. `syncerEnabled && !syncerRunning` means spawned but dead — mid-restart after a panic, which no queue count reveals.";
560
+ };
561
+ readonly syncerRestarts: {
562
+ readonly type: "integer";
563
+ readonly minimum: 0;
564
+ readonly description: "How many times the syncer has been restarted after a panic. A rising value is the \"it keeps crashing\" signal; queue depth alone looks identical to a healthy idle queue.";
565
+ };
566
+ readonly messagingStatus: {
567
+ readonly type: "string";
568
+ readonly enum: readonly ["connected", "disconnected"];
569
+ readonly description: "Live messaging connectivity: `connected` when the delivery layer reports a live mediator connection. A re-falsifiable signal read at request time, never a boot-time latch — a maintainer that connected once and dropped must report `disconnected`.";
570
+ };
571
+ readonly vtaDid: {
572
+ readonly type: "string";
573
+ readonly minLength: 1;
574
+ readonly description: "The DID of the agent this maintainer was provisioned against. Admin-gated rather than public: infrastructure topology is not a free reconnaissance oracle.";
575
+ };
576
+ readonly mediatorUrl: {
577
+ readonly type: readonly ["string", "null"];
578
+ readonly description: "The mediator's endpoint, when one is configured.";
579
+ };
580
+ readonly mediatorDid: {
581
+ readonly type: readonly ["string", "null"];
582
+ readonly description: "The mediator's DID, when one is configured.";
583
+ };
584
+ readonly registryTransport: {
585
+ readonly $ref: "#/$defs/RegistryTransport";
586
+ readonly description: "How this maintainer reaches its trust registry, and which protocol the last attempt actually chose.";
587
+ };
588
+ readonly transports: {
589
+ readonly type: "array";
590
+ readonly items: {
591
+ readonly $ref: "#/$defs/TransportStatus";
592
+ };
593
+ readonly description: "Every protocol this maintainer knows about, whether its own document advertises it, and whether it can serve it right now.\n\nReports all protocols rather than only the advertised ones, so a client can tell \"not advertised\" from \"absent from an older response\".";
594
+ };
595
+ };
596
+ };
597
+ readonly TransportStatus: {
598
+ readonly $anchor: "transportStatus";
599
+ readonly title: "TransportStatus";
600
+ readonly type: "object";
601
+ readonly additionalProperties: false;
602
+ readonly description: "One protocol's advertised and serviceable state.\n\nThe two are separate on purpose. `advertised` is read from the DID document; `serviceable` is whether this maintainer can answer on it right now. Advertised-but-not-serviceable is the broken state a single boolean hides; serviceable-but-not-advertised is the staged rollout, where the binary is ready and the document has not caught up.";
603
+ readonly required: readonly ["protocol", "advertised", "serviceable"];
604
+ readonly properties: {
605
+ readonly protocol: {
606
+ readonly type: "string";
607
+ readonly minLength: 1;
608
+ readonly description: "The protocol this row describes.";
609
+ };
610
+ readonly advertised: {
611
+ readonly type: "boolean";
612
+ readonly description: "Present in the DID document, so a resolving client will find it.";
613
+ };
614
+ readonly serviceable: {
615
+ readonly type: "boolean";
616
+ readonly description: "This maintainer can answer on it right now. For messaging transports that means the build supports the protocol *and* the connection is live.";
617
+ };
618
+ readonly endpoint: {
619
+ readonly type: readonly ["string", "null"];
620
+ readonly description: "The advertised endpoint, or null when not advertised — there is no endpoint to give.";
621
+ };
622
+ };
623
+ };
624
+ readonly RegistryTransport: {
625
+ readonly $anchor: "registryTransport";
626
+ readonly title: "RegistryTransport";
627
+ readonly type: "object";
628
+ readonly additionalProperties: false;
629
+ readonly description: "How a maintainer addresses its trust registry, and what the last selection chose.\n\nAdvertised and active are reported separately: a registry that advertises a protocol this maintainer cannot answer is *configured* and *unreachable* at the same time, and one collapsed field cannot say so.";
630
+ readonly properties: {
631
+ readonly did: {
632
+ readonly type: readonly ["string", "null"];
633
+ readonly description: "The registry's DID, when addressed by one.";
634
+ };
635
+ readonly url: {
636
+ readonly type: readonly ["string", "null"];
637
+ readonly description: "The registry's endpoint, when addressed by one.";
638
+ };
639
+ readonly advertised: {
640
+ readonly type: "array";
641
+ readonly items: {
642
+ readonly type: "string";
643
+ readonly minLength: 1;
644
+ };
645
+ readonly description: "Protocols the registry's own document advertises, in preference order. Empty before the DID has been resolved, or when addressed by URL alone.";
646
+ };
647
+ readonly active: {
648
+ readonly type: readonly ["string", "null"];
649
+ readonly description: "The protocol the last selection chose. Null before the first call, or when selection failed — see `error`.";
650
+ };
651
+ readonly error: {
652
+ readonly type: readonly ["string", "null"];
653
+ readonly description: "Why the last selection failed, if it did.";
654
+ };
266
655
  };
267
656
  };
268
657
  readonly Ext: {
@@ -338,6 +727,108 @@ export declare const RESPONSE_SPEC: {
338
727
  readonly ext: {
339
728
  readonly $ref: "#/$defs/Ext";
340
729
  };
730
+ readonly syncerEnabled: {
731
+ readonly type: "boolean";
732
+ readonly description: "Whether the membership syncer is configured to run at all — false when no trust registry is configured.";
733
+ };
734
+ readonly syncerRunning: {
735
+ readonly type: "boolean";
736
+ readonly description: "Whether the syncer task is alive right now. `syncerEnabled && !syncerRunning` means spawned but dead — mid-restart after a panic, which no queue count reveals.";
737
+ };
738
+ readonly syncerRestarts: {
739
+ readonly type: "integer";
740
+ readonly minimum: 0;
741
+ readonly description: "How many times the syncer has been restarted after a panic. A rising value is the \"it keeps crashing\" signal; queue depth alone looks identical to a healthy idle queue.";
742
+ };
743
+ readonly messagingStatus: {
744
+ readonly type: "string";
745
+ readonly enum: readonly ["connected", "disconnected"];
746
+ readonly description: "Live messaging connectivity: `connected` when the delivery layer reports a live mediator connection. A re-falsifiable signal read at request time, never a boot-time latch — a maintainer that connected once and dropped must report `disconnected`.";
747
+ };
748
+ readonly vtaDid: {
749
+ readonly type: "string";
750
+ readonly minLength: 1;
751
+ readonly description: "The DID of the agent this maintainer was provisioned against. Admin-gated rather than public: infrastructure topology is not a free reconnaissance oracle.";
752
+ };
753
+ readonly mediatorUrl: {
754
+ readonly type: readonly ["string", "null"];
755
+ readonly description: "The mediator's endpoint, when one is configured.";
756
+ };
757
+ readonly mediatorDid: {
758
+ readonly type: readonly ["string", "null"];
759
+ readonly description: "The mediator's DID, when one is configured.";
760
+ };
761
+ readonly registryTransport: {
762
+ readonly $ref: "#/$defs/RegistryTransport";
763
+ readonly description: "How this maintainer reaches its trust registry, and which protocol the last attempt actually chose.";
764
+ };
765
+ readonly transports: {
766
+ readonly type: "array";
767
+ readonly items: {
768
+ readonly $ref: "#/$defs/TransportStatus";
769
+ };
770
+ readonly description: "Every protocol this maintainer knows about, whether its own document advertises it, and whether it can serve it right now.\n\nReports all protocols rather than only the advertised ones, so a client can tell \"not advertised\" from \"absent from an older response\".";
771
+ };
772
+ };
773
+ };
774
+ readonly TransportStatus: {
775
+ readonly $anchor: "transportStatus";
776
+ readonly title: "TransportStatus";
777
+ readonly type: "object";
778
+ readonly additionalProperties: false;
779
+ readonly description: "One protocol's advertised and serviceable state.\n\nThe two are separate on purpose. `advertised` is read from the DID document; `serviceable` is whether this maintainer can answer on it right now. Advertised-but-not-serviceable is the broken state a single boolean hides; serviceable-but-not-advertised is the staged rollout, where the binary is ready and the document has not caught up.";
780
+ readonly required: readonly ["protocol", "advertised", "serviceable"];
781
+ readonly properties: {
782
+ readonly protocol: {
783
+ readonly type: "string";
784
+ readonly minLength: 1;
785
+ readonly description: "The protocol this row describes.";
786
+ };
787
+ readonly advertised: {
788
+ readonly type: "boolean";
789
+ readonly description: "Present in the DID document, so a resolving client will find it.";
790
+ };
791
+ readonly serviceable: {
792
+ readonly type: "boolean";
793
+ readonly description: "This maintainer can answer on it right now. For messaging transports that means the build supports the protocol *and* the connection is live.";
794
+ };
795
+ readonly endpoint: {
796
+ readonly type: readonly ["string", "null"];
797
+ readonly description: "The advertised endpoint, or null when not advertised — there is no endpoint to give.";
798
+ };
799
+ };
800
+ };
801
+ readonly RegistryTransport: {
802
+ readonly $anchor: "registryTransport";
803
+ readonly title: "RegistryTransport";
804
+ readonly type: "object";
805
+ readonly additionalProperties: false;
806
+ readonly description: "How a maintainer addresses its trust registry, and what the last selection chose.\n\nAdvertised and active are reported separately: a registry that advertises a protocol this maintainer cannot answer is *configured* and *unreachable* at the same time, and one collapsed field cannot say so.";
807
+ readonly properties: {
808
+ readonly did: {
809
+ readonly type: readonly ["string", "null"];
810
+ readonly description: "The registry's DID, when addressed by one.";
811
+ };
812
+ readonly url: {
813
+ readonly type: readonly ["string", "null"];
814
+ readonly description: "The registry's endpoint, when addressed by one.";
815
+ };
816
+ readonly advertised: {
817
+ readonly type: "array";
818
+ readonly items: {
819
+ readonly type: "string";
820
+ readonly minLength: 1;
821
+ };
822
+ readonly description: "Protocols the registry's own document advertises, in preference order. Empty before the DID has been resolved, or when addressed by URL alone.";
823
+ };
824
+ readonly active: {
825
+ readonly type: readonly ["string", "null"];
826
+ readonly description: "The protocol the last selection chose. Null before the first call, or when selection failed — see `error`.";
827
+ };
828
+ readonly error: {
829
+ readonly type: readonly ["string", "null"];
830
+ readonly description: "Why the last selection failed, if it did.";
831
+ };
341
832
  };
342
833
  };
343
834
  readonly Ext: {
@@ -1 +1 @@
1
- {"version":3,"file":"payload.d.ts","sourceRoot":"","sources":["../../../../../src/vtc/registry/diagnostics/0.1/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,WAAW,6BAA6B;IAC5C,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AACD;;GAEG;AACH,MAAM,WAAW,GAAG;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CAClC;AACD,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,cAAc,EAAE,QAAQ,GAAG,UAAU,CAAC;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,CAAC,EAAE,GAAG,CAAC;CACX;AAED,2BAA2B;AAC3B,eAAO,MAAM,QAAQ,EAAG,0DAAmE,CAAC;AAE5F,mEAAmE;AACnE,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