dsh-plugin-subscription-oauth 0.8.7 → 0.8.9
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.
|
@@ -119,9 +119,13 @@ function agentIds(payload) {
|
|
|
119
119
|
// The response also carries models under API_PROVIDER_GOOGLE_GEMINI /
|
|
120
120
|
// ANTHROPIC_VERTEX / OPENAI_VERTEX that the agent grouping does not name (3.1 Pro,
|
|
121
121
|
// 3 Flash, the flash family). Keep every one of those; NON_AGENT surfaces stay out.
|
|
122
|
+
// Old generations (2.5) are dropped: the picker is for the current models.
|
|
123
|
+
const OLD_GENERATION = /gemini-2\./;
|
|
122
124
|
for (const [id, value] of Object.entries(models)) {
|
|
123
125
|
if (NON_AGENT.test(id))
|
|
124
126
|
continue;
|
|
127
|
+
if (OLD_GENERATION.test(id))
|
|
128
|
+
continue;
|
|
125
129
|
if (!isRecord(value))
|
|
126
130
|
continue;
|
|
127
131
|
const api = value.apiProvider;
|
package/lib/providers/grok.js
CHANGED
|
@@ -80,6 +80,13 @@ export const GROK_MODELS = [
|
|
|
80
80
|
contextWindow: GROK_CONTEXT_WINDOW,
|
|
81
81
|
inputModalities: ['text', 'image'],
|
|
82
82
|
},
|
|
83
|
+
{
|
|
84
|
+
id: 'grok-4.7',
|
|
85
|
+
name: 'Grok 4.7',
|
|
86
|
+
description: 'Latest flagship with extended context',
|
|
87
|
+
contextWindow: 500_000,
|
|
88
|
+
inputModalities: ['text', 'image'],
|
|
89
|
+
},
|
|
83
90
|
];
|
|
84
91
|
/**
|
|
85
92
|
* Coerce one decoded credential entry into a Grok session.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-subscription-oauth",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
4
4
|
"description": "Use subscription accounts as DeepSeek Harness LLM providers — Kimi Code (OAuth device flow), Grok / X Premium (OIDC + PKCE), Google Antigravity (Google OAuth + Cloud Code Assist) and GLM / BigModel (ZCode's browser sign-in) — with per-model visibility, drag-to-reorder Auto fallback and plan quotas from the web Settings page",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "EricFL1998",
|