@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 CHANGED
@@ -242,7 +242,8 @@ Example `~/.config/opencode/opencode.json`:
242
242
  "output": ["text"]
243
243
  },
244
244
  "limit": {
245
- "context": 300000,
245
+ "context": 400000,
246
+ "input": 272000,
246
247
  "output": 128000
247
248
  }
248
249
  },
package/README.zh-CN.md CHANGED
@@ -244,7 +244,8 @@ npx @jeffreycao/copilot-api@latest start
244
244
  "output": ["text"]
245
245
  },
246
246
  "limit": {
247
- "context": 300000,
247
+ "context": 400000,
248
+ "input": 272000,
248
249
  "output": 128000
249
250
  }
250
251
  },
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-DzPnQ90v.js");
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 = .9;
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-CWI1xhIg.js.map
6714
+ //# sourceMappingURL=server-BU6U0gUj.js.map