acp-kernel 0.0.94-pr.450.294 → 0.0.94-pr.453.296
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 +37 -55
- package/dist/compress-tools.d.ts.map +1 -1
- package/dist/index.js +27 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/compress-tools.d.ts
CHANGED
|
@@ -45,19 +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
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* Provider portability (#447): Copilot Gemini 400s (`invalid_request_body`)
|
|
52
|
-
* on two constructs this schema used to carry — a union `type` array
|
|
53
|
-
* (`content.type: ["array","string"]`) and `anyOf` alternatives without a
|
|
54
|
-
* `type` (the old required-only bound-spelling fragments). Both are now
|
|
55
|
-
* explicit typed alternatives: `content.anyOf = [typed array alt, typed
|
|
56
|
-
* string alt]`, each object alternative carrying `type` + all properties +
|
|
57
|
-
* its own required list. Synthetic differential requests confirm the typed
|
|
58
|
-
* form succeeds on Copilot Gemini without an endpoint change. The accepted
|
|
59
|
-
* language is unchanged (superset contract above intact); only the
|
|
60
|
-
* declaration structure changed. See tests/wire-schema-gemini.test.ts.
|
|
48
|
+
* form). Copilot Gemini also needs scalar types and self-contained typed
|
|
49
|
+
* alternatives; keep each nested object alternative's properties with it.
|
|
61
50
|
*/
|
|
62
51
|
export declare const COMPRESS_PARAMETERS: {
|
|
63
52
|
type: string;
|
|
@@ -72,6 +61,10 @@ export declare const COMPRESS_PARAMETERS: {
|
|
|
72
61
|
type: string;
|
|
73
62
|
items: {
|
|
74
63
|
anyOf: ({
|
|
64
|
+
type: string;
|
|
65
|
+
description: string;
|
|
66
|
+
} | {
|
|
67
|
+
required: string[];
|
|
75
68
|
type: string;
|
|
76
69
|
properties: {
|
|
77
70
|
topic: {
|
|
@@ -98,16 +91,11 @@ export declare const COMPRESS_PARAMETERS: {
|
|
|
98
91
|
description: string;
|
|
99
92
|
};
|
|
100
93
|
};
|
|
101
|
-
|
|
102
|
-
} | {
|
|
103
|
-
type: string;
|
|
104
|
-
description: string;
|
|
94
|
+
description?: undefined;
|
|
105
95
|
})[];
|
|
106
96
|
};
|
|
107
|
-
description?: undefined;
|
|
108
97
|
} | {
|
|
109
98
|
type: string;
|
|
110
|
-
description: string;
|
|
111
99
|
items?: undefined;
|
|
112
100
|
})[];
|
|
113
101
|
};
|
|
@@ -149,6 +137,10 @@ export declare const COMPRESS_TOOL: {
|
|
|
149
137
|
type: string;
|
|
150
138
|
items: {
|
|
151
139
|
anyOf: ({
|
|
140
|
+
type: string;
|
|
141
|
+
description: string;
|
|
142
|
+
} | {
|
|
143
|
+
required: string[];
|
|
152
144
|
type: string;
|
|
153
145
|
properties: {
|
|
154
146
|
topic: {
|
|
@@ -175,16 +167,11 @@ export declare const COMPRESS_TOOL: {
|
|
|
175
167
|
description: string;
|
|
176
168
|
};
|
|
177
169
|
};
|
|
178
|
-
|
|
179
|
-
} | {
|
|
180
|
-
type: string;
|
|
181
|
-
description: string;
|
|
170
|
+
description?: undefined;
|
|
182
171
|
})[];
|
|
183
172
|
};
|
|
184
|
-
description?: undefined;
|
|
185
173
|
} | {
|
|
186
174
|
type: string;
|
|
187
|
-
description: string;
|
|
188
175
|
items?: undefined;
|
|
189
176
|
})[];
|
|
190
177
|
};
|
|
@@ -243,6 +230,10 @@ export declare const COMPRESS_TOOL_OPENAI: {
|
|
|
243
230
|
type: string;
|
|
244
231
|
items: {
|
|
245
232
|
anyOf: ({
|
|
233
|
+
type: string;
|
|
234
|
+
description: string;
|
|
235
|
+
} | {
|
|
236
|
+
required: string[];
|
|
246
237
|
type: string;
|
|
247
238
|
properties: {
|
|
248
239
|
topic: {
|
|
@@ -269,16 +260,11 @@ export declare const COMPRESS_TOOL_OPENAI: {
|
|
|
269
260
|
description: string;
|
|
270
261
|
};
|
|
271
262
|
};
|
|
272
|
-
|
|
273
|
-
} | {
|
|
274
|
-
type: string;
|
|
275
|
-
description: string;
|
|
263
|
+
description?: undefined;
|
|
276
264
|
})[];
|
|
277
265
|
};
|
|
278
|
-
description?: undefined;
|
|
279
266
|
} | {
|
|
280
267
|
type: string;
|
|
281
|
-
description: string;
|
|
282
268
|
items?: undefined;
|
|
283
269
|
})[];
|
|
284
270
|
};
|
|
@@ -402,6 +388,10 @@ export declare const ACP_TOOLS_OPENAI: readonly [{
|
|
|
402
388
|
type: string;
|
|
403
389
|
items: {
|
|
404
390
|
anyOf: ({
|
|
391
|
+
type: string;
|
|
392
|
+
description: string;
|
|
393
|
+
} | {
|
|
394
|
+
required: string[];
|
|
405
395
|
type: string;
|
|
406
396
|
properties: {
|
|
407
397
|
topic: {
|
|
@@ -428,16 +418,11 @@ export declare const ACP_TOOLS_OPENAI: readonly [{
|
|
|
428
418
|
description: string;
|
|
429
419
|
};
|
|
430
420
|
};
|
|
431
|
-
|
|
432
|
-
} | {
|
|
433
|
-
type: string;
|
|
434
|
-
description: string;
|
|
421
|
+
description?: undefined;
|
|
435
422
|
})[];
|
|
436
423
|
};
|
|
437
|
-
description?: undefined;
|
|
438
424
|
} | {
|
|
439
425
|
type: string;
|
|
440
|
-
description: string;
|
|
441
426
|
items?: undefined;
|
|
442
427
|
})[];
|
|
443
428
|
};
|
|
@@ -618,6 +603,10 @@ export declare const ACP_TOOLS_ANTHROPIC: readonly [{
|
|
|
618
603
|
type: string;
|
|
619
604
|
items: {
|
|
620
605
|
anyOf: ({
|
|
606
|
+
type: string;
|
|
607
|
+
description: string;
|
|
608
|
+
} | {
|
|
609
|
+
required: string[];
|
|
621
610
|
type: string;
|
|
622
611
|
properties: {
|
|
623
612
|
topic: {
|
|
@@ -644,16 +633,11 @@ export declare const ACP_TOOLS_ANTHROPIC: readonly [{
|
|
|
644
633
|
description: string;
|
|
645
634
|
};
|
|
646
635
|
};
|
|
647
|
-
|
|
648
|
-
} | {
|
|
649
|
-
type: string;
|
|
650
|
-
description: string;
|
|
636
|
+
description?: undefined;
|
|
651
637
|
})[];
|
|
652
638
|
};
|
|
653
|
-
description?: undefined;
|
|
654
639
|
} | {
|
|
655
640
|
type: string;
|
|
656
|
-
description: string;
|
|
657
641
|
items?: undefined;
|
|
658
642
|
})[];
|
|
659
643
|
};
|
|
@@ -755,6 +739,10 @@ export declare const COMPRESS_TOOL_RESPONSES: {
|
|
|
755
739
|
type: string;
|
|
756
740
|
items: {
|
|
757
741
|
anyOf: ({
|
|
742
|
+
type: string;
|
|
743
|
+
description: string;
|
|
744
|
+
} | {
|
|
745
|
+
required: string[];
|
|
758
746
|
type: string;
|
|
759
747
|
properties: {
|
|
760
748
|
topic: {
|
|
@@ -781,16 +769,11 @@ export declare const COMPRESS_TOOL_RESPONSES: {
|
|
|
781
769
|
description: string;
|
|
782
770
|
};
|
|
783
771
|
};
|
|
784
|
-
|
|
785
|
-
} | {
|
|
786
|
-
type: string;
|
|
787
|
-
description: string;
|
|
772
|
+
description?: undefined;
|
|
788
773
|
})[];
|
|
789
774
|
};
|
|
790
|
-
description?: undefined;
|
|
791
775
|
} | {
|
|
792
776
|
type: string;
|
|
793
|
-
description: string;
|
|
794
777
|
items?: undefined;
|
|
795
778
|
})[];
|
|
796
779
|
};
|
|
@@ -901,6 +884,10 @@ export declare const ACP_TOOLS_RESPONSES: readonly [{
|
|
|
901
884
|
type: string;
|
|
902
885
|
items: {
|
|
903
886
|
anyOf: ({
|
|
887
|
+
type: string;
|
|
888
|
+
description: string;
|
|
889
|
+
} | {
|
|
890
|
+
required: string[];
|
|
904
891
|
type: string;
|
|
905
892
|
properties: {
|
|
906
893
|
topic: {
|
|
@@ -927,16 +914,11 @@ export declare const ACP_TOOLS_RESPONSES: readonly [{
|
|
|
927
914
|
description: string;
|
|
928
915
|
};
|
|
929
916
|
};
|
|
930
|
-
|
|
931
|
-
} | {
|
|
932
|
-
type: string;
|
|
933
|
-
description: string;
|
|
917
|
+
description?: undefined;
|
|
934
918
|
})[];
|
|
935
919
|
};
|
|
936
|
-
description?: undefined;
|
|
937
920
|
} | {
|
|
938
921
|
type: string;
|
|
939
|
-
description: string;
|
|
940
922
|
items?: undefined;
|
|
941
923
|
})[];
|
|
942
924
|
};
|
|
@@ -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,sBAAsB,EAC5B,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,kBAAkB,aAAa,CAAC;AAC7C,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,wBAAwB,mBAAmB,CAAC;AACzD,eAAO,MAAM,oBAAoB,eAAe,CAAC;AACjD,eAAO,MAAM,mBAAmB,cAAc,CAAC;AAC/C,eAAO,MAAM,gBAAgB,WAAW,CAAC;AACzC,eAAO,MAAM,oBAAoB,eAAe,CAAC;AAEjD;;;6DAG6D;AAC7D,eAAO,MAAM,aAAa,mBAAmB,CAAC;AAC9C,eAAO,MAAM,cAAc,oBAAoB,CAAC;AAChD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAC9C,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,eAAe,iBAAiB,CAAC;AAC9C,eAAO,MAAM,gBAAgB,kBAAkB,CAAC;AAChD,eAAO,MAAM,mBAAmB,qBAAqB,CAAC;AACtD,eAAO,MAAM,oBAAoB,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"compress-tools.d.ts","sourceRoot":"","sources":["../src/compress-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OA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
|
|
|
610
610
|
var ACP_SEARCH_CLOSE = "</acp_search>";
|
|
611
611
|
var ACP_DECOMPRESS_OPEN = "<acp_decompress>";
|
|
612
612
|
var ACP_DECOMPRESS_CLOSE = "</acp_decompress>";
|
|
613
|
-
var
|
|
614
|
-
topic: { type: "string" },
|
|
615
|
-
startId: {
|
|
616
|
-
type: "string",
|
|
617
|
-
description: "mNNNNN ref at the start of the range"
|
|
618
|
-
},
|
|
619
|
-
endId: {
|
|
620
|
-
type: "string",
|
|
621
|
-
description: "mNNNNN ref at the end of the range"
|
|
622
|
-
},
|
|
623
|
-
startRef: {
|
|
624
|
-
type: "string",
|
|
625
|
-
description: "Alternate spelling of startId"
|
|
626
|
-
},
|
|
627
|
-
endRef: {
|
|
628
|
-
type: "string",
|
|
629
|
-
description: "Alternate spelling of endId"
|
|
630
|
-
},
|
|
631
|
-
summary: {
|
|
632
|
-
type: "string",
|
|
633
|
-
description: "Self-contained summary replacing the range"
|
|
634
|
-
}
|
|
635
|
-
};
|
|
636
|
-
var COMPRESS_RANGE_OBJECT_ID = {
|
|
637
|
-
type: "object",
|
|
638
|
-
properties: COMPRESS_RANGE_PROPERTIES,
|
|
639
|
-
required: ["startId", "endId", "summary"]
|
|
640
|
-
};
|
|
641
|
-
var COMPRESS_RANGE_OBJECT_REF = {
|
|
613
|
+
var COMPRESS_RANGE_OBJECT = {
|
|
642
614
|
type: "object",
|
|
643
|
-
properties:
|
|
644
|
-
|
|
615
|
+
properties: {
|
|
616
|
+
topic: { type: "string" },
|
|
617
|
+
startId: {
|
|
618
|
+
type: "string",
|
|
619
|
+
description: "mNNNNN ref at the start of the range"
|
|
620
|
+
},
|
|
621
|
+
endId: {
|
|
622
|
+
type: "string",
|
|
623
|
+
description: "mNNNNN ref at the end of the range"
|
|
624
|
+
},
|
|
625
|
+
startRef: {
|
|
626
|
+
type: "string",
|
|
627
|
+
description: "Alternate spelling of startId"
|
|
628
|
+
},
|
|
629
|
+
endRef: {
|
|
630
|
+
type: "string",
|
|
631
|
+
description: "Alternate spelling of endId"
|
|
632
|
+
},
|
|
633
|
+
summary: {
|
|
634
|
+
type: "string",
|
|
635
|
+
description: "Self-contained summary replacing the range"
|
|
636
|
+
}
|
|
637
|
+
}
|
|
645
638
|
};
|
|
646
639
|
var COMPRESS_PARAMETERS = {
|
|
647
640
|
type: "object",
|
|
@@ -661,15 +654,12 @@ var COMPRESS_PARAMETERS = {
|
|
|
661
654
|
type: "string",
|
|
662
655
|
description: "Line form: first line 'm00150\u2013m00220 optional topic', remaining lines the summary markdown, verbatim (no JSON escaping)"
|
|
663
656
|
},
|
|
664
|
-
|
|
665
|
-
|
|
657
|
+
{ ...COMPRESS_RANGE_OBJECT, required: ["startId", "endId", "summary"] },
|
|
658
|
+
{ ...COMPRESS_RANGE_OBJECT, required: ["startRef", "endRef", "summary"] }
|
|
666
659
|
]
|
|
667
660
|
}
|
|
668
661
|
},
|
|
669
|
-
{
|
|
670
|
-
type: "string",
|
|
671
|
-
description: "Bare line-form text, or a JSON-encoded array of ranges (some gateways stringify arrays)"
|
|
672
|
-
}
|
|
662
|
+
{ type: "string" }
|
|
673
663
|
]
|
|
674
664
|
},
|
|
675
665
|
startId: {
|