@superdoc/sdk 2.10.0-next.1 → 2.10.0-next.3

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.
@@ -19289,6 +19289,7 @@ export interface DocQueryMatchParams {
19289
19289
  mode?: "contains" | "regex";
19290
19290
  caseSensitive?: boolean;
19291
19291
  wholeWord?: boolean;
19292
+ includeDeletedText?: boolean;
19292
19293
  }) | ({
19293
19294
  type: "node";
19294
19295
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -19595,6 +19596,7 @@ export interface DocMutationsPreviewParams {
19595
19596
  mode?: "contains" | "regex";
19596
19597
  caseSensitive?: boolean;
19597
19598
  wholeWord?: boolean;
19599
+ includeDeletedText?: boolean;
19598
19600
  }) | ({
19599
19601
  type: "node";
19600
19602
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -19876,6 +19878,8 @@ export interface DocMutationsPreviewParams {
19876
19878
  text: string;
19877
19879
  }>;
19878
19880
  });
19881
+ replacementMode?: "literal" | "regex-template";
19882
+ caseHandling?: "exact" | "preserve-match";
19879
19883
  style?: {
19880
19884
  inline: {
19881
19885
  mode: "preserve" | "set" | "clear" | "merge";
@@ -19904,6 +19908,7 @@ export interface DocMutationsPreviewParams {
19904
19908
  mode?: "contains" | "regex";
19905
19909
  caseSensitive?: boolean;
19906
19910
  wholeWord?: boolean;
19911
+ includeDeletedText?: boolean;
19907
19912
  }) | ({
19908
19913
  type: "node";
19909
19914
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -20205,6 +20210,7 @@ export interface DocMutationsPreviewParams {
20205
20210
  mode?: "contains" | "regex";
20206
20211
  caseSensitive?: boolean;
20207
20212
  wholeWord?: boolean;
20213
+ includeDeletedText?: boolean;
20208
20214
  }) | ({
20209
20215
  type: "node";
20210
20216
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -20492,6 +20498,7 @@ export interface DocMutationsPreviewParams {
20492
20498
  mode?: "contains" | "regex";
20493
20499
  caseSensitive?: boolean;
20494
20500
  wholeWord?: boolean;
20501
+ includeDeletedText?: boolean;
20495
20502
  }) | ({
20496
20503
  type: "node";
20497
20504
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -20864,6 +20871,7 @@ export interface DocMutationsPreviewParams {
20864
20871
  mode?: "contains" | "regex";
20865
20872
  caseSensitive?: boolean;
20866
20873
  wholeWord?: boolean;
20874
+ includeDeletedText?: boolean;
20867
20875
  }) | ({
20868
20876
  type: "node";
20869
20877
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -20910,6 +20918,10 @@ export interface DocMutationsPreviewParams {
20910
20918
  expectCount: number;
20911
20919
  };
20912
20920
  })>;
20921
+ detail?: {
20922
+ offset?: number;
20923
+ limit?: number;
20924
+ };
20913
20925
  }
20914
20926
  export interface DocMutationsApplyParams {
20915
20927
  doc?: string;
@@ -20961,6 +20973,7 @@ export interface DocMutationsApplyParams {
20961
20973
  mode?: "contains" | "regex";
20962
20974
  caseSensitive?: boolean;
20963
20975
  wholeWord?: boolean;
20976
+ includeDeletedText?: boolean;
20964
20977
  }) | ({
20965
20978
  type: "node";
20966
20979
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -21242,6 +21255,8 @@ export interface DocMutationsApplyParams {
21242
21255
  text: string;
21243
21256
  }>;
21244
21257
  });
21258
+ replacementMode?: "literal" | "regex-template";
21259
+ caseHandling?: "exact" | "preserve-match";
21245
21260
  style?: {
21246
21261
  inline: {
21247
21262
  mode: "preserve" | "set" | "clear" | "merge";
@@ -21270,6 +21285,7 @@ export interface DocMutationsApplyParams {
21270
21285
  mode?: "contains" | "regex";
21271
21286
  caseSensitive?: boolean;
21272
21287
  wholeWord?: boolean;
21288
+ includeDeletedText?: boolean;
21273
21289
  }) | ({
21274
21290
  type: "node";
21275
21291
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -21571,6 +21587,7 @@ export interface DocMutationsApplyParams {
21571
21587
  mode?: "contains" | "regex";
21572
21588
  caseSensitive?: boolean;
21573
21589
  wholeWord?: boolean;
21590
+ includeDeletedText?: boolean;
21574
21591
  }) | ({
21575
21592
  type: "node";
21576
21593
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -21858,6 +21875,7 @@ export interface DocMutationsApplyParams {
21858
21875
  mode?: "contains" | "regex";
21859
21876
  caseSensitive?: boolean;
21860
21877
  wholeWord?: boolean;
21878
+ includeDeletedText?: boolean;
21861
21879
  }) | ({
21862
21880
  type: "node";
21863
21881
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -22230,6 +22248,7 @@ export interface DocMutationsApplyParams {
22230
22248
  mode?: "contains" | "regex";
22231
22249
  caseSensitive?: boolean;
22232
22250
  wholeWord?: boolean;
22251
+ includeDeletedText?: boolean;
22233
22252
  }) | ({
22234
22253
  type: "node";
22235
22254
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -137632,6 +137651,7 @@ export interface DocQueryMatchBoundParams {
137632
137651
  mode?: "contains" | "regex";
137633
137652
  caseSensitive?: boolean;
137634
137653
  wholeWord?: boolean;
137654
+ includeDeletedText?: boolean;
137635
137655
  }) | ({
137636
137656
  type: "node";
137637
137657
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -137932,6 +137952,7 @@ export interface DocMutationsPreviewBoundParams {
137932
137952
  mode?: "contains" | "regex";
137933
137953
  caseSensitive?: boolean;
137934
137954
  wholeWord?: boolean;
137955
+ includeDeletedText?: boolean;
137935
137956
  }) | ({
137936
137957
  type: "node";
137937
137958
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -138213,6 +138234,8 @@ export interface DocMutationsPreviewBoundParams {
138213
138234
  text: string;
138214
138235
  }>;
138215
138236
  });
138237
+ replacementMode?: "literal" | "regex-template";
138238
+ caseHandling?: "exact" | "preserve-match";
138216
138239
  style?: {
138217
138240
  inline: {
138218
138241
  mode: "preserve" | "set" | "clear" | "merge";
@@ -138241,6 +138264,7 @@ export interface DocMutationsPreviewBoundParams {
138241
138264
  mode?: "contains" | "regex";
138242
138265
  caseSensitive?: boolean;
138243
138266
  wholeWord?: boolean;
138267
+ includeDeletedText?: boolean;
138244
138268
  }) | ({
138245
138269
  type: "node";
138246
138270
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -138542,6 +138566,7 @@ export interface DocMutationsPreviewBoundParams {
138542
138566
  mode?: "contains" | "regex";
138543
138567
  caseSensitive?: boolean;
138544
138568
  wholeWord?: boolean;
138569
+ includeDeletedText?: boolean;
138545
138570
  }) | ({
138546
138571
  type: "node";
138547
138572
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -138829,6 +138854,7 @@ export interface DocMutationsPreviewBoundParams {
138829
138854
  mode?: "contains" | "regex";
138830
138855
  caseSensitive?: boolean;
138831
138856
  wholeWord?: boolean;
138857
+ includeDeletedText?: boolean;
138832
138858
  }) | ({
138833
138859
  type: "node";
138834
138860
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -139201,6 +139227,7 @@ export interface DocMutationsPreviewBoundParams {
139201
139227
  mode?: "contains" | "regex";
139202
139228
  caseSensitive?: boolean;
139203
139229
  wholeWord?: boolean;
139230
+ includeDeletedText?: boolean;
139204
139231
  }) | ({
139205
139232
  type: "node";
139206
139233
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -139247,6 +139274,10 @@ export interface DocMutationsPreviewBoundParams {
139247
139274
  expectCount: number;
139248
139275
  };
139249
139276
  })>;
139277
+ detail?: {
139278
+ offset?: number;
139279
+ limit?: number;
139280
+ };
139250
139281
  }
139251
139282
  export interface DocMutationsApplyBoundParams {
139252
139283
  out?: string;
@@ -139296,6 +139327,7 @@ export interface DocMutationsApplyBoundParams {
139296
139327
  mode?: "contains" | "regex";
139297
139328
  caseSensitive?: boolean;
139298
139329
  wholeWord?: boolean;
139330
+ includeDeletedText?: boolean;
139299
139331
  }) | ({
139300
139332
  type: "node";
139301
139333
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -139577,6 +139609,8 @@ export interface DocMutationsApplyBoundParams {
139577
139609
  text: string;
139578
139610
  }>;
139579
139611
  });
139612
+ replacementMode?: "literal" | "regex-template";
139613
+ caseHandling?: "exact" | "preserve-match";
139580
139614
  style?: {
139581
139615
  inline: {
139582
139616
  mode: "preserve" | "set" | "clear" | "merge";
@@ -139605,6 +139639,7 @@ export interface DocMutationsApplyBoundParams {
139605
139639
  mode?: "contains" | "regex";
139606
139640
  caseSensitive?: boolean;
139607
139641
  wholeWord?: boolean;
139642
+ includeDeletedText?: boolean;
139608
139643
  }) | ({
139609
139644
  type: "node";
139610
139645
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -139906,6 +139941,7 @@ export interface DocMutationsApplyBoundParams {
139906
139941
  mode?: "contains" | "regex";
139907
139942
  caseSensitive?: boolean;
139908
139943
  wholeWord?: boolean;
139944
+ includeDeletedText?: boolean;
139909
139945
  }) | ({
139910
139946
  type: "node";
139911
139947
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -140193,6 +140229,7 @@ export interface DocMutationsApplyBoundParams {
140193
140229
  mode?: "contains" | "regex";
140194
140230
  caseSensitive?: boolean;
140195
140231
  wholeWord?: boolean;
140232
+ includeDeletedText?: boolean;
140196
140233
  }) | ({
140197
140234
  type: "node";
140198
140235
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -140565,6 +140602,7 @@ export interface DocMutationsApplyBoundParams {
140565
140602
  mode?: "contains" | "regex";
140566
140603
  caseSensitive?: boolean;
140567
140604
  wholeWord?: boolean;
140605
+ includeDeletedText?: boolean;
140568
140606
  }) | ({
140569
140607
  type: "node";
140570
140608
  nodeType?: "paragraph" | "heading" | "listItem" | "table" | "tableRow" | "tableCell" | "tableOfContents" | "image" | "sdt" | "run" | "bookmark" | "comment" | "hyperlink" | "footnoteRef" | "endnoteRef" | "crossRef" | "indexEntry" | "citation" | "authorityEntry" | "sequenceField" | "tab" | "lineBreak";
@@ -171306,6 +171306,10 @@ const CONTRACT = {
171306
171306
  "wholeWord": {
171307
171307
  "type": "boolean",
171308
171308
  "description": "Require word-boundary matches. Default: false."
171309
+ },
171310
+ "includeDeletedText": {
171311
+ "type": "boolean",
171312
+ "description": "When true, includes text from pending tracked deletions. Default: false."
171309
171313
  }
171310
171314
  },
171311
171315
  "required": [
@@ -171758,6 +171762,10 @@ const CONTRACT = {
171758
171762
  "wholeWord": {
171759
171763
  "type": "boolean",
171760
171764
  "description": "Require word-boundary matches. Default: false."
171765
+ },
171766
+ "includeDeletedText": {
171767
+ "type": "boolean",
171768
+ "description": "When true, includes text from pending tracked deletions. Default: false."
171761
171769
  }
171762
171770
  },
171763
171771
  "additionalProperties": false,
@@ -173886,6 +173894,10 @@ const CONTRACT = {
173886
173894
  "wholeWord": {
173887
173895
  "type": "boolean",
173888
173896
  "description": "Require word-boundary matches. Default: false."
173897
+ },
173898
+ "includeDeletedText": {
173899
+ "type": "boolean",
173900
+ "description": "When true, includes text from pending tracked deletions. Default: false."
173889
173901
  }
173890
173902
  },
173891
173903
  "required": [
@@ -175637,6 +175649,26 @@ const CONTRACT = {
175637
175649
  }
175638
175650
  ]
175639
175651
  },
175652
+ "replacementMode": {
175653
+ "oneOf": [
175654
+ {
175655
+ "const": "literal"
175656
+ },
175657
+ {
175658
+ "const": "regex-template"
175659
+ }
175660
+ ]
175661
+ },
175662
+ "caseHandling": {
175663
+ "oneOf": [
175664
+ {
175665
+ "const": "exact"
175666
+ },
175667
+ {
175668
+ "const": "preserve-match"
175669
+ }
175670
+ ]
175671
+ },
175640
175672
  "style": {
175641
175673
  "type": "object",
175642
175674
  "properties": {
@@ -175827,6 +175859,10 @@ const CONTRACT = {
175827
175859
  "wholeWord": {
175828
175860
  "type": "boolean",
175829
175861
  "description": "Require word-boundary matches. Default: false."
175862
+ },
175863
+ "includeDeletedText": {
175864
+ "type": "boolean",
175865
+ "description": "When true, includes text from pending tracked deletions. Default: false."
175830
175866
  }
175831
175867
  },
175832
175868
  "required": [
@@ -177707,6 +177743,10 @@ const CONTRACT = {
177707
177743
  "wholeWord": {
177708
177744
  "type": "boolean",
177709
177745
  "description": "Require word-boundary matches. Default: false."
177746
+ },
177747
+ "includeDeletedText": {
177748
+ "type": "boolean",
177749
+ "description": "When true, includes text from pending tracked deletions. Default: false."
177710
177750
  }
177711
177751
  },
177712
177752
  "required": [
@@ -179489,6 +179529,10 @@ const CONTRACT = {
179489
179529
  "wholeWord": {
179490
179530
  "type": "boolean",
179491
179531
  "description": "Require word-boundary matches. Default: false."
179532
+ },
179533
+ "includeDeletedText": {
179534
+ "type": "boolean",
179535
+ "description": "When true, includes text from pending tracked deletions. Default: false."
179492
179536
  }
179493
179537
  },
179494
179538
  "required": [
@@ -182054,6 +182098,10 @@ const CONTRACT = {
182054
182098
  "wholeWord": {
182055
182099
  "type": "boolean",
182056
182100
  "description": "Require word-boundary matches. Default: false."
182101
+ },
182102
+ "includeDeletedText": {
182103
+ "type": "boolean",
182104
+ "description": "When true, includes text from pending tracked deletions. Default: false."
182057
182105
  }
182058
182106
  },
182059
182107
  "required": [
@@ -182409,6 +182457,25 @@ const CONTRACT = {
182409
182457
  "description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
182410
182458
  },
182411
182459
  "description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
182460
+ },
182461
+ {
182462
+ "name": "detail",
182463
+ "kind": "jsonFlag",
182464
+ "type": "json",
182465
+ "documentApiInputName": "detail",
182466
+ "flag": "detail-json",
182467
+ "required": false,
182468
+ "schema": {
182469
+ "type": "object",
182470
+ "properties": {
182471
+ "offset": {
182472
+ "type": "number"
182473
+ },
182474
+ "limit": {
182475
+ "type": "number"
182476
+ }
182477
+ }
182478
+ }
182412
182479
  }
182413
182480
  ],
182414
182481
  "constraints": null,
@@ -182490,6 +182557,10 @@ const CONTRACT = {
182490
182557
  "wholeWord": {
182491
182558
  "type": "boolean",
182492
182559
  "description": "Require word-boundary matches. Default: false."
182560
+ },
182561
+ "includeDeletedText": {
182562
+ "type": "boolean",
182563
+ "description": "When true, includes text from pending tracked deletions. Default: false."
182493
182564
  }
182494
182565
  },
182495
182566
  "additionalProperties": false,
@@ -182678,6 +182749,20 @@ const CONTRACT = {
182678
182749
  }
182679
182750
  ]
182680
182751
  },
182752
+ "replacementMode": {
182753
+ "enum": [
182754
+ "literal",
182755
+ "regex-template"
182756
+ ],
182757
+ "type": "string"
182758
+ },
182759
+ "caseHandling": {
182760
+ "enum": [
182761
+ "exact",
182762
+ "preserve-match"
182763
+ ],
182764
+ "type": "string"
182765
+ },
182681
182766
  "style": {
182682
182767
  "type": "object",
182683
182768
  "properties": {
@@ -182828,6 +182913,10 @@ const CONTRACT = {
182828
182913
  "wholeWord": {
182829
182914
  "type": "boolean",
182830
182915
  "description": "Require word-boundary matches. Default: false."
182916
+ },
182917
+ "includeDeletedText": {
182918
+ "type": "boolean",
182919
+ "description": "When true, includes text from pending tracked deletions. Default: false."
182831
182920
  }
182832
182921
  },
182833
182922
  "additionalProperties": false,
@@ -183115,6 +183204,10 @@ const CONTRACT = {
183115
183204
  "wholeWord": {
183116
183205
  "type": "boolean",
183117
183206
  "description": "Require word-boundary matches. Default: false."
183207
+ },
183208
+ "includeDeletedText": {
183209
+ "type": "boolean",
183210
+ "description": "When true, includes text from pending tracked deletions. Default: false."
183118
183211
  }
183119
183212
  },
183120
183213
  "additionalProperties": false,
@@ -183324,6 +183417,10 @@ const CONTRACT = {
183324
183417
  "wholeWord": {
183325
183418
  "type": "boolean",
183326
183419
  "description": "Require word-boundary matches. Default: false."
183420
+ },
183421
+ "includeDeletedText": {
183422
+ "type": "boolean",
183423
+ "description": "When true, includes text from pending tracked deletions. Default: false."
183327
183424
  }
183328
183425
  },
183329
183426
  "additionalProperties": false,
@@ -184356,6 +184453,10 @@ const CONTRACT = {
184356
184453
  "wholeWord": {
184357
184454
  "type": "boolean",
184358
184455
  "description": "Require word-boundary matches. Default: false."
184456
+ },
184457
+ "includeDeletedText": {
184458
+ "type": "boolean",
184459
+ "description": "When true, includes text from pending tracked deletions. Default: false."
184359
184460
  }
184360
184461
  },
184361
184462
  "additionalProperties": false,
@@ -184447,6 +184548,21 @@ const CONTRACT = {
184447
184548
  ]
184448
184549
  },
184449
184550
  "description": "Ordered array of mutation steps. Each step needs 'op' (text.rewrite, text.insert, text.delete, format.apply, or assert) and a 'where' targeting clause."
184551
+ },
184552
+ "detail": {
184553
+ "type": "object",
184554
+ "properties": {
184555
+ "offset": {
184556
+ "type": "number",
184557
+ "minimum": 0
184558
+ },
184559
+ "limit": {
184560
+ "type": "number",
184561
+ "minimum": 0,
184562
+ "maximum": 1000
184563
+ }
184564
+ },
184565
+ "additionalProperties": false
184450
184566
  }
184451
184567
  },
184452
184568
  "additionalProperties": false,
@@ -184798,6 +184914,10 @@ const CONTRACT = {
184798
184914
  "wholeWord": {
184799
184915
  "type": "boolean",
184800
184916
  "description": "Require word-boundary matches. Default: false."
184917
+ },
184918
+ "includeDeletedText": {
184919
+ "type": "boolean",
184920
+ "description": "When true, includes text from pending tracked deletions. Default: false."
184801
184921
  }
184802
184922
  },
184803
184923
  "required": [
@@ -186549,6 +186669,26 @@ const CONTRACT = {
186549
186669
  }
186550
186670
  ]
186551
186671
  },
186672
+ "replacementMode": {
186673
+ "oneOf": [
186674
+ {
186675
+ "const": "literal"
186676
+ },
186677
+ {
186678
+ "const": "regex-template"
186679
+ }
186680
+ ]
186681
+ },
186682
+ "caseHandling": {
186683
+ "oneOf": [
186684
+ {
186685
+ "const": "exact"
186686
+ },
186687
+ {
186688
+ "const": "preserve-match"
186689
+ }
186690
+ ]
186691
+ },
186552
186692
  "style": {
186553
186693
  "type": "object",
186554
186694
  "properties": {
@@ -186739,6 +186879,10 @@ const CONTRACT = {
186739
186879
  "wholeWord": {
186740
186880
  "type": "boolean",
186741
186881
  "description": "Require word-boundary matches. Default: false."
186882
+ },
186883
+ "includeDeletedText": {
186884
+ "type": "boolean",
186885
+ "description": "When true, includes text from pending tracked deletions. Default: false."
186742
186886
  }
186743
186887
  },
186744
186888
  "required": [
@@ -188619,6 +188763,10 @@ const CONTRACT = {
188619
188763
  "wholeWord": {
188620
188764
  "type": "boolean",
188621
188765
  "description": "Require word-boundary matches. Default: false."
188766
+ },
188767
+ "includeDeletedText": {
188768
+ "type": "boolean",
188769
+ "description": "When true, includes text from pending tracked deletions. Default: false."
188622
188770
  }
188623
188771
  },
188624
188772
  "required": [
@@ -190401,6 +190549,10 @@ const CONTRACT = {
190401
190549
  "wholeWord": {
190402
190550
  "type": "boolean",
190403
190551
  "description": "Require word-boundary matches. Default: false."
190552
+ },
190553
+ "includeDeletedText": {
190554
+ "type": "boolean",
190555
+ "description": "When true, includes text from pending tracked deletions. Default: false."
190404
190556
  }
190405
190557
  },
190406
190558
  "required": [
@@ -192966,6 +193118,10 @@ const CONTRACT = {
192966
193118
  "wholeWord": {
192967
193119
  "type": "boolean",
192968
193120
  "description": "Require word-boundary matches. Default: false."
193121
+ },
193122
+ "includeDeletedText": {
193123
+ "type": "boolean",
193124
+ "description": "When true, includes text from pending tracked deletions. Default: false."
192969
193125
  }
192970
193126
  },
192971
193127
  "required": [
@@ -193402,6 +193558,10 @@ const CONTRACT = {
193402
193558
  "wholeWord": {
193403
193559
  "type": "boolean",
193404
193560
  "description": "Require word-boundary matches. Default: false."
193561
+ },
193562
+ "includeDeletedText": {
193563
+ "type": "boolean",
193564
+ "description": "When true, includes text from pending tracked deletions. Default: false."
193405
193565
  }
193406
193566
  },
193407
193567
  "additionalProperties": false,
@@ -193590,6 +193750,20 @@ const CONTRACT = {
193590
193750
  }
193591
193751
  ]
193592
193752
  },
193753
+ "replacementMode": {
193754
+ "enum": [
193755
+ "literal",
193756
+ "regex-template"
193757
+ ],
193758
+ "type": "string"
193759
+ },
193760
+ "caseHandling": {
193761
+ "enum": [
193762
+ "exact",
193763
+ "preserve-match"
193764
+ ],
193765
+ "type": "string"
193766
+ },
193593
193767
  "style": {
193594
193768
  "type": "object",
193595
193769
  "properties": {
@@ -193740,6 +193914,10 @@ const CONTRACT = {
193740
193914
  "wholeWord": {
193741
193915
  "type": "boolean",
193742
193916
  "description": "Require word-boundary matches. Default: false."
193917
+ },
193918
+ "includeDeletedText": {
193919
+ "type": "boolean",
193920
+ "description": "When true, includes text from pending tracked deletions. Default: false."
193743
193921
  }
193744
193922
  },
193745
193923
  "additionalProperties": false,
@@ -194027,6 +194205,10 @@ const CONTRACT = {
194027
194205
  "wholeWord": {
194028
194206
  "type": "boolean",
194029
194207
  "description": "Require word-boundary matches. Default: false."
194208
+ },
194209
+ "includeDeletedText": {
194210
+ "type": "boolean",
194211
+ "description": "When true, includes text from pending tracked deletions. Default: false."
194030
194212
  }
194031
194213
  },
194032
194214
  "additionalProperties": false,
@@ -194236,6 +194418,10 @@ const CONTRACT = {
194236
194418
  "wholeWord": {
194237
194419
  "type": "boolean",
194238
194420
  "description": "Require word-boundary matches. Default: false."
194421
+ },
194422
+ "includeDeletedText": {
194423
+ "type": "boolean",
194424
+ "description": "When true, includes text from pending tracked deletions. Default: false."
194239
194425
  }
194240
194426
  },
194241
194427
  "additionalProperties": false,
@@ -195268,6 +195454,10 @@ const CONTRACT = {
195268
195454
  "wholeWord": {
195269
195455
  "type": "boolean",
195270
195456
  "description": "Require word-boundary matches. Default: false."
195457
+ },
195458
+ "includeDeletedText": {
195459
+ "type": "boolean",
195460
+ "description": "When true, includes text from pending tracked deletions. Default: false."
195271
195461
  }
195272
195462
  },
195273
195463
  "additionalProperties": false,