@jeffreycao/copilot-api 2.3.14 → 2.3.15
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/main.js +1 -1
- package/dist/{server-50anuRGb.js → server-DZ2B4MKu.js} +31 -19
- package/dist/server-DZ2B4MKu.js.map +1 -0
- package/dist/{start-BgjJIp2b.js → start-CCE-hQBT.js} +2 -2
- package/dist/{start-BgjJIp2b.js.map → start-CCE-hQBT.js.map} +1 -1
- package/package.json +1 -1
- package/dist/server-50anuRGb.js.map +0 -1
package/dist/main.js
CHANGED
|
@@ -30,7 +30,7 @@ if (isMcpFastPath(process.argv)) {
|
|
|
30
30
|
const { auth } = await import("./auth-BsFMCDdr.js");
|
|
31
31
|
const { debug } = await import("./debug-BHOitPm3.js");
|
|
32
32
|
const { mcp } = await import("./mcp-fpSlKZxK.js");
|
|
33
|
-
const { start } = await import("./start-
|
|
33
|
+
const { start } = await import("./start-CCE-hQBT.js");
|
|
34
34
|
await runMain(defineCommand({
|
|
35
35
|
meta: {
|
|
36
36
|
name: "copilot-api",
|
|
@@ -485,6 +485,18 @@ const builtinProviderModelRegistry = new class BuiltinProviderModelRegistry {
|
|
|
485
485
|
cachedInput: .04,
|
|
486
486
|
input: .4,
|
|
487
487
|
output: 1.8
|
|
488
|
+
}] } },
|
|
489
|
+
"gpt-6-astra": { pricing: { tiers: [{
|
|
490
|
+
cacheCreationInput: 12.5,
|
|
491
|
+
cachedInput: 1,
|
|
492
|
+
input: 10,
|
|
493
|
+
maxInputTokens: 272e3,
|
|
494
|
+
output: 50
|
|
495
|
+
}, {
|
|
496
|
+
cacheCreationInput: 25,
|
|
497
|
+
cachedInput: 2,
|
|
498
|
+
input: 20,
|
|
499
|
+
output: 75
|
|
488
500
|
}] } }
|
|
489
501
|
},
|
|
490
502
|
dashscope: {
|
|
@@ -7287,21 +7299,7 @@ const CODEX_MODELS = [
|
|
|
7287
7299
|
]
|
|
7288
7300
|
},
|
|
7289
7301
|
{
|
|
7290
|
-
contextWindow:
|
|
7291
|
-
id: "gpt-5.4",
|
|
7292
|
-
input: ["text", "image"],
|
|
7293
|
-
maxTokens: 128e3,
|
|
7294
|
-
name: "GPT-5.4",
|
|
7295
|
-
reasoningEfforts: [
|
|
7296
|
-
"minimal",
|
|
7297
|
-
"low",
|
|
7298
|
-
"medium",
|
|
7299
|
-
"high",
|
|
7300
|
-
"xhigh"
|
|
7301
|
-
]
|
|
7302
|
-
},
|
|
7303
|
-
{
|
|
7304
|
-
contextWindow: 4e5,
|
|
7302
|
+
contextWindow: 272e3,
|
|
7305
7303
|
id: "gpt-5.4-mini",
|
|
7306
7304
|
input: ["text", "image"],
|
|
7307
7305
|
maxTokens: 128e3,
|
|
@@ -7329,7 +7327,7 @@ const CODEX_MODELS = [
|
|
|
7329
7327
|
]
|
|
7330
7328
|
},
|
|
7331
7329
|
{
|
|
7332
|
-
contextWindow:
|
|
7330
|
+
contextWindow: 872e3,
|
|
7333
7331
|
id: "gpt-5.6-sol",
|
|
7334
7332
|
input: ["text", "image"],
|
|
7335
7333
|
maxTokens: 128e3,
|
|
@@ -7344,7 +7342,7 @@ const CODEX_MODELS = [
|
|
|
7344
7342
|
]
|
|
7345
7343
|
},
|
|
7346
7344
|
{
|
|
7347
|
-
contextWindow:
|
|
7345
|
+
contextWindow: 872e3,
|
|
7348
7346
|
id: "gpt-5.6-terra",
|
|
7349
7347
|
input: ["text", "image"],
|
|
7350
7348
|
maxTokens: 128e3,
|
|
@@ -7359,7 +7357,7 @@ const CODEX_MODELS = [
|
|
|
7359
7357
|
]
|
|
7360
7358
|
},
|
|
7361
7359
|
{
|
|
7362
|
-
contextWindow:
|
|
7360
|
+
contextWindow: 872e3,
|
|
7363
7361
|
id: "gpt-5.6-luna",
|
|
7364
7362
|
input: ["text", "image"],
|
|
7365
7363
|
maxTokens: 128e3,
|
|
@@ -7372,6 +7370,20 @@ const CODEX_MODELS = [
|
|
|
7372
7370
|
"xhigh",
|
|
7373
7371
|
"max"
|
|
7374
7372
|
]
|
|
7373
|
+
},
|
|
7374
|
+
{
|
|
7375
|
+
contextWindow: 872e3,
|
|
7376
|
+
id: "gpt-6-astra",
|
|
7377
|
+
input: ["text", "image"],
|
|
7378
|
+
maxTokens: 128e3,
|
|
7379
|
+
name: "GPT-6 Astra",
|
|
7380
|
+
reasoningEfforts: [
|
|
7381
|
+
"low",
|
|
7382
|
+
"medium",
|
|
7383
|
+
"high",
|
|
7384
|
+
"xhigh",
|
|
7385
|
+
"max"
|
|
7386
|
+
]
|
|
7375
7387
|
}
|
|
7376
7388
|
];
|
|
7377
7389
|
const CODEX_MODELS_URL = `${CODEX_API_BASE_URL}/codex/models`;
|
|
@@ -10830,4 +10842,4 @@ server.route("/:provider/images", providerImageRoutes);
|
|
|
10830
10842
|
//#endregion
|
|
10831
10843
|
export { server };
|
|
10832
10844
|
|
|
10833
|
-
//# sourceMappingURL=server-
|
|
10845
|
+
//# sourceMappingURL=server-DZ2B4MKu.js.map
|