@dianshuv/copilot-api 0.21.0 → 0.21.1

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
@@ -67,7 +67,7 @@ make down
67
67
 
68
68
  ### Hidden Models
69
69
 
70
- By default the proxy hides 38 stale / duplicate / unused upstream model ids from
70
+ By default the proxy hides 40 stale / duplicate / unused upstream model ids from
71
71
  its **listing surfaces** (`/v1/models` and the startup banner).
72
72
 
73
73
  **Important**: this is a *display* filter only. The remaining POST endpoints
@@ -87,9 +87,9 @@ Currently hidden (grouped):
87
87
  - **GPT-4.1 family** — `gpt-4.1`, `gpt-4.1-2025-04-14`, `gpt-41-copilot`
88
88
  - **Older / smaller GPT-5** — `gpt-5-mini`, `gpt-5.3-codex`, `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.5`
89
89
  - **All embeddings** — `text-embedding-ada-002`, `text-embedding-3-small`, `text-embedding-3-small-inference`
90
- - **Older Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.5-flash`
90
+ - **Older Gemini** — `gemini-2.5-pro`, `gemini-3-flash-preview`, `gemini-3.1-pro-preview`, `gemini-3.5-flash`
91
91
  - **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`
92
- - **Special-purpose** — `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `trajectory-compaction`
92
+ - **Special-purpose** — `mai-code-1-flash-internal`, `mai-code-1-flash-picker`, `mai-code-1.1-flash`, `trajectory-compaction`
93
93
 
94
94
  ## API Endpoints
95
95
 
package/dist/main.mjs CHANGED
@@ -1011,7 +1011,7 @@ const logout = defineCommand({
1011
1011
 
1012
1012
  //#endregion
1013
1013
  //#region package.json
1014
- var version = "0.21.0";
1014
+ var version = "0.21.1";
1015
1015
 
1016
1016
  //#endregion
1017
1017
  //#region src/lib/event-loop-lag.ts
@@ -2501,6 +2501,7 @@ const HIDDEN_MODEL_IDS = new Set([
2501
2501
  "text-embedding-3-small-inference",
2502
2502
  "gemini-2.5-pro",
2503
2503
  "gemini-3-flash-preview",
2504
+ "gemini-3.1-pro-preview",
2504
2505
  "gemini-3.5-flash",
2505
2506
  "claude-opus-4.5",
2506
2507
  "claude-opus-4.6",
@@ -2512,6 +2513,7 @@ const HIDDEN_MODEL_IDS = new Set([
2512
2513
  "claude-sonnet-4.6",
2513
2514
  "mai-code-1-flash-internal",
2514
2515
  "mai-code-1-flash-picker",
2516
+ "mai-code-1.1-flash",
2515
2517
  "trajectory-compaction"
2516
2518
  ]);
2517
2519
  function isHiddenModel(id, showAll) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dianshuv/copilot-api",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "description": "Turn GitHub Copilot into OpenAI/Anthropic API compatible server. Usable with Claude Code!",
5
5
  "author": "dianshuv",
6
6
  "type": "module",