@dianshuv/copilot-api 0.21.10 → 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 51 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
@@ -104,7 +104,7 @@ Currently hidden (grouped):
104
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`
105
105
  - **Older Grok** — `grok-4.5`, `grok-4.6`
106
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`
107
- - **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`
108
108
 
109
109
  ## API Endpoints
110
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.10";
1038
+ var version = "0.21.11";
1039
1039
 
1040
1040
  //#endregion
1041
1041
  //#region src/lib/event-loop-lag.ts
@@ -2549,6 +2549,7 @@ const HIDDEN_MODEL_IDS = new Set([
2549
2549
  "mai-code-1-flash-internal",
2550
2550
  "mai-code-1-flash-picker",
2551
2551
  "mai-code-1.1-flash",
2552
+ "mai-code-2-flash",
2552
2553
  "trajectory-compaction"
2553
2554
  ]);
2554
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.10",
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",