dsh-plugin-memory 0.17.6 → 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 +6 -0
- package/docs/market/index.json +2 -2
- package/lib/client.js +7 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
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
|
+
|
|
5
11
|
## [0.17.6] - 2026-11-06
|
|
6
12
|
|
|
7
13
|
### Fixed
|
package/docs/market/index.json
CHANGED
package/lib/client.js
CHANGED
|
@@ -493,11 +493,12 @@ window.__ModuleLoader__.load({
|
|
|
493
493
|
borderRadius: '11px',
|
|
494
494
|
border: 'none',
|
|
495
495
|
cursor: disabled ? 'not-allowed' : 'pointer',
|
|
496
|
-
//
|
|
497
|
-
//
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
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)',
|
|
501
502
|
opacity: disabled ? 0.5 : 1,
|
|
502
503
|
transition: 'background 0.15s',
|
|
503
504
|
flexShrink: 0,
|
|
@@ -511,6 +512,7 @@ window.__ModuleLoader__.load({
|
|
|
511
512
|
height: '18px',
|
|
512
513
|
borderRadius: '9px',
|
|
513
514
|
background: '#fff',
|
|
515
|
+
boxShadow: '0 1px 2px rgba(0,0,0,0.35)',
|
|
514
516
|
transition: 'left 0.15s',
|
|
515
517
|
},
|
|
516
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.
|
|
4
|
+
"version": "0.17.7",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|