@goodandready/dsh-clinebot 0.5.25 → 0.5.26
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 +5 -0
- package/lib/models.js +2 -2
- package/lib/proxy-token.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ All notable changes to `@goodandready/dsh-clinebot` will be documented in this f
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.5.26] - 2026-10-17
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Authentic Factory Limits for DeepSeek V4 Series (Issue #226, GH #15)**: Fixed authentic factory creator specifications (`mode: 'all-original'`) for all models in the DeepSeek V4 series (`deepseek-v4`, `deepseek-v4-pro`, `deepseek-v4.1`, `deepseek-v41`, `deepseek-v4.1-flash`). Output ceiling (`originalMaxTokens`) is now correctly set to the authentic 384,000 tokens (384K) instead of 65,536, and context length (`originalContextLength`) for `deepseek-v4-pro` is now correctly set to 1,000,000 tokens (1M) instead of falling back to legacy V3 limits (128K / 16.4K).
|
|
12
|
+
|
|
8
13
|
## [0.5.25] - 2026-10-16
|
|
9
14
|
|
|
10
15
|
### Fixed
|
package/lib/models.js
CHANGED
|
@@ -54,7 +54,7 @@ export function getOriginalModelContext(nameOrId) {
|
|
|
54
54
|
if (norm.includes('minimax')) return 1000000
|
|
55
55
|
if (norm.includes('mimo')) return 1000000
|
|
56
56
|
if (norm.includes('glm-5.3') || norm.includes('glm-53')) return 1000000
|
|
57
|
-
if (norm.includes('deepseek-v4.1') || norm.includes('deepseek-v41')) return 1000000
|
|
57
|
+
if (norm.includes('deepseek-v4') || norm.includes('deepseek-v4.1') || norm.includes('deepseek-v41')) return 1000000
|
|
58
58
|
if (norm.includes('deepseek')) return 128000
|
|
59
59
|
if (norm.includes('glm')) return 128000
|
|
60
60
|
return 200000
|
|
@@ -62,11 +62,11 @@ export function getOriginalModelContext(nameOrId) {
|
|
|
62
62
|
|
|
63
63
|
export function getOriginalModelMaxTokens(nameOrId) {
|
|
64
64
|
const norm = String(nameOrId || '').toLowerCase()
|
|
65
|
+
if (norm.includes('deepseek-v4') || norm.includes('deepseek-v4.1') || norm.includes('deepseek-v41')) return 384000
|
|
65
66
|
if (norm.includes('qwen')) return 131072
|
|
66
67
|
if (norm.includes('glm')) return 128000
|
|
67
68
|
if (norm.includes('minimax')) return 128000
|
|
68
69
|
if (norm.includes('kimi')) return 65536
|
|
69
|
-
if (norm.includes('deepseek-v4.1') || norm.includes('deepseek-v41')) return 65536
|
|
70
70
|
if (norm.includes('deepseek')) return 16384
|
|
71
71
|
if (norm.includes('mimo')) return 16384
|
|
72
72
|
return 16384
|
package/lib/proxy-token.js
CHANGED
|
@@ -14,9 +14,9 @@ export const LOCAL_PROXY_KEY_ENV = 'CLINEBOT_LOCAL_PROXY_TOKEN'
|
|
|
14
14
|
let cachedToken = null
|
|
15
15
|
|
|
16
16
|
const require = createRequire(import.meta.url)
|
|
17
|
-
let packageVersion = '0.5.
|
|
17
|
+
let packageVersion = '0.5.26'
|
|
18
18
|
try {
|
|
19
|
-
packageVersion = require('../package.json').version || '0.5.
|
|
19
|
+
packageVersion = require('../package.json').version || '0.5.26'
|
|
20
20
|
} catch (err) {
|
|
21
21
|
/* fallback to default version if manifest is unreadable */
|
|
22
22
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-clinebot",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
4
4
|
"description": "DeepSeek Harness companion for ClineBot / ClinePass: dynamic subscription models sync, quota exhaustion warnings, session metrics, dedicated settings page, live usage limits, and /cline slash-command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|