dsh-plugin-memory 0.17.5 → 0.17.7

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
@@ -2,6 +2,18 @@
2
2
 
3
3
  所有记录跟随 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/) 风格;版本号与 `package.json` 保持一致。
4
4
 
5
+ ## [0.17.7] - 2026-11-06
6
+
7
+ ### Fixed
8
+
9
+ - **深色主题开关在全白的问题(第二版)**:深色主题把 `--dsw-alias-brand-primary` 映射成白色、边框 token 也是半透明白,所以「主题 token」方案仍会全白。改为**固定色**:关闭态灰轨道(`rgba(128,128,128,0.5)`)、开启态品牌蓝(`#4c8bf5`)、滑块白色 + 阴影与内描边,明暗主题都清晰可辨。
10
+
11
+ ## [0.17.6] - 2026-11-06
12
+
13
+ ### Fixed
14
+
15
+ - **深色主题下开关按钮颜色不对**:关闭态的轨道原先用次要文字色(深色主题里接近白色),整块开关发亮;改为中性边框色(`--dsw-alias-border-l2`),开启态保持品牌蓝。
16
+
5
17
  ## [0.17.5] - 2026-11-05
6
18
 
7
19
  ### Docs
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "versions": [
28
28
  {
29
- "version": "0.17.4",
30
- "publishTimestamp": 1793858805,
29
+ "version": "0.17.6",
30
+ "publishTimestamp": 1793956865,
31
31
  "source": {
32
32
  "type": "npm"
33
33
  },
package/lib/client.js CHANGED
@@ -493,7 +493,12 @@ window.__ModuleLoader__.load({
493
493
  borderRadius: '11px',
494
494
  border: 'none',
495
495
  cursor: disabled ? 'not-allowed' : 'pointer',
496
- background: checked ? 'var(--dsw-alias-brand-primary, #4c8bf5)' : 'var(--dsw-alias-label-secondary, #666)',
496
+ // Fixed colours on purpose: theme tokens are unreliable here (dark
497
+ // themes map brand-primary to white and border tokens to translucent
498
+ // white, which made the whole switch glow white). A grey track and a
499
+ // blue track read correctly on both themes.
500
+ background: checked ? '#4c8bf5' : 'rgba(128,128,128,0.5)',
501
+ boxShadow: checked ? 'inset 0 0 0 1px rgba(76,139,245,0.6)' : 'inset 0 0 0 1px rgba(128,128,128,0.45)',
497
502
  opacity: disabled ? 0.5 : 1,
498
503
  transition: 'background 0.15s',
499
504
  flexShrink: 0,
@@ -507,6 +512,7 @@ window.__ModuleLoader__.load({
507
512
  height: '18px',
508
513
  borderRadius: '9px',
509
514
  background: '#fff',
515
+ boxShadow: '0 1px 2px rgba(0,0,0,0.35)',
510
516
  transition: 'left 0.15s',
511
517
  },
512
518
  }))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-plugin-memory",
3
3
  "description": "Long-term memory plugin for DeepSeek Harness: persistent cross-session markdown memory with a soul/persona file, auto-injected at every session start, plus remember/recall/consolidate/forget workflows and portable migration tooling.",
4
- "version": "0.17.5",
4
+ "version": "0.17.7",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",