docxodus 12.4.1 → 12.5.0

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 (59) hide show
  1. package/README.md +78 -0
  2. package/dist/core.d.ts +4 -4
  3. package/dist/core.d.ts.map +1 -1
  4. package/dist/core.js +21 -200
  5. package/dist/core.js.map +1 -1
  6. package/dist/docxodus.worker.js +280 -7
  7. package/dist/docxodus.worker.js.map +1 -1
  8. package/dist/editor-reconcile.d.ts +5 -0
  9. package/dist/editor-reconcile.d.ts.map +1 -1
  10. package/dist/editor-reconcile.js.map +1 -1
  11. package/dist/editor.bundle.js +157 -15
  12. package/dist/editor.d.ts +44 -0
  13. package/dist/editor.d.ts.map +1 -1
  14. package/dist/editor.js +209 -22
  15. package/dist/editor.js.map +1 -1
  16. package/dist/embed.bundle.js +560 -217
  17. package/dist/embed.iife.js +560 -217
  18. package/dist/export-assets.json +20 -20
  19. package/dist/export-browser.bundle.js +101 -4
  20. package/dist/external-annotation-wire.d.ts +19 -0
  21. package/dist/external-annotation-wire.d.ts.map +1 -0
  22. package/dist/external-annotation-wire.js +139 -0
  23. package/dist/external-annotation-wire.js.map +1 -0
  24. package/dist/session.bundle.js +258 -7
  25. package/dist/session.d.ts +61 -12
  26. package/dist/session.d.ts.map +1 -1
  27. package/dist/session.js +234 -7
  28. package/dist/session.js.map +1 -1
  29. package/dist/types.d.ts +371 -4
  30. package/dist/types.d.ts.map +1 -1
  31. package/dist/types.js.map +1 -1
  32. package/dist/verification-request.d.ts +9 -0
  33. package/dist/verification-request.d.ts.map +1 -0
  34. package/dist/verification-request.js +37 -0
  35. package/dist/verification-request.js.map +1 -0
  36. package/dist/wasm/_framework/Docxodus.wasm +0 -0
  37. package/dist/wasm/_framework/Docxodus.wasm.br +0 -0
  38. package/dist/wasm/_framework/DocxodusWasm.wasm +0 -0
  39. package/dist/wasm/_framework/DocxodusWasm.wasm.br +0 -0
  40. package/dist/wasm/_framework/System.Private.CoreLib.wasm +0 -0
  41. package/dist/wasm/_framework/System.Private.CoreLib.wasm.br +0 -0
  42. package/dist/wasm/_framework/System.Private.Xml.Linq.wasm +0 -0
  43. package/dist/wasm/_framework/System.Private.Xml.Linq.wasm.br +0 -0
  44. package/dist/wasm/_framework/System.Security.Cryptography.wasm +0 -0
  45. package/dist/wasm/_framework/System.Security.Cryptography.wasm.br +0 -0
  46. package/dist/wasm/_framework/System.Text.Encodings.Web.wasm +0 -0
  47. package/dist/wasm/_framework/System.Text.Encodings.Web.wasm.br +0 -0
  48. package/dist/wasm/_framework/System.Text.Json.wasm +0 -0
  49. package/dist/wasm/_framework/System.Text.Json.wasm.br +0 -0
  50. package/dist/wasm/_framework/dotnet.boot.js +9 -9
  51. package/dist/wasm/_framework/dotnet.boot.js.br +0 -0
  52. package/dist/wasm/_framework/dotnet.native.wasm +0 -0
  53. package/dist/wasm/_framework/dotnet.native.wasm.br +0 -0
  54. package/dist/worker-proxy.bundle.js +101 -4
  55. package/dist/worker-proxy.d.ts +21 -3
  56. package/dist/worker-proxy.d.ts.map +1 -1
  57. package/dist/worker-proxy.js +57 -2
  58. package/dist/worker-proxy.js.map +1 -1
  59. package/package.json +1 -1
@@ -27,6 +27,37 @@ var DocxodusSession = (() => {
27
27
  openDocxSession: () => openDocxSession
28
28
  });
29
29
 
30
+ // src/verification-request.ts
31
+ function serializeVerificationRequest(request) {
32
+ if (request === null || typeof request !== "object" || Array.isArray(request)) {
33
+ throw new RangeError("a verification request must be an object");
34
+ }
35
+ const { companionArtifacts, ...rest } = request;
36
+ const wire = { ...rest };
37
+ if (companionArtifacts !== void 0) {
38
+ wire.companionArtifacts = companionArtifacts.map(encodeCompanion);
39
+ }
40
+ return JSON.stringify(wire);
41
+ }
42
+ function encodeCompanion(artifact) {
43
+ const { bytes, ...rest } = artifact;
44
+ const wire = { ...rest };
45
+ if (bytes !== void 0) wire.bytesB64 = bytesToBase64(bytes);
46
+ return wire;
47
+ }
48
+ function bytesToBase64(bytes) {
49
+ if (typeof btoa === "function") {
50
+ let binary = "";
51
+ const chunkSize = 32768;
52
+ for (let i = 0; i < bytes.length; i += chunkSize) {
53
+ const chunk = bytes.subarray(i, i + chunkSize);
54
+ binary += String.fromCharCode.apply(null, chunk);
55
+ }
56
+ return btoa(binary);
57
+ }
58
+ return Buffer.from(bytes).toString("base64");
59
+ }
60
+
30
61
  // src/types.ts
31
62
  var PlaceholderKinds = {
32
63
  BlankFill: 1,
@@ -86,9 +117,23 @@ var DocxodusSession = (() => {
86
117
  modified: after.filter((_, index) => modified[index])
87
118
  };
88
119
  }
120
+ var BATCH_REPLAY_CAVEATS = {
121
+ revisionDates: "Tracked-revision date attributes may use the execution clock; compare revision ids, authors, types, text, and anchors across separate executions.",
122
+ commentDates: "Comment date attributes may be generated from the execution clock; supply dates explicitly when byte-identical replay is required.",
123
+ annotationMetadata: "Auto-generated annotation ids or creation timestamps are execution metadata; supply id and created explicitly when byte-identical replay is required.",
124
+ createdAnchors: "Created anchors and related OOXML ids may be generated independently on replay; preview/apply equivalence is semantic and packageHash or anchor ids may differ."
125
+ };
126
+ var BATCH_REPLAY_CAVEAT_TEXTS = new Set(Object.values(BATCH_REPLAY_CAVEATS));
127
+ var RETAINED_PREVIEW_RECEIPTS = 8;
89
128
  var DocxSession = class _DocxSession {
90
129
  /** @internal */
91
130
  constructor(handle, wasm) {
131
+ /**
132
+ * The receipts this client composed for previews it retained, keyed by previewId. The host
133
+ * keeps the package and the binding; the step receipts live only here, so a commit can return
134
+ * the previewed steps and change sets without the host re-parsing a client-composed result.
135
+ */
136
+ this.retainedPreviewReceipts = /* @__PURE__ */ new Map();
92
137
  // ─── Raw escape hatch ────────────────────────────────────────────────
93
138
  this.raw = {
94
139
  getXml: (anchorId) => this.wasm.RawGetXml(this.handle, anchorId),
@@ -153,10 +198,152 @@ var DocxodusSession = (() => {
153
198
  * Execute synchronous mutations atomically by default. Atomic success is one undo/version
154
199
  * unit; any failed or thrown step restores the exact package and history checkpoint.
155
200
  */
156
- executeBatch(steps, mode = "atomic") {
201
+ executeBatch(steps, mode = "atomic", transaction) {
157
202
  if (mode !== "atomic" && mode !== "best_effort") {
158
203
  throw new RangeError(`unknown mutation batch mode: ${String(mode)}`);
159
204
  }
205
+ if (transaction === void 0) return this.recorded(steps, mode, void 0, () => this.runBatch(steps, mode));
206
+ return this.runTransactional(
207
+ transaction,
208
+ mode,
209
+ (identity) => this.recorded(steps, mode, identity, () => this.runBatch(steps, mode))
210
+ );
211
+ }
212
+ /**
213
+ * What the session's host-owned delivery evidence recorder holds (issue #748). `enabled` is
214
+ * false, with the reason, unless the session was opened with `captureDeliveryEvidence`.
215
+ */
216
+ getDeliveryEvidenceStatus() {
217
+ if (!this.wasm.GetDeliveryEvidenceStatus) {
218
+ throw new Error("This WASM bundle predates delivery evidence; rebuild docxodus.");
219
+ }
220
+ return JSON.parse(this.wasm.GetDeliveryEvidenceStatus(this.handle));
221
+ }
222
+ /**
223
+ * Build the receipt-bearing delivery of this session through the shared bundle service: the
224
+ * clean current package (`final-docx`), the source-to-delivered semantic delta, and the change
225
+ * receipt (`change-receipt`) minted from the captured evidence — verifiable with
226
+ * `verifyDeliveryReceipt` against the returned artifact bytes. A history that cannot be
227
+ * attested yields an `incomplete` bundle whose receipt artifact carries the reason, and
228
+ * `evidence.unavailableReason` says why.
229
+ */
230
+ buildDeliveryReceipt(options) {
231
+ if (!this.wasm.BuildDeliveryReceipt) {
232
+ throw new Error("This WASM bundle predates delivery evidence; rebuild docxodus.");
233
+ }
234
+ const wire = JSON.parse(this.wasm.BuildDeliveryReceipt(this.handle, JSON.stringify(options ?? {})));
235
+ const decode = (base64) => Uint8Array.from(atob(base64), (c) => c.charCodeAt(0));
236
+ return {
237
+ status: wire.status,
238
+ verified: wire.verified,
239
+ manifest: wire.manifest,
240
+ manifestBytes: decode(wire.manifestBytes),
241
+ artifacts: wire.artifacts.map((artifact) => {
242
+ const { bytes, ...rest } = artifact;
243
+ return bytes === void 0 ? rest : { ...rest, bytes: decode(bytes) };
244
+ }),
245
+ ...wire.evidence ? { evidence: wire.evidence } : {}
246
+ };
247
+ }
248
+ /**
249
+ * Describe a batch to the session's delivery evidence recorder before running it, and hand
250
+ * it the step results afterwards, so the version steps the batch produced are recorded under
251
+ * this description rather than as unlabeled mutations. A bundle without the recorder, or a
252
+ * session not capturing evidence, simply runs the batch.
253
+ */
254
+ recorded(steps, mode, identity, run) {
255
+ if (!this.wasm.BeginDeliveryEvidence || !this.wasm.CompleteDeliveryEvidence || !this.wasm.AbandonDeliveryEvidence) {
256
+ return run();
257
+ }
258
+ const described = this.wasm.BeginDeliveryEvidence(
259
+ this.handle,
260
+ JSON.stringify(steps.map((step) => step.args === void 0 ? { tool: step.tool, action: step.action } : { tool: step.tool, action: step.action, args: step.args })),
261
+ mode,
262
+ identity ? JSON.stringify({ transactionId: identity.transactionId, requestFingerprint: identity.requestFingerprint }) : ""
263
+ );
264
+ if (!described) return run();
265
+ let result;
266
+ try {
267
+ result = run();
268
+ return result;
269
+ } finally {
270
+ if (result) this.wasm.CompleteDeliveryEvidence(this.handle, JSON.stringify(result.steps));
271
+ else this.wasm.AbandonDeliveryEvidence(this.handle);
272
+ }
273
+ }
274
+ /**
275
+ * Make a preview retained by {@link previewBatch} (`retain: true`) the live document exactly
276
+ * as previewed: the previewed package is restored byte-for-byte as one undo step, so the
277
+ * generated anchor ids, timestamps and `packageHash` are exactly those the preview reported.
278
+ * The commit is guarded — it refuses with `preview_stale`, editing nothing, when the session's
279
+ * version, package content, tracked-changes mode or revision author moved since the preview,
280
+ * and with `preview_not_found` once the preview expired, was evicted, or was already
281
+ * committed. A `transaction` makes a retry after a lost response safe, as for
282
+ * {@link executeBatch}.
283
+ */
284
+ commitPreview(previewId, transaction) {
285
+ if (!this.wasm.CommitPreview) {
286
+ throw new Error("This WASM bundle predates retained previews; rebuild docxodus.");
287
+ }
288
+ const commit = () => {
289
+ const envelope = JSON.parse(this.wasm.CommitPreview(this.handle, previewId));
290
+ if (!envelope.success) {
291
+ if (envelope.failure?.error.code === "preview_not_found") this.retainedPreviewReceipts.delete(previewId);
292
+ return envelope;
293
+ }
294
+ const receipt = this.retainedPreviewReceipts.get(previewId);
295
+ this.retainedPreviewReceipts.delete(previewId);
296
+ if (!receipt) return envelope;
297
+ return {
298
+ ...receipt,
299
+ preview: false,
300
+ html: null,
301
+ baseVersion: envelope.baseVersion,
302
+ resultVersion: envelope.resultVersion,
303
+ packageHash: envelope.packageHash,
304
+ warnings: receipt.warnings.filter((warning) => !BATCH_REPLAY_CAVEAT_TEXTS.has(warning)),
305
+ retention: envelope.retention
306
+ };
307
+ };
308
+ if (transaction === void 0) return commit();
309
+ return this.runTransactional(transaction, "atomic", () => commit());
310
+ }
311
+ runTransactional(transaction, mode, body) {
312
+ if (!this.wasm.BeginMutationTransaction || !this.wasm.CompleteMutationTransaction || !this.wasm.AbandonMutationTransaction) {
313
+ throw new Error("This WASM bundle predates mutation transactions; rebuild docxodus.");
314
+ }
315
+ if (typeof transaction.transactionId !== "string") {
316
+ throw new RangeError("transactionId must be a string");
317
+ }
318
+ if (transaction.request === null || typeof transaction.request !== "object" || Array.isArray(transaction.request)) {
319
+ throw new RangeError("a mutation transaction needs a request object describing the batch");
320
+ }
321
+ const decision = JSON.parse(this.wasm.BeginMutationTransaction(
322
+ this.handle,
323
+ transaction.transactionId,
324
+ JSON.stringify({ ...transaction.request, mode })
325
+ ));
326
+ if (decision.response !== null) {
327
+ return JSON.parse(decision.response);
328
+ }
329
+ let completed = false;
330
+ try {
331
+ const result = {
332
+ ...body(decision.transaction),
333
+ transaction: decision.transaction
334
+ };
335
+ this.wasm.CompleteMutationTransaction(
336
+ this.handle,
337
+ transaction.transactionId,
338
+ JSON.stringify(result)
339
+ );
340
+ completed = true;
341
+ return result;
342
+ } finally {
343
+ if (!completed) this.wasm.AbandonMutationTransaction(this.handle, transaction.transactionId);
344
+ }
345
+ }
346
+ runBatch(steps, mode) {
160
347
  const baseVersion = this.getVersion();
161
348
  const observationWarnings = [];
162
349
  const inspect = (label, read, fallback) => {
@@ -194,16 +381,16 @@ var DocxodusSession = (() => {
194
381
  );
195
382
  const warnings = [...observationWarnings];
196
383
  if ([...revisionChanges.added, ...revisionChanges.modified].some((revision) => revision.date !== void 0 && revision.date !== null)) {
197
- warnings.push("Tracked-revision date attributes may use the execution clock; compare revision ids, authors, types, text, and anchors across separate executions.");
384
+ warnings.push(BATCH_REPLAY_CAVEATS.revisionDates);
198
385
  }
199
386
  if ([...commentChanges.added, ...commentChanges.modified].some((comment) => comment.date !== void 0 && comment.date !== null)) {
200
- warnings.push("Comment date attributes may be generated from the execution clock; supply dates explicitly when byte-identical replay is required.");
387
+ warnings.push(BATCH_REPLAY_CAVEATS.commentDates);
201
388
  }
202
389
  if (annotationChanges.added.some((annotation) => annotation.created !== void 0 && annotation.created !== null)) {
203
- warnings.push("Auto-generated annotation ids or creation timestamps are execution metadata; supply id and created explicitly when byte-identical replay is required.");
390
+ warnings.push(BATCH_REPLAY_CAVEATS.annotationMetadata);
204
391
  }
205
392
  if (result.steps.some((step) => step.results.some((edit) => edit.created.length > 0))) {
206
- warnings.push("Created anchors and related OOXML ids may be generated independently on replay; preview/apply equivalence is semantic and packageHash or anchor ids may differ.");
393
+ warnings.push(BATCH_REPLAY_CAVEATS.createdAnchors);
207
394
  }
208
395
  if (mode === "best_effort" && !result.success) {
209
396
  warnings.push("Best-effort execution retains every successful step despite later failures.");
@@ -427,7 +614,27 @@ var DocxodusSession = (() => {
427
614
  } catch (error) {
428
615
  warnings.push(`Preview HTML could not be generated: ${error instanceof Error ? error.message : String(error)}`);
429
616
  }
430
- return { ...result, preview: true, warnings, html };
617
+ let retention;
618
+ if (options?.retain) {
619
+ if (!this.wasm.RetainPreview) {
620
+ throw new Error("This WASM bundle predates retained previews; rebuild docxodus.");
621
+ }
622
+ if (!result.success) {
623
+ warnings.push("The preview did not succeed, so it was not retained for commit.");
624
+ } else {
625
+ const retained = JSON.parse(this.wasm.RetainPreview(shadow.handle));
626
+ warnings.push(...retained.warnings);
627
+ retention = retained.retention ?? void 0;
628
+ }
629
+ }
630
+ const preview = retention ? { ...result, preview: true, warnings, html, retention } : { ...result, preview: true, warnings, html };
631
+ if (retention) {
632
+ if (this.retainedPreviewReceipts.size >= RETAINED_PREVIEW_RECEIPTS) {
633
+ this.retainedPreviewReceipts.delete(this.retainedPreviewReceipts.keys().next().value);
634
+ }
635
+ this.retainedPreviewReceipts.set(retention.previewId, { ...preview, html: null });
636
+ }
637
+ return preview;
431
638
  } finally {
432
639
  shadow.close();
433
640
  }
@@ -1006,6 +1213,18 @@ var DocxodusSession = (() => {
1006
1213
  imageBytesToBase64(bytes)
1007
1214
  ));
1008
1215
  }
1216
+ /**
1217
+ * Convert an external linked picture into an embedded one using bytes the caller fetched;
1218
+ * the engine never reaches the network itself. Refused for pictures that already embed
1219
+ * their media — see `ImageOccurrence.operations`.
1220
+ */
1221
+ embedLinkedImage(imageId, bytes) {
1222
+ return JSON.parse(this.wasm.EmbedLinkedImage(
1223
+ this.handle,
1224
+ imageId,
1225
+ imageBytesToBase64(bytes)
1226
+ ));
1227
+ }
1009
1228
  setImageDimensions(imageId, dimensions) {
1010
1229
  return JSON.parse(this.wasm.SetImageDimensions(
1011
1230
  this.handle,
@@ -1136,6 +1355,28 @@ var DocxodusSession = (() => {
1136
1355
  listRevisions() {
1137
1356
  return JSON.parse(this.wasm.ListRevisions(this.handle));
1138
1357
  }
1358
+ /**
1359
+ * The explicit repairs the registry offers for entries it refuses to resolve (issues
1360
+ * #754–#758): which carriers are defective, whether a unique repair exists, and what it
1361
+ * would do. Read-only; listing, accept and reject never repair.
1362
+ */
1363
+ listRevisionRepairs() {
1364
+ if (!this.wasm.ListRevisionRepairs) {
1365
+ throw new Error("This WASM bundle predates revision repairs; rebuild docxodus.");
1366
+ }
1367
+ return JSON.parse(this.wasm.ListRevisionRepairs(this.handle));
1368
+ }
1369
+ /**
1370
+ * Perform requested repairs atomically as one undo step. A kind the registry did not offer,
1371
+ * a non-repairable proposal, or a wrap-as-deletion without author and date refuses the whole
1372
+ * call (`revision_repair_rejected`) with nothing mutated. Repaired entries get new ids.
1373
+ */
1374
+ repairRevisions(repairs) {
1375
+ if (!this.wasm.RepairRevisions) {
1376
+ throw new Error("This WASM bundle predates revision repairs; rebuild docxodus.");
1377
+ }
1378
+ return JSON.parse(this.wasm.RepairRevisions(this.handle, JSON.stringify(repairs)));
1379
+ }
1139
1380
  /** Accept ONE revision by the id {@link listRevisions} reported — insertions keep
1140
1381
  * their content, deletions are carried out, a move materializes at its destination,
1141
1382
  * a format change keeps the new properties. Undoable. */
@@ -1493,7 +1734,16 @@ var DocxodusSession = (() => {
1493
1734
  * With initial projection capture enabled (the default), exact opening bytes are the
1494
1735
  * baseline used for dispositions and semantic/package deltas.
1495
1736
  */
1496
- verifyDeliverable() {
1737
+ verifyDeliverable(request) {
1738
+ if (request !== void 0) {
1739
+ if (!this.wasm.VerifyDeliverableWithRequest) {
1740
+ throw new Error("This WASM bundle predates full verification requests; rebuild docxodus.");
1741
+ }
1742
+ return JSON.parse(this.wasm.VerifyDeliverableWithRequest(
1743
+ this.handle,
1744
+ serializeVerificationRequest(request)
1745
+ ));
1746
+ }
1497
1747
  return JSON.parse(
1498
1748
  this.wasm.VerifyDeliverable(this.handle)
1499
1749
  );
@@ -1722,6 +1972,7 @@ var DocxodusSession = (() => {
1722
1972
  return this.wasm.Save(this.handle);
1723
1973
  }
1724
1974
  close() {
1975
+ this.retainedPreviewReceipts.clear();
1725
1976
  this.wasm.CloseSession(this.handle);
1726
1977
  }
1727
1978
  // TypeScript 5.2+ disposable protocol
package/dist/session.d.ts CHANGED
@@ -1,18 +1,15 @@
1
- import type { AnchorInfo, AnchorTargetRef, AnnotationUpdate, BlockMetadata, BookmarkInfo, BulkEditResult, CharSpan, CommentListEntry, ContentControlFillOptions, ContentControlInfo, CrossBlockMatch, DiffEntry, DocumentAnnotation, DocumentRange, DeliverableVerificationResult, DocxodusWasmExports, DocxSessionProjection, DocxSessionSettings, EditResult, EditSummary, FillOptions, FindOptions, FormatOp, FormattingInspection, HeaderFooterKind, HyperlinkInfo, HyperlinkKind, ImageCapabilities, ImageDimensions, ImageInsertOptions, ImageOccurrence, FloatingImageLayout, InlineSpan, NumberFormat, PageNumberField, PageNumberingOp, PageSetupOp, TableOfAuthoritiesOptions, TableOfContentsOptions, TableOfFiguresOptions, PageCitation, PageCitationRequest, PageMapRegistrationResult, PageMapStatus, PackageManifest, ParagraphBorderEdge, ParagraphFormatOp, TableBorderSpec, TableInsertOptions, TableMetadataResult, TableCellResolutionResult, TableMergeContent, TableRowOptions, TableShadingScope, ListFormat, GrepOptions, ListMembership, MutationBatchMode, MutationBatchPreviewOptions, MutationBatchPreviewStep, MutationBatchResult, MutationBatchStep, MutationPreconditions, CrossReferenceOptions, ReplaceOptions, RevisionListEntry, SectionInfo, SemanticChangeSet, StyleInfo, TemplatePlaceholder, TextMatch } from "./types.js";
1
+ import type { AnchorInfo, AnchorTargetRef, AnnotationUpdate, BlockMetadata, BookmarkInfo, BulkEditResult, CharSpan, CommentListEntry, ContentControlFillOptions, ContentControlInfo, CrossBlockMatch, DiffEntry, DocumentAnnotation, DocumentRange, DeliverableVerificationResult, DeliverableVerificationRequest, DocxodusWasmExports, DocxSessionProjection, DocxSessionSettings, EditResult, EditSummary, FillOptions, FindOptions, FormatOp, FormattingInspection, HeaderFooterKind, HyperlinkInfo, HyperlinkKind, ImageCapabilities, ImageDimensions, ImageInsertOptions, ImageOccurrence, FloatingImageLayout, InlineSpan, NumberFormat, PageNumberField, PageNumberingOp, PageSetupOp, TableOfAuthoritiesOptions, TableOfContentsOptions, TableOfFiguresOptions, PageCitation, PageCitationRequest, PageMapRegistrationResult, PageMapStatus, PackageManifest, ParagraphBorderEdge, ParagraphFormatOp, TableBorderSpec, TableInsertOptions, TableMetadataResult, TableCellResolutionResult, TableMergeContent, TableRowOptions, TableShadingScope, ListFormat, GrepOptions, ListMembership, MutationBatchMode, MutationBatchPreviewOptions, MutationBatchPreviewStep, MutationBatchResult, MutationBatchStep, MutationTransaction, DeliveryBundleResult, DeliveryEvidenceStatus, DeliveryReceiptBuildOptions, MutationPreconditions, CrossReferenceOptions, ReplaceOptions, RevisionListEntry, RevisionRepairProposal, RevisionRepairRequest, RevisionRepairResult, SectionInfo, SemanticChangeSet, StyleInfo, TemplatePlaceholder, TextMatch } from "./types.js";
2
2
  import type { PageMap } from "./pagination.js";
3
3
  import { DiffFormat, ProjectionDepth, ProjectionScopes, TrackedChangeMode } from "./types.js";
4
- /**
5
- * Stateful in-memory DOCX editing session keyed by markdown-projection anchor ids.
6
- * Mirror of the .NET `DocxSession` surface. See
7
- * `docs/architecture/docx_mutation_api.md` for the surface contract,
8
- * anchor lifecycle, error catalog, and supported markdown subset.
9
- *
10
- * Sessions are not eligible for JS-side garbage collection — call {@link close}
11
- * (or use a `using` block under TypeScript 5.2+) when done.
12
- */
13
4
  export declare class DocxSession {
14
5
  private readonly handle;
15
6
  private readonly wasm;
7
+ /**
8
+ * The receipts this client composed for previews it retained, keyed by previewId. The host
9
+ * keeps the package and the binding; the step receipts live only here, so a commit can return
10
+ * the previewed steps and change sets without the host re-parsing a client-composed result.
11
+ */
12
+ private readonly retainedPreviewReceipts;
16
13
  /** @internal */
17
14
  constructor(handle: number, wasm: DocxodusWasmExports["DocxSessionBridge"]);
18
15
  project(): DocxSessionProjection;
@@ -39,7 +36,41 @@ export declare class DocxSession {
39
36
  * Execute synchronous mutations atomically by default. Atomic success is one undo/version
40
37
  * unit; any failed or thrown step restores the exact package and history checkpoint.
41
38
  */
42
- executeBatch(steps: readonly MutationBatchStep[], mode?: MutationBatchMode): MutationBatchResult;
39
+ executeBatch(steps: readonly MutationBatchStep[], mode?: MutationBatchMode, transaction?: MutationTransaction): MutationBatchResult;
40
+ /**
41
+ * What the session's host-owned delivery evidence recorder holds (issue #748). `enabled` is
42
+ * false, with the reason, unless the session was opened with `captureDeliveryEvidence`.
43
+ */
44
+ getDeliveryEvidenceStatus(): DeliveryEvidenceStatus;
45
+ /**
46
+ * Build the receipt-bearing delivery of this session through the shared bundle service: the
47
+ * clean current package (`final-docx`), the source-to-delivered semantic delta, and the change
48
+ * receipt (`change-receipt`) minted from the captured evidence — verifiable with
49
+ * `verifyDeliveryReceipt` against the returned artifact bytes. A history that cannot be
50
+ * attested yields an `incomplete` bundle whose receipt artifact carries the reason, and
51
+ * `evidence.unavailableReason` says why.
52
+ */
53
+ buildDeliveryReceipt(options?: DeliveryReceiptBuildOptions): DeliveryBundleResult;
54
+ /**
55
+ * Describe a batch to the session's delivery evidence recorder before running it, and hand
56
+ * it the step results afterwards, so the version steps the batch produced are recorded under
57
+ * this description rather than as unlabeled mutations. A bundle without the recorder, or a
58
+ * session not capturing evidence, simply runs the batch.
59
+ */
60
+ private recorded;
61
+ /**
62
+ * Make a preview retained by {@link previewBatch} (`retain: true`) the live document exactly
63
+ * as previewed: the previewed package is restored byte-for-byte as one undo step, so the
64
+ * generated anchor ids, timestamps and `packageHash` are exactly those the preview reported.
65
+ * The commit is guarded — it refuses with `preview_stale`, editing nothing, when the session's
66
+ * version, package content, tracked-changes mode or revision author moved since the preview,
67
+ * and with `preview_not_found` once the preview expired, was evicted, or was already
68
+ * committed. A `transaction` makes a retry after a lost response safe, as for
69
+ * {@link executeBatch}.
70
+ */
71
+ commitPreview(previewId: string, transaction?: MutationTransaction): MutationBatchResult;
72
+ private runTransactional;
73
+ private runBatch;
43
74
  /**
44
75
  * Execute the same callback batch algorithm against a complete isolated package clone.
45
76
  * Callbacks receive the shadow session explicitly; mutate that argument. The live session's
@@ -369,6 +400,12 @@ export declare class DocxSession {
369
400
  listImages(scopes?: ProjectionScopes): ImageOccurrence[];
370
401
  insertImage(anchorId: string, characterOffset: number, bytes: Uint8Array, options?: ImageInsertOptions): EditResult;
371
402
  replaceImage(imageId: string, bytes: Uint8Array): EditResult;
403
+ /**
404
+ * Convert an external linked picture into an embedded one using bytes the caller fetched;
405
+ * the engine never reaches the network itself. Refused for pictures that already embed
406
+ * their media — see `ImageOccurrence.operations`.
407
+ */
408
+ embedLinkedImage(imageId: string, bytes: Uint8Array): EditResult;
372
409
  setImageDimensions(imageId: string, dimensions: ImageDimensions): EditResult;
373
410
  setImageMetadata(imageId: string, altText: string | null, title: string | null): EditResult;
374
411
  setImageFloatingLayout(imageId: string, layout: FloatingImageLayout): EditResult;
@@ -393,6 +430,18 @@ export declare class DocxSession {
393
430
  * exists and address {@link acceptRevision}/{@link rejectRevision}; authors/dates
394
431
  * are the markup's own (no accept/reject re-diff). */
395
432
  listRevisions(): RevisionListEntry[];
433
+ /**
434
+ * The explicit repairs the registry offers for entries it refuses to resolve (issues
435
+ * #754–#758): which carriers are defective, whether a unique repair exists, and what it
436
+ * would do. Read-only; listing, accept and reject never repair.
437
+ */
438
+ listRevisionRepairs(): RevisionRepairProposal[];
439
+ /**
440
+ * Perform requested repairs atomically as one undo step. A kind the registry did not offer,
441
+ * a non-repairable proposal, or a wrap-as-deletion without author and date refuses the whole
442
+ * call (`revision_repair_rejected`) with nothing mutated. Repaired entries get new ids.
443
+ */
444
+ repairRevisions(repairs: readonly RevisionRepairRequest[]): RevisionRepairResult;
396
445
  /** Accept ONE revision by the id {@link listRevisions} reported — insertions keep
397
446
  * their content, deletions are carried out, a move materializes at its destination,
398
447
  * a format change keeps the new properties. Undoable. */
@@ -592,7 +641,7 @@ export declare class DocxSession {
592
641
  * With initial projection capture enabled (the default), exact opening bytes are the
593
642
  * baseline used for dispositions and semantic/package deltas.
594
643
  */
595
- verifyDeliverable(): DeliverableVerificationResult;
644
+ verifyDeliverable(request?: DeliverableVerificationRequest): DeliverableVerificationResult;
596
645
  /**
597
646
  * Resolves an annotation's range to the block-level markdown anchors covering
598
647
  * it, in document order. The bridge between Docxodus' read-side annotation API
@@ -1 +1 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../src/session.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,UAAU,EAEV,eAAe,EACf,gBAAgB,EAChB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