dsh-wdx-relief 0.3.1 → 0.3.2

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.2 — 2026-11-09
4
+
5
+ - 修复:Tab 填入预测后把输入删空,建议不会重新出现;现在只收起当前建议,同一轮缓存会重新给出,Esc 仍忽略本轮。
6
+
3
7
  ## 0.3.1 — 2026-11-09
4
8
 
5
9
  - 保留 Codex 式输入框灰字预测:建议仍注册在 `conversation.input.overlay`,不改成输入框外的一行。
package/client/client.js CHANGED
@@ -315,7 +315,8 @@ window.__ModuleLoader__.load({
315
315
  } catch (error) {
316
316
  // 编辑器锁定时 setDraft 会失败;保持预测可见即可。
317
317
  }
318
- setDismissed(suggestion)
318
+ // 只收起当前建议,不把这条建议标记为“忽略”;用户把填入内容删空后,
319
+ // 同一轮缓存会重新给出它,体验和 Codex 一致。
319
320
  setPrediction(null)
320
321
  var card = anchorRef.current && anchorRef.current.closest('[data-composer-card]')
321
322
  var editor = card && card.querySelector('[data-composer-input]')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-wdx-relief",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Take the friction out of daily DSH work: predicted next messages in the composer, plus reply length, tone, and writing style controls.",
5
5
  "type": "module",
6
6
  "main": "index.js",