@dondetir/ccmux 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dondetir/ccmux",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Run Claude Code on GitHub Copilot's backend, a local Anthropic-to-Copilot proxy",
5
5
  "private": false,
6
6
  "publishConfig": {
package/src/index.ts CHANGED
@@ -216,6 +216,8 @@ app.get("/v1/models", async (c) => {
216
216
  if (!ollamaOnly) throw e;
217
217
  data = { data: [] };
218
218
  }
219
+ // Same filter the official Copilot CLI uses: only models it groups in its picker.
220
+ data.data = (data.data ?? []).filter((m: any) => m.model_picker_category != null);
219
221
  // Push Ollama models so the alias loop below includes them in the picker.
220
222
  for (const [key, entry] of modelCatalog) {
221
223
  if (entry.provider !== "ollama") continue;