@openvtc/trust-tasks 0.28.3 → 0.28.5

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 (62) hide show
  1. package/CHANGELOG.md +85 -0
  2. package/dist/_extends.d.ts.map +1 -1
  3. package/dist/_extends.js +2 -0
  4. package/dist/_extends.js.map +1 -1
  5. package/dist/index.d.ts +12 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +12 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/peer-check/ask/0.1/payload.d.ts +397 -0
  10. package/dist/peer-check/ask/0.1/payload.d.ts.map +1 -0
  11. package/dist/peer-check/ask/0.1/payload.js +235 -0
  12. package/dist/peer-check/ask/0.1/payload.js.map +1 -0
  13. package/dist/rooms/keys/act/0.1/payload.d.ts +4 -4
  14. package/dist/rooms/keys/act/0.1/payload.js +1 -1
  15. package/dist/rooms/keys/act/0.2/payload.d.ts +4 -4
  16. package/dist/rooms/keys/act/0.2/payload.js +1 -1
  17. package/dist/rooms/keys/act/0.3/payload.d.ts +4 -4
  18. package/dist/rooms/keys/act/0.3/payload.js +1 -1
  19. package/dist/rooms/keys/act/0.4/payload.d.ts +4 -4
  20. package/dist/rooms/keys/act/0.4/payload.js +1 -1
  21. package/dist/rooms/keys/act/0.5/payload.d.ts +4 -4
  22. package/dist/rooms/keys/act/0.5/payload.js +1 -1
  23. package/dist/rooms/keys/act/0.6/payload.d.ts +4 -4
  24. package/dist/rooms/keys/act/0.6/payload.js +1 -1
  25. package/dist/rooms/keys/act/0.7/payload.d.ts +4 -4
  26. package/dist/rooms/keys/act/0.7/payload.js +1 -1
  27. package/dist/rooms/keys/act/0.8/payload.d.ts +14 -2
  28. package/dist/rooms/keys/act/0.8/payload.d.ts.map +1 -1
  29. package/dist/rooms/keys/act/0.8/payload.js +1 -1
  30. package/dist/rooms/keys/act/0.8/payload.js.map +1 -1
  31. package/dist/rooms/keys/act/0.9/payload.d.ts +560 -0
  32. package/dist/rooms/keys/act/0.9/payload.d.ts.map +1 -0
  33. package/dist/rooms/keys/act/0.9/payload.js +319 -0
  34. package/dist/rooms/keys/act/0.9/payload.js.map +1 -0
  35. package/dist/vta/webvh/dids/update/1.0/payload.d.ts +14 -2
  36. package/dist/vta/webvh/dids/update/1.0/payload.d.ts.map +1 -1
  37. package/dist/vta/webvh/dids/update/1.0/payload.js +1 -1
  38. package/dist/vta/webvh/dids/update/1.0/payload.js.map +1 -1
  39. package/dist/vta/webvh/dids/update/1.1/payload.d.ts +511 -0
  40. package/dist/vta/webvh/dids/update/1.1/payload.d.ts.map +1 -0
  41. package/dist/vta/webvh/dids/update/1.1/payload.js +251 -0
  42. package/dist/vta/webvh/dids/update/1.1/payload.js.map +1 -0
  43. package/dist/vtc/elections/ballot-boxes/list/0.1/payload.d.ts +366 -0
  44. package/dist/vtc/elections/ballot-boxes/list/0.1/payload.d.ts.map +1 -0
  45. package/dist/vtc/elections/ballot-boxes/list/0.1/payload.js +205 -0
  46. package/dist/vtc/elections/ballot-boxes/list/0.1/payload.js.map +1 -0
  47. package/package.json +1 -1
  48. package/src/_extends.ts +2 -0
  49. package/src/index.ts +12 -0
  50. package/src/peer-check/ask/0.1/payload.ts +301 -0
  51. package/src/rooms/keys/act/0.1/payload.ts +5 -5
  52. package/src/rooms/keys/act/0.2/payload.ts +5 -5
  53. package/src/rooms/keys/act/0.3/payload.ts +5 -5
  54. package/src/rooms/keys/act/0.4/payload.ts +5 -5
  55. package/src/rooms/keys/act/0.5/payload.ts +5 -5
  56. package/src/rooms/keys/act/0.6/payload.ts +5 -5
  57. package/src/rooms/keys/act/0.7/payload.ts +5 -5
  58. package/src/rooms/keys/act/0.8/payload.ts +15 -3
  59. package/src/rooms/keys/act/0.9/payload.ts +396 -0
  60. package/src/vta/webvh/dids/update/1.0/payload.ts +15 -3
  61. package/src/vta/webvh/dids/update/1.1/payload.ts +351 -0
  62. package/src/vtc/elections/ballot-boxes/list/0.1/payload.ts +260 -0
package/CHANGELOG.md CHANGED
@@ -11,6 +11,91 @@ The package versions over **its own API** — what a consumer compiles against
11
11
  not over `SPEC.md`. Below 1.0 a breaking change bumps the leading non-zero
12
12
  component.
13
13
 
14
+ ## 0.28.5 — 2026-11-01
15
+
16
+
17
+ ### Added
18
+
19
+ - **vtc/elections/ballot-boxes/list**: 0.1 reads the community's trusted ballot boxes (#998)
20
+
21
+ A manifest must name one of the community's trusted voting services in
22
+ ballotBox (VTI-VOT-082), or vtc/elections/create refuses it with
23
+ ballotBoxNotTrusted, but nothing let an administrator read that list: they
24
+ had to ask whoever operates the community's host. VTI's console manifest
25
+ builder could offer only a free-text DID field.
26
+
27
+ vtc/elections/ballot-boxes/list/0.1 answers a holder of
28
+ vtc.elections.manage with every trusted ballot box: its DID exactly as
29
+ ballotBox must name it, and the operator and sameOperator members are shown
30
+ for an election naming it (VTI-VOT-090), so the administrator choosing one
31
+ sees what their members will. Read-only; the list stays host configuration,
32
+ changed by no task.
33
+
34
+ Rust, TS, Go and Dart bindings regenerated.
35
+
36
+ ## 0.28.4 — 2026-10-30
37
+
38
+
39
+ ### Added
40
+
41
+ - **vta/webvh/dids/update**: 1.1 lists or removes an existing log's did:scid alias (#992)
42
+
43
+ * feat(vta/webvh/dids/update): 1.1 lists or removes an existing log's did:scid alias
44
+
45
+ Every did:webvh log is also a did:scid:vh:1 identity, but the two are distinct
46
+ subjects until the did:webvh document lists the did:scid DID URL in
47
+ alsoKnownAs (VTI-KEY-164). create/1.2 lists it in the first entry by default;
48
+ a log created before it, or without it, had no way to get it but sending a
49
+ whole replacement document with a hand-built DID URL — and the src encoding
50
+ (`%3A` for a port, `/` for each `:`) is exactly what a client gets wrong.
51
+
52
+ 1.1 adds `scidAlsoKnownAs` (boolean): true lists the DID URL for the log's
53
+ current location (replacing one left from before a move), false removes
54
+ every did:scid entry naming this SCID. The agent derives the DID URL; the
55
+ caller never writes it. The response reports `scidAlsoKnownAs` and
56
+ `scidDidUrl`. New codes: `scidAliasRequired` (removing the alias of an
57
+ identity the agent presents as did:scid, VTI-KEY-166) and `noChange` (an
58
+ entry identical to the latest is not published, so the update key is not
59
+ rotated for nothing).
60
+
61
+ This is the pre-key-role path: vta/dids/update refuses every identity created
62
+ before key roles (notKeyRoleIdentity), which is every did:webvh DID that
63
+ exists today. Only adds, so 1.1 extends 1.0. All four bindings regenerated.
64
+
65
+ - **peer-check**: Peer-check/ask 0.1 — a signed yes or no from a peer's own device (#973)
66
+
67
+ * feat(peer-check): peer-check/ask 0.1 — a signed yes or no from a peer's own device
68
+
69
+ One party asks another a short question, such as "did you just ask me
70
+ for this?", over a channel they already share. The responder's device
71
+ prompts its user and returns a signed answer that echoes the challenge
72
+ and carries the task digest of the request, so the asker can verify it
73
+ against the responder's DID and it cannot be replayed against another
74
+ ask.
75
+
76
+ Draft. Specification, schema, negative examples and the regenerated Rust,
77
+ TypeScript, Go and Dart bindings.
78
+
79
+ - **rooms/keys/act**: 0.9 completes rooms/records/put/0.4 (#990)
80
+
81
+ rooms/records/put/0.4 (#987) lets a record on an open room carry a file,
82
+ its description and random file key in cleartext.file. 0.8's table is
83
+ closed (Recipient item 1) and names records/put at 0.1–0.3 only, so a
84
+ conforming key holder refuses 0.4 with typeNotActable: a member whose keys
85
+ their key holder holds could upload an open room's blob (upload/begin/0.2
86
+ is in the table) but never write the record that names it, and the blob
87
+ would sit unreferenced until collected.
88
+
89
+ 0.9 adds rooms/records/put/0.4 to the put row, write, presentation
90
+ inserted, completed exactly as 0.3. The key holder neither mints nor checks
91
+ the file key: the producer mints it (put 0.4 Producer item 7), the host
92
+ checks the record (Host item 12), and the key holder signs what it was
93
+ handed unaltered (Recipient item 6).
94
+
95
+ Schemas are 0.8's and no error code is added; the table only widens, so
96
+ 0.9 declares extends: "0.8" and every spec naming 0.8 stays current. All
97
+ four bindings regenerated.
98
+
14
99
  ## 0.28.3 — 2026-10-30
15
100
 
16
101
 
@@ -1 +1 @@
1
- {"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAM/D,CAAC"}
1
+ {"version":3,"file":"_extends.d.ts","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAQ/D,CAAC"}
package/dist/_extends.js CHANGED
@@ -6,10 +6,12 @@
6
6
  * `extendsChain` follows them transitively.
7
7
  */
8
8
  export const EXTENDS_BY_TYPE_URI = Object.freeze({
9
+ "https://trusttasks.org/spec/rooms/keys/act/0.9": "0.8",
9
10
  "https://trusttasks.org/spec/rooms/records/put/0.4": "0.3",
10
11
  "https://trusttasks.org/spec/vta/did-templates/create/3.2": "3.1",
11
12
  "https://trusttasks.org/spec/vta/did-templates/get/3.2": "3.1",
12
13
  "https://trusttasks.org/spec/vta/did-templates/list/3.2": "3.1",
13
14
  "https://trusttasks.org/spec/vta/did-templates/update/3.2": "3.1",
15
+ "https://trusttasks.org/spec/vta/webvh/dids/update/1.1": "1.0",
14
16
  });
15
17
  //# sourceMappingURL=_extends.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;CAClE,CAAC,CAAC"}
1
+ {"version":3,"file":"_extends.js","sourceRoot":"","sources":["../src/_extends.ts"],"names":[],"mappings":"AAAA,wEAAwE;AAExE;;;;;GAKG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAqC,MAAM,CAAC,MAAM,CAAC;IACjF,gDAAgD,EAAE,KAAK;IACvD,mDAAmD,EAAE,KAAK;IAC1D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;IAC9D,wDAAwD,EAAE,KAAK;IAC/D,0DAA0D,EAAE,KAAK;IACjE,uDAAuD,EAAE,KAAK;CAC/D,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1252,6 +1252,9 @@ export import MessagingQueueStatus_v0_1 = _MessagingQueueStatus_v0_1;
1252
1252
  import * as _MessagingStatsShow_v0_1 from "./messaging/stats/show/0.1/payload.js";
1253
1253
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1254
1254
  export import MessagingStatsShow_v0_1 = _MessagingStatsShow_v0_1;
1255
+ import * as _PeerCheckAsk_v0_1 from "./peer-check/ask/0.1/payload.js";
1256
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1257
+ export import PeerCheckAsk_v0_1 = _PeerCheckAsk_v0_1;
1255
1258
  import * as _ContactAnnotationsShared_v0_1 from "./persona/_shared/0.1/contact-annotations.js";
1256
1259
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1257
1260
  export import ContactAnnotationsShared_v0_1 = _ContactAnnotationsShared_v0_1;
@@ -1684,6 +1687,9 @@ export import RoomsKeysAct_v0_7 = _RoomsKeysAct_v0_7;
1684
1687
  import * as _RoomsKeysAct_v0_8 from "./rooms/keys/act/0.8/payload.js";
1685
1688
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1686
1689
  export import RoomsKeysAct_v0_8 = _RoomsKeysAct_v0_8;
1690
+ import * as _RoomsKeysAct_v0_9 from "./rooms/keys/act/0.9/payload.js";
1691
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1692
+ export import RoomsKeysAct_v0_9 = _RoomsKeysAct_v0_9;
1687
1693
  import * as _RoomsKeysBackfill_v0_1 from "./rooms/keys/backfill/0.1/payload.js";
1688
1694
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
1689
1695
  export import RoomsKeysBackfill_v0_1 = _RoomsKeysBackfill_v0_1;
@@ -2726,6 +2732,9 @@ export import VtaWebvhDidsRotateKeys_v2_0 = _VtaWebvhDidsRotateKeys_v2_0;
2726
2732
  import * as _VtaWebvhDidsUpdate_v1_0 from "./vta/webvh/dids/update/1.0/payload.js";
2727
2733
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2728
2734
  export import VtaWebvhDidsUpdate_v1_0 = _VtaWebvhDidsUpdate_v1_0;
2735
+ import * as _VtaWebvhDidsUpdate_v1_1 from "./vta/webvh/dids/update/1.1/payload.js";
2736
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2737
+ export import VtaWebvhDidsUpdate_v1_1 = _VtaWebvhDidsUpdate_v1_1;
2729
2738
  import * as _VtaWebvhDidsUpdate_v2_0 from "./vta/webvh/dids/update/2.0/payload.js";
2730
2739
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
2731
2740
  export import VtaWebvhDidsUpdate_v2_0 = _VtaWebvhDidsUpdate_v2_0;
@@ -3125,6 +3134,9 @@ export import VtcDirectoryNotesList_v0_2 = _VtcDirectoryNotesList_v0_2;
3125
3134
  import * as _VtcDirectoryQuery_v0_1 from "./vtc/directory/query/0.1/payload.js";
3126
3135
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
3127
3136
  export import VtcDirectoryQuery_v0_1 = _VtcDirectoryQuery_v0_1;
3137
+ import * as _VtcElectionsBallotBoxesList_v0_1 from "./vtc/elections/ballot-boxes/list/0.1/payload.js";
3138
+ /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
3139
+ export import VtcElectionsBallotBoxesList_v0_1 = _VtcElectionsBallotBoxesList_v0_1;
3128
3140
  import * as _VtcElectionsCancel_v0_1 from "./vtc/elections/cancel/0.1/payload.js";
3129
3141
  /** @deprecated The prebuilt specification modules will be removed: pin the tasks you use with the `trust-tasks` CLI, generate them with `@openvtc/trust-tasks-gen`, and import the runtime from `@openvtc/trust-tasks/runtime` (GETTING-STARTED.md). */
3130
3142
  export import VtcElectionsCancel_v0_1 = _VtcElectionsCancel_v0_1;