@superdoc-dev/sdk 1.0.0-alpha.6 → 1.0.0-alpha.8

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.
@@ -1791,7 +1791,6 @@ export declare const CONTRACT: {
1791
1791
  readonly kind: "jsonFlag";
1792
1792
  readonly type: "json";
1793
1793
  readonly flag: "target-json";
1794
- readonly required: true;
1795
1794
  readonly schema: {
1796
1795
  readonly type: "object";
1797
1796
  readonly properties: {
@@ -1821,6 +1820,19 @@ export declare const CONTRACT: {
1821
1820
  readonly kind: "flag";
1822
1821
  readonly type: "string";
1823
1822
  readonly required: true;
1823
+ }, {
1824
+ readonly name: "blockId";
1825
+ readonly kind: "flag";
1826
+ readonly type: "string";
1827
+ readonly flag: "block-id";
1828
+ }, {
1829
+ readonly name: "start";
1830
+ readonly kind: "flag";
1831
+ readonly type: "number";
1832
+ }, {
1833
+ readonly name: "end";
1834
+ readonly kind: "flag";
1835
+ readonly type: "number";
1824
1836
  }];
1825
1837
  readonly constraints: null;
1826
1838
  readonly mutates: true;
@@ -1829,7 +1841,60 @@ export declare const CONTRACT: {
1829
1841
  readonly supportsDryRun: true;
1830
1842
  readonly inputSchema: {
1831
1843
  readonly additionalProperties: false;
1844
+ readonly allOf: readonly [{
1845
+ readonly not: {
1846
+ readonly required: readonly ["target", "blockId"];
1847
+ };
1848
+ }, {
1849
+ readonly not: {
1850
+ readonly required: readonly ["target", "start"];
1851
+ };
1852
+ }, {
1853
+ readonly not: {
1854
+ readonly required: readonly ["target", "end"];
1855
+ };
1856
+ }, {
1857
+ readonly if: {
1858
+ readonly required: readonly ["start"];
1859
+ };
1860
+ readonly then: {
1861
+ readonly required: readonly ["blockId", "end"];
1862
+ };
1863
+ }, {
1864
+ readonly if: {
1865
+ readonly required: readonly ["end"];
1866
+ };
1867
+ readonly then: {
1868
+ readonly required: readonly ["blockId", "start"];
1869
+ };
1870
+ }, {
1871
+ readonly if: {
1872
+ readonly required: readonly ["blockId"];
1873
+ };
1874
+ readonly then: {
1875
+ readonly required: readonly ["start", "end"];
1876
+ };
1877
+ }];
1878
+ readonly anyOf: readonly [{
1879
+ readonly required: readonly ["target"];
1880
+ }, {
1881
+ readonly required: readonly ["blockId", "start", "end"];
1882
+ }];
1832
1883
  readonly properties: {
1884
+ readonly blockId: {
1885
+ readonly description: "Block ID for block-relative range targeting.";
1886
+ readonly type: "string";
1887
+ };
1888
+ readonly end: {
1889
+ readonly description: "End offset within the block identified by blockId.";
1890
+ readonly minimum: 0;
1891
+ readonly type: "integer";
1892
+ };
1893
+ readonly start: {
1894
+ readonly description: "Start offset within the block identified by blockId.";
1895
+ readonly minimum: 0;
1896
+ readonly type: "integer";
1897
+ };
1833
1898
  readonly target: {
1834
1899
  readonly additionalProperties: false;
1835
1900
  readonly properties: {
@@ -1860,7 +1925,7 @@ export declare const CONTRACT: {
1860
1925
  readonly type: "string";
1861
1926
  };
1862
1927
  };
1863
- readonly required: readonly ["target", "text"];
1928
+ readonly required: readonly ["text"];
1864
1929
  readonly type: "object";
1865
1930
  };
1866
1931
  readonly outputSchema: {
@@ -2506,7 +2571,6 @@ export declare const CONTRACT: {
2506
2571
  readonly kind: "jsonFlag";
2507
2572
  readonly type: "json";
2508
2573
  readonly flag: "target-json";
2509
- readonly required: true;
2510
2574
  readonly schema: {
2511
2575
  readonly type: "object";
2512
2576
  readonly properties: {
@@ -2531,6 +2595,19 @@ export declare const CONTRACT: {
2531
2595
  };
2532
2596
  readonly required: readonly ["kind", "blockId", "range"];
2533
2597
  };
2598
+ }, {
2599
+ readonly name: "blockId";
2600
+ readonly kind: "flag";
2601
+ readonly type: "string";
2602
+ readonly flag: "block-id";
2603
+ }, {
2604
+ readonly name: "start";
2605
+ readonly kind: "flag";
2606
+ readonly type: "number";
2607
+ }, {
2608
+ readonly name: "end";
2609
+ readonly kind: "flag";
2610
+ readonly type: "number";
2534
2611
  }];
2535
2612
  readonly constraints: null;
2536
2613
  readonly mutates: true;
@@ -2539,7 +2616,60 @@ export declare const CONTRACT: {
2539
2616
  readonly supportsDryRun: true;
2540
2617
  readonly inputSchema: {
2541
2618
  readonly additionalProperties: false;
2619
+ readonly allOf: readonly [{
2620
+ readonly not: {
2621
+ readonly required: readonly ["target", "blockId"];
2622
+ };
2623
+ }, {
2624
+ readonly not: {
2625
+ readonly required: readonly ["target", "start"];
2626
+ };
2627
+ }, {
2628
+ readonly not: {
2629
+ readonly required: readonly ["target", "end"];
2630
+ };
2631
+ }, {
2632
+ readonly if: {
2633
+ readonly required: readonly ["start"];
2634
+ };
2635
+ readonly then: {
2636
+ readonly required: readonly ["blockId", "end"];
2637
+ };
2638
+ }, {
2639
+ readonly if: {
2640
+ readonly required: readonly ["end"];
2641
+ };
2642
+ readonly then: {
2643
+ readonly required: readonly ["blockId", "start"];
2644
+ };
2645
+ }, {
2646
+ readonly if: {
2647
+ readonly required: readonly ["blockId"];
2648
+ };
2649
+ readonly then: {
2650
+ readonly required: readonly ["start", "end"];
2651
+ };
2652
+ }];
2653
+ readonly anyOf: readonly [{
2654
+ readonly required: readonly ["target"];
2655
+ }, {
2656
+ readonly required: readonly ["blockId", "start", "end"];
2657
+ }];
2542
2658
  readonly properties: {
2659
+ readonly blockId: {
2660
+ readonly description: "Block ID for block-relative range targeting.";
2661
+ readonly type: "string";
2662
+ };
2663
+ readonly end: {
2664
+ readonly description: "End offset within the block identified by blockId.";
2665
+ readonly minimum: 0;
2666
+ readonly type: "integer";
2667
+ };
2668
+ readonly start: {
2669
+ readonly description: "Start offset within the block identified by blockId.";
2670
+ readonly minimum: 0;
2671
+ readonly type: "integer";
2672
+ };
2543
2673
  readonly target: {
2544
2674
  readonly additionalProperties: false;
2545
2675
  readonly properties: {
@@ -2567,7 +2697,6 @@ export declare const CONTRACT: {
2567
2697
  readonly type: "object";
2568
2698
  };
2569
2699
  };
2570
- readonly required: readonly ["target"];
2571
2700
  readonly type: "object";
2572
2701
  };
2573
2702
  readonly outputSchema: {
@@ -3213,7 +3342,6 @@ export declare const CONTRACT: {
3213
3342
  readonly kind: "jsonFlag";
3214
3343
  readonly type: "json";
3215
3344
  readonly flag: "target-json";
3216
- readonly required: true;
3217
3345
  readonly schema: {
3218
3346
  readonly type: "object";
3219
3347
  readonly properties: {
@@ -3238,6 +3366,19 @@ export declare const CONTRACT: {
3238
3366
  };
3239
3367
  readonly required: readonly ["kind", "blockId", "range"];
3240
3368
  };
3369
+ }, {
3370
+ readonly name: "blockId";
3371
+ readonly kind: "flag";
3372
+ readonly type: "string";
3373
+ readonly flag: "block-id";
3374
+ }, {
3375
+ readonly name: "start";
3376
+ readonly kind: "flag";
3377
+ readonly type: "number";
3378
+ }, {
3379
+ readonly name: "end";
3380
+ readonly kind: "flag";
3381
+ readonly type: "number";
3241
3382
  }];
3242
3383
  readonly constraints: null;
3243
3384
  readonly mutates: true;
@@ -3246,7 +3387,60 @@ export declare const CONTRACT: {
3246
3387
  readonly supportsDryRun: true;
3247
3388
  readonly inputSchema: {
3248
3389
  readonly additionalProperties: false;
3390
+ readonly allOf: readonly [{
3391
+ readonly not: {
3392
+ readonly required: readonly ["target", "blockId"];
3393
+ };
3394
+ }, {
3395
+ readonly not: {
3396
+ readonly required: readonly ["target", "start"];
3397
+ };
3398
+ }, {
3399
+ readonly not: {
3400
+ readonly required: readonly ["target", "end"];
3401
+ };
3402
+ }, {
3403
+ readonly if: {
3404
+ readonly required: readonly ["start"];
3405
+ };
3406
+ readonly then: {
3407
+ readonly required: readonly ["blockId", "end"];
3408
+ };
3409
+ }, {
3410
+ readonly if: {
3411
+ readonly required: readonly ["end"];
3412
+ };
3413
+ readonly then: {
3414
+ readonly required: readonly ["blockId", "start"];
3415
+ };
3416
+ }, {
3417
+ readonly if: {
3418
+ readonly required: readonly ["blockId"];
3419
+ };
3420
+ readonly then: {
3421
+ readonly required: readonly ["start", "end"];
3422
+ };
3423
+ }];
3424
+ readonly anyOf: readonly [{
3425
+ readonly required: readonly ["target"];
3426
+ }, {
3427
+ readonly required: readonly ["blockId", "start", "end"];
3428
+ }];
3249
3429
  readonly properties: {
3430
+ readonly blockId: {
3431
+ readonly description: "Block ID for block-relative range targeting.";
3432
+ readonly type: "string";
3433
+ };
3434
+ readonly end: {
3435
+ readonly description: "End offset within the block identified by blockId.";
3436
+ readonly minimum: 0;
3437
+ readonly type: "integer";
3438
+ };
3439
+ readonly start: {
3440
+ readonly description: "Start offset within the block identified by blockId.";
3441
+ readonly minimum: 0;
3442
+ readonly type: "integer";
3443
+ };
3250
3444
  readonly target: {
3251
3445
  readonly additionalProperties: false;
3252
3446
  readonly properties: {
@@ -3274,7 +3468,6 @@ export declare const CONTRACT: {
3274
3468
  readonly type: "object";
3275
3469
  };
3276
3470
  };
3277
- readonly required: readonly ["target"];
3278
3471
  readonly type: "object";
3279
3472
  };
3280
3473
  readonly outputSchema: {
@@ -3920,7 +4113,6 @@ export declare const CONTRACT: {
3920
4113
  readonly kind: "jsonFlag";
3921
4114
  readonly type: "json";
3922
4115
  readonly flag: "target-json";
3923
- readonly required: true;
3924
4116
  readonly schema: {
3925
4117
  readonly type: "object";
3926
4118
  readonly properties: {
@@ -3945,6 +4137,19 @@ export declare const CONTRACT: {
3945
4137
  };
3946
4138
  readonly required: readonly ["kind", "blockId", "range"];
3947
4139
  };
4140
+ }, {
4141
+ readonly name: "blockId";
4142
+ readonly kind: "flag";
4143
+ readonly type: "string";
4144
+ readonly flag: "block-id";
4145
+ }, {
4146
+ readonly name: "start";
4147
+ readonly kind: "flag";
4148
+ readonly type: "number";
4149
+ }, {
4150
+ readonly name: "end";
4151
+ readonly kind: "flag";
4152
+ readonly type: "number";
3948
4153
  }];
3949
4154
  readonly constraints: null;
3950
4155
  readonly mutates: true;
@@ -3953,7 +4158,60 @@ export declare const CONTRACT: {
3953
4158
  readonly supportsDryRun: true;
3954
4159
  readonly inputSchema: {
3955
4160
  readonly additionalProperties: false;
4161
+ readonly allOf: readonly [{
4162
+ readonly not: {
4163
+ readonly required: readonly ["target", "blockId"];
4164
+ };
4165
+ }, {
4166
+ readonly not: {
4167
+ readonly required: readonly ["target", "start"];
4168
+ };
4169
+ }, {
4170
+ readonly not: {
4171
+ readonly required: readonly ["target", "end"];
4172
+ };
4173
+ }, {
4174
+ readonly if: {
4175
+ readonly required: readonly ["start"];
4176
+ };
4177
+ readonly then: {
4178
+ readonly required: readonly ["blockId", "end"];
4179
+ };
4180
+ }, {
4181
+ readonly if: {
4182
+ readonly required: readonly ["end"];
4183
+ };
4184
+ readonly then: {
4185
+ readonly required: readonly ["blockId", "start"];
4186
+ };
4187
+ }, {
4188
+ readonly if: {
4189
+ readonly required: readonly ["blockId"];
4190
+ };
4191
+ readonly then: {
4192
+ readonly required: readonly ["start", "end"];
4193
+ };
4194
+ }];
4195
+ readonly anyOf: readonly [{
4196
+ readonly required: readonly ["target"];
4197
+ }, {
4198
+ readonly required: readonly ["blockId", "start", "end"];
4199
+ }];
3956
4200
  readonly properties: {
4201
+ readonly blockId: {
4202
+ readonly description: "Block ID for block-relative range targeting.";
4203
+ readonly type: "string";
4204
+ };
4205
+ readonly end: {
4206
+ readonly description: "End offset within the block identified by blockId.";
4207
+ readonly minimum: 0;
4208
+ readonly type: "integer";
4209
+ };
4210
+ readonly start: {
4211
+ readonly description: "Start offset within the block identified by blockId.";
4212
+ readonly minimum: 0;
4213
+ readonly type: "integer";
4214
+ };
3957
4215
  readonly target: {
3958
4216
  readonly additionalProperties: false;
3959
4217
  readonly properties: {
@@ -3981,7 +4239,6 @@ export declare const CONTRACT: {
3981
4239
  readonly type: "object";
3982
4240
  };
3983
4241
  };
3984
- readonly required: readonly ["target"];
3985
4242
  readonly type: "object";
3986
4243
  };
3987
4244
  readonly outputSchema: {
@@ -4627,7 +4884,6 @@ export declare const CONTRACT: {
4627
4884
  readonly kind: "jsonFlag";
4628
4885
  readonly type: "json";
4629
4886
  readonly flag: "target-json";
4630
- readonly required: true;
4631
4887
  readonly schema: {
4632
4888
  readonly type: "object";
4633
4889
  readonly properties: {
@@ -4652,6 +4908,19 @@ export declare const CONTRACT: {
4652
4908
  };
4653
4909
  readonly required: readonly ["kind", "blockId", "range"];
4654
4910
  };
4911
+ }, {
4912
+ readonly name: "blockId";
4913
+ readonly kind: "flag";
4914
+ readonly type: "string";
4915
+ readonly flag: "block-id";
4916
+ }, {
4917
+ readonly name: "start";
4918
+ readonly kind: "flag";
4919
+ readonly type: "number";
4920
+ }, {
4921
+ readonly name: "end";
4922
+ readonly kind: "flag";
4923
+ readonly type: "number";
4655
4924
  }];
4656
4925
  readonly constraints: null;
4657
4926
  readonly mutates: true;
@@ -4660,7 +4929,60 @@ export declare const CONTRACT: {
4660
4929
  readonly supportsDryRun: true;
4661
4930
  readonly inputSchema: {
4662
4931
  readonly additionalProperties: false;
4932
+ readonly allOf: readonly [{
4933
+ readonly not: {
4934
+ readonly required: readonly ["target", "blockId"];
4935
+ };
4936
+ }, {
4937
+ readonly not: {
4938
+ readonly required: readonly ["target", "start"];
4939
+ };
4940
+ }, {
4941
+ readonly not: {
4942
+ readonly required: readonly ["target", "end"];
4943
+ };
4944
+ }, {
4945
+ readonly if: {
4946
+ readonly required: readonly ["start"];
4947
+ };
4948
+ readonly then: {
4949
+ readonly required: readonly ["blockId", "end"];
4950
+ };
4951
+ }, {
4952
+ readonly if: {
4953
+ readonly required: readonly ["end"];
4954
+ };
4955
+ readonly then: {
4956
+ readonly required: readonly ["blockId", "start"];
4957
+ };
4958
+ }, {
4959
+ readonly if: {
4960
+ readonly required: readonly ["blockId"];
4961
+ };
4962
+ readonly then: {
4963
+ readonly required: readonly ["start", "end"];
4964
+ };
4965
+ }];
4966
+ readonly anyOf: readonly [{
4967
+ readonly required: readonly ["target"];
4968
+ }, {
4969
+ readonly required: readonly ["blockId", "start", "end"];
4970
+ }];
4663
4971
  readonly properties: {
4972
+ readonly blockId: {
4973
+ readonly description: "Block ID for block-relative range targeting.";
4974
+ readonly type: "string";
4975
+ };
4976
+ readonly end: {
4977
+ readonly description: "End offset within the block identified by blockId.";
4978
+ readonly minimum: 0;
4979
+ readonly type: "integer";
4980
+ };
4981
+ readonly start: {
4982
+ readonly description: "Start offset within the block identified by blockId.";
4983
+ readonly minimum: 0;
4984
+ readonly type: "integer";
4985
+ };
4664
4986
  readonly target: {
4665
4987
  readonly additionalProperties: false;
4666
4988
  readonly properties: {
@@ -4688,7 +5010,6 @@ export declare const CONTRACT: {
4688
5010
  readonly type: "object";
4689
5011
  };
4690
5012
  };
4691
- readonly required: readonly ["target"];
4692
5013
  readonly type: "object";
4693
5014
  };
4694
5015
  readonly outputSchema: {
@@ -5334,7 +5655,6 @@ export declare const CONTRACT: {
5334
5655
  readonly kind: "jsonFlag";
5335
5656
  readonly type: "json";
5336
5657
  readonly flag: "target-json";
5337
- readonly required: true;
5338
5658
  readonly schema: {
5339
5659
  readonly type: "object";
5340
5660
  readonly properties: {
@@ -5359,6 +5679,19 @@ export declare const CONTRACT: {
5359
5679
  };
5360
5680
  readonly required: readonly ["kind", "blockId", "range"];
5361
5681
  };
5682
+ }, {
5683
+ readonly name: "blockId";
5684
+ readonly kind: "flag";
5685
+ readonly type: "string";
5686
+ readonly flag: "block-id";
5687
+ }, {
5688
+ readonly name: "start";
5689
+ readonly kind: "flag";
5690
+ readonly type: "number";
5691
+ }, {
5692
+ readonly name: "end";
5693
+ readonly kind: "flag";
5694
+ readonly type: "number";
5362
5695
  }];
5363
5696
  readonly constraints: null;
5364
5697
  readonly mutates: true;
@@ -5367,7 +5700,60 @@ export declare const CONTRACT: {
5367
5700
  readonly supportsDryRun: true;
5368
5701
  readonly inputSchema: {
5369
5702
  readonly additionalProperties: false;
5703
+ readonly allOf: readonly [{
5704
+ readonly not: {
5705
+ readonly required: readonly ["target", "blockId"];
5706
+ };
5707
+ }, {
5708
+ readonly not: {
5709
+ readonly required: readonly ["target", "start"];
5710
+ };
5711
+ }, {
5712
+ readonly not: {
5713
+ readonly required: readonly ["target", "end"];
5714
+ };
5715
+ }, {
5716
+ readonly if: {
5717
+ readonly required: readonly ["start"];
5718
+ };
5719
+ readonly then: {
5720
+ readonly required: readonly ["blockId", "end"];
5721
+ };
5722
+ }, {
5723
+ readonly if: {
5724
+ readonly required: readonly ["end"];
5725
+ };
5726
+ readonly then: {
5727
+ readonly required: readonly ["blockId", "start"];
5728
+ };
5729
+ }, {
5730
+ readonly if: {
5731
+ readonly required: readonly ["blockId"];
5732
+ };
5733
+ readonly then: {
5734
+ readonly required: readonly ["start", "end"];
5735
+ };
5736
+ }];
5737
+ readonly anyOf: readonly [{
5738
+ readonly required: readonly ["target"];
5739
+ }, {
5740
+ readonly required: readonly ["blockId", "start", "end"];
5741
+ }];
5370
5742
  readonly properties: {
5743
+ readonly blockId: {
5744
+ readonly description: "Block ID for block-relative range targeting.";
5745
+ readonly type: "string";
5746
+ };
5747
+ readonly end: {
5748
+ readonly description: "End offset within the block identified by blockId.";
5749
+ readonly minimum: 0;
5750
+ readonly type: "integer";
5751
+ };
5752
+ readonly start: {
5753
+ readonly description: "Start offset within the block identified by blockId.";
5754
+ readonly minimum: 0;
5755
+ readonly type: "integer";
5756
+ };
5371
5757
  readonly target: {
5372
5758
  readonly additionalProperties: false;
5373
5759
  readonly properties: {
@@ -5395,7 +5781,6 @@ export declare const CONTRACT: {
5395
5781
  readonly type: "object";
5396
5782
  };
5397
5783
  };
5398
- readonly required: readonly ["target"];
5399
5784
  readonly type: "object";
5400
5785
  };
5401
5786
  readonly outputSchema: {
@@ -6059,83 +6444,17 @@ export declare const CONTRACT: {
6059
6444
  };
6060
6445
  readonly required: readonly ["kind"];
6061
6446
  }, {
6062
- readonly type: "object";
6063
- readonly properties: {
6064
- readonly kind: {
6065
- readonly const: "before";
6066
- };
6067
- readonly target: {
6068
- readonly type: "object";
6069
- readonly properties: {
6070
- readonly kind: {
6071
- readonly const: "block";
6072
- };
6073
- readonly nodeType: {
6074
- readonly oneOf: readonly [{
6075
- readonly const: "paragraph";
6076
- }, {
6077
- readonly const: "heading";
6078
- }, {
6079
- readonly const: "listItem";
6080
- }, {
6081
- readonly const: "table";
6082
- }, {
6083
- readonly const: "tableRow";
6084
- }, {
6085
- readonly const: "tableCell";
6086
- }, {
6087
- readonly const: "image";
6088
- }, {
6089
- readonly const: "sdt";
6090
- }];
6091
- };
6092
- readonly nodeId: {
6093
- readonly type: "string";
6094
- };
6095
- };
6096
- readonly required: readonly ["kind", "nodeType", "nodeId"];
6097
- };
6098
- };
6099
- readonly required: readonly ["kind", "target"];
6447
+ readonly oneOf: readonly [{
6448
+ readonly type: "json";
6449
+ }, {
6450
+ readonly type: "json";
6451
+ }];
6100
6452
  }, {
6101
- readonly type: "object";
6102
- readonly properties: {
6103
- readonly kind: {
6104
- readonly const: "after";
6105
- };
6106
- readonly target: {
6107
- readonly type: "object";
6108
- readonly properties: {
6109
- readonly kind: {
6110
- readonly const: "block";
6111
- };
6112
- readonly nodeType: {
6113
- readonly oneOf: readonly [{
6114
- readonly const: "paragraph";
6115
- }, {
6116
- readonly const: "heading";
6117
- }, {
6118
- readonly const: "listItem";
6119
- }, {
6120
- readonly const: "table";
6121
- }, {
6122
- readonly const: "tableRow";
6123
- }, {
6124
- readonly const: "tableCell";
6125
- }, {
6126
- readonly const: "image";
6127
- }, {
6128
- readonly const: "sdt";
6129
- }];
6130
- };
6131
- readonly nodeId: {
6132
- readonly type: "string";
6133
- };
6134
- };
6135
- readonly required: readonly ["kind", "nodeType", "nodeId"];
6136
- };
6137
- };
6138
- readonly required: readonly ["kind", "target"];
6453
+ readonly oneOf: readonly [{
6454
+ readonly type: "json";
6455
+ }, {
6456
+ readonly type: "json";
6457
+ }];
6139
6458
  }];
6140
6459
  };
6141
6460
  }, {
@@ -6177,10 +6496,19 @@ export declare const CONTRACT: {
6177
6496
  readonly type: "object";
6178
6497
  }, {
6179
6498
  readonly additionalProperties: false;
6499
+ readonly oneOf: readonly [{
6500
+ readonly required: readonly ["target"];
6501
+ }, {
6502
+ readonly required: readonly ["nodeId"];
6503
+ }];
6180
6504
  readonly properties: {
6181
6505
  readonly kind: {
6182
6506
  readonly const: "before";
6183
6507
  };
6508
+ readonly nodeId: {
6509
+ readonly description: "Node ID shorthand — adapter resolves to a full BlockNodeAddress.";
6510
+ readonly type: "string";
6511
+ };
6184
6512
  readonly target: {
6185
6513
  readonly additionalProperties: false;
6186
6514
  readonly properties: {
@@ -6198,14 +6526,23 @@ export declare const CONTRACT: {
6198
6526
  readonly type: "object";
6199
6527
  };
6200
6528
  };
6201
- readonly required: readonly ["kind", "target"];
6529
+ readonly required: readonly ["kind"];
6202
6530
  readonly type: "object";
6203
6531
  }, {
6204
6532
  readonly additionalProperties: false;
6533
+ readonly oneOf: readonly [{
6534
+ readonly required: readonly ["target"];
6535
+ }, {
6536
+ readonly required: readonly ["nodeId"];
6537
+ }];
6205
6538
  readonly properties: {
6206
6539
  readonly kind: {
6207
6540
  readonly const: "after";
6208
6541
  };
6542
+ readonly nodeId: {
6543
+ readonly description: "Node ID shorthand — adapter resolves to a full BlockNodeAddress.";
6544
+ readonly type: "string";
6545
+ };
6209
6546
  readonly target: {
6210
6547
  readonly additionalProperties: false;
6211
6548
  readonly properties: {
@@ -6223,7 +6560,7 @@ export declare const CONTRACT: {
6223
6560
  readonly type: "object";
6224
6561
  };
6225
6562
  };
6226
- readonly required: readonly ["kind", "target"];
6563
+ readonly required: readonly ["kind"];
6227
6564
  readonly type: "object";
6228
6565
  }];
6229
6566
  };
@@ -6818,6 +7155,11 @@ export declare const CONTRACT: {
6818
7155
  };
6819
7156
  readonly required: readonly ["kind", "nodeType", "nodeId"];
6820
7157
  };
7158
+ }, {
7159
+ readonly name: "nodeId";
7160
+ readonly kind: "flag";
7161
+ readonly type: "string";
7162
+ readonly flag: "node-id";
6821
7163
  }, {
6822
7164
  readonly name: "position";
6823
7165
  readonly kind: "flag";
@@ -6846,7 +7188,16 @@ export declare const CONTRACT: {
6846
7188
  readonly supportsDryRun: true;
6847
7189
  readonly inputSchema: {
6848
7190
  readonly additionalProperties: false;
7191
+ readonly oneOf: readonly [{
7192
+ readonly required: readonly ["target"];
7193
+ }, {
7194
+ readonly required: readonly ["nodeId"];
7195
+ }];
6849
7196
  readonly properties: {
7197
+ readonly nodeId: {
7198
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
7199
+ readonly type: "string";
7200
+ };
6850
7201
  readonly position: {
6851
7202
  readonly enum: readonly ["before", "after"];
6852
7203
  };
@@ -6870,7 +7221,7 @@ export declare const CONTRACT: {
6870
7221
  readonly type: "string";
6871
7222
  };
6872
7223
  };
6873
- readonly required: readonly ["target", "position"];
7224
+ readonly required: readonly ["position"];
6874
7225
  readonly type: "object";
6875
7226
  };
6876
7227
  readonly outputSchema: {
@@ -7137,6 +7488,11 @@ export declare const CONTRACT: {
7137
7488
  };
7138
7489
  readonly required: readonly ["kind", "nodeType", "nodeId"];
7139
7490
  };
7491
+ }, {
7492
+ readonly name: "nodeId";
7493
+ readonly kind: "flag";
7494
+ readonly type: "string";
7495
+ readonly flag: "node-id";
7140
7496
  }, {
7141
7497
  readonly name: "kind";
7142
7498
  readonly kind: "flag";
@@ -7161,10 +7517,19 @@ export declare const CONTRACT: {
7161
7517
  readonly supportsDryRun: true;
7162
7518
  readonly inputSchema: {
7163
7519
  readonly additionalProperties: false;
7520
+ readonly oneOf: readonly [{
7521
+ readonly required: readonly ["target"];
7522
+ }, {
7523
+ readonly required: readonly ["nodeId"];
7524
+ }];
7164
7525
  readonly properties: {
7165
7526
  readonly kind: {
7166
7527
  readonly enum: readonly ["ordered", "bullet"];
7167
7528
  };
7529
+ readonly nodeId: {
7530
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
7531
+ readonly type: "string";
7532
+ };
7168
7533
  readonly target: {
7169
7534
  readonly additionalProperties: false;
7170
7535
  readonly properties: {
@@ -7182,7 +7547,7 @@ export declare const CONTRACT: {
7182
7547
  readonly type: "object";
7183
7548
  };
7184
7549
  };
7185
- readonly required: readonly ["target", "kind"];
7550
+ readonly required: readonly ["kind"];
7186
7551
  readonly type: "object";
7187
7552
  };
7188
7553
  readonly outputSchema: {
@@ -7359,6 +7724,11 @@ export declare const CONTRACT: {
7359
7724
  };
7360
7725
  readonly required: readonly ["kind", "nodeType", "nodeId"];
7361
7726
  };
7727
+ }, {
7728
+ readonly name: "nodeId";
7729
+ readonly kind: "flag";
7730
+ readonly type: "string";
7731
+ readonly flag: "node-id";
7362
7732
  }, {
7363
7733
  readonly name: "input";
7364
7734
  readonly kind: "jsonFlag";
@@ -7372,7 +7742,16 @@ export declare const CONTRACT: {
7372
7742
  readonly supportsDryRun: true;
7373
7743
  readonly inputSchema: {
7374
7744
  readonly additionalProperties: false;
7745
+ readonly oneOf: readonly [{
7746
+ readonly required: readonly ["target"];
7747
+ }, {
7748
+ readonly required: readonly ["nodeId"];
7749
+ }];
7375
7750
  readonly properties: {
7751
+ readonly nodeId: {
7752
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
7753
+ readonly type: "string";
7754
+ };
7376
7755
  readonly target: {
7377
7756
  readonly additionalProperties: false;
7378
7757
  readonly properties: {
@@ -7390,7 +7769,6 @@ export declare const CONTRACT: {
7390
7769
  readonly type: "object";
7391
7770
  };
7392
7771
  };
7393
- readonly required: readonly ["target"];
7394
7772
  readonly type: "object";
7395
7773
  };
7396
7774
  readonly outputSchema: {
@@ -7567,6 +7945,11 @@ export declare const CONTRACT: {
7567
7945
  };
7568
7946
  readonly required: readonly ["kind", "nodeType", "nodeId"];
7569
7947
  };
7948
+ }, {
7949
+ readonly name: "nodeId";
7950
+ readonly kind: "flag";
7951
+ readonly type: "string";
7952
+ readonly flag: "node-id";
7570
7953
  }, {
7571
7954
  readonly name: "input";
7572
7955
  readonly kind: "jsonFlag";
@@ -7580,7 +7963,16 @@ export declare const CONTRACT: {
7580
7963
  readonly supportsDryRun: true;
7581
7964
  readonly inputSchema: {
7582
7965
  readonly additionalProperties: false;
7966
+ readonly oneOf: readonly [{
7967
+ readonly required: readonly ["target"];
7968
+ }, {
7969
+ readonly required: readonly ["nodeId"];
7970
+ }];
7583
7971
  readonly properties: {
7972
+ readonly nodeId: {
7973
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
7974
+ readonly type: "string";
7975
+ };
7584
7976
  readonly target: {
7585
7977
  readonly additionalProperties: false;
7586
7978
  readonly properties: {
@@ -7598,7 +7990,6 @@ export declare const CONTRACT: {
7598
7990
  readonly type: "object";
7599
7991
  };
7600
7992
  };
7601
- readonly required: readonly ["target"];
7602
7993
  readonly type: "object";
7603
7994
  };
7604
7995
  readonly outputSchema: {
@@ -7775,6 +8166,11 @@ export declare const CONTRACT: {
7775
8166
  };
7776
8167
  readonly required: readonly ["kind", "nodeType", "nodeId"];
7777
8168
  };
8169
+ }, {
8170
+ readonly name: "nodeId";
8171
+ readonly kind: "flag";
8172
+ readonly type: "string";
8173
+ readonly flag: "node-id";
7778
8174
  }, {
7779
8175
  readonly name: "input";
7780
8176
  readonly kind: "jsonFlag";
@@ -7788,7 +8184,16 @@ export declare const CONTRACT: {
7788
8184
  readonly supportsDryRun: true;
7789
8185
  readonly inputSchema: {
7790
8186
  readonly additionalProperties: false;
8187
+ readonly oneOf: readonly [{
8188
+ readonly required: readonly ["target"];
8189
+ }, {
8190
+ readonly required: readonly ["nodeId"];
8191
+ }];
7791
8192
  readonly properties: {
8193
+ readonly nodeId: {
8194
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
8195
+ readonly type: "string";
8196
+ };
7792
8197
  readonly target: {
7793
8198
  readonly additionalProperties: false;
7794
8199
  readonly properties: {
@@ -7806,7 +8211,6 @@ export declare const CONTRACT: {
7806
8211
  readonly type: "object";
7807
8212
  };
7808
8213
  };
7809
- readonly required: readonly ["target"];
7810
8214
  readonly type: "object";
7811
8215
  };
7812
8216
  readonly outputSchema: {
@@ -7983,6 +8387,11 @@ export declare const CONTRACT: {
7983
8387
  };
7984
8388
  readonly required: readonly ["kind", "nodeType", "nodeId"];
7985
8389
  };
8390
+ }, {
8391
+ readonly name: "nodeId";
8392
+ readonly kind: "flag";
8393
+ readonly type: "string";
8394
+ readonly flag: "node-id";
7986
8395
  }, {
7987
8396
  readonly name: "input";
7988
8397
  readonly kind: "jsonFlag";
@@ -7996,7 +8405,16 @@ export declare const CONTRACT: {
7996
8405
  readonly supportsDryRun: true;
7997
8406
  readonly inputSchema: {
7998
8407
  readonly additionalProperties: false;
8408
+ readonly oneOf: readonly [{
8409
+ readonly required: readonly ["target"];
8410
+ }, {
8411
+ readonly required: readonly ["nodeId"];
8412
+ }];
7999
8413
  readonly properties: {
8414
+ readonly nodeId: {
8415
+ readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
8416
+ readonly type: "string";
8417
+ };
8000
8418
  readonly target: {
8001
8419
  readonly additionalProperties: false;
8002
8420
  readonly properties: {
@@ -8014,7 +8432,6 @@ export declare const CONTRACT: {
8014
8432
  readonly type: "object";
8015
8433
  };
8016
8434
  };
8017
- readonly required: readonly ["target"];
8018
8435
  readonly type: "object";
8019
8436
  };
8020
8437
  readonly outputSchema: {
@@ -8170,7 +8587,6 @@ export declare const CONTRACT: {
8170
8587
  readonly kind: "jsonFlag";
8171
8588
  readonly type: "json";
8172
8589
  readonly flag: "target-json";
8173
- readonly required: true;
8174
8590
  readonly schema: {
8175
8591
  readonly type: "object";
8176
8592
  readonly properties: {
@@ -8200,6 +8616,19 @@ export declare const CONTRACT: {
8200
8616
  readonly kind: "flag";
8201
8617
  readonly type: "string";
8202
8618
  readonly required: true;
8619
+ }, {
8620
+ readonly name: "blockId";
8621
+ readonly kind: "flag";
8622
+ readonly type: "string";
8623
+ readonly flag: "block-id";
8624
+ }, {
8625
+ readonly name: "start";
8626
+ readonly kind: "flag";
8627
+ readonly type: "number";
8628
+ }, {
8629
+ readonly name: "end";
8630
+ readonly kind: "flag";
8631
+ readonly type: "number";
8203
8632
  }];
8204
8633
  readonly constraints: null;
8205
8634
  readonly mutates: true;
@@ -8208,7 +8637,60 @@ export declare const CONTRACT: {
8208
8637
  readonly supportsDryRun: false;
8209
8638
  readonly inputSchema: {
8210
8639
  readonly additionalProperties: false;
8640
+ readonly allOf: readonly [{
8641
+ readonly not: {
8642
+ readonly required: readonly ["target", "blockId"];
8643
+ };
8644
+ }, {
8645
+ readonly not: {
8646
+ readonly required: readonly ["target", "start"];
8647
+ };
8648
+ }, {
8649
+ readonly not: {
8650
+ readonly required: readonly ["target", "end"];
8651
+ };
8652
+ }, {
8653
+ readonly if: {
8654
+ readonly required: readonly ["start"];
8655
+ };
8656
+ readonly then: {
8657
+ readonly required: readonly ["blockId", "end"];
8658
+ };
8659
+ }, {
8660
+ readonly if: {
8661
+ readonly required: readonly ["end"];
8662
+ };
8663
+ readonly then: {
8664
+ readonly required: readonly ["blockId", "start"];
8665
+ };
8666
+ }, {
8667
+ readonly if: {
8668
+ readonly required: readonly ["blockId"];
8669
+ };
8670
+ readonly then: {
8671
+ readonly required: readonly ["start", "end"];
8672
+ };
8673
+ }];
8674
+ readonly anyOf: readonly [{
8675
+ readonly required: readonly ["target"];
8676
+ }, {
8677
+ readonly required: readonly ["blockId", "start", "end"];
8678
+ }];
8211
8679
  readonly properties: {
8680
+ readonly blockId: {
8681
+ readonly description: "Block ID for block-relative range targeting.";
8682
+ readonly type: "string";
8683
+ };
8684
+ readonly end: {
8685
+ readonly description: "End offset within the block identified by blockId.";
8686
+ readonly minimum: 0;
8687
+ readonly type: "integer";
8688
+ };
8689
+ readonly start: {
8690
+ readonly description: "Start offset within the block identified by blockId.";
8691
+ readonly minimum: 0;
8692
+ readonly type: "integer";
8693
+ };
8212
8694
  readonly target: {
8213
8695
  readonly additionalProperties: false;
8214
8696
  readonly properties: {
@@ -8239,7 +8721,7 @@ export declare const CONTRACT: {
8239
8721
  readonly type: "string";
8240
8722
  };
8241
8723
  };
8242
- readonly required: readonly ["target", "text"];
8724
+ readonly required: readonly ["text"];
8243
8725
  readonly type: "object";
8244
8726
  };
8245
8727
  readonly outputSchema: {
@@ -9307,7 +9789,6 @@ export declare const CONTRACT: {
9307
9789
  readonly kind: "jsonFlag";
9308
9790
  readonly type: "json";
9309
9791
  readonly flag: "target-json";
9310
- readonly required: true;
9311
9792
  readonly schema: {
9312
9793
  readonly type: "object";
9313
9794
  readonly properties: {
@@ -9332,6 +9813,19 @@ export declare const CONTRACT: {
9332
9813
  };
9333
9814
  readonly required: readonly ["kind", "blockId", "range"];
9334
9815
  };
9816
+ }, {
9817
+ readonly name: "blockId";
9818
+ readonly kind: "flag";
9819
+ readonly type: "string";
9820
+ readonly flag: "block-id";
9821
+ }, {
9822
+ readonly name: "start";
9823
+ readonly kind: "flag";
9824
+ readonly type: "number";
9825
+ }, {
9826
+ readonly name: "end";
9827
+ readonly kind: "flag";
9828
+ readonly type: "number";
9335
9829
  }];
9336
9830
  readonly constraints: null;
9337
9831
  readonly mutates: true;
@@ -9340,10 +9834,63 @@ export declare const CONTRACT: {
9340
9834
  readonly supportsDryRun: false;
9341
9835
  readonly inputSchema: {
9342
9836
  readonly additionalProperties: false;
9837
+ readonly allOf: readonly [{
9838
+ readonly not: {
9839
+ readonly required: readonly ["target", "blockId"];
9840
+ };
9841
+ }, {
9842
+ readonly not: {
9843
+ readonly required: readonly ["target", "start"];
9844
+ };
9845
+ }, {
9846
+ readonly not: {
9847
+ readonly required: readonly ["target", "end"];
9848
+ };
9849
+ }, {
9850
+ readonly if: {
9851
+ readonly required: readonly ["start"];
9852
+ };
9853
+ readonly then: {
9854
+ readonly required: readonly ["blockId", "end"];
9855
+ };
9856
+ }, {
9857
+ readonly if: {
9858
+ readonly required: readonly ["end"];
9859
+ };
9860
+ readonly then: {
9861
+ readonly required: readonly ["blockId", "start"];
9862
+ };
9863
+ }, {
9864
+ readonly if: {
9865
+ readonly required: readonly ["blockId"];
9866
+ };
9867
+ readonly then: {
9868
+ readonly required: readonly ["start", "end"];
9869
+ };
9870
+ }];
9871
+ readonly anyOf: readonly [{
9872
+ readonly required: readonly ["target"];
9873
+ }, {
9874
+ readonly required: readonly ["blockId", "start", "end"];
9875
+ }];
9343
9876
  readonly properties: {
9877
+ readonly blockId: {
9878
+ readonly description: "Block ID for block-relative range targeting.";
9879
+ readonly type: "string";
9880
+ };
9344
9881
  readonly commentId: {
9345
9882
  readonly type: "string";
9346
9883
  };
9884
+ readonly end: {
9885
+ readonly description: "End offset within the block identified by blockId.";
9886
+ readonly minimum: 0;
9887
+ readonly type: "integer";
9888
+ };
9889
+ readonly start: {
9890
+ readonly description: "Start offset within the block identified by blockId.";
9891
+ readonly minimum: 0;
9892
+ readonly type: "integer";
9893
+ };
9347
9894
  readonly target: {
9348
9895
  readonly additionalProperties: false;
9349
9896
  readonly properties: {
@@ -9371,7 +9918,7 @@ export declare const CONTRACT: {
9371
9918
  readonly type: "object";
9372
9919
  };
9373
9920
  };
9374
- readonly required: readonly ["commentId", "target"];
9921
+ readonly required: readonly ["commentId"];
9375
9922
  readonly type: "object";
9376
9923
  };
9377
9924
  readonly outputSchema: {