@jeffreycao/copilot-api 1.13.17 → 1.13.18
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/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/dist/main.js +1 -1
- package/dist/{server-CWI1xhIg.js → server-BU6U0gUj.js} +38 -2
- package/dist/server-BU6U0gUj.js.map +1 -0
- package/dist/{start-DzPnQ90v.js → start-BKNUpRaX.js} +2 -2
- package/dist/{start-DzPnQ90v.js.map → start-BKNUpRaX.js.map} +1 -1
- package/package.json +1 -1
- package/dist/server-CWI1xhIg.js.map +0 -1
package/README.md
CHANGED
package/README.zh-CN.md
CHANGED
package/dist/main.js
CHANGED
|
@@ -25,7 +25,7 @@ bindElectronFetch();
|
|
|
25
25
|
const { auth } = await import("./auth-BHE8ZW6W.js");
|
|
26
26
|
const { debug } = await import("./debug-BCyBz77r.js");
|
|
27
27
|
const { mcp } = await import("./mcp-BseuqgHR.js");
|
|
28
|
-
const { start } = await import("./start-
|
|
28
|
+
const { start } = await import("./start-BKNUpRaX.js");
|
|
29
29
|
await runMain(defineCommand({
|
|
30
30
|
meta: {
|
|
31
31
|
name: "copilot-api",
|
|
@@ -1023,6 +1023,21 @@ const BUILTIN_PROVIDER_PRICING = {
|
|
|
1023
1023
|
cachedInput: .5,
|
|
1024
1024
|
input: 5,
|
|
1025
1025
|
output: 30
|
|
1026
|
+
},
|
|
1027
|
+
"gpt-5.6-sol": {
|
|
1028
|
+
cachedInput: .5,
|
|
1029
|
+
input: 5,
|
|
1030
|
+
output: 30
|
|
1031
|
+
},
|
|
1032
|
+
"gpt-5.6-terra": {
|
|
1033
|
+
cachedInput: .25,
|
|
1034
|
+
input: 2.5,
|
|
1035
|
+
output: 15
|
|
1036
|
+
},
|
|
1037
|
+
"gpt-5.6-luna": {
|
|
1038
|
+
cachedInput: .1,
|
|
1039
|
+
input: 1,
|
|
1040
|
+
output: 6
|
|
1026
1041
|
}
|
|
1027
1042
|
},
|
|
1028
1043
|
dashscope: {
|
|
@@ -4519,7 +4534,7 @@ const stringifyToolSearchArguments = (argumentsValue) => {
|
|
|
4519
4534
|
return;
|
|
4520
4535
|
}
|
|
4521
4536
|
};
|
|
4522
|
-
const DEFAULT_RESPONSES_COMPACT_THRESHOLD_RATIO = .
|
|
4537
|
+
const DEFAULT_RESPONSES_COMPACT_THRESHOLD_RATIO = .85;
|
|
4523
4538
|
const responsesUtilsDependencies = {
|
|
4524
4539
|
getModelResponsesApiCompactThreshold: getModelResponsesApiCompactThreshold$1,
|
|
4525
4540
|
isResponsesApiContextManagementEnabled,
|
|
@@ -5101,6 +5116,27 @@ const CODEX_MODELS = [
|
|
|
5101
5116
|
input: ["text", "image"],
|
|
5102
5117
|
maxTokens: 128e3,
|
|
5103
5118
|
name: "GPT-5.5"
|
|
5119
|
+
},
|
|
5120
|
+
{
|
|
5121
|
+
contextWindow: 272e3,
|
|
5122
|
+
id: "gpt-5.6-sol",
|
|
5123
|
+
input: ["text", "image"],
|
|
5124
|
+
maxTokens: 128e3,
|
|
5125
|
+
name: "GPT-5.6 Sol"
|
|
5126
|
+
},
|
|
5127
|
+
{
|
|
5128
|
+
contextWindow: 272e3,
|
|
5129
|
+
id: "gpt-5.6-terra",
|
|
5130
|
+
input: ["text", "image"],
|
|
5131
|
+
maxTokens: 128e3,
|
|
5132
|
+
name: "GPT-5.6 Terra"
|
|
5133
|
+
},
|
|
5134
|
+
{
|
|
5135
|
+
contextWindow: 272e3,
|
|
5136
|
+
id: "gpt-5.6-luna",
|
|
5137
|
+
input: ["text", "image"],
|
|
5138
|
+
maxTokens: 128e3,
|
|
5139
|
+
name: "GPT-5.6 Luna"
|
|
5104
5140
|
}
|
|
5105
5141
|
];
|
|
5106
5142
|
function normalizeCodexModel(model) {
|
|
@@ -6675,4 +6711,4 @@ server.route("/:provider/v1/models", providerModelRoutes);
|
|
|
6675
6711
|
//#endregion
|
|
6676
6712
|
export { server };
|
|
6677
6713
|
|
|
6678
|
-
//# sourceMappingURL=server-
|
|
6714
|
+
//# sourceMappingURL=server-BU6U0gUj.js.map
|