@superdoc-dev/sdk 1.0.0-alpha.5 → 1.0.0-alpha.7
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.
- package/dist/generated/client.d.ts +46 -28
- package/dist/generated/client.d.ts.map +1 -1
- package/dist/generated/client.js +5 -5
- package/dist/generated/contract.d.ts +681 -100
- package/dist/generated/contract.d.ts.map +1 -1
- package/dist/generated/contract.js +1110 -158
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/runtime/process.d.ts.map +1 -1
- package/dist/runtime/transport-common.d.ts.map +1 -1
- package/dist/runtime/transport-common.js +1 -3
- package/package.json +10 -15
- package/tools/catalog.json +1683 -1429
- package/tools/tools-policy.json +1 -1
- package/tools/tools.anthropic.json +1659 -1405
- package/tools/tools.generic.json +1683 -1429
- package/tools/tools.openai.json +1661 -1407
- package/tools/tools.vercel.json +1661 -1407
- package/LICENSE +0 -661
|
@@ -1072,6 +1072,15 @@ export declare const CONTRACT: {
|
|
|
1072
1072
|
readonly kind: "flag";
|
|
1073
1073
|
readonly type: "string";
|
|
1074
1074
|
readonly required: true;
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly name: "blockId";
|
|
1077
|
+
readonly kind: "flag";
|
|
1078
|
+
readonly type: "string";
|
|
1079
|
+
readonly flag: "block-id";
|
|
1080
|
+
}, {
|
|
1081
|
+
readonly name: "offset";
|
|
1082
|
+
readonly kind: "flag";
|
|
1083
|
+
readonly type: "number";
|
|
1075
1084
|
}];
|
|
1076
1085
|
readonly constraints: null;
|
|
1077
1086
|
readonly mutates: true;
|
|
@@ -1080,7 +1089,32 @@ export declare const CONTRACT: {
|
|
|
1080
1089
|
readonly supportsDryRun: true;
|
|
1081
1090
|
readonly inputSchema: {
|
|
1082
1091
|
readonly additionalProperties: false;
|
|
1092
|
+
readonly allOf: readonly [{
|
|
1093
|
+
readonly not: {
|
|
1094
|
+
readonly required: readonly ["target", "blockId"];
|
|
1095
|
+
};
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly not: {
|
|
1098
|
+
readonly required: readonly ["target", "offset"];
|
|
1099
|
+
};
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly if: {
|
|
1102
|
+
readonly required: readonly ["offset"];
|
|
1103
|
+
};
|
|
1104
|
+
readonly then: {
|
|
1105
|
+
readonly required: readonly ["blockId"];
|
|
1106
|
+
};
|
|
1107
|
+
}];
|
|
1083
1108
|
readonly properties: {
|
|
1109
|
+
readonly blockId: {
|
|
1110
|
+
readonly description: "Block ID for block-relative targeting.";
|
|
1111
|
+
readonly type: "string";
|
|
1112
|
+
};
|
|
1113
|
+
readonly offset: {
|
|
1114
|
+
readonly description: "Character offset within the block identified by blockId.";
|
|
1115
|
+
readonly minimum: 0;
|
|
1116
|
+
readonly type: "integer";
|
|
1117
|
+
};
|
|
1084
1118
|
readonly target: {
|
|
1085
1119
|
readonly additionalProperties: false;
|
|
1086
1120
|
readonly properties: {
|
|
@@ -1757,7 +1791,6 @@ export declare const CONTRACT: {
|
|
|
1757
1791
|
readonly kind: "jsonFlag";
|
|
1758
1792
|
readonly type: "json";
|
|
1759
1793
|
readonly flag: "target-json";
|
|
1760
|
-
readonly required: true;
|
|
1761
1794
|
readonly schema: {
|
|
1762
1795
|
readonly type: "object";
|
|
1763
1796
|
readonly properties: {
|
|
@@ -1787,6 +1820,19 @@ export declare const CONTRACT: {
|
|
|
1787
1820
|
readonly kind: "flag";
|
|
1788
1821
|
readonly type: "string";
|
|
1789
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";
|
|
1790
1836
|
}];
|
|
1791
1837
|
readonly constraints: null;
|
|
1792
1838
|
readonly mutates: true;
|
|
@@ -1795,7 +1841,60 @@ export declare const CONTRACT: {
|
|
|
1795
1841
|
readonly supportsDryRun: true;
|
|
1796
1842
|
readonly inputSchema: {
|
|
1797
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
|
+
}];
|
|
1798
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
|
+
};
|
|
1799
1898
|
readonly target: {
|
|
1800
1899
|
readonly additionalProperties: false;
|
|
1801
1900
|
readonly properties: {
|
|
@@ -1826,7 +1925,7 @@ export declare const CONTRACT: {
|
|
|
1826
1925
|
readonly type: "string";
|
|
1827
1926
|
};
|
|
1828
1927
|
};
|
|
1829
|
-
readonly required: readonly ["
|
|
1928
|
+
readonly required: readonly ["text"];
|
|
1830
1929
|
readonly type: "object";
|
|
1831
1930
|
};
|
|
1832
1931
|
readonly outputSchema: {
|
|
@@ -2472,7 +2571,6 @@ export declare const CONTRACT: {
|
|
|
2472
2571
|
readonly kind: "jsonFlag";
|
|
2473
2572
|
readonly type: "json";
|
|
2474
2573
|
readonly flag: "target-json";
|
|
2475
|
-
readonly required: true;
|
|
2476
2574
|
readonly schema: {
|
|
2477
2575
|
readonly type: "object";
|
|
2478
2576
|
readonly properties: {
|
|
@@ -2497,6 +2595,19 @@ export declare const CONTRACT: {
|
|
|
2497
2595
|
};
|
|
2498
2596
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
2499
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";
|
|
2500
2611
|
}];
|
|
2501
2612
|
readonly constraints: null;
|
|
2502
2613
|
readonly mutates: true;
|
|
@@ -2505,7 +2616,60 @@ export declare const CONTRACT: {
|
|
|
2505
2616
|
readonly supportsDryRun: true;
|
|
2506
2617
|
readonly inputSchema: {
|
|
2507
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
|
+
}];
|
|
2508
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
|
+
};
|
|
2509
2673
|
readonly target: {
|
|
2510
2674
|
readonly additionalProperties: false;
|
|
2511
2675
|
readonly properties: {
|
|
@@ -2533,7 +2697,6 @@ export declare const CONTRACT: {
|
|
|
2533
2697
|
readonly type: "object";
|
|
2534
2698
|
};
|
|
2535
2699
|
};
|
|
2536
|
-
readonly required: readonly ["target"];
|
|
2537
2700
|
readonly type: "object";
|
|
2538
2701
|
};
|
|
2539
2702
|
readonly outputSchema: {
|
|
@@ -3179,7 +3342,6 @@ export declare const CONTRACT: {
|
|
|
3179
3342
|
readonly kind: "jsonFlag";
|
|
3180
3343
|
readonly type: "json";
|
|
3181
3344
|
readonly flag: "target-json";
|
|
3182
|
-
readonly required: true;
|
|
3183
3345
|
readonly schema: {
|
|
3184
3346
|
readonly type: "object";
|
|
3185
3347
|
readonly properties: {
|
|
@@ -3204,6 +3366,19 @@ export declare const CONTRACT: {
|
|
|
3204
3366
|
};
|
|
3205
3367
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
3206
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";
|
|
3207
3382
|
}];
|
|
3208
3383
|
readonly constraints: null;
|
|
3209
3384
|
readonly mutates: true;
|
|
@@ -3212,7 +3387,60 @@ export declare const CONTRACT: {
|
|
|
3212
3387
|
readonly supportsDryRun: true;
|
|
3213
3388
|
readonly inputSchema: {
|
|
3214
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
|
+
}];
|
|
3215
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
|
+
};
|
|
3216
3444
|
readonly target: {
|
|
3217
3445
|
readonly additionalProperties: false;
|
|
3218
3446
|
readonly properties: {
|
|
@@ -3240,7 +3468,6 @@ export declare const CONTRACT: {
|
|
|
3240
3468
|
readonly type: "object";
|
|
3241
3469
|
};
|
|
3242
3470
|
};
|
|
3243
|
-
readonly required: readonly ["target"];
|
|
3244
3471
|
readonly type: "object";
|
|
3245
3472
|
};
|
|
3246
3473
|
readonly outputSchema: {
|
|
@@ -3886,7 +4113,6 @@ export declare const CONTRACT: {
|
|
|
3886
4113
|
readonly kind: "jsonFlag";
|
|
3887
4114
|
readonly type: "json";
|
|
3888
4115
|
readonly flag: "target-json";
|
|
3889
|
-
readonly required: true;
|
|
3890
4116
|
readonly schema: {
|
|
3891
4117
|
readonly type: "object";
|
|
3892
4118
|
readonly properties: {
|
|
@@ -3911,6 +4137,19 @@ export declare const CONTRACT: {
|
|
|
3911
4137
|
};
|
|
3912
4138
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
3913
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";
|
|
3914
4153
|
}];
|
|
3915
4154
|
readonly constraints: null;
|
|
3916
4155
|
readonly mutates: true;
|
|
@@ -3919,7 +4158,60 @@ export declare const CONTRACT: {
|
|
|
3919
4158
|
readonly supportsDryRun: true;
|
|
3920
4159
|
readonly inputSchema: {
|
|
3921
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
|
+
}];
|
|
3922
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
|
+
};
|
|
3923
4215
|
readonly target: {
|
|
3924
4216
|
readonly additionalProperties: false;
|
|
3925
4217
|
readonly properties: {
|
|
@@ -3947,7 +4239,6 @@ export declare const CONTRACT: {
|
|
|
3947
4239
|
readonly type: "object";
|
|
3948
4240
|
};
|
|
3949
4241
|
};
|
|
3950
|
-
readonly required: readonly ["target"];
|
|
3951
4242
|
readonly type: "object";
|
|
3952
4243
|
};
|
|
3953
4244
|
readonly outputSchema: {
|
|
@@ -4593,7 +4884,6 @@ export declare const CONTRACT: {
|
|
|
4593
4884
|
readonly kind: "jsonFlag";
|
|
4594
4885
|
readonly type: "json";
|
|
4595
4886
|
readonly flag: "target-json";
|
|
4596
|
-
readonly required: true;
|
|
4597
4887
|
readonly schema: {
|
|
4598
4888
|
readonly type: "object";
|
|
4599
4889
|
readonly properties: {
|
|
@@ -4618,6 +4908,19 @@ export declare const CONTRACT: {
|
|
|
4618
4908
|
};
|
|
4619
4909
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
4620
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";
|
|
4621
4924
|
}];
|
|
4622
4925
|
readonly constraints: null;
|
|
4623
4926
|
readonly mutates: true;
|
|
@@ -4626,7 +4929,60 @@ export declare const CONTRACT: {
|
|
|
4626
4929
|
readonly supportsDryRun: true;
|
|
4627
4930
|
readonly inputSchema: {
|
|
4628
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
|
+
}];
|
|
4629
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
|
+
};
|
|
4630
4986
|
readonly target: {
|
|
4631
4987
|
readonly additionalProperties: false;
|
|
4632
4988
|
readonly properties: {
|
|
@@ -4654,7 +5010,6 @@ export declare const CONTRACT: {
|
|
|
4654
5010
|
readonly type: "object";
|
|
4655
5011
|
};
|
|
4656
5012
|
};
|
|
4657
|
-
readonly required: readonly ["target"];
|
|
4658
5013
|
readonly type: "object";
|
|
4659
5014
|
};
|
|
4660
5015
|
readonly outputSchema: {
|
|
@@ -5300,7 +5655,6 @@ export declare const CONTRACT: {
|
|
|
5300
5655
|
readonly kind: "jsonFlag";
|
|
5301
5656
|
readonly type: "json";
|
|
5302
5657
|
readonly flag: "target-json";
|
|
5303
|
-
readonly required: true;
|
|
5304
5658
|
readonly schema: {
|
|
5305
5659
|
readonly type: "object";
|
|
5306
5660
|
readonly properties: {
|
|
@@ -5325,6 +5679,19 @@ export declare const CONTRACT: {
|
|
|
5325
5679
|
};
|
|
5326
5680
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
5327
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";
|
|
5328
5695
|
}];
|
|
5329
5696
|
readonly constraints: null;
|
|
5330
5697
|
readonly mutates: true;
|
|
@@ -5333,7 +5700,60 @@ export declare const CONTRACT: {
|
|
|
5333
5700
|
readonly supportsDryRun: true;
|
|
5334
5701
|
readonly inputSchema: {
|
|
5335
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
|
+
}];
|
|
5336
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
|
+
};
|
|
5337
5757
|
readonly target: {
|
|
5338
5758
|
readonly additionalProperties: false;
|
|
5339
5759
|
readonly properties: {
|
|
@@ -5361,7 +5781,6 @@ export declare const CONTRACT: {
|
|
|
5361
5781
|
readonly type: "object";
|
|
5362
5782
|
};
|
|
5363
5783
|
};
|
|
5364
|
-
readonly required: readonly ["target"];
|
|
5365
5784
|
readonly type: "object";
|
|
5366
5785
|
};
|
|
5367
5786
|
readonly outputSchema: {
|
|
@@ -6025,83 +6444,17 @@ export declare const CONTRACT: {
|
|
|
6025
6444
|
};
|
|
6026
6445
|
readonly required: readonly ["kind"];
|
|
6027
6446
|
}, {
|
|
6028
|
-
readonly
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
readonly target: {
|
|
6034
|
-
readonly type: "object";
|
|
6035
|
-
readonly properties: {
|
|
6036
|
-
readonly kind: {
|
|
6037
|
-
readonly const: "block";
|
|
6038
|
-
};
|
|
6039
|
-
readonly nodeType: {
|
|
6040
|
-
readonly oneOf: readonly [{
|
|
6041
|
-
readonly const: "paragraph";
|
|
6042
|
-
}, {
|
|
6043
|
-
readonly const: "heading";
|
|
6044
|
-
}, {
|
|
6045
|
-
readonly const: "listItem";
|
|
6046
|
-
}, {
|
|
6047
|
-
readonly const: "table";
|
|
6048
|
-
}, {
|
|
6049
|
-
readonly const: "tableRow";
|
|
6050
|
-
}, {
|
|
6051
|
-
readonly const: "tableCell";
|
|
6052
|
-
}, {
|
|
6053
|
-
readonly const: "image";
|
|
6054
|
-
}, {
|
|
6055
|
-
readonly const: "sdt";
|
|
6056
|
-
}];
|
|
6057
|
-
};
|
|
6058
|
-
readonly nodeId: {
|
|
6059
|
-
readonly type: "string";
|
|
6060
|
-
};
|
|
6061
|
-
};
|
|
6062
|
-
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
6063
|
-
};
|
|
6064
|
-
};
|
|
6065
|
-
readonly required: readonly ["kind", "target"];
|
|
6447
|
+
readonly oneOf: readonly [{
|
|
6448
|
+
readonly type: "json";
|
|
6449
|
+
}, {
|
|
6450
|
+
readonly type: "json";
|
|
6451
|
+
}];
|
|
6066
6452
|
}, {
|
|
6067
|
-
readonly
|
|
6068
|
-
|
|
6069
|
-
|
|
6070
|
-
|
|
6071
|
-
|
|
6072
|
-
readonly target: {
|
|
6073
|
-
readonly type: "object";
|
|
6074
|
-
readonly properties: {
|
|
6075
|
-
readonly kind: {
|
|
6076
|
-
readonly const: "block";
|
|
6077
|
-
};
|
|
6078
|
-
readonly nodeType: {
|
|
6079
|
-
readonly oneOf: readonly [{
|
|
6080
|
-
readonly const: "paragraph";
|
|
6081
|
-
}, {
|
|
6082
|
-
readonly const: "heading";
|
|
6083
|
-
}, {
|
|
6084
|
-
readonly const: "listItem";
|
|
6085
|
-
}, {
|
|
6086
|
-
readonly const: "table";
|
|
6087
|
-
}, {
|
|
6088
|
-
readonly const: "tableRow";
|
|
6089
|
-
}, {
|
|
6090
|
-
readonly const: "tableCell";
|
|
6091
|
-
}, {
|
|
6092
|
-
readonly const: "image";
|
|
6093
|
-
}, {
|
|
6094
|
-
readonly const: "sdt";
|
|
6095
|
-
}];
|
|
6096
|
-
};
|
|
6097
|
-
readonly nodeId: {
|
|
6098
|
-
readonly type: "string";
|
|
6099
|
-
};
|
|
6100
|
-
};
|
|
6101
|
-
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
6102
|
-
};
|
|
6103
|
-
};
|
|
6104
|
-
readonly required: readonly ["kind", "target"];
|
|
6453
|
+
readonly oneOf: readonly [{
|
|
6454
|
+
readonly type: "json";
|
|
6455
|
+
}, {
|
|
6456
|
+
readonly type: "json";
|
|
6457
|
+
}];
|
|
6105
6458
|
}];
|
|
6106
6459
|
};
|
|
6107
6460
|
}, {
|
|
@@ -6143,10 +6496,19 @@ export declare const CONTRACT: {
|
|
|
6143
6496
|
readonly type: "object";
|
|
6144
6497
|
}, {
|
|
6145
6498
|
readonly additionalProperties: false;
|
|
6499
|
+
readonly oneOf: readonly [{
|
|
6500
|
+
readonly required: readonly ["target"];
|
|
6501
|
+
}, {
|
|
6502
|
+
readonly required: readonly ["nodeId"];
|
|
6503
|
+
}];
|
|
6146
6504
|
readonly properties: {
|
|
6147
6505
|
readonly kind: {
|
|
6148
6506
|
readonly const: "before";
|
|
6149
6507
|
};
|
|
6508
|
+
readonly nodeId: {
|
|
6509
|
+
readonly description: "Node ID shorthand — adapter resolves to a full BlockNodeAddress.";
|
|
6510
|
+
readonly type: "string";
|
|
6511
|
+
};
|
|
6150
6512
|
readonly target: {
|
|
6151
6513
|
readonly additionalProperties: false;
|
|
6152
6514
|
readonly properties: {
|
|
@@ -6164,14 +6526,23 @@ export declare const CONTRACT: {
|
|
|
6164
6526
|
readonly type: "object";
|
|
6165
6527
|
};
|
|
6166
6528
|
};
|
|
6167
|
-
readonly required: readonly ["kind"
|
|
6529
|
+
readonly required: readonly ["kind"];
|
|
6168
6530
|
readonly type: "object";
|
|
6169
6531
|
}, {
|
|
6170
6532
|
readonly additionalProperties: false;
|
|
6533
|
+
readonly oneOf: readonly [{
|
|
6534
|
+
readonly required: readonly ["target"];
|
|
6535
|
+
}, {
|
|
6536
|
+
readonly required: readonly ["nodeId"];
|
|
6537
|
+
}];
|
|
6171
6538
|
readonly properties: {
|
|
6172
6539
|
readonly kind: {
|
|
6173
6540
|
readonly const: "after";
|
|
6174
6541
|
};
|
|
6542
|
+
readonly nodeId: {
|
|
6543
|
+
readonly description: "Node ID shorthand — adapter resolves to a full BlockNodeAddress.";
|
|
6544
|
+
readonly type: "string";
|
|
6545
|
+
};
|
|
6175
6546
|
readonly target: {
|
|
6176
6547
|
readonly additionalProperties: false;
|
|
6177
6548
|
readonly properties: {
|
|
@@ -6189,7 +6560,7 @@ export declare const CONTRACT: {
|
|
|
6189
6560
|
readonly type: "object";
|
|
6190
6561
|
};
|
|
6191
6562
|
};
|
|
6192
|
-
readonly required: readonly ["kind"
|
|
6563
|
+
readonly required: readonly ["kind"];
|
|
6193
6564
|
readonly type: "object";
|
|
6194
6565
|
}];
|
|
6195
6566
|
};
|
|
@@ -6784,6 +7155,11 @@ export declare const CONTRACT: {
|
|
|
6784
7155
|
};
|
|
6785
7156
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
6786
7157
|
};
|
|
7158
|
+
}, {
|
|
7159
|
+
readonly name: "nodeId";
|
|
7160
|
+
readonly kind: "flag";
|
|
7161
|
+
readonly type: "string";
|
|
7162
|
+
readonly flag: "node-id";
|
|
6787
7163
|
}, {
|
|
6788
7164
|
readonly name: "position";
|
|
6789
7165
|
readonly kind: "flag";
|
|
@@ -6812,7 +7188,16 @@ export declare const CONTRACT: {
|
|
|
6812
7188
|
readonly supportsDryRun: true;
|
|
6813
7189
|
readonly inputSchema: {
|
|
6814
7190
|
readonly additionalProperties: false;
|
|
7191
|
+
readonly oneOf: readonly [{
|
|
7192
|
+
readonly required: readonly ["target"];
|
|
7193
|
+
}, {
|
|
7194
|
+
readonly required: readonly ["nodeId"];
|
|
7195
|
+
}];
|
|
6815
7196
|
readonly properties: {
|
|
7197
|
+
readonly nodeId: {
|
|
7198
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
7199
|
+
readonly type: "string";
|
|
7200
|
+
};
|
|
6816
7201
|
readonly position: {
|
|
6817
7202
|
readonly enum: readonly ["before", "after"];
|
|
6818
7203
|
};
|
|
@@ -6836,7 +7221,7 @@ export declare const CONTRACT: {
|
|
|
6836
7221
|
readonly type: "string";
|
|
6837
7222
|
};
|
|
6838
7223
|
};
|
|
6839
|
-
readonly required: readonly ["
|
|
7224
|
+
readonly required: readonly ["position"];
|
|
6840
7225
|
readonly type: "object";
|
|
6841
7226
|
};
|
|
6842
7227
|
readonly outputSchema: {
|
|
@@ -7103,6 +7488,11 @@ export declare const CONTRACT: {
|
|
|
7103
7488
|
};
|
|
7104
7489
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
7105
7490
|
};
|
|
7491
|
+
}, {
|
|
7492
|
+
readonly name: "nodeId";
|
|
7493
|
+
readonly kind: "flag";
|
|
7494
|
+
readonly type: "string";
|
|
7495
|
+
readonly flag: "node-id";
|
|
7106
7496
|
}, {
|
|
7107
7497
|
readonly name: "kind";
|
|
7108
7498
|
readonly kind: "flag";
|
|
@@ -7127,10 +7517,19 @@ export declare const CONTRACT: {
|
|
|
7127
7517
|
readonly supportsDryRun: true;
|
|
7128
7518
|
readonly inputSchema: {
|
|
7129
7519
|
readonly additionalProperties: false;
|
|
7520
|
+
readonly oneOf: readonly [{
|
|
7521
|
+
readonly required: readonly ["target"];
|
|
7522
|
+
}, {
|
|
7523
|
+
readonly required: readonly ["nodeId"];
|
|
7524
|
+
}];
|
|
7130
7525
|
readonly properties: {
|
|
7131
7526
|
readonly kind: {
|
|
7132
7527
|
readonly enum: readonly ["ordered", "bullet"];
|
|
7133
7528
|
};
|
|
7529
|
+
readonly nodeId: {
|
|
7530
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
7531
|
+
readonly type: "string";
|
|
7532
|
+
};
|
|
7134
7533
|
readonly target: {
|
|
7135
7534
|
readonly additionalProperties: false;
|
|
7136
7535
|
readonly properties: {
|
|
@@ -7148,7 +7547,7 @@ export declare const CONTRACT: {
|
|
|
7148
7547
|
readonly type: "object";
|
|
7149
7548
|
};
|
|
7150
7549
|
};
|
|
7151
|
-
readonly required: readonly ["
|
|
7550
|
+
readonly required: readonly ["kind"];
|
|
7152
7551
|
readonly type: "object";
|
|
7153
7552
|
};
|
|
7154
7553
|
readonly outputSchema: {
|
|
@@ -7325,6 +7724,11 @@ export declare const CONTRACT: {
|
|
|
7325
7724
|
};
|
|
7326
7725
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
7327
7726
|
};
|
|
7727
|
+
}, {
|
|
7728
|
+
readonly name: "nodeId";
|
|
7729
|
+
readonly kind: "flag";
|
|
7730
|
+
readonly type: "string";
|
|
7731
|
+
readonly flag: "node-id";
|
|
7328
7732
|
}, {
|
|
7329
7733
|
readonly name: "input";
|
|
7330
7734
|
readonly kind: "jsonFlag";
|
|
@@ -7338,7 +7742,16 @@ export declare const CONTRACT: {
|
|
|
7338
7742
|
readonly supportsDryRun: true;
|
|
7339
7743
|
readonly inputSchema: {
|
|
7340
7744
|
readonly additionalProperties: false;
|
|
7745
|
+
readonly oneOf: readonly [{
|
|
7746
|
+
readonly required: readonly ["target"];
|
|
7747
|
+
}, {
|
|
7748
|
+
readonly required: readonly ["nodeId"];
|
|
7749
|
+
}];
|
|
7341
7750
|
readonly properties: {
|
|
7751
|
+
readonly nodeId: {
|
|
7752
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
7753
|
+
readonly type: "string";
|
|
7754
|
+
};
|
|
7342
7755
|
readonly target: {
|
|
7343
7756
|
readonly additionalProperties: false;
|
|
7344
7757
|
readonly properties: {
|
|
@@ -7356,7 +7769,6 @@ export declare const CONTRACT: {
|
|
|
7356
7769
|
readonly type: "object";
|
|
7357
7770
|
};
|
|
7358
7771
|
};
|
|
7359
|
-
readonly required: readonly ["target"];
|
|
7360
7772
|
readonly type: "object";
|
|
7361
7773
|
};
|
|
7362
7774
|
readonly outputSchema: {
|
|
@@ -7533,6 +7945,11 @@ export declare const CONTRACT: {
|
|
|
7533
7945
|
};
|
|
7534
7946
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
7535
7947
|
};
|
|
7948
|
+
}, {
|
|
7949
|
+
readonly name: "nodeId";
|
|
7950
|
+
readonly kind: "flag";
|
|
7951
|
+
readonly type: "string";
|
|
7952
|
+
readonly flag: "node-id";
|
|
7536
7953
|
}, {
|
|
7537
7954
|
readonly name: "input";
|
|
7538
7955
|
readonly kind: "jsonFlag";
|
|
@@ -7546,7 +7963,16 @@ export declare const CONTRACT: {
|
|
|
7546
7963
|
readonly supportsDryRun: true;
|
|
7547
7964
|
readonly inputSchema: {
|
|
7548
7965
|
readonly additionalProperties: false;
|
|
7966
|
+
readonly oneOf: readonly [{
|
|
7967
|
+
readonly required: readonly ["target"];
|
|
7968
|
+
}, {
|
|
7969
|
+
readonly required: readonly ["nodeId"];
|
|
7970
|
+
}];
|
|
7549
7971
|
readonly properties: {
|
|
7972
|
+
readonly nodeId: {
|
|
7973
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
7974
|
+
readonly type: "string";
|
|
7975
|
+
};
|
|
7550
7976
|
readonly target: {
|
|
7551
7977
|
readonly additionalProperties: false;
|
|
7552
7978
|
readonly properties: {
|
|
@@ -7564,7 +7990,6 @@ export declare const CONTRACT: {
|
|
|
7564
7990
|
readonly type: "object";
|
|
7565
7991
|
};
|
|
7566
7992
|
};
|
|
7567
|
-
readonly required: readonly ["target"];
|
|
7568
7993
|
readonly type: "object";
|
|
7569
7994
|
};
|
|
7570
7995
|
readonly outputSchema: {
|
|
@@ -7741,6 +8166,11 @@ export declare const CONTRACT: {
|
|
|
7741
8166
|
};
|
|
7742
8167
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
7743
8168
|
};
|
|
8169
|
+
}, {
|
|
8170
|
+
readonly name: "nodeId";
|
|
8171
|
+
readonly kind: "flag";
|
|
8172
|
+
readonly type: "string";
|
|
8173
|
+
readonly flag: "node-id";
|
|
7744
8174
|
}, {
|
|
7745
8175
|
readonly name: "input";
|
|
7746
8176
|
readonly kind: "jsonFlag";
|
|
@@ -7754,7 +8184,16 @@ export declare const CONTRACT: {
|
|
|
7754
8184
|
readonly supportsDryRun: true;
|
|
7755
8185
|
readonly inputSchema: {
|
|
7756
8186
|
readonly additionalProperties: false;
|
|
8187
|
+
readonly oneOf: readonly [{
|
|
8188
|
+
readonly required: readonly ["target"];
|
|
8189
|
+
}, {
|
|
8190
|
+
readonly required: readonly ["nodeId"];
|
|
8191
|
+
}];
|
|
7757
8192
|
readonly properties: {
|
|
8193
|
+
readonly nodeId: {
|
|
8194
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
8195
|
+
readonly type: "string";
|
|
8196
|
+
};
|
|
7758
8197
|
readonly target: {
|
|
7759
8198
|
readonly additionalProperties: false;
|
|
7760
8199
|
readonly properties: {
|
|
@@ -7772,7 +8211,6 @@ export declare const CONTRACT: {
|
|
|
7772
8211
|
readonly type: "object";
|
|
7773
8212
|
};
|
|
7774
8213
|
};
|
|
7775
|
-
readonly required: readonly ["target"];
|
|
7776
8214
|
readonly type: "object";
|
|
7777
8215
|
};
|
|
7778
8216
|
readonly outputSchema: {
|
|
@@ -7949,6 +8387,11 @@ export declare const CONTRACT: {
|
|
|
7949
8387
|
};
|
|
7950
8388
|
readonly required: readonly ["kind", "nodeType", "nodeId"];
|
|
7951
8389
|
};
|
|
8390
|
+
}, {
|
|
8391
|
+
readonly name: "nodeId";
|
|
8392
|
+
readonly kind: "flag";
|
|
8393
|
+
readonly type: "string";
|
|
8394
|
+
readonly flag: "node-id";
|
|
7952
8395
|
}, {
|
|
7953
8396
|
readonly name: "input";
|
|
7954
8397
|
readonly kind: "jsonFlag";
|
|
@@ -7962,7 +8405,16 @@ export declare const CONTRACT: {
|
|
|
7962
8405
|
readonly supportsDryRun: true;
|
|
7963
8406
|
readonly inputSchema: {
|
|
7964
8407
|
readonly additionalProperties: false;
|
|
8408
|
+
readonly oneOf: readonly [{
|
|
8409
|
+
readonly required: readonly ["target"];
|
|
8410
|
+
}, {
|
|
8411
|
+
readonly required: readonly ["nodeId"];
|
|
8412
|
+
}];
|
|
7965
8413
|
readonly properties: {
|
|
8414
|
+
readonly nodeId: {
|
|
8415
|
+
readonly description: "Node ID shorthand — adapter resolves to a ListItemAddress.";
|
|
8416
|
+
readonly type: "string";
|
|
8417
|
+
};
|
|
7966
8418
|
readonly target: {
|
|
7967
8419
|
readonly additionalProperties: false;
|
|
7968
8420
|
readonly properties: {
|
|
@@ -7980,7 +8432,6 @@ export declare const CONTRACT: {
|
|
|
7980
8432
|
readonly type: "object";
|
|
7981
8433
|
};
|
|
7982
8434
|
};
|
|
7983
|
-
readonly required: readonly ["target"];
|
|
7984
8435
|
readonly type: "object";
|
|
7985
8436
|
};
|
|
7986
8437
|
readonly outputSchema: {
|
|
@@ -8136,7 +8587,6 @@ export declare const CONTRACT: {
|
|
|
8136
8587
|
readonly kind: "jsonFlag";
|
|
8137
8588
|
readonly type: "json";
|
|
8138
8589
|
readonly flag: "target-json";
|
|
8139
|
-
readonly required: true;
|
|
8140
8590
|
readonly schema: {
|
|
8141
8591
|
readonly type: "object";
|
|
8142
8592
|
readonly properties: {
|
|
@@ -8166,6 +8616,19 @@ export declare const CONTRACT: {
|
|
|
8166
8616
|
readonly kind: "flag";
|
|
8167
8617
|
readonly type: "string";
|
|
8168
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";
|
|
8169
8632
|
}];
|
|
8170
8633
|
readonly constraints: null;
|
|
8171
8634
|
readonly mutates: true;
|
|
@@ -8174,7 +8637,60 @@ export declare const CONTRACT: {
|
|
|
8174
8637
|
readonly supportsDryRun: false;
|
|
8175
8638
|
readonly inputSchema: {
|
|
8176
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
|
+
}];
|
|
8177
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
|
+
};
|
|
8178
8694
|
readonly target: {
|
|
8179
8695
|
readonly additionalProperties: false;
|
|
8180
8696
|
readonly properties: {
|
|
@@ -8205,7 +8721,7 @@ export declare const CONTRACT: {
|
|
|
8205
8721
|
readonly type: "string";
|
|
8206
8722
|
};
|
|
8207
8723
|
};
|
|
8208
|
-
readonly required: readonly ["
|
|
8724
|
+
readonly required: readonly ["text"];
|
|
8209
8725
|
readonly type: "object";
|
|
8210
8726
|
};
|
|
8211
8727
|
readonly outputSchema: {
|
|
@@ -9273,7 +9789,6 @@ export declare const CONTRACT: {
|
|
|
9273
9789
|
readonly kind: "jsonFlag";
|
|
9274
9790
|
readonly type: "json";
|
|
9275
9791
|
readonly flag: "target-json";
|
|
9276
|
-
readonly required: true;
|
|
9277
9792
|
readonly schema: {
|
|
9278
9793
|
readonly type: "object";
|
|
9279
9794
|
readonly properties: {
|
|
@@ -9298,6 +9813,19 @@ export declare const CONTRACT: {
|
|
|
9298
9813
|
};
|
|
9299
9814
|
readonly required: readonly ["kind", "blockId", "range"];
|
|
9300
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";
|
|
9301
9829
|
}];
|
|
9302
9830
|
readonly constraints: null;
|
|
9303
9831
|
readonly mutates: true;
|
|
@@ -9306,10 +9834,63 @@ export declare const CONTRACT: {
|
|
|
9306
9834
|
readonly supportsDryRun: false;
|
|
9307
9835
|
readonly inputSchema: {
|
|
9308
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
|
+
}];
|
|
9309
9876
|
readonly properties: {
|
|
9877
|
+
readonly blockId: {
|
|
9878
|
+
readonly description: "Block ID for block-relative range targeting.";
|
|
9879
|
+
readonly type: "string";
|
|
9880
|
+
};
|
|
9310
9881
|
readonly commentId: {
|
|
9311
9882
|
readonly type: "string";
|
|
9312
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
|
+
};
|
|
9313
9894
|
readonly target: {
|
|
9314
9895
|
readonly additionalProperties: false;
|
|
9315
9896
|
readonly properties: {
|
|
@@ -9337,7 +9918,7 @@ export declare const CONTRACT: {
|
|
|
9337
9918
|
readonly type: "object";
|
|
9338
9919
|
};
|
|
9339
9920
|
};
|
|
9340
|
-
readonly required: readonly ["commentId"
|
|
9921
|
+
readonly required: readonly ["commentId"];
|
|
9341
9922
|
readonly type: "object";
|
|
9342
9923
|
};
|
|
9343
9924
|
readonly outputSchema: {
|