@openvtc/trust-tasks 0.19.7 → 0.19.9

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 (80) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/_shared/components.d.ts +234 -17
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +11 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +11 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/vta/_shared/0.1/backup-transfer.d.ts +18 -0
  9. package/dist/vta/_shared/0.1/backup-transfer.d.ts.map +1 -0
  10. package/dist/vta/_shared/0.1/backup-transfer.js +6 -0
  11. package/dist/vta/_shared/0.1/backup-transfer.js.map +1 -0
  12. package/dist/vta/_shared/0.1/did-template.d.ts +1 -1
  13. package/dist/vta/_shared/0.1/did-template.d.ts.map +1 -1
  14. package/dist/vta/_shared/0.2/did-template.d.ts +16 -0
  15. package/dist/vta/_shared/0.2/did-template.d.ts.map +1 -0
  16. package/dist/vta/_shared/0.2/did-template.js +6 -0
  17. package/dist/vta/_shared/0.2/did-template.js.map +1 -0
  18. package/dist/vta/backup/finalize-import/1.1/payload.d.ts +477 -0
  19. package/dist/vta/backup/finalize-import/1.1/payload.d.ts.map +1 -0
  20. package/dist/vta/backup/finalize-import/1.1/payload.js +249 -0
  21. package/dist/vta/backup/finalize-import/1.1/payload.js.map +1 -0
  22. package/dist/vta/backup/get-chunk/1.0/payload.d.ts +461 -0
  23. package/dist/vta/backup/get-chunk/1.0/payload.d.ts.map +1 -0
  24. package/dist/vta/backup/get-chunk/1.0/payload.js +250 -0
  25. package/dist/vta/backup/get-chunk/1.0/payload.js.map +1 -0
  26. package/dist/vta/backup/initiate-export/1.1/payload.d.ts +896 -0
  27. package/dist/vta/backup/initiate-export/1.1/payload.d.ts.map +1 -0
  28. package/dist/vta/backup/initiate-export/1.1/payload.js +507 -0
  29. package/dist/vta/backup/initiate-export/1.1/payload.js.map +1 -0
  30. package/dist/vta/backup/initiate-import/1.1/payload.d.ts +888 -0
  31. package/dist/vta/backup/initiate-import/1.1/payload.d.ts.map +1 -0
  32. package/dist/vta/backup/initiate-import/1.1/payload.js +504 -0
  33. package/dist/vta/backup/initiate-import/1.1/payload.js.map +1 -0
  34. package/dist/vta/backup/put-chunk/1.0/payload.d.ts +495 -0
  35. package/dist/vta/backup/put-chunk/1.0/payload.d.ts.map +1 -0
  36. package/dist/vta/backup/put-chunk/1.0/payload.js +265 -0
  37. package/dist/vta/backup/put-chunk/1.0/payload.js.map +1 -0
  38. package/dist/vta/did-templates/create/2.0/payload.d.ts +1 -1
  39. package/dist/vta/did-templates/create/2.0/payload.d.ts.map +1 -1
  40. package/dist/vta/did-templates/create/3.0/payload.d.ts +1092 -0
  41. package/dist/vta/did-templates/create/3.0/payload.d.ts.map +1 -0
  42. package/dist/vta/did-templates/create/3.0/payload.js +682 -0
  43. package/dist/vta/did-templates/create/3.0/payload.js.map +1 -0
  44. package/dist/vta/did-templates/get/2.0/payload.d.ts +1 -1
  45. package/dist/vta/did-templates/get/2.0/payload.d.ts.map +1 -1
  46. package/dist/vta/did-templates/get/3.0/payload.d.ts +742 -0
  47. package/dist/vta/did-templates/get/3.0/payload.d.ts.map +1 -0
  48. package/dist/vta/did-templates/get/3.0/payload.js +461 -0
  49. package/dist/vta/did-templates/get/3.0/payload.js.map +1 -0
  50. package/dist/vta/did-templates/list/2.0/payload.d.ts +1 -1
  51. package/dist/vta/did-templates/list/2.0/payload.d.ts.map +1 -1
  52. package/dist/vta/did-templates/list/3.0/payload.d.ts +799 -0
  53. package/dist/vta/did-templates/list/3.0/payload.d.ts.map +1 -0
  54. package/dist/vta/did-templates/list/3.0/payload.js +487 -0
  55. package/dist/vta/did-templates/list/3.0/payload.js.map +1 -0
  56. package/dist/vta/did-templates/update/2.0/payload.d.ts +1 -1
  57. package/dist/vta/did-templates/update/2.0/payload.d.ts.map +1 -1
  58. package/dist/vta/did-templates/update/3.0/payload.d.ts +1106 -0
  59. package/dist/vta/did-templates/update/3.0/payload.d.ts.map +1 -0
  60. package/dist/vta/did-templates/update/3.0/payload.js +688 -0
  61. package/dist/vta/did-templates/update/3.0/payload.js.map +1 -0
  62. package/package.json +1 -1
  63. package/src/_shared/components.ts +239 -18
  64. package/src/index.ts +11 -0
  65. package/src/vta/_shared/0.1/backup-transfer.ts +19 -0
  66. package/src/vta/_shared/0.1/did-template.ts +1 -1
  67. package/src/vta/_shared/0.2/did-template.ts +17 -0
  68. package/src/vta/backup/finalize-import/1.1/payload.ts +333 -0
  69. package/src/vta/backup/get-chunk/1.0/payload.ts +308 -0
  70. package/src/vta/backup/initiate-export/1.1/payload.ts +564 -0
  71. package/src/vta/backup/initiate-import/1.1/payload.ts +561 -0
  72. package/src/vta/backup/put-chunk/1.0/payload.ts +331 -0
  73. package/src/vta/did-templates/create/2.0/payload.ts +1 -1
  74. package/src/vta/did-templates/create/3.0/payload.ts +717 -0
  75. package/src/vta/did-templates/get/2.0/payload.ts +1 -1
  76. package/src/vta/did-templates/get/3.0/payload.ts +496 -0
  77. package/src/vta/did-templates/list/2.0/payload.ts +1 -1
  78. package/src/vta/did-templates/list/3.0/payload.ts +531 -0
  79. package/src/vta/did-templates/update/2.0/payload.ts +1 -1
  80. package/src/vta/did-templates/update/3.0/payload.ts +727 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"payload.js","sourceRoot":"","sources":["../../../../../src/vta/did-templates/update/3.0/payload.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA8BH,2BAA2B;AAC3B,MAAM,CAAC,MAAM,QAAQ,GAAG,0DAAmE,CAAC;AAK5F,qEAAqE;AACrE,MAAM,CAAC,MAAM,iBAAiB,GAAG,mEAA4E,CAAC;AAK9G;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,SAAS,EAAE,8CAA8C;IACzD,KAAK,EAAE,0DAA0D;IACjE,OAAO,EAAE,mCAAmC;IAC5C,aAA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,GAAG;IAClB,OAAO,EAAE,QAAQ;IACjB,QAAQ,EAAE,KAAK;IACf,eAAe,EAAE,IAAI;IACrB,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openvtc/trust-tasks",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
4
4
  "description": "Generated TypeScript bindings for the Trust Tasks framework registry.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -42,6 +42,14 @@ export type AuditAction =
42
42
  | "accountChangeQueueLimits"
43
43
  | "adminAdd"
44
44
  | "adminStrip";
45
+ /**
46
+ * The control-plane account of a bundle transfer: which algorithm, on what terms, until when. Exactly one of the two shapes — they are mutually exclusive, since StreamDescriptor requires `transportUrl` and `transportToken` and forbids `chunks`, and ChunkedDescriptor requires `chunks` and forbids both.
47
+ */
48
+ export type BundleDescriptor = StreamDescriptor | ChunkedDescriptor;
49
+ /**
50
+ * Handle for a bundle across its whole lifecycle. Recipient-generated and unguessable, which is what lets an unauthorized reference be answered as not-found without confirming existence. Opaque: a producer quotes what it was given and must not derive, guess or enumerate one.
51
+ */
52
+ export type BundleId = string;
45
53
  /**
46
54
  * A calendar date, `YYYY-MM-DD` (RFC 3339 full-date), with no time or zone. Compared as a UTC date.
47
55
  */
@@ -82,6 +90,22 @@ export type Capability_DeviceV0_2 =
82
90
  | "memoryWrite"
83
91
  | "roomPresent"
84
92
  | "roomOpen";
93
+ /**
94
+ * Number of chunks in the bundle, equal to ceil(expectedSizeBytes / chunkSize). Bounded at 4096 so that the manifest itself — one digest per chunk — fits in the single document that carries it under the same message-size reasoning as a chunk.
95
+ */
96
+ export type ChunkCount = number;
97
+ /**
98
+ * The chunk's bytes, base64url-encoded without padding (RFC 4648 §5). Bounded at 349526 characters, the unpadded encoding of a 262144-byte chunk. These are bytes of the encrypted bundle, so a chunk read in isolation reveals nothing of the agent's state — but a complete set of chunks is the export, and is to be handled as such.
99
+ */
100
+ export type ChunkData = string;
101
+ /**
102
+ * Zero-based position of a chunk within its bundle. Valid values are 0 to chunkCount − 1; an index outside that range is refused with chunkOutOfRange rather than validated here, because the bound depends on the bundle.
103
+ */
104
+ export type ChunkIndex = number;
105
+ /**
106
+ * Size in bytes of every chunk except the last, which carries the remainder and is between 1 and this value inclusive. The ceiling of 262144 (256 KiB) is normative and is derived in `vta/backup/initiate-export/1.1` under Chunked transfer: it is the largest power of two whose `get-chunk` or `put-chunk` document still fits a 1 MiB mediator message after base64url encoding of `data`, DIDComm authcrypt encoding, and two nested forward wrappers. The floor of 16384 keeps a 1 GiB bundle within `ChunkCount`'s ceiling at sizes a constrained transport can still choose.
107
+ */
108
+ export type ChunkSize = number;
85
109
  /**
86
110
  * The vocabulary token naming what a value IS — `name.legal`, `phone.mobile`, `address.postal`, `person.birthDate`. Dotted, most-general segment first, so that a consumer with no knowledge of the specific token can still group by its prefix.
87
111
  *
@@ -165,6 +189,14 @@ export type DigestMultibase = string;
165
189
  * Whether the subject is permitted. The ABSENCE of any grant is treated as `deny` (default-deny).
166
190
  */
167
191
  export type Effect_ConsentV0_1 = "allow" | "deny";
192
+ /**
193
+ * Lowercase hex SHA-256 of the whole bundle's bytes. Kept in the hex form the 1.0 descriptor published rather than moved to DigestMultibase, because it is an unchanged member of an existing descriptor and re-encoding it would break every stream producer for no gain in what it checks. For a chunked transfer it is the check over the reassembled bundle, applied after every chunk has verified individually, so that a correct set of chunks assembled in the wrong order is still caught.
194
+ */
195
+ export type ExpectedSha256 = string;
196
+ /**
197
+ * Total byte count of the bundle. A zero-length bundle is not a degenerate success — nothing was serialized — so the floor is 1.
198
+ */
199
+ export type ExpectedSizeBytes = number;
168
200
  /**
169
201
  * Optimistic-concurrency precondition. A positive value requires the record's current `version` to equal it exactly; zero means create-only and applies only when no live record exists at the address.
170
202
  */
@@ -173,6 +205,10 @@ export type ExpectedVersion_PersonaV0_1 = number;
173
205
  * Optimistic-concurrency precondition on a write. A positive value requires that the record's current `version` equals it exactly. Zero means "create only" — the write applies only if no LIVE record exists at the address, which is what makes lease acquisition safe: without it two instances can each read "absent", each write, and each believe it won. A tombstone is not a live record, so `expectedVersion: 0` succeeds over one; the created record takes the namespace's next counter value, which is necessarily greater than the tombstone's.
174
206
  */
175
207
  export type ExpectedVersion_VtaV0_1 = number;
208
+ /**
209
+ * After which the bundle is collected: staged bytes discarded, tokens and chunk requests refused. Short by design. For a chunked transfer a recipient may move it later as chunks are exchanged, never past its own ceiling — each chunk response reports the current value.
210
+ */
211
+ export type ExpiresAt = string;
176
212
  /**
177
213
  * A colour **name**, resolved by each consumer against its own palette — never a hex value or any other literal. Two reasons, and both are about the consumer rather than the holder. A literal cannot be legible in a terminal, in a light theme and in a dark one at once, so a stored `#8B0000` is a colour that is wrong somewhere and the holder has no way to know where. And a consumer that reserves colours to mean something — an error, a warning, an irreversible act — must be able to keep a holder's decorative choice out of that channel; it cannot do that with an arbitrary value, and it can do it trivially with a closed set it maps itself. The eight members are chosen to be distinguishable from one another and deliberately carry no status connotation: none is named for success, warning or danger.
178
214
  */
@@ -1249,6 +1285,36 @@ export interface CapabilityManifest {
1249
1285
  configSchema?: string;
1250
1286
  ext?: Ext;
1251
1287
  }
1288
+ /**
1289
+ * The terms of a `chunkedTrustTask` transfer, committed before any chunk moves. On export the recipient states them in the descriptor; on import the producer pre-commits them in the request and the recipient echoes them. Either way the manifest arrives in a document whose proof is REQUIRED, so the per-chunk digests are authenticated by the party that computed them and each chunk can be verified — and a single bad chunk re-fetched or refused — on arrival rather than only after reassembly.
1290
+ *
1291
+ * Consistency rules JSON Schema cannot state: `chunkCount` MUST equal ceil(expectedSizeBytes / chunkSize) for the bundle the manifest describes, and `chunkDigests` MUST have exactly `chunkCount` items. A party receiving a manifest violating either MUST refuse it.
1292
+ */
1293
+ export interface ChunkManifest {
1294
+ chunkSize: ChunkSize;
1295
+ chunkCount: ChunkCount;
1296
+ /**
1297
+ * Digest of each chunk's raw bytes (not of its base64url encoding), in index order. Compared as decoded multihash bytes, never as encoded strings. sha2-256 is RECOMMENDED and MUST be implemented by every party; a party that does not implement the hash a digest names MUST treat the manifest as unverifiable rather than skip the check.
1298
+ *
1299
+ * @minItems 1
1300
+ * @maxItems 4096
1301
+ */
1302
+ chunkDigests: [DigestMultibase, ...DigestMultibase[]];
1303
+ }
1304
+ /**
1305
+ * A descriptor for the `chunkedTrustTask` algorithm. Carries no address and no bearer token: every chunk moves in a Trust Task document whose sender the transport authenticates, so possession of a token would add nothing and would be one more secret to leak.
1306
+ */
1307
+ export interface ChunkedDescriptor {
1308
+ bundleId: BundleId;
1309
+ /**
1310
+ * Discriminates this shape from StreamDescriptor.
1311
+ */
1312
+ algorithm: "chunkedTrustTask";
1313
+ chunks: ChunkManifest;
1314
+ expectedSha256: ExpectedSha256;
1315
+ expectedSizeBytes: ExpectedSizeBytes;
1316
+ expiresAt: ExpiresAt;
1317
+ }
1252
1318
  /**
1253
1319
  * A community profile as a portable export carries it — the mutable profile members plus the immutable identity they belong to.
1254
1320
  *
@@ -1853,10 +1919,107 @@ export interface DidRecord {
1853
1919
  */
1854
1920
  ext?: Ext;
1855
1921
  }
1922
+ /**
1923
+ * A persisted template. The DidTemplate fields are flattened at the top level alongside the resolved scope and provenance metadata. Same shape returned by get/create/update and carried per-item by list.
1924
+ */
1925
+ export interface DidTemplateRecord_VtaV0_1 {
1926
+ schemaVersion: 1;
1927
+ name: string;
1928
+ kind: string;
1929
+ description?: string | null;
1930
+ methods?: string[];
1931
+ requiredVars?: string[];
1932
+ optionalVars?: {
1933
+ [k: string]: unknown | undefined;
1934
+ };
1935
+ defaults?: {
1936
+ [k: string]: unknown | undefined;
1937
+ };
1938
+ document: {};
1939
+ /**
1940
+ * Resolved scope of the stored template.
1941
+ */
1942
+ scope: Scope_VtaV0_1;
1943
+ /**
1944
+ * UTC unix-epoch seconds the template was first stored.
1945
+ */
1946
+ createdAt: number;
1947
+ /**
1948
+ * UTC unix-epoch seconds of the last write.
1949
+ */
1950
+ updatedAt: number;
1951
+ /**
1952
+ * DID of the admin who last wrote the template.
1953
+ */
1954
+ createdBy: string;
1955
+ }
1956
+ /**
1957
+ * A persisted template. The DidTemplate fields are flattened at the top level alongside the resolved scope and provenance metadata. Same shape returned by get/create/update and carried per-item by list.
1958
+ */
1959
+ export interface DidTemplateRecord_VtaV0_2 {
1960
+ /**
1961
+ * Template schema version. 1 is the historical shape, whose keys are implicitly an Ed25519 signing key and an X25519 key-agreement key. 2 adds the `keys` block, which makes those explicit and allows others.
1962
+ */
1963
+ schemaVersion: 1 | 2;
1964
+ name: string;
1965
+ kind: string;
1966
+ description?: string | null;
1967
+ methods?: string[];
1968
+ requiredVars?: string[];
1969
+ optionalVars?: {
1970
+ [k: string]: unknown | undefined;
1971
+ };
1972
+ defaults?: {
1973
+ [k: string]: unknown | undefined;
1974
+ };
1975
+ /**
1976
+ * The keys this template needs, by slot name. REQUIRES `schemaVersion` 2.
1977
+ *
1978
+ * A slot's name becomes a document placeholder by an explicit rule — uppercase, `-` to `_`, suffix `_KEY_MB` — so slot `signing` is rendered into `{SIGNING_KEY_MB}` and slot `ka` into `{KA_KEY_MB}`. Those are the two names a `schemaVersion` 1 template already uses, which is deliberate: a v1 template is exactly a v2 template whose `keys` block is `{signing: [ed25519], ka: [x25519]}`, so an implementation can read both through one path and raising the version cannot change how a v1 template renders.
1979
+ *
1980
+ * An implementation MUST refuse a template that declares a slot whose placeholder never appears in `document` — the key would be minted and never published, so verifiers would continue to see only the keys that are, while the operator believes the template migrated. It MUST likewise refuse a slot placeholder in `document` that no slot declares, which would render as an unsubstituted literal.
1981
+ */
1982
+ keys?: {
1983
+ [k: string]:
1984
+ | {
1985
+ /**
1986
+ * What the key is for. Deliberately coarser than DID Core's five verification relationships: the template says what the key is, and the `document` body says where it appears. Encoding the relationship here as well would let the two disagree.
1987
+ */
1988
+ purpose: "signing" | "keyAgreement";
1989
+ /**
1990
+ * Acceptable algorithms, MOST PREFERRED FIRST. A list rather than a single value because a fleet does not migrate atomically: `["mldsa44", "ed25519"]` means mint ML-DSA-44 where the implementation can and Ed25519 otherwise, so one template serves a VTA with post-quantum support and one without. An implementation MUST NOT substitute an algorithm absent from this list; running out of candidates is an error, never a silent downgrade — a deployment intended to be post-quantum would otherwise ship classical keys with nothing reporting it. `minItems: 1` for the same reason: an empty list would express no preference and inherit whatever the implementation defaulted to.
1991
+ *
1992
+ * @minItems 1
1993
+ */
1994
+ algorithms: [
1995
+ "ed25519" | "x25519" | "p256" | "mldsa44" | "mldsa65",
1996
+ ...("ed25519" | "x25519" | "p256" | "mldsa44" | "mldsa65")[]
1997
+ ];
1998
+ }
1999
+ | undefined;
2000
+ };
2001
+ document: {};
2002
+ /**
2003
+ * Resolved scope of the stored template.
2004
+ */
2005
+ scope: Scope_VtaV0_1;
2006
+ /**
2007
+ * UTC unix-epoch seconds the template was first stored.
2008
+ */
2009
+ createdAt: number;
2010
+ /**
2011
+ * UTC unix-epoch seconds of the last write.
2012
+ */
2013
+ updatedAt: number;
2014
+ /**
2015
+ * DID of the admin who last wrote the template.
2016
+ */
2017
+ createdBy: string;
2018
+ }
1856
2019
  /**
1857
2020
  * Authored template shape: a DID document with `{TOKEN}` placeholders plus the variable contract the VTA's renderer enforces.
1858
2021
  */
1859
- export interface DidTemplate {
2022
+ export interface DidTemplate_VtaV0_1 {
1860
2023
  /**
1861
2024
  * Template schema version. Currently always 1.
1862
2025
  */
@@ -1899,38 +2062,75 @@ export interface DidTemplate {
1899
2062
  document: {};
1900
2063
  }
1901
2064
  /**
1902
- * A persisted template. The DidTemplate fields are flattened at the top level alongside the resolved scope and provenance metadata. Same shape returned by get/create/update and carried per-item by list.
2065
+ * Authored template shape: a DID document with `{TOKEN}` placeholders plus the variable contract the VTA's renderer enforces.
1903
2066
  */
1904
- export interface DidTemplateRecord {
1905
- schemaVersion: 1;
2067
+ export interface DidTemplate_VtaV0_2 {
2068
+ /**
2069
+ * Template schema version. 1 is the historical shape, whose keys are implicitly an Ed25519 signing key and an X25519 key-agreement key. 2 adds the `keys` block, which makes those explicit and allows others.
2070
+ */
2071
+ schemaVersion: 1 | 2;
2072
+ /**
2073
+ * Template id within its scope. Lowercase alphanumeric and hyphen only.
2074
+ */
1906
2075
  name: string;
2076
+ /**
2077
+ * Classification hint, e.g. `mediator`, `did-host-http`, `app`. Drives downstream provisioning behaviour.
2078
+ */
1907
2079
  kind: string;
2080
+ /**
2081
+ * Human-readable description of what the template provisions.
2082
+ */
1908
2083
  description?: string | null;
2084
+ /**
2085
+ * DID methods this template targets, e.g. ["webvh", "web"] for a hosted DID or ["key"] for a did:key.
2086
+ */
1909
2087
  methods?: string[];
2088
+ /**
2089
+ * Variables the caller MUST supply at render time. MUST NOT include reserved ambient names (DID, SIGNING_KEY_MB, KA_KEY_MB, VTA_DID, VTA_URL, CONTEXT_ID, CONTEXT_DID, NOW).
2090
+ */
1910
2091
  requiredVars?: string[];
2092
+ /**
2093
+ * Variables with default values, keyed by variable name.
2094
+ */
1911
2095
  optionalVars?: {
1912
2096
  [k: string]: unknown | undefined;
1913
2097
  };
2098
+ /**
2099
+ * Hints for CLI / setup wizards (e.g. preRotationCount, portable, addMediatorService).
2100
+ */
1914
2101
  defaults?: {
1915
2102
  [k: string]: unknown | undefined;
1916
2103
  };
1917
- document: {};
1918
- /**
1919
- * Resolved scope of the stored template.
1920
- */
1921
- scope: Scope_VtaV0_1;
1922
2104
  /**
1923
- * UTC unix-epoch seconds the template was first stored.
1924
- */
1925
- createdAt: number;
1926
- /**
1927
- * UTC unix-epoch seconds of the last write.
1928
- */
1929
- updatedAt: number;
2105
+ * The keys this template needs, by slot name. REQUIRES `schemaVersion` 2.
2106
+ *
2107
+ * A slot's name becomes a document placeholder by an explicit rule — uppercase, `-` to `_`, suffix `_KEY_MB` — so slot `signing` is rendered into `{SIGNING_KEY_MB}` and slot `ka` into `{KA_KEY_MB}`. Those are the two names a `schemaVersion` 1 template already uses, which is deliberate: a v1 template is exactly a v2 template whose `keys` block is `{signing: [ed25519], ka: [x25519]}`, so an implementation can read both through one path and raising the version cannot change how a v1 template renders.
2108
+ *
2109
+ * An implementation MUST refuse a template that declares a slot whose placeholder never appears in `document` — the key would be minted and never published, so verifiers would continue to see only the keys that are, while the operator believes the template migrated. It MUST likewise refuse a slot placeholder in `document` that no slot declares, which would render as an unsubstituted literal.
2110
+ */
2111
+ keys?: {
2112
+ [k: string]:
2113
+ | {
2114
+ /**
2115
+ * What the key is for. Deliberately coarser than DID Core's five verification relationships: the template says what the key is, and the `document` body says where it appears. Encoding the relationship here as well would let the two disagree.
2116
+ */
2117
+ purpose: "signing" | "keyAgreement";
2118
+ /**
2119
+ * Acceptable algorithms, MOST PREFERRED FIRST. A list rather than a single value because a fleet does not migrate atomically: `["mldsa44", "ed25519"]` means mint ML-DSA-44 where the implementation can and Ed25519 otherwise, so one template serves a VTA with post-quantum support and one without. An implementation MUST NOT substitute an algorithm absent from this list; running out of candidates is an error, never a silent downgrade — a deployment intended to be post-quantum would otherwise ship classical keys with nothing reporting it. `minItems: 1` for the same reason: an empty list would express no preference and inherit whatever the implementation defaulted to.
2120
+ *
2121
+ * @minItems 1
2122
+ */
2123
+ algorithms: [
2124
+ "ed25519" | "x25519" | "p256" | "mldsa44" | "mldsa65",
2125
+ ...("ed25519" | "x25519" | "p256" | "mldsa44" | "mldsa65")[]
2126
+ ];
2127
+ }
2128
+ | undefined;
2129
+ };
1930
2130
  /**
1931
- * DID of the admin who last wrote the template.
2131
+ * The DID document body with `{TOKEN}` placeholders. `document.id` MUST contain the `{DID}` placeholder. Every `{TOKEN}` MUST be declared in requiredVars/optionalVars or be a reserved ambient name.
1932
2132
  */
1933
- createdBy: string;
2133
+ document: {};
1934
2134
  }
1935
2135
  /**
1936
2136
  * DIDComm v2 authcrypt JWE (ECDH-1PU + A256CBC-HS512, X25519/P-256 key agreement). Sender authentication is the JWE's `skid` — the producer's DID#keyAgreement. The maintainer's keyAgreement key is the recipient. Cleartext is JCS-canonical JSON of the variant's payload type.
@@ -3445,6 +3645,27 @@ export interface StepUpProof_VaultV0_2 {
3445
3645
  */
3446
3646
  challengeId: string;
3447
3647
  }
3648
+ /**
3649
+ * A descriptor for a transfer that happens outside Trust Task documents, at an address the recipient publishes — the `stream` algorithm, and any other algorithm a recipient offers that is shaped as an address plus a bearer credential. Identical in members to the `vta/backup/* /1.0` descriptor.
3650
+ */
3651
+ export interface StreamDescriptor {
3652
+ bundleId: BundleId;
3653
+ /**
3654
+ * The mechanism in use. Never `chunkedTrustTask`, which has its own descriptor shape; a descriptor naming it with a transport address is malformed.
3655
+ */
3656
+ algorithm: string;
3657
+ /**
3658
+ * Where to fetch (export) or write (import) the bytes. A recipient with no address at which it is reachable cannot produce this and refuses with transportUnavailable rather than returning an unusable one. An import address is write-only: staged bytes are never served back from it.
3659
+ */
3660
+ transportUrl: string;
3661
+ /**
3662
+ * Bearer credential for transportUrl, presented in the X-Backup-Token header. Minted per bundle and never reused. A recipient should store only a hash of it, and should accept an export token once.
3663
+ */
3664
+ transportToken: string;
3665
+ expectedSha256: ExpectedSha256;
3666
+ expectedSizeBytes: ExpectedSizeBytes;
3667
+ expiresAt: ExpiresAt;
3668
+ }
3448
3669
  /**
3449
3670
  * An access token (typically short-lived JWT) paired with an optional refresh token (typically long-lived opaque string). The shapes follow OAuth 2.0 (RFC 6749 §5.1) conventions but are not coupled to any particular OAuth profile.
3450
3671
  */
package/src/index.ts CHANGED
@@ -335,11 +335,13 @@ export * as VettingSession_v0_1 from "./vetting/session/0.1/payload.js";
335
335
  export * as VrcRelationshipsIssue_v0_1 from "./vrc/relationships/issue/0.1/payload.js";
336
336
  export * as VrcRelationshipsPropose_v0_1 from "./vrc/relationships/propose/0.1/payload.js";
337
337
  export * as AppStateRecordShared_v0_1 from "./vta/_shared/0.1/app-state-record.js";
338
+ export * as BackupTransferShared_v0_1 from "./vta/_shared/0.1/backup-transfer.js";
338
339
  export * as ContextShared_v0_1 from "./vta/_shared/0.1/context.js";
339
340
  export * as DidTemplateShared_v0_1 from "./vta/_shared/0.1/did-template.js";
340
341
  export * as PasskeyVmShared_v0_1 from "./vta/_shared/0.1/passkey-vm.js";
341
342
  export * as ServiceShared_v0_1 from "./vta/_shared/0.1/service.js";
342
343
  export * as WebvhRecordsShared_v0_1 from "./vta/_shared/0.1/webvh-records.js";
344
+ export * as DidTemplateShared_v0_2 from "./vta/_shared/0.2/did-template.js";
343
345
  export * as VtaAppStateDelete_v1_0 from "./vta/app-state/delete/1.0/payload.js";
344
346
  export * as VtaAppStateGetMany_v1_0 from "./vta/app-state/get-many/1.0/payload.js";
345
347
  export * as VtaAppStateGet_v1_0 from "./vta/app-state/get/1.0/payload.js";
@@ -349,8 +351,13 @@ export * as VtaAppStatePut_v1_0 from "./vta/app-state/put/1.0/payload.js";
349
351
  export * as VtaBackupAbort_v1_0 from "./vta/backup/abort/1.0/payload.js";
350
352
  export * as VtaBackupCompleteExport_v1_0 from "./vta/backup/complete-export/1.0/payload.js";
351
353
  export * as VtaBackupFinalizeImport_v1_0 from "./vta/backup/finalize-import/1.0/payload.js";
354
+ export * as VtaBackupFinalizeImport_v1_1 from "./vta/backup/finalize-import/1.1/payload.js";
355
+ export * as VtaBackupGetChunk_v1_0 from "./vta/backup/get-chunk/1.0/payload.js";
352
356
  export * as VtaBackupInitiateExport_v1_0 from "./vta/backup/initiate-export/1.0/payload.js";
357
+ export * as VtaBackupInitiateExport_v1_1 from "./vta/backup/initiate-export/1.1/payload.js";
353
358
  export * as VtaBackupInitiateImport_v1_0 from "./vta/backup/initiate-import/1.0/payload.js";
359
+ export * as VtaBackupInitiateImport_v1_1 from "./vta/backup/initiate-import/1.1/payload.js";
360
+ export * as VtaBackupPutChunk_v1_0 from "./vta/backup/put-chunk/1.0/payload.js";
354
361
  export * as VtaContextsCreate_v1_0 from "./vta/contexts/create/1.0/payload.js";
355
362
  export * as VtaContextsDelete_v1_0 from "./vta/contexts/delete/1.0/payload.js";
356
363
  export * as VtaContextsDidTemplatesCreate_v1_0 from "./vta/contexts/did-templates/create/1.0/payload.js";
@@ -371,16 +378,20 @@ export * as VtaCredentialsList_v0_1 from "./vta/credentials/list/0.1/payload.js"
371
378
  export * as VtaCredentialsRevoke_v0_1 from "./vta/credentials/revoke/0.1/payload.js";
372
379
  export * as VtaDidTemplatesCreate_v1_0 from "./vta/did-templates/create/1.0/payload.js";
373
380
  export * as VtaDidTemplatesCreate_v2_0 from "./vta/did-templates/create/2.0/payload.js";
381
+ export * as VtaDidTemplatesCreate_v3_0 from "./vta/did-templates/create/3.0/payload.js";
374
382
  export * as VtaDidTemplatesDelete_v1_0 from "./vta/did-templates/delete/1.0/payload.js";
375
383
  export * as VtaDidTemplatesDelete_v2_0 from "./vta/did-templates/delete/2.0/payload.js";
376
384
  export * as VtaDidTemplatesGet_v1_0 from "./vta/did-templates/get/1.0/payload.js";
377
385
  export * as VtaDidTemplatesGet_v2_0 from "./vta/did-templates/get/2.0/payload.js";
386
+ export * as VtaDidTemplatesGet_v3_0 from "./vta/did-templates/get/3.0/payload.js";
378
387
  export * as VtaDidTemplatesList_v1_0 from "./vta/did-templates/list/1.0/payload.js";
379
388
  export * as VtaDidTemplatesList_v2_0 from "./vta/did-templates/list/2.0/payload.js";
389
+ export * as VtaDidTemplatesList_v3_0 from "./vta/did-templates/list/3.0/payload.js";
380
390
  export * as VtaDidTemplatesRender_v1_0 from "./vta/did-templates/render/1.0/payload.js";
381
391
  export * as VtaDidTemplatesRender_v2_0 from "./vta/did-templates/render/2.0/payload.js";
382
392
  export * as VtaDidTemplatesUpdate_v1_0 from "./vta/did-templates/update/1.0/payload.js";
383
393
  export * as VtaDidTemplatesUpdate_v2_0 from "./vta/did-templates/update/2.0/payload.js";
394
+ export * as VtaDidTemplatesUpdate_v3_0 from "./vta/did-templates/update/3.0/payload.js";
384
395
  export * as VtaManagementReloadServices_v1_0 from "./vta/management/reload-services/1.0/payload.js";
385
396
  export * as VtaMemoryDelete_v0_1 from "./vta/memory/delete/0.1/payload.js";
386
397
  export * as VtaMemoryList_v0_1 from "./vta/memory/list/0.1/payload.js";
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/_shared/0.1/backup-transfer.schema.json
4
+ */
5
+
6
+ /**
7
+ * The shapes that describe how an encrypted backup bundle moves between an operator and an agent. Defined once because `initiate-export` and `initiate-import` return the same descriptor, `initiate-import` and the descriptor carry the same chunk manifest, and `get-chunk` and `put-chunk` carry the same chunk — an inline copy per task would fork the moment one of them gained a member.
8
+ *
9
+ * Two transfer algorithms are defined. `stream` moves the whole bundle in one HTTPS request against a recipient-published address, authorized by a bearer token. `chunkedTrustTask` moves it as a sequence of Trust Task documents over whatever transport already carries the family's control-plane tasks, which is what makes a backup possible for an agent that speaks only DIDComm or TSP and has no HTTPS address to publish. The normative account of `chunkedTrustTask` — the chunk-size bound and why, ordering, resume and expiry — is in the `vta/backup/initiate-export/1.1` specification's Chunked transfer section; these definitions carry its shape.
10
+ */
11
+ export interface BackupTransferSharedDefinitionsForTheVtaBackupSpecFamily {
12
+ [k: string]: unknown | undefined;
13
+ }
14
+
15
+ /**
16
+ * The definitions this shared schema publishes, hoisted to one declaration each.
17
+ * See "../../../_shared/components.js".
18
+ */
19
+ export type { BundleDescriptor, BundleId, ChunkCount, ChunkData, ChunkedDescriptor, ChunkIndex, ChunkManifest, ChunkSize, ExpectedSha256, ExpectedSizeBytes, ExpiresAt, StreamDescriptor } from "../../../_shared/components.js";
@@ -14,4 +14,4 @@ export interface DidTemplateDidTemplateRecordSharedDefinitionsForTheVtaDidTempla
14
14
  * The definitions this shared schema publishes, hoisted to one declaration each.
15
15
  * See "../../../_shared/components.js".
16
16
  */
17
- export type { DidTemplate, DidTemplateRecord, Scope_VtaV0_1 as Scope } from "../../../_shared/components.js";
17
+ export type { DidTemplate_VtaV0_1 as DidTemplate, DidTemplateRecord_VtaV0_1 as DidTemplateRecord, Scope_VtaV0_1 as Scope } from "../../../_shared/components.js";
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/vta/_shared/0.2/did-template.schema.json
4
+ */
5
+
6
+ /**
7
+ * A *DID template* is the JSON shape of a DID document with `{TOKEN}` placeholders plus the variable contract the VTA's renderer enforces; the VTA fills the placeholders with keys it mints and caller-supplied variables when provisioning an integration. `DidTemplate` is the authored shape a caller uploads; `DidTemplateRecord` is the persisted shape the VTA returns (the DidTemplate fields flattened at the top level alongside the resolved `Scope` and provenance metadata). Shared by every task in the vta/did-templates/* family so the record is defined once rather than duplicated per task.
8
+ */
9
+ export interface DidTemplateDidTemplateRecordSharedDefinitionsForTheVtaDidTemplatesSpecFamily {
10
+ [k: string]: unknown | undefined;
11
+ }
12
+
13
+ /**
14
+ * The definitions this shared schema publishes, hoisted to one declaration each.
15
+ * See "../../../_shared/components.js".
16
+ */
17
+ export type { DidTemplate_VtaV0_2 as DidTemplate, DidTemplateRecord_VtaV0_2 as DidTemplateRecord, Scope_VtaV0_1 as Scope } from "../../../_shared/components.js";