@pasko70/pibo 1.16.3 → 1.16.4

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.
@@ -15,7 +15,7 @@ const DEEPSEEK_COMPAT = {
15
15
  thinkingFormat: "deepseek",
16
16
  maxTokensField: "max_tokens",
17
17
  };
18
- const DASHSCOPE_COMPAT = {
18
+ const GLM_COMPAT = {
19
19
  supportsStore: false,
20
20
  supportsDeveloperRole: false,
21
21
  maxTokensField: "max_tokens",
@@ -30,37 +30,21 @@ function qwenModel(id, name, input, contextWindow = 1_000_000, maxTokens = 65_53
30
30
  function deepseekModel(id, name, contextWindow, maxTokens) {
31
31
  return model(id, name, DEEPSEEK_COMPAT, contextWindow, maxTokens, ["text"]);
32
32
  }
33
- function thirdPartyModel(id, name, contextWindow, maxTokens, input, reasoning = true) {
34
- return model(id, name, DASHSCOPE_COMPAT, contextWindow, maxTokens, input, reasoning);
33
+ function glmModel(id, name, contextWindow, maxTokens) {
34
+ return model(id, name, GLM_COMPAT, contextWindow, maxTokens, ["text"]);
35
35
  }
36
36
  export const QWEN_TOKEN_PLAN_MODELS = [
37
- // Qwen Max family
38
- qwenModel("qwen-max", "Qwen Max", ["text", "image"]),
39
- qwenModel("qwen3.7-max", "Qwen3.7 Max", ["text"]),
40
- qwenModel("qwen3-max", "Qwen3 Max", ["text"]),
41
- qwenModel("qwen3.6-max-preview", "Qwen3.6 Max Preview", ["text", "image"]),
42
- // Qwen Plus family
37
+ // Qwen models (Token Plan)
38
+ qwenModel("qwen3.8-max", "Qwen3.8 Max", ["text", "image"]),
43
39
  qwenModel("qwen3.7-plus", "Qwen3.7 Plus", ["text", "image"]),
44
- qwenModel("qwen3.6-plus", "Qwen3.6 Plus", ["text", "image"]),
45
- qwenModel("qwen3.5-plus", "Qwen3.5 Plus", ["text", "image"]),
46
- qwenModel("qwen-plus", "Qwen Plus", ["text", "image"]),
47
- // Qwen Flash family
40
+ qwenModel("qwen3.7-max", "Qwen3.7 Max", ["text"]),
48
41
  qwenModel("qwen3.6-flash", "Qwen3.6 Flash", ["text", "image"]),
49
- qwenModel("qwen3.5-flash", "Qwen3.5 Flash", ["text", "image"]),
50
- qwenModel("qwen-flash", "Qwen Flash", ["text", "image"]),
51
- // Qwen Coder family
52
- qwenModel("qwen-coder-plus", "Qwen Coder Plus", ["text"], 131_072, 65_536),
53
- qwenModel("qwen-coder-turbo", "Qwen Coder Turbo", ["text"], 131_072, 65_536),
54
- // DeepSeek
55
- deepseekModel("deepseek-v4-flash", "DeepSeek V4 Flash", 1_000_000, 384_000),
42
+ // DeepSeek models (Token Plan)
43
+ deepseekModel("deepseek-v4-pro-0813", "DeepSeek V4 Pro 0813", 1_000_000, 384_000),
56
44
  deepseekModel("deepseek-v4-pro", "DeepSeek V4 Pro", 1_000_000, 384_000),
57
- deepseekModel("deepseek-v3.2", "DeepSeek V3.2", 163_840, 65_536),
58
- deepseekModel("deepseek-r1", "DeepSeek R1", 128_000, 32_768),
59
- // Kimi (Moonshot AI)
60
- thirdPartyModel("kimi-k2.7-code", "Kimi K2.7 Code", 262_144, 65_536, ["text", "image"]),
61
- thirdPartyModel("kimi-k2.6", "Kimi K2.6", 262_144, 65_536, ["text", "image"]),
62
- // GLM (Z.ai)
63
- thirdPartyModel("glm-5.2", "GLM 5.2", 1_000_000, 131_072, ["text"]),
45
+ deepseekModel("deepseek-v4-flash-0731", "DeepSeek V4 Flash 0731", 1_000_000, 384_000),
46
+ // GLM models (Token Plan)
47
+ glmModel("glm-5.2", "GLM 5.2", 1_000_000, 131_072),
64
48
  ];
65
49
  function resolveBaseUrl() {
66
50
  const envOverride = process.env.PIBO_QWEN_TOKEN_PLAN_BASE_URL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pasko70/pibo",
3
- "version": "1.16.3",
3
+ "version": "1.16.4",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "packages/workflows",