@mofeng2223/dsh-claude-provider 0.5.6 → 0.5.8
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/lib/client.js +3 -2
- package/package.json +3 -3
- package/src/index.js +1 -0
package/lib/client.js
CHANGED
|
@@ -1978,6 +1978,7 @@ window.__ModuleLoader__.load({
|
|
|
1978
1978
|
const CLAUDE_KNOWN_MODELS = Object.freeze({
|
|
1979
1979
|
"claude-fable-5-1": Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: "five" }),
|
|
1980
1980
|
"claude-fable-5": Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: "five" }),
|
|
1981
|
+
"claude-haiku-5-5": Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: "five" }),
|
|
1981
1982
|
"claude-haiku-4-5-20251001": Object.freeze({ contextWindow: 200000, maxTokens: 64000, preset: "toggle" }),
|
|
1982
1983
|
"claude-haiku-4-5": Object.freeze({ contextWindow: 200000, maxTokens: 64000, preset: "toggle" }),
|
|
1983
1984
|
"claude-opus-4-6": Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: "four" }),
|
|
@@ -3129,7 +3130,7 @@ window.__ModuleLoader__.load({
|
|
|
3129
3130
|
claudeTypeIntro: "This provider type saves native RC8 adaptive-thinking compatibility, model reasoning mappings, Claude model discovery, and recorded capacities.",
|
|
3130
3131
|
adaptiveClaudeEnabled: "Choose a thinking mode for each model; new models default to five levels.",
|
|
3131
3132
|
adaptiveClaudeHelpLabel: "Thinking mode help",
|
|
3132
|
-
adaptiveClaudeHelp: "Five (low / medium / high / xhigh / max): Fable 5.1, Fable 5, Opus 5, Opus 4.8, Opus 4.7, Sonnet 5\nFour (low / medium / high / max): Opus 4.6, Sonnet 4.6\nOn / Off: Haiku 4.5",
|
|
3133
|
+
adaptiveClaudeHelp: "Five (low / medium / high / xhigh / max): Haiku 5.5, Fable 5.1, Fable 5, Opus 5, Opus 4.8, Opus 4.7, Sonnet 5\nFour (low / medium / high / max): Opus 4.6, Sonnet 4.6\nOn / Off: Haiku 4.5",
|
|
3133
3134
|
adaptiveClaudeTag: "Claude configured",
|
|
3134
3135
|
thinkingPreset: "Thinking mode",
|
|
3135
3136
|
thinkingPresetToggle: "On / Off",
|
|
@@ -3258,7 +3259,7 @@ window.__ModuleLoader__.load({
|
|
|
3258
3259
|
claudeTypeIntro: "此提供方类型会写入 RC8 原生自适应思考兼容配置、模型思考映射、Claude 模型发现和已记录容量。",
|
|
3259
3260
|
adaptiveClaudeEnabled: "每个模型可单独选择思考模式,新增模型默认使用五档。",
|
|
3260
3261
|
adaptiveClaudeHelpLabel: "思考模式说明",
|
|
3261
|
-
adaptiveClaudeHelp: "五档(低 / 中 / 高 / 超高 / 最大):Fable 5.1、Fable 5、Opus 5、Opus 4.8、Opus 4.7、Sonnet 5\n四档(低 / 中 / 高 / 最大):Opus 4.6、Sonnet 4.6\n开启 / 关闭:Haiku 4.5",
|
|
3262
|
+
adaptiveClaudeHelp: "五档(低 / 中 / 高 / 超高 / 最大):Haiku 5.5、Fable 5.1、Fable 5、Opus 5、Opus 4.8、Opus 4.7、Sonnet 5\n四档(低 / 中 / 高 / 最大):Opus 4.6、Sonnet 4.6\n开启 / 关闭:Haiku 4.5",
|
|
3262
3263
|
adaptiveClaudeTag: "Claude 已适配",
|
|
3263
3264
|
thinkingPreset: "思考模式",
|
|
3264
3265
|
thinkingPresetToggle: "开启 / 关闭",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mofeng2223/dsh-claude-provider",
|
|
3
|
-
"version": "0.5.
|
|
4
|
-
"description": "Custom Claude provider support for DeepSeek Harness 0.2.
|
|
3
|
+
"version": "0.5.8",
|
|
4
|
+
"description": "Custom Claude provider support for DeepSeek Harness 0.2.1-alpha.1",
|
|
5
5
|
"author": "mofeng2223",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@deepseek-ai/dsh-client-ui-settings-models": "0.2.
|
|
65
|
+
"@deepseek-ai/dsh-client-ui-settings-models": "0.2.1-alpha.1"
|
|
66
66
|
}
|
|
67
67
|
}
|
package/src/index.js
CHANGED
|
@@ -20,6 +20,7 @@ const MAX_DISCOVERY_PAGES = 100
|
|
|
20
20
|
export const CLAUDE_KNOWN_MODELS = Object.freeze({
|
|
21
21
|
'claude-fable-5-1': Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: 'five' }),
|
|
22
22
|
'claude-fable-5': Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: 'five' }),
|
|
23
|
+
'claude-haiku-5-5': Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: 'five' }),
|
|
23
24
|
'claude-haiku-4-5-20251001': Object.freeze({ contextWindow: 200000, maxTokens: 64000, preset: 'toggle' }),
|
|
24
25
|
'claude-haiku-4-5': Object.freeze({ contextWindow: 200000, maxTokens: 64000, preset: 'toggle' }),
|
|
25
26
|
'claude-opus-4-6': Object.freeze({ contextWindow: 1000000, maxTokens: 128000, preset: 'four' }),
|