pi-freeflow 1.22.0 → 1.22.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.22.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Correct Cline free-model specs: DeepSeek V4.1 Flash and GLM 5.3 Flash are 1M context (not 262K) with vision support and low/high/max thinking levels; Solar Pro 4 is 512K context with the full thinking range. Model selection and docs now show the right numbers.
8
+
3
9
  ## 1.22.0
4
10
 
5
11
  ### Minor Changes
package/README.md CHANGED
@@ -238,10 +238,10 @@ Rotating per-account promo, direct only (never through the relay pool). Sign in
238
238
 
239
239
  | Model ID | Creator / Lab | Context | Max Output | Thinking | Vision |
240
240
  | :--- | :--- | :--- | :--- | :--- | :--- |
241
- | `cline-free/deepseek-v4.1-flash` | DeepSeek | **262K** (262.144) | **32K** (32.768) | `minimal…xhigh`\* | |
241
+ | `cline-free/deepseek-v4.1-flash` | DeepSeek | **1M** (1.000.000) | **384K** (384.000) | `low/high/max` | |
242
242
  | `cline-free/muse-spark-1.3-contributor` | Meta Superintelligence Labs | **1M** (1.048.576) | **131K** (131.072) | `minimal…xhigh`\* | ✅ |
243
- | `z-ai/glm-5.3-flash` | Zhipu AI | **262K** (262.144) | **64K** (65.536) | `minimal…xhigh`\* | |
244
- | `cline-free/solar-pro4` | Upstage | **131K** (131.072) | **32K** (32.768) | `minimal…xhigh`\* | ❌ |
243
+ | `z-ai/glm-5.3-flash` | Zhipu AI | **1M** (1.000.000) | **131K** (131.072) | `low/high/max` | |
244
+ | `cline-free/solar-pro4` | Upstage | **512K** (524.288) | **131K** (131.072) | `minimal…max`\* | ❌ |
245
245
 
246
246
  ---
247
247
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-freeflow",
3
3
  "type": "module",
4
- "version": "1.22.0",
4
+ "version": "1.22.1",
5
5
  "description": "Thin provider for OMP/Pi — model list + dumb relay proxy + log; host pi-ai owns thinking/normalization",
6
6
  "main": "extensions/index.ts",
7
7
  "types": "src/index.ts",
package/src/models.ts CHANGED
@@ -370,9 +370,9 @@ export const KILO_MODELS: ModelDef[] = [
370
370
  ];
371
371
 
372
372
  /**
373
- * Shared effort map for Cline free models same flat reasoning_effort
374
- * minimal..xhigh shape as the Kilo map; the proxy passes effort through
375
- * verbatim and upstream serves the levels it supports.
373
+ * Full-range effort map (Solar Pro 4reference lists none..max; off stays
374
+ * null per repo convention). The proxy passes effort through verbatim and
375
+ * upstream serves the levels it supports.
376
376
  */
377
377
  const CLINE_REASONING_MAP: ThinkingLevelMap = {
378
378
  off: null,
@@ -381,7 +381,22 @@ const CLINE_REASONING_MAP: ThinkingLevelMap = {
381
381
  medium: "medium",
382
382
  high: "high",
383
383
  xhigh: "xhigh",
384
- max: null,
384
+ max: "max",
385
+ };
386
+ /**
387
+ * Narrow effort map for DeepSeek V4 Flash + GLM Flash — reference
388
+ * reasoningOptions list effort values [low, high, max] only (no toggle
389
+ * on GLM); minimal/medium/xhigh are not offered so the host never sends
390
+ * an unsupported level (the proxy forwards effort verbatim).
391
+ */
392
+ const CLINE_FLASH_REASONING_MAP: ThinkingLevelMap = {
393
+ off: null,
394
+ minimal: null,
395
+ low: "low",
396
+ medium: null,
397
+ high: "high",
398
+ xhigh: null,
399
+ max: "max",
385
400
  };
386
401
 
387
402
  /**
@@ -396,10 +411,10 @@ export const CLINE_MODELS: ModelDef[] = [
396
411
  id: "cline-free/deepseek-v4.1-flash",
397
412
  name: "DeepSeek V4.1 Flash [Cline]",
398
413
  reasoning: true,
399
- contextWindow: 262_144,
400
- maxTokens: 32_768,
401
- input: ["text"],
402
- thinkingLevelMap: CLINE_REASONING_MAP,
414
+ contextWindow: 1_000_000,
415
+ maxTokens: 384_000,
416
+ input: ["text", "image"],
417
+ thinkingLevelMap: CLINE_FLASH_REASONING_MAP,
403
418
  },
404
419
  {
405
420
  id: "cline-free/muse-spark-1.3-contributor",
@@ -423,17 +438,17 @@ export const CLINE_MODELS: ModelDef[] = [
423
438
  id: "z-ai/glm-5.3-flash",
424
439
  name: "GLM 5.3 Flash [Cline]",
425
440
  reasoning: true,
426
- contextWindow: 262_144,
427
- maxTokens: 65_536,
428
- input: ["text"],
429
- thinkingLevelMap: CLINE_REASONING_MAP,
441
+ contextWindow: 1_000_000,
442
+ maxTokens: 131_072,
443
+ input: ["text", "image"],
444
+ thinkingLevelMap: CLINE_FLASH_REASONING_MAP,
430
445
  },
431
446
  {
432
447
  id: "cline-free/solar-pro4",
433
448
  name: "Solar Pro4 [Cline]",
434
449
  reasoning: true,
435
- contextWindow: 131_072,
436
- maxTokens: 32_768,
450
+ contextWindow: 524_288,
451
+ maxTokens: 131_072,
437
452
  input: ["text"],
438
453
  thinkingLevelMap: CLINE_REASONING_MAP,
439
454
  },