@superdoc/cli 0.33.0-next.2 → 0.33.0-next.4

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.
@@ -3647,6 +3647,10 @@
3647
3647
  "wholeWord": {
3648
3648
  "type": "boolean",
3649
3649
  "description": "Require word-boundary matches. Default: false."
3650
+ },
3651
+ "includeDeletedText": {
3652
+ "type": "boolean",
3653
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3650
3654
  }
3651
3655
  },
3652
3656
  "additionalProperties": false,
@@ -3841,6 +3845,10 @@
3841
3845
  "wholeWord": {
3842
3846
  "type": "boolean",
3843
3847
  "description": "Require word-boundary matches. Default: false."
3848
+ },
3849
+ "includeDeletedText": {
3850
+ "type": "boolean",
3851
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3844
3852
  }
3845
3853
  },
3846
3854
  "additionalProperties": false,
@@ -4030,6 +4038,20 @@
4030
4038
  }
4031
4039
  ]
4032
4040
  },
4041
+ "replacementMode": {
4042
+ "enum": [
4043
+ "literal",
4044
+ "regex-template"
4045
+ ],
4046
+ "type": "string"
4047
+ },
4048
+ "caseHandling": {
4049
+ "enum": [
4050
+ "exact",
4051
+ "preserve-match"
4052
+ ],
4053
+ "type": "string"
4054
+ },
4033
4055
  "style": {
4034
4056
  "type": "object",
4035
4057
  "properties": {
@@ -4181,6 +4203,10 @@
4181
4203
  "wholeWord": {
4182
4204
  "type": "boolean",
4183
4205
  "description": "Require word-boundary matches. Default: false."
4206
+ },
4207
+ "includeDeletedText": {
4208
+ "type": "boolean",
4209
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4184
4210
  }
4185
4211
  },
4186
4212
  "additionalProperties": false,
@@ -4470,6 +4496,10 @@
4470
4496
  "wholeWord": {
4471
4497
  "type": "boolean",
4472
4498
  "description": "Require word-boundary matches. Default: false."
4499
+ },
4500
+ "includeDeletedText": {
4501
+ "type": "boolean",
4502
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4473
4503
  }
4474
4504
  },
4475
4505
  "additionalProperties": false,
@@ -4681,6 +4711,10 @@
4681
4711
  "wholeWord": {
4682
4712
  "type": "boolean",
4683
4713
  "description": "Require word-boundary matches. Default: false."
4714
+ },
4715
+ "includeDeletedText": {
4716
+ "type": "boolean",
4717
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4684
4718
  }
4685
4719
  },
4686
4720
  "additionalProperties": false,
@@ -5715,6 +5749,10 @@
5715
5749
  "wholeWord": {
5716
5750
  "type": "boolean",
5717
5751
  "description": "Require word-boundary matches. Default: false."
5752
+ },
5753
+ "includeDeletedText": {
5754
+ "type": "boolean",
5755
+ "description": "When true, includes text from pending tracked deletions. Default: false."
5718
5756
  }
5719
5757
  },
5720
5758
  "additionalProperties": false,
@@ -5808,6 +5846,22 @@
5808
5846
  },
5809
5847
  "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."
5810
5848
  },
5849
+ "detail": {
5850
+ "type": "object",
5851
+ "properties": {
5852
+ "offset": {
5853
+ "type": "number",
5854
+ "minimum": 0
5855
+ },
5856
+ "limit": {
5857
+ "type": "number",
5858
+ "minimum": 0,
5859
+ "maximum": 1000
5860
+ }
5861
+ },
5862
+ "additionalProperties": false,
5863
+ "description": "Only for action 'preview'. Omit for other actions."
5864
+ },
5811
5865
  "force": {
5812
5866
  "type": "boolean",
5813
5867
  "description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
@@ -3250,6 +3250,10 @@
3250
3250
  "wholeWord": {
3251
3251
  "type": "boolean",
3252
3252
  "description": "Require word-boundary matches. Default: false."
3253
+ },
3254
+ "includeDeletedText": {
3255
+ "type": "boolean",
3256
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3253
3257
  }
3254
3258
  },
3255
3259
  "additionalProperties": false,
@@ -3434,6 +3438,10 @@
3434
3438
  "wholeWord": {
3435
3439
  "type": "boolean",
3436
3440
  "description": "Require word-boundary matches. Default: false."
3441
+ },
3442
+ "includeDeletedText": {
3443
+ "type": "boolean",
3444
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3437
3445
  }
3438
3446
  },
3439
3447
  "additionalProperties": false,
@@ -3623,6 +3631,20 @@
3623
3631
  }
3624
3632
  ]
3625
3633
  },
3634
+ "replacementMode": {
3635
+ "enum": [
3636
+ "literal",
3637
+ "regex-template"
3638
+ ],
3639
+ "type": "string"
3640
+ },
3641
+ "caseHandling": {
3642
+ "enum": [
3643
+ "exact",
3644
+ "preserve-match"
3645
+ ],
3646
+ "type": "string"
3647
+ },
3626
3648
  "style": {
3627
3649
  "type": "object",
3628
3650
  "properties": {
@@ -3774,6 +3796,10 @@
3774
3796
  "wholeWord": {
3775
3797
  "type": "boolean",
3776
3798
  "description": "Require word-boundary matches. Default: false."
3799
+ },
3800
+ "includeDeletedText": {
3801
+ "type": "boolean",
3802
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3777
3803
  }
3778
3804
  },
3779
3805
  "additionalProperties": false,
@@ -4063,6 +4089,10 @@
4063
4089
  "wholeWord": {
4064
4090
  "type": "boolean",
4065
4091
  "description": "Require word-boundary matches. Default: false."
4092
+ },
4093
+ "includeDeletedText": {
4094
+ "type": "boolean",
4095
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4066
4096
  }
4067
4097
  },
4068
4098
  "additionalProperties": false,
@@ -4274,6 +4304,10 @@
4274
4304
  "wholeWord": {
4275
4305
  "type": "boolean",
4276
4306
  "description": "Require word-boundary matches. Default: false."
4307
+ },
4308
+ "includeDeletedText": {
4309
+ "type": "boolean",
4310
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4277
4311
  }
4278
4312
  },
4279
4313
  "additionalProperties": false,
@@ -5308,6 +5342,10 @@
5308
5342
  "wholeWord": {
5309
5343
  "type": "boolean",
5310
5344
  "description": "Require word-boundary matches. Default: false."
5345
+ },
5346
+ "includeDeletedText": {
5347
+ "type": "boolean",
5348
+ "description": "When true, includes text from pending tracked deletions. Default: false."
5311
5349
  }
5312
5350
  },
5313
5351
  "additionalProperties": false,
@@ -5401,6 +5439,22 @@
5401
5439
  },
5402
5440
  "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."
5403
5441
  },
5442
+ "detail": {
5443
+ "type": "object",
5444
+ "properties": {
5445
+ "offset": {
5446
+ "type": "number",
5447
+ "minimum": 0
5448
+ },
5449
+ "limit": {
5450
+ "type": "number",
5451
+ "minimum": 0,
5452
+ "maximum": 1000
5453
+ }
5454
+ },
5455
+ "additionalProperties": false,
5456
+ "description": "Only for action 'preview'. Omit for other actions."
5457
+ },
5404
5458
  "force": {
5405
5459
  "type": "boolean",
5406
5460
  "description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
@@ -3400,6 +3400,10 @@
3400
3400
  "wholeWord": {
3401
3401
  "type": "boolean",
3402
3402
  "description": "Require word-boundary matches. Default: false."
3403
+ },
3404
+ "includeDeletedText": {
3405
+ "type": "boolean",
3406
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3403
3407
  }
3404
3408
  },
3405
3409
  "additionalProperties": false,
@@ -3600,6 +3604,10 @@
3600
3604
  "wholeWord": {
3601
3605
  "type": "boolean",
3602
3606
  "description": "Require word-boundary matches. Default: false."
3607
+ },
3608
+ "includeDeletedText": {
3609
+ "type": "boolean",
3610
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3603
3611
  }
3604
3612
  },
3605
3613
  "additionalProperties": false,
@@ -3789,6 +3797,20 @@
3789
3797
  }
3790
3798
  ]
3791
3799
  },
3800
+ "replacementMode": {
3801
+ "enum": [
3802
+ "literal",
3803
+ "regex-template"
3804
+ ],
3805
+ "type": "string"
3806
+ },
3807
+ "caseHandling": {
3808
+ "enum": [
3809
+ "exact",
3810
+ "preserve-match"
3811
+ ],
3812
+ "type": "string"
3813
+ },
3792
3814
  "style": {
3793
3815
  "type": "object",
3794
3816
  "properties": {
@@ -3940,6 +3962,10 @@
3940
3962
  "wholeWord": {
3941
3963
  "type": "boolean",
3942
3964
  "description": "Require word-boundary matches. Default: false."
3965
+ },
3966
+ "includeDeletedText": {
3967
+ "type": "boolean",
3968
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3943
3969
  }
3944
3970
  },
3945
3971
  "additionalProperties": false,
@@ -4229,6 +4255,10 @@
4229
4255
  "wholeWord": {
4230
4256
  "type": "boolean",
4231
4257
  "description": "Require word-boundary matches. Default: false."
4258
+ },
4259
+ "includeDeletedText": {
4260
+ "type": "boolean",
4261
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4232
4262
  }
4233
4263
  },
4234
4264
  "additionalProperties": false,
@@ -4440,6 +4470,10 @@
4440
4470
  "wholeWord": {
4441
4471
  "type": "boolean",
4442
4472
  "description": "Require word-boundary matches. Default: false."
4473
+ },
4474
+ "includeDeletedText": {
4475
+ "type": "boolean",
4476
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4443
4477
  }
4444
4478
  },
4445
4479
  "additionalProperties": false,
@@ -5474,6 +5508,10 @@
5474
5508
  "wholeWord": {
5475
5509
  "type": "boolean",
5476
5510
  "description": "Require word-boundary matches. Default: false."
5511
+ },
5512
+ "includeDeletedText": {
5513
+ "type": "boolean",
5514
+ "description": "When true, includes text from pending tracked deletions. Default: false."
5477
5515
  }
5478
5516
  },
5479
5517
  "additionalProperties": false,
@@ -5567,6 +5605,22 @@
5567
5605
  },
5568
5606
  "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."
5569
5607
  },
5608
+ "detail": {
5609
+ "type": "object",
5610
+ "properties": {
5611
+ "offset": {
5612
+ "type": "number",
5613
+ "minimum": 0
5614
+ },
5615
+ "limit": {
5616
+ "type": "number",
5617
+ "minimum": 0,
5618
+ "maximum": 1000
5619
+ }
5620
+ },
5621
+ "additionalProperties": false,
5622
+ "description": "Only for action 'preview'. Omit for other actions."
5623
+ },
5570
5624
  "force": {
5571
5625
  "type": "boolean",
5572
5626
  "description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
@@ -3273,6 +3273,10 @@
3273
3273
  "wholeWord": {
3274
3274
  "type": "boolean",
3275
3275
  "description": "Require word-boundary matches. Default: false."
3276
+ },
3277
+ "includeDeletedText": {
3278
+ "type": "boolean",
3279
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3276
3280
  }
3277
3281
  },
3278
3282
  "additionalProperties": false,
@@ -3460,6 +3464,10 @@
3460
3464
  "wholeWord": {
3461
3465
  "type": "boolean",
3462
3466
  "description": "Require word-boundary matches. Default: false."
3467
+ },
3468
+ "includeDeletedText": {
3469
+ "type": "boolean",
3470
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3463
3471
  }
3464
3472
  },
3465
3473
  "additionalProperties": false,
@@ -3649,6 +3657,20 @@
3649
3657
  }
3650
3658
  ]
3651
3659
  },
3660
+ "replacementMode": {
3661
+ "enum": [
3662
+ "literal",
3663
+ "regex-template"
3664
+ ],
3665
+ "type": "string"
3666
+ },
3667
+ "caseHandling": {
3668
+ "enum": [
3669
+ "exact",
3670
+ "preserve-match"
3671
+ ],
3672
+ "type": "string"
3673
+ },
3652
3674
  "style": {
3653
3675
  "type": "object",
3654
3676
  "properties": {
@@ -3800,6 +3822,10 @@
3800
3822
  "wholeWord": {
3801
3823
  "type": "boolean",
3802
3824
  "description": "Require word-boundary matches. Default: false."
3825
+ },
3826
+ "includeDeletedText": {
3827
+ "type": "boolean",
3828
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3803
3829
  }
3804
3830
  },
3805
3831
  "additionalProperties": false,
@@ -4089,6 +4115,10 @@
4089
4115
  "wholeWord": {
4090
4116
  "type": "boolean",
4091
4117
  "description": "Require word-boundary matches. Default: false."
4118
+ },
4119
+ "includeDeletedText": {
4120
+ "type": "boolean",
4121
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4092
4122
  }
4093
4123
  },
4094
4124
  "additionalProperties": false,
@@ -4300,6 +4330,10 @@
4300
4330
  "wholeWord": {
4301
4331
  "type": "boolean",
4302
4332
  "description": "Require word-boundary matches. Default: false."
4333
+ },
4334
+ "includeDeletedText": {
4335
+ "type": "boolean",
4336
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4303
4337
  }
4304
4338
  },
4305
4339
  "additionalProperties": false,
@@ -5334,6 +5368,10 @@
5334
5368
  "wholeWord": {
5335
5369
  "type": "boolean",
5336
5370
  "description": "Require word-boundary matches. Default: false."
5371
+ },
5372
+ "includeDeletedText": {
5373
+ "type": "boolean",
5374
+ "description": "When true, includes text from pending tracked deletions. Default: false."
5337
5375
  }
5338
5376
  },
5339
5377
  "additionalProperties": false,
@@ -5427,6 +5465,22 @@
5427
5465
  },
5428
5466
  "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."
5429
5467
  },
5468
+ "detail": {
5469
+ "type": "object",
5470
+ "properties": {
5471
+ "offset": {
5472
+ "type": "number",
5473
+ "minimum": 0
5474
+ },
5475
+ "limit": {
5476
+ "type": "number",
5477
+ "minimum": 0,
5478
+ "maximum": 1000
5479
+ }
5480
+ },
5481
+ "additionalProperties": false,
5482
+ "description": "Only for action 'preview'. Omit for other actions."
5483
+ },
5430
5484
  "force": {
5431
5485
  "type": "boolean",
5432
5486
  "description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
@@ -3273,6 +3273,10 @@
3273
3273
  "wholeWord": {
3274
3274
  "type": "boolean",
3275
3275
  "description": "Require word-boundary matches. Default: false."
3276
+ },
3277
+ "includeDeletedText": {
3278
+ "type": "boolean",
3279
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3276
3280
  }
3277
3281
  },
3278
3282
  "additionalProperties": false,
@@ -3460,6 +3464,10 @@
3460
3464
  "wholeWord": {
3461
3465
  "type": "boolean",
3462
3466
  "description": "Require word-boundary matches. Default: false."
3467
+ },
3468
+ "includeDeletedText": {
3469
+ "type": "boolean",
3470
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3463
3471
  }
3464
3472
  },
3465
3473
  "additionalProperties": false,
@@ -3649,6 +3657,20 @@
3649
3657
  }
3650
3658
  ]
3651
3659
  },
3660
+ "replacementMode": {
3661
+ "enum": [
3662
+ "literal",
3663
+ "regex-template"
3664
+ ],
3665
+ "type": "string"
3666
+ },
3667
+ "caseHandling": {
3668
+ "enum": [
3669
+ "exact",
3670
+ "preserve-match"
3671
+ ],
3672
+ "type": "string"
3673
+ },
3652
3674
  "style": {
3653
3675
  "type": "object",
3654
3676
  "properties": {
@@ -3800,6 +3822,10 @@
3800
3822
  "wholeWord": {
3801
3823
  "type": "boolean",
3802
3824
  "description": "Require word-boundary matches. Default: false."
3825
+ },
3826
+ "includeDeletedText": {
3827
+ "type": "boolean",
3828
+ "description": "When true, includes text from pending tracked deletions. Default: false."
3803
3829
  }
3804
3830
  },
3805
3831
  "additionalProperties": false,
@@ -4089,6 +4115,10 @@
4089
4115
  "wholeWord": {
4090
4116
  "type": "boolean",
4091
4117
  "description": "Require word-boundary matches. Default: false."
4118
+ },
4119
+ "includeDeletedText": {
4120
+ "type": "boolean",
4121
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4092
4122
  }
4093
4123
  },
4094
4124
  "additionalProperties": false,
@@ -4300,6 +4330,10 @@
4300
4330
  "wholeWord": {
4301
4331
  "type": "boolean",
4302
4332
  "description": "Require word-boundary matches. Default: false."
4333
+ },
4334
+ "includeDeletedText": {
4335
+ "type": "boolean",
4336
+ "description": "When true, includes text from pending tracked deletions. Default: false."
4303
4337
  }
4304
4338
  },
4305
4339
  "additionalProperties": false,
@@ -5334,6 +5368,10 @@
5334
5368
  "wholeWord": {
5335
5369
  "type": "boolean",
5336
5370
  "description": "Require word-boundary matches. Default: false."
5371
+ },
5372
+ "includeDeletedText": {
5373
+ "type": "boolean",
5374
+ "description": "When true, includes text from pending tracked deletions. Default: false."
5337
5375
  }
5338
5376
  },
5339
5377
  "additionalProperties": false,
@@ -5427,6 +5465,22 @@
5427
5465
  },
5428
5466
  "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."
5429
5467
  },
5468
+ "detail": {
5469
+ "type": "object",
5470
+ "properties": {
5471
+ "offset": {
5472
+ "type": "number",
5473
+ "minimum": 0
5474
+ },
5475
+ "limit": {
5476
+ "type": "number",
5477
+ "minimum": 0,
5478
+ "maximum": 1000
5479
+ }
5480
+ },
5481
+ "additionalProperties": false,
5482
+ "description": "Only for action 'preview'. Omit for other actions."
5483
+ },
5430
5484
  "force": {
5431
5485
  "type": "boolean",
5432
5486
  "description": "Bypass confirmation checks. Only for action 'apply'. Omit for other actions."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc/cli",
3
- "version": "0.33.0-next.2",
3
+ "version": "0.33.0-next.4",
4
4
  "description": "Command-line interface for SuperDoc: inspect, convert, and edit .docx files from a terminal or a script.",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0",
@@ -29,15 +29,15 @@
29
29
  "fast-glob": "^3.3.3",
30
30
  "happy-dom": "^20.3.4",
31
31
  "ws": "^8.18.0",
32
- "superdoc": "2.13.0-next.1",
32
+ "superdoc": "2.13.0-next.3",
33
33
  "y-websocket": "^3.0.0",
34
34
  "yjs": "13.6.31"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@hocuspocus/server": "^2.13.6",
38
- "@superdoc/sdk": "2.10.0-next.2",
38
+ "@superdoc/sdk": "2.10.0-next.4",
39
39
  "@superdoc/document-api": "0.1.0-alpha.0",
40
- "@superdoc/docx-engine": "0.12.0-next.1",
40
+ "@superdoc/docx-engine": "0.12.0-next.3",
41
41
  "@types/bun": "^1.3.8",
42
42
  "@types/node": "22.19.2",
43
43
  "@types/ws": "^8.5.13",
@@ -51,11 +51,11 @@
51
51
  "access": "public"
52
52
  },
53
53
  "optionalDependencies": {
54
- "@superdoc/cli-darwin-arm64": "0.33.0-next.2",
55
- "@superdoc/cli-darwin-x64": "0.33.0-next.2",
56
- "@superdoc/cli-linux-x64": "0.33.0-next.2",
57
- "@superdoc/cli-linux-arm64": "0.33.0-next.2",
58
- "@superdoc/cli-windows-x64": "0.33.0-next.2"
54
+ "@superdoc/cli-darwin-arm64": "0.33.0-next.4",
55
+ "@superdoc/cli-darwin-x64": "0.33.0-next.4",
56
+ "@superdoc/cli-linux-x64": "0.33.0-next.4",
57
+ "@superdoc/cli-linux-arm64": "0.33.0-next.4",
58
+ "@superdoc/cli-windows-x64": "0.33.0-next.4"
59
59
  },
60
60
  "scripts": {
61
61
  "predev": "node scripts/ensure-superdoc-build.js",