acp-kernel 0.0.94-pr.438.295 → 0.0.94-pr.438.299
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/compress-tools.d.ts +282 -254
- package/dist/compress-tools.d.ts.map +1 -1
- package/dist/index.js +23 -15
- package/dist/index.js.map +1 -1
- package/dist/wire/index.js +73 -32
- package/dist/wire/index.js.map +1 -1
- package/dist/wire/strip-images.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/compress-tools.d.ts
CHANGED
|
@@ -45,8 +45,8 @@ export declare const ACP_DECOMPRESS_CLOSE = "</acp_decompress>";
|
|
|
45
45
|
* content-vs-flat alternation lives in the descriptions and is enforced by
|
|
46
46
|
* parseCompressInput, never by a top-level combinator or `required` (a
|
|
47
47
|
* top-level `required: ["content"]` would let strict hosts kill the flat
|
|
48
|
-
* form).
|
|
49
|
-
*
|
|
48
|
+
* form). Copilot Gemini also needs scalar types and self-contained typed
|
|
49
|
+
* alternatives; keep each nested object alternative's properties with it.
|
|
50
50
|
*/
|
|
51
51
|
export declare const COMPRESS_PARAMETERS: {
|
|
52
52
|
type: string;
|
|
@@ -56,44 +56,48 @@ export declare const COMPRESS_PARAMETERS: {
|
|
|
56
56
|
description: string;
|
|
57
57
|
};
|
|
58
58
|
content: {
|
|
59
|
-
type: string[];
|
|
60
59
|
description: string;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
startId: {
|
|
69
|
-
type: string;
|
|
70
|
-
description: string;
|
|
71
|
-
};
|
|
72
|
-
endId: {
|
|
73
|
-
type: string;
|
|
74
|
-
description: string;
|
|
75
|
-
};
|
|
76
|
-
startRef: {
|
|
77
|
-
type: string;
|
|
78
|
-
description: string;
|
|
79
|
-
};
|
|
80
|
-
endRef: {
|
|
81
|
-
type: string;
|
|
82
|
-
description: string;
|
|
83
|
-
};
|
|
84
|
-
summary: {
|
|
85
|
-
type: string;
|
|
86
|
-
description: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
anyOf: {
|
|
60
|
+
anyOf: ({
|
|
61
|
+
type: string;
|
|
62
|
+
items: {
|
|
63
|
+
anyOf: ({
|
|
64
|
+
type: string;
|
|
65
|
+
description: string;
|
|
66
|
+
} | {
|
|
90
67
|
required: string[];
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
68
|
+
type: string;
|
|
69
|
+
properties: {
|
|
70
|
+
topic: {
|
|
71
|
+
type: string;
|
|
72
|
+
};
|
|
73
|
+
startId: {
|
|
74
|
+
type: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
endId: {
|
|
78
|
+
type: string;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
startRef: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
endRef: {
|
|
86
|
+
type: string;
|
|
87
|
+
description: string;
|
|
88
|
+
};
|
|
89
|
+
summary: {
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
description?: undefined;
|
|
95
|
+
})[];
|
|
96
|
+
};
|
|
97
|
+
} | {
|
|
98
|
+
type: string;
|
|
99
|
+
items?: undefined;
|
|
100
|
+
})[];
|
|
97
101
|
};
|
|
98
102
|
startId: {
|
|
99
103
|
type: string;
|
|
@@ -128,44 +132,48 @@ export declare const COMPRESS_TOOL: {
|
|
|
128
132
|
description: string;
|
|
129
133
|
};
|
|
130
134
|
content: {
|
|
131
|
-
type: string[];
|
|
132
135
|
description: string;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
startId: {
|
|
141
|
-
type: string;
|
|
142
|
-
description: string;
|
|
143
|
-
};
|
|
144
|
-
endId: {
|
|
145
|
-
type: string;
|
|
146
|
-
description: string;
|
|
147
|
-
};
|
|
148
|
-
startRef: {
|
|
149
|
-
type: string;
|
|
150
|
-
description: string;
|
|
151
|
-
};
|
|
152
|
-
endRef: {
|
|
153
|
-
type: string;
|
|
154
|
-
description: string;
|
|
155
|
-
};
|
|
156
|
-
summary: {
|
|
157
|
-
type: string;
|
|
158
|
-
description: string;
|
|
159
|
-
};
|
|
160
|
-
};
|
|
161
|
-
anyOf: {
|
|
136
|
+
anyOf: ({
|
|
137
|
+
type: string;
|
|
138
|
+
items: {
|
|
139
|
+
anyOf: ({
|
|
140
|
+
type: string;
|
|
141
|
+
description: string;
|
|
142
|
+
} | {
|
|
162
143
|
required: string[];
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
144
|
+
type: string;
|
|
145
|
+
properties: {
|
|
146
|
+
topic: {
|
|
147
|
+
type: string;
|
|
148
|
+
};
|
|
149
|
+
startId: {
|
|
150
|
+
type: string;
|
|
151
|
+
description: string;
|
|
152
|
+
};
|
|
153
|
+
endId: {
|
|
154
|
+
type: string;
|
|
155
|
+
description: string;
|
|
156
|
+
};
|
|
157
|
+
startRef: {
|
|
158
|
+
type: string;
|
|
159
|
+
description: string;
|
|
160
|
+
};
|
|
161
|
+
endRef: {
|
|
162
|
+
type: string;
|
|
163
|
+
description: string;
|
|
164
|
+
};
|
|
165
|
+
summary: {
|
|
166
|
+
type: string;
|
|
167
|
+
description: string;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
description?: undefined;
|
|
171
|
+
})[];
|
|
172
|
+
};
|
|
173
|
+
} | {
|
|
174
|
+
type: string;
|
|
175
|
+
items?: undefined;
|
|
176
|
+
})[];
|
|
169
177
|
};
|
|
170
178
|
startId: {
|
|
171
179
|
type: string;
|
|
@@ -217,44 +225,48 @@ export declare const COMPRESS_TOOL_OPENAI: {
|
|
|
217
225
|
description: string;
|
|
218
226
|
};
|
|
219
227
|
content: {
|
|
220
|
-
type: string[];
|
|
221
228
|
description: string;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
startId: {
|
|
230
|
-
type: string;
|
|
231
|
-
description: string;
|
|
232
|
-
};
|
|
233
|
-
endId: {
|
|
234
|
-
type: string;
|
|
235
|
-
description: string;
|
|
236
|
-
};
|
|
237
|
-
startRef: {
|
|
238
|
-
type: string;
|
|
239
|
-
description: string;
|
|
240
|
-
};
|
|
241
|
-
endRef: {
|
|
242
|
-
type: string;
|
|
243
|
-
description: string;
|
|
244
|
-
};
|
|
245
|
-
summary: {
|
|
246
|
-
type: string;
|
|
247
|
-
description: string;
|
|
248
|
-
};
|
|
249
|
-
};
|
|
250
|
-
anyOf: {
|
|
229
|
+
anyOf: ({
|
|
230
|
+
type: string;
|
|
231
|
+
items: {
|
|
232
|
+
anyOf: ({
|
|
233
|
+
type: string;
|
|
234
|
+
description: string;
|
|
235
|
+
} | {
|
|
251
236
|
required: string[];
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
237
|
+
type: string;
|
|
238
|
+
properties: {
|
|
239
|
+
topic: {
|
|
240
|
+
type: string;
|
|
241
|
+
};
|
|
242
|
+
startId: {
|
|
243
|
+
type: string;
|
|
244
|
+
description: string;
|
|
245
|
+
};
|
|
246
|
+
endId: {
|
|
247
|
+
type: string;
|
|
248
|
+
description: string;
|
|
249
|
+
};
|
|
250
|
+
startRef: {
|
|
251
|
+
type: string;
|
|
252
|
+
description: string;
|
|
253
|
+
};
|
|
254
|
+
endRef: {
|
|
255
|
+
type: string;
|
|
256
|
+
description: string;
|
|
257
|
+
};
|
|
258
|
+
summary: {
|
|
259
|
+
type: string;
|
|
260
|
+
description: string;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
description?: undefined;
|
|
264
|
+
})[];
|
|
265
|
+
};
|
|
266
|
+
} | {
|
|
267
|
+
type: string;
|
|
268
|
+
items?: undefined;
|
|
269
|
+
})[];
|
|
258
270
|
};
|
|
259
271
|
startId: {
|
|
260
272
|
type: string;
|
|
@@ -371,44 +383,48 @@ export declare const ACP_TOOLS_OPENAI: readonly [{
|
|
|
371
383
|
description: string;
|
|
372
384
|
};
|
|
373
385
|
content: {
|
|
374
|
-
type: string[];
|
|
375
386
|
description: string;
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
startId: {
|
|
384
|
-
type: string;
|
|
385
|
-
description: string;
|
|
386
|
-
};
|
|
387
|
-
endId: {
|
|
388
|
-
type: string;
|
|
389
|
-
description: string;
|
|
390
|
-
};
|
|
391
|
-
startRef: {
|
|
392
|
-
type: string;
|
|
393
|
-
description: string;
|
|
394
|
-
};
|
|
395
|
-
endRef: {
|
|
396
|
-
type: string;
|
|
397
|
-
description: string;
|
|
398
|
-
};
|
|
399
|
-
summary: {
|
|
400
|
-
type: string;
|
|
401
|
-
description: string;
|
|
402
|
-
};
|
|
403
|
-
};
|
|
404
|
-
anyOf: {
|
|
387
|
+
anyOf: ({
|
|
388
|
+
type: string;
|
|
389
|
+
items: {
|
|
390
|
+
anyOf: ({
|
|
391
|
+
type: string;
|
|
392
|
+
description: string;
|
|
393
|
+
} | {
|
|
405
394
|
required: string[];
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
395
|
+
type: string;
|
|
396
|
+
properties: {
|
|
397
|
+
topic: {
|
|
398
|
+
type: string;
|
|
399
|
+
};
|
|
400
|
+
startId: {
|
|
401
|
+
type: string;
|
|
402
|
+
description: string;
|
|
403
|
+
};
|
|
404
|
+
endId: {
|
|
405
|
+
type: string;
|
|
406
|
+
description: string;
|
|
407
|
+
};
|
|
408
|
+
startRef: {
|
|
409
|
+
type: string;
|
|
410
|
+
description: string;
|
|
411
|
+
};
|
|
412
|
+
endRef: {
|
|
413
|
+
type: string;
|
|
414
|
+
description: string;
|
|
415
|
+
};
|
|
416
|
+
summary: {
|
|
417
|
+
type: string;
|
|
418
|
+
description: string;
|
|
419
|
+
};
|
|
420
|
+
};
|
|
421
|
+
description?: undefined;
|
|
422
|
+
})[];
|
|
423
|
+
};
|
|
424
|
+
} | {
|
|
425
|
+
type: string;
|
|
426
|
+
items?: undefined;
|
|
427
|
+
})[];
|
|
412
428
|
};
|
|
413
429
|
startId: {
|
|
414
430
|
type: string;
|
|
@@ -582,44 +598,48 @@ export declare const ACP_TOOLS_ANTHROPIC: readonly [{
|
|
|
582
598
|
description: string;
|
|
583
599
|
};
|
|
584
600
|
content: {
|
|
585
|
-
type: string[];
|
|
586
601
|
description: string;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
startId: {
|
|
595
|
-
type: string;
|
|
596
|
-
description: string;
|
|
597
|
-
};
|
|
598
|
-
endId: {
|
|
599
|
-
type: string;
|
|
600
|
-
description: string;
|
|
601
|
-
};
|
|
602
|
-
startRef: {
|
|
603
|
-
type: string;
|
|
604
|
-
description: string;
|
|
605
|
-
};
|
|
606
|
-
endRef: {
|
|
607
|
-
type: string;
|
|
608
|
-
description: string;
|
|
609
|
-
};
|
|
610
|
-
summary: {
|
|
611
|
-
type: string;
|
|
612
|
-
description: string;
|
|
613
|
-
};
|
|
614
|
-
};
|
|
615
|
-
anyOf: {
|
|
602
|
+
anyOf: ({
|
|
603
|
+
type: string;
|
|
604
|
+
items: {
|
|
605
|
+
anyOf: ({
|
|
606
|
+
type: string;
|
|
607
|
+
description: string;
|
|
608
|
+
} | {
|
|
616
609
|
required: string[];
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
610
|
+
type: string;
|
|
611
|
+
properties: {
|
|
612
|
+
topic: {
|
|
613
|
+
type: string;
|
|
614
|
+
};
|
|
615
|
+
startId: {
|
|
616
|
+
type: string;
|
|
617
|
+
description: string;
|
|
618
|
+
};
|
|
619
|
+
endId: {
|
|
620
|
+
type: string;
|
|
621
|
+
description: string;
|
|
622
|
+
};
|
|
623
|
+
startRef: {
|
|
624
|
+
type: string;
|
|
625
|
+
description: string;
|
|
626
|
+
};
|
|
627
|
+
endRef: {
|
|
628
|
+
type: string;
|
|
629
|
+
description: string;
|
|
630
|
+
};
|
|
631
|
+
summary: {
|
|
632
|
+
type: string;
|
|
633
|
+
description: string;
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
description?: undefined;
|
|
637
|
+
})[];
|
|
638
|
+
};
|
|
639
|
+
} | {
|
|
640
|
+
type: string;
|
|
641
|
+
items?: undefined;
|
|
642
|
+
})[];
|
|
623
643
|
};
|
|
624
644
|
startId: {
|
|
625
645
|
type: string;
|
|
@@ -714,44 +734,48 @@ export declare const COMPRESS_TOOL_RESPONSES: {
|
|
|
714
734
|
description: string;
|
|
715
735
|
};
|
|
716
736
|
content: {
|
|
717
|
-
type: string[];
|
|
718
737
|
description: string;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
startId: {
|
|
727
|
-
type: string;
|
|
728
|
-
description: string;
|
|
729
|
-
};
|
|
730
|
-
endId: {
|
|
731
|
-
type: string;
|
|
732
|
-
description: string;
|
|
733
|
-
};
|
|
734
|
-
startRef: {
|
|
735
|
-
type: string;
|
|
736
|
-
description: string;
|
|
737
|
-
};
|
|
738
|
-
endRef: {
|
|
739
|
-
type: string;
|
|
740
|
-
description: string;
|
|
741
|
-
};
|
|
742
|
-
summary: {
|
|
743
|
-
type: string;
|
|
744
|
-
description: string;
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
anyOf: {
|
|
738
|
+
anyOf: ({
|
|
739
|
+
type: string;
|
|
740
|
+
items: {
|
|
741
|
+
anyOf: ({
|
|
742
|
+
type: string;
|
|
743
|
+
description: string;
|
|
744
|
+
} | {
|
|
748
745
|
required: string[];
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
746
|
+
type: string;
|
|
747
|
+
properties: {
|
|
748
|
+
topic: {
|
|
749
|
+
type: string;
|
|
750
|
+
};
|
|
751
|
+
startId: {
|
|
752
|
+
type: string;
|
|
753
|
+
description: string;
|
|
754
|
+
};
|
|
755
|
+
endId: {
|
|
756
|
+
type: string;
|
|
757
|
+
description: string;
|
|
758
|
+
};
|
|
759
|
+
startRef: {
|
|
760
|
+
type: string;
|
|
761
|
+
description: string;
|
|
762
|
+
};
|
|
763
|
+
endRef: {
|
|
764
|
+
type: string;
|
|
765
|
+
description: string;
|
|
766
|
+
};
|
|
767
|
+
summary: {
|
|
768
|
+
type: string;
|
|
769
|
+
description: string;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
description?: undefined;
|
|
773
|
+
})[];
|
|
774
|
+
};
|
|
775
|
+
} | {
|
|
776
|
+
type: string;
|
|
777
|
+
items?: undefined;
|
|
778
|
+
})[];
|
|
755
779
|
};
|
|
756
780
|
startId: {
|
|
757
781
|
type: string;
|
|
@@ -855,44 +879,48 @@ export declare const ACP_TOOLS_RESPONSES: readonly [{
|
|
|
855
879
|
description: string;
|
|
856
880
|
};
|
|
857
881
|
content: {
|
|
858
|
-
type: string[];
|
|
859
882
|
description: string;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
startId: {
|
|
868
|
-
type: string;
|
|
869
|
-
description: string;
|
|
870
|
-
};
|
|
871
|
-
endId: {
|
|
872
|
-
type: string;
|
|
873
|
-
description: string;
|
|
874
|
-
};
|
|
875
|
-
startRef: {
|
|
876
|
-
type: string;
|
|
877
|
-
description: string;
|
|
878
|
-
};
|
|
879
|
-
endRef: {
|
|
880
|
-
type: string;
|
|
881
|
-
description: string;
|
|
882
|
-
};
|
|
883
|
-
summary: {
|
|
884
|
-
type: string;
|
|
885
|
-
description: string;
|
|
886
|
-
};
|
|
887
|
-
};
|
|
888
|
-
anyOf: {
|
|
883
|
+
anyOf: ({
|
|
884
|
+
type: string;
|
|
885
|
+
items: {
|
|
886
|
+
anyOf: ({
|
|
887
|
+
type: string;
|
|
888
|
+
description: string;
|
|
889
|
+
} | {
|
|
889
890
|
required: string[];
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
891
|
+
type: string;
|
|
892
|
+
properties: {
|
|
893
|
+
topic: {
|
|
894
|
+
type: string;
|
|
895
|
+
};
|
|
896
|
+
startId: {
|
|
897
|
+
type: string;
|
|
898
|
+
description: string;
|
|
899
|
+
};
|
|
900
|
+
endId: {
|
|
901
|
+
type: string;
|
|
902
|
+
description: string;
|
|
903
|
+
};
|
|
904
|
+
startRef: {
|
|
905
|
+
type: string;
|
|
906
|
+
description: string;
|
|
907
|
+
};
|
|
908
|
+
endRef: {
|
|
909
|
+
type: string;
|
|
910
|
+
description: string;
|
|
911
|
+
};
|
|
912
|
+
summary: {
|
|
913
|
+
type: string;
|
|
914
|
+
description: string;
|
|
915
|
+
};
|
|
916
|
+
};
|
|
917
|
+
description?: undefined;
|
|
918
|
+
})[];
|
|
919
|
+
};
|
|
920
|
+
} | {
|
|
921
|
+
type: string;
|
|
922
|
+
items?: undefined;
|
|
923
|
+
})[];
|
|
896
924
|
};
|
|
897
925
|
startId: {
|
|
898
926
|
type: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compress-tools.d.ts","sourceRoot":"","sources":["../src/compress-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAkB,KAAK,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5D,OAAO,EAEL,KAAK,s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O,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKnB,CAAC;AAEX,wEAAwE;AACxE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;CAI9B,CAAC;AAEF;;wEAEwE;AACxE,eAAO,MAAM,2BAA2B,4RACiP,CAAC;AAc1R;;iCAEiC;AACjC,eAAO,MAAM,kBAAkB,iBAAiB,CAAC;AAEjD,eAAO,MAAM,yBAAyB,kRACiO,CAAC;AAaxQ,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAI3B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;CAOlC,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;CAKrC,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAIzB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;CAOhC,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;CAKnC,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -639,11 +639,7 @@ var COMPRESS_RANGE_OBJECT = {
|
|
|
639
639
|
type: "string",
|
|
640
640
|
description: "Self-contained summary replacing the range"
|
|
641
641
|
}
|
|
642
|
-
}
|
|
643
|
-
anyOf: [
|
|
644
|
-
{ required: ["startId", "endId", "summary"] },
|
|
645
|
-
{ required: ["startRef", "endRef", "summary"] }
|
|
646
|
-
]
|
|
642
|
+
}
|
|
647
643
|
};
|
|
648
644
|
var COMPRESS_PARAMETERS = {
|
|
649
645
|
type: "object",
|
|
@@ -653,17 +649,29 @@ var COMPRESS_PARAMETERS = {
|
|
|
653
649
|
description: "Optional short title for the compressed range"
|
|
654
650
|
},
|
|
655
651
|
content: {
|
|
656
|
-
type: ["array", "string"],
|
|
657
652
|
description: "One or more ranges to compress into separate summary blocks. Array form (preferred): one entry per range \u2014 line form (one STRING per range: first line 'm00150\u2013m00220 optional topic', remaining lines the markdown summary verbatim) or object form {startId,endId,summary,topic?}. String form also accepted: bare line-form text, or a JSON-encoded array of ranges (some gateways stringify arrays). REQUIRED unless the flat single-range form is used.",
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
653
|
+
anyOf: [
|
|
654
|
+
{
|
|
655
|
+
type: "array",
|
|
656
|
+
items: {
|
|
657
|
+
anyOf: [
|
|
658
|
+
{
|
|
659
|
+
type: "string",
|
|
660
|
+
description: "Line form: first line 'm00150\u2013m00220 optional topic', remaining lines the summary markdown, verbatim (no JSON escaping)"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
...COMPRESS_RANGE_OBJECT,
|
|
664
|
+
required: ["startId", "endId", "summary"]
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
...COMPRESS_RANGE_OBJECT,
|
|
668
|
+
required: ["startRef", "endRef", "summary"]
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
}
|
|
672
|
+
},
|
|
673
|
+
{ type: "string" }
|
|
674
|
+
]
|
|
667
675
|
},
|
|
668
676
|
startId: {
|
|
669
677
|
type: "string",
|