@dianshuv/copilot-api 0.21.9 → 0.21.11

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
@@ -80,7 +80,7 @@ make down
80
80
 
81
81
  ### Hidden Models
82
82
 
83
- By default the proxy hides 49 stale / duplicate / unused upstream model ids from
83
+ By default the proxy hides 52 stale / duplicate / unused upstream model ids from
84
84
  its **listing surfaces** (`/v1/models` and the startup banner).
85
85
 
86
86
  **Important**: this is a *display* filter only. The remaining POST endpoints
@@ -99,11 +99,12 @@ Currently hidden (grouped):
99
99
  - **GPT-4o family** — `gpt-4o`, `gpt-4o-mini`, `gpt-4-o-preview`, `gpt-4o-2024-05-13`, `gpt-4o-2024-08-06`, `gpt-4o-2024-11-20`, `gpt-4o-mini-2024-07-18`
100
100
  - **GPT-4.1 family** — `gpt-4.1`, `gpt-4.1-2025-04-14`, `gpt-41-copilot`
101
101
  - **Older / superseded GPT-5** — `gpt-5-mini`, `gpt-5.3-codex`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.5`, `gpt-5.6-luna`, `gpt-5.6-sol`, `gpt-5.6-sol-fast`, `gpt-5.6-terra`
102
+ - **Hidden GPT-6** — `gpt-6-sol`
102
103
  - **All embeddings** — `text-embedding-ada-002`, `text-embedding-3-small`, `text-embedding-3-small-inference`
103
- - **Hidden Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.5-flash`, `gemini-3.6-flash`, `gemini-3.7-flash`
104
+ - **Hidden Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.5-flash`, `gemini-3.6-flash`, `gemini-3.7-flash`, `gemini-3.8-flash`
104
105
  - **Older Grok** — `grok-4.5`, `grok-4.6`
105
106
  - **Older / variant Claude** — `claude-opus-4.5`, `claude-opus-4.6`, `claude-opus-4.7`, `claude-opus-4.8`, `claude-opus-4.7-high`, `claude-opus-4.7-xhigh`, `claude-sonnet-4.5`, `claude-sonnet-4.6`
106
- - **Special-purpose** — `gpt-5.6-luna-utility`, `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `trajectory-compaction`
107
+ - **Special-purpose** — `gpt-5.6-luna-utility`, `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `mai-code-2-flash`, `trajectory-compaction`
107
108
 
108
109
  ## API Endpoints
109
110
 
package/dist/main.mjs CHANGED
@@ -1035,7 +1035,7 @@ const logout = defineCommand({
1035
1035
 
1036
1036
  //#endregion
1037
1037
  //#region package.json
1038
- var version = "0.21.9";
1038
+ var version = "0.21.11";
1039
1039
 
1040
1040
  //#endregion
1041
1041
  //#region src/lib/event-loop-lag.ts
@@ -2524,6 +2524,7 @@ const HIDDEN_MODEL_IDS = new Set([
2524
2524
  "gpt-5.6-sol",
2525
2525
  "gpt-5.6-sol-fast",
2526
2526
  "gpt-5.6-terra",
2527
+ "gpt-6-sol",
2527
2528
  "text-embedding-ada-002",
2528
2529
  "text-embedding-3-small",
2529
2530
  "text-embedding-3-small-inference",
@@ -2533,6 +2534,7 @@ const HIDDEN_MODEL_IDS = new Set([
2533
2534
  "gemini-3.5-flash",
2534
2535
  "gemini-3.6-flash",
2535
2536
  "gemini-3.7-flash",
2537
+ "gemini-3.8-flash",
2536
2538
  "grok-4.5",
2537
2539
  "grok-4.6",
2538
2540
  "claude-opus-4.5",
@@ -2547,6 +2549,7 @@ const HIDDEN_MODEL_IDS = new Set([
2547
2549
  "mai-code-1-flash-internal",
2548
2550
  "mai-code-1-flash-picker",
2549
2551
  "mai-code-1.1-flash",
2552
+ "mai-code-2-flash",
2550
2553
  "trajectory-compaction"
2551
2554
  ]);
2552
2555
  function isHiddenModel(id, showAll) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dianshuv/copilot-api",
3
- "version": "0.21.9",
3
+ "version": "0.21.11",
4
4
  "description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
5
5
  "author": "dianshuv",
6
6
  "type": "module",