dsh-think-effort 0.7.0 → 0.7.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 +4 -0
- package/client.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.7.1 — 2026-11-27
|
|
4
|
+
|
|
5
|
+
- **设置页兼容旧 Host**:并行工作的两个扇出输入在快照缺少字段时按默认值(4 / 8)校验,避免 HMR 只更新了客户端、Host 还是旧版时,保存任何其他设置都被 `parallelFanoutInvalid` 拦住。无行为变化。
|
|
6
|
+
|
|
3
7
|
## 0.7.0 — 2026-11-27
|
|
4
8
|
|
|
5
9
|
- **并行工作策略(实验,默认关闭)**:新增 `parallelEnabled` 开关。打开后通过 `ctx.systemPrompt.section()` 注入一段策略(order 700),提示模型在合适时把任务拆成互不阻塞的单元:
|
package/client.js
CHANGED
|
@@ -518,9 +518,9 @@ window.__ModuleLoader__.load({
|
|
|
518
518
|
if (typeof threshold !== 'number' || !Number.isFinite(threshold) || threshold < 0) return t('adaptiveThresholdInvalid');
|
|
519
519
|
const rounds = current.adaptiveMinRounds;
|
|
520
520
|
if (typeof rounds !== 'number' || !Number.isFinite(rounds) || rounds < 1) return t('adaptiveRoundsInvalid');
|
|
521
|
-
const writeFanout = current.parallelWriteFanout;
|
|
521
|
+
const writeFanout = current.parallelWriteFanout ?? 4;
|
|
522
522
|
if (typeof writeFanout !== 'number' || !Number.isInteger(writeFanout) || writeFanout < 1 || writeFanout > 8) return t('parallelFanoutInvalid');
|
|
523
|
-
const readFanout = current.parallelReadFanout;
|
|
523
|
+
const readFanout = current.parallelReadFanout ?? 8;
|
|
524
524
|
if (typeof readFanout !== 'number' || !Number.isInteger(readFanout) || readFanout < 1 || readFanout > 12) return t('parallelFanoutInvalid');
|
|
525
525
|
for (const entry of asArray(current.declareModels)) {
|
|
526
526
|
if (entry.includes('/')) continue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-think-effort",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Automatic thinking depth for DeepSeek routes in DeepSeek Harness: declare the model's effort vocabulary, add Auto to the model selector, resolve it to the declared default, give subagents their own depth, drop cheap host-owned calls to Low, edit every rule on a live visual settings page, watch each request's effort decision in a floating debug log, optionally lower depth during exploration with the experimental adaptive policy, and optionally inject a parallel-work policy that tells the model to split independent work across subagents/workflow.",
|
|
6
6
|
"icon": "./icon.svg",
|