@magpie-community/opencode-factory-auth 0.1.15 → 0.1.17
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 +4 -1
- package/index.mjs +7 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,10 @@ Each model is served on the one API droid uses for it:
|
|
|
67
67
|
| OpenAI Responses (`/api/llm/o/v1`) | GPT-6.1 Sol, GPT-6 Sol/Astra/Luna, GPT-5.6 Sol/Terra/Luna, GPT-5.5, GPT-5.4, GPT-5.3-Codex, Grok 4.7, Grok 4.6 |
|
|
68
68
|
| Chat completions (`/api/llm/o/v1`) | GLM-5.3, GLM-5.3-Flash, GLM-5.2, Kimi K3, DeepSeek V4.1 Flash, Qwen3.8 Max, MiniMax M3, Mistral Medium 3.5, Nemotron 3 Ultra |
|
|
69
69
|
|
|
70
|
-
Reasoning efforts are the variants droid offers for each model.
|
|
70
|
+
Reasoning efforts are the variants droid offers for each model. DeepSeek V4.1
|
|
71
|
+
Flash, Kimi K3 and GLM-5.2 have `none`, droid's "off": they stop thinking.
|
|
72
|
+
Reasoning is mandatory on GLM-5.3 and GLM-5.3-Flash (Fireworks turns `none`
|
|
73
|
+
away), so `low` is their least.
|
|
71
74
|
|
|
72
75
|
The list is not included:
|
|
73
76
|
|
package/index.mjs
CHANGED
|
@@ -14,7 +14,7 @@ const API_EU = "https://api.eu.factory.ai"
|
|
|
14
14
|
// droid's WorkOS client, production
|
|
15
15
|
const CLIENT_ID = "client_01HNM792M5G5G1A2THWPXKFMXB"
|
|
16
16
|
// the droid release the requests say they are
|
|
17
|
-
const VERSION = "0.
|
|
17
|
+
const VERSION = "0.233.0"
|
|
18
18
|
// how long before an access token lapses it is renewed (droid: a minute)
|
|
19
19
|
const REFRESH_LEAD = 2 * 60 * 1000
|
|
20
20
|
// and how long before, magpie renews it ahead of time (auth.refresh): a
|
|
@@ -58,11 +58,14 @@ const MODELS = [
|
|
|
58
58
|
["gpt-5.3-codex", "GPT-5.3-Codex", RESPONSES, "openai", 400000, 128000, E4, true],
|
|
59
59
|
["grok-4.7", "Grok 4.7", RESPONSES, "xai", 500000, 63356, E4, true],
|
|
60
60
|
["grok-4.6", "Grok 4.6", RESPONSES, "xai", 200000, 63356, E4, true],
|
|
61
|
+
// reasoning is mandatory on GLM-5.3 and GLM-5.3-Flash (Fireworks turns
|
|
62
|
+
// none away): low is their least. GLM-5.2, Kimi K3 and DeepSeek V4.1
|
|
63
|
+
// Flash stop thinking at none, droid's "off" (yetone/magpie#899).
|
|
61
64
|
["glm-5.3", "GLM-5.3", CHAT, "fireworks", 1040000, 131072, ["low", "high", "max"], false],
|
|
62
65
|
["glm-5.3-flash", "GLM-5.3-Flash", CHAT, "fireworks", 1048576, 131072, ["low", "high", "max"], true],
|
|
63
|
-
["glm-5.2", "GLM-5.2", CHAT, "baseten", 1040000, 131072, ["high", "max"], false],
|
|
64
|
-
["kimi-k3", "Kimi K3", CHAT, "fireworks", 262144, 65536, ["low", "high", "max"], true],
|
|
65
|
-
["deepseek-v4.1-flash", "DeepSeek V4.1 Flash", CHAT, "fireworks", 1040000, 131072, ["low", "high", "max"], true],
|
|
66
|
+
["glm-5.2", "GLM-5.2", CHAT, "baseten", 1040000, 131072, ["none", "high", "max"], false],
|
|
67
|
+
["kimi-k3", "Kimi K3", CHAT, "fireworks", 262144, 65536, ["none", "low", "high", "max"], true],
|
|
68
|
+
["deepseek-v4.1-flash", "DeepSeek V4.1 Flash", CHAT, "fireworks", 1040000, 131072, ["none", "low", "high", "max"], true],
|
|
66
69
|
["qwen3.8-max", "Qwen3.8 Max", CHAT, "fireworks", 262144, 131072, ["low", "medium", "xhigh"], false],
|
|
67
70
|
["minimax-m3", "MiniMax M3", CHAT, "fireworks", 512000, 64000, ["high"], true],
|
|
68
71
|
["minimax-m2.7", "MiniMax M2.7", ANTHROPIC, "fireworks", 196600, 64000, ["high"], false],
|