dsh-wdx-relief 0.5.0 → 0.5.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 +6 -0
- package/client/client.js +2 -2
- package/docs/guide.md +2 -2
- package/index.js +4 -4
- package/package.json +1 -1
- package/src/recap.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.1 — 2026-11-12
|
|
4
|
+
|
|
5
|
+
- 修掉「又问了一轮,输入框上面那一行还是上一轮的」:摘要默认改成每轮都更新(`recapCooldownTurns` 默认 1,原来是 3),沿用旧行的相似度阈值从 0.7 提到 0.9,只有几乎没变化时才不动。
|
|
6
|
+
- 原来 `cooldownTurns: 3` 会让第 4、5 轮继续显示第 3 轮的摘要,看起来像没更新。
|
|
7
|
+
- 模型调用仍然是终局后一次便宜模型;不想每轮更新可以在设置页把间隔调回 3。
|
|
8
|
+
|
|
3
9
|
## 0.5.0 — 2026-11-12
|
|
4
10
|
|
|
5
11
|
- 右侧栏默认 Tab 从「没接住的事」改名为「待跟进」:范围不变,仍是过去会话里等你拍板、你还没回答、明确留给你的动作;英文界面同步改为 Follow-ups。
|
package/client/client.js
CHANGED
|
@@ -2269,8 +2269,8 @@ window.__ModuleLoader__.load({
|
|
|
2269
2269
|
{ field: 'recapReasoning', format: booleanText, parse: parseBoolean },
|
|
2270
2270
|
choiceField('recapPlacement', RECAP_PLACEMENTS, 'above'),
|
|
2271
2271
|
numberField('recapMinTurns', 3, 1, 50, 1),
|
|
2272
|
-
numberField('recapCooldownTurns',
|
|
2273
|
-
numberField('recapSimilarityThreshold', 0.
|
|
2272
|
+
numberField('recapCooldownTurns', 1, 1, 50, 1),
|
|
2273
|
+
numberField('recapSimilarityThreshold', 0.9, 0, 1, 0.05),
|
|
2274
2274
|
numberField('recapMaxWords', 40, 5, 200, 1),
|
|
2275
2275
|
textField('recapModelChain'),
|
|
2276
2276
|
{ field: 'today', format: booleanText, parse: parseBoolean },
|
package/docs/guide.md
CHANGED
|
@@ -37,8 +37,8 @@ HMR 生效。
|
|
|
37
37
|
| `recapReasoning` | `false` | 思考预览开关:折叠推理的第一行,本地生成 |
|
|
38
38
|
| `recapPlacement` | `above` | `above` / `below`,这一行放在输入框上方还是下方 |
|
|
39
39
|
| `recapMinTurns` | `3` | 至少几轮用户消息后才开始生成语义摘要 |
|
|
40
|
-
| `recapCooldownTurns` | `
|
|
41
|
-
| `recapSimilarityThreshold` | `0.
|
|
40
|
+
| `recapCooldownTurns` | `1` | 每隔几轮更新一次语义摘要;`1` = 每轮(默认每轮都更新,问完下一轮就换新) |
|
|
41
|
+
| `recapSimilarityThreshold` | `0.9` | 新旧摘要相似度达到这个值才沿用旧的一行(调低会更容易出现「没更新」) |
|
|
42
42
|
| `recapMaxWords` | `40` | 摘要词预算;中文按字算 |
|
|
43
43
|
| `recapModelChain` | `''` | 摘要模型链,按顺序尝试 `provider/model`;留空自动挑便宜模型 |
|
|
44
44
|
| `today` | `true` | 右侧栏 WDX Relief 页面里的「待跟进」清单 |
|
package/index.js
CHANGED
|
@@ -69,13 +69,13 @@ export const Config = Schema.object({
|
|
|
69
69
|
.volatile()
|
|
70
70
|
.description('至少经过几轮用户消息后才开始生成语义摘要'),
|
|
71
71
|
recapCooldownTurns: Schema.number()
|
|
72
|
-
.default(
|
|
72
|
+
.default(1)
|
|
73
73
|
.volatile()
|
|
74
|
-
.description('每隔几轮才更新语义摘要;1
|
|
74
|
+
.description('每隔几轮才更新语义摘要;1 表示每轮(默认每轮都更新)'),
|
|
75
75
|
recapSimilarityThreshold: Schema.number()
|
|
76
|
-
.default(0.
|
|
76
|
+
.default(0.9)
|
|
77
77
|
.volatile()
|
|
78
|
-
.description('
|
|
78
|
+
.description('新旧摘要相似度达到这个值时才沿用旧的一行(0–1,默认 0.9)'),
|
|
79
79
|
recapMaxWords: Schema.number()
|
|
80
80
|
.default(40)
|
|
81
81
|
.volatile()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-wdx-relief",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Take the friction out of daily DSH work: predicted next messages, a live one-line turn recap above the composer, and sidebar side questions with a composer-style model picker that stay out of the model context.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
package/src/recap.js
CHANGED
|
@@ -20,8 +20,8 @@ const MAX_OUTPUT_TOKENS = 512
|
|
|
20
20
|
const SUMMARY_TIMEOUT_MS = 8000
|
|
21
21
|
|
|
22
22
|
export const DEFAULT_MIN_TURNS = 3
|
|
23
|
-
export const DEFAULT_COOLDOWN_TURNS =
|
|
24
|
-
export const DEFAULT_SIMILARITY_THRESHOLD = 0.
|
|
23
|
+
export const DEFAULT_COOLDOWN_TURNS = 1
|
|
24
|
+
export const DEFAULT_SIMILARITY_THRESHOLD = 0.9
|
|
25
25
|
export const DEFAULT_MAX_WORDS = 40
|
|
26
26
|
|
|
27
27
|
/** 便宜模型的名字通常带这些词;只用于自动挑选,不改变用户显式配置的顺序。 */
|