dsh-plugin-memory 0.17.7 → 0.17.8
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 +7 -0
- package/docs/market/index.json +2 -2
- package/lib/client.js +12 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
所有记录跟随 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/) 风格;版本号与 `package.json` 保持一致。
|
|
4
4
|
|
|
5
|
+
## [0.17.8] - 2026-11-06
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **开关改为跟随宿主的白/黑反转样式**:开启态轨道用主文字色(深色主题=白、浅色主题=黑)、滑块用背景色反色,不再使用品牌蓝;关闭态灰轨道 + 次要文字色滑块。
|
|
10
|
+
- **侧栏「记忆」多出一个齿轮图标**:DSH 设置导航行内的默认图标是**嵌套 SVG**,旧的隐藏规则只匹配直接子 `svg`,所以齿轮没被藏住、又叠了我们的脑图标;改为隐藏行内所有 `svg`,只保留自定义图标。
|
|
11
|
+
|
|
5
12
|
## [0.17.7] - 2026-11-06
|
|
6
13
|
|
|
7
14
|
### Fixed
|
package/docs/market/index.json
CHANGED
package/lib/client.js
CHANGED
|
@@ -493,12 +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
|
-
|
|
501
|
-
boxShadow:
|
|
496
|
+
// Mirror the host switch: on = label-primary track (white in dark themes,
|
|
497
|
+
// black in light themes), off = neutral border track. No brand blue.
|
|
498
|
+
background: checked
|
|
499
|
+
? 'var(--dsw-alias-label-primary, #1f2328)'
|
|
500
|
+
: 'var(--dsw-alias-border-l2, rgba(128,128,128,0.45))',
|
|
501
|
+
boxShadow: 'inset 0 0 0 1px rgba(128,128,128,0.35)',
|
|
502
502
|
opacity: disabled ? 0.5 : 1,
|
|
503
503
|
transition: 'background 0.15s',
|
|
504
504
|
flexShrink: 0,
|
|
@@ -511,7 +511,11 @@ window.__ModuleLoader__.load({
|
|
|
511
511
|
width: '18px',
|
|
512
512
|
height: '18px',
|
|
513
513
|
borderRadius: '9px',
|
|
514
|
-
|
|
514
|
+
// Knob is the inverse of the track: dark on the white (dark-theme) track,
|
|
515
|
+
// light on the black (light-theme) track.
|
|
516
|
+
background: checked
|
|
517
|
+
? 'var(--dsw-alias-bg-layer-1, #1f2328)'
|
|
518
|
+
: 'var(--dsw-alias-label-secondary, #888)',
|
|
515
519
|
boxShadow: '0 1px 2px rgba(0,0,0,0.35)',
|
|
516
520
|
transition: 'left 0.15s',
|
|
517
521
|
},
|
|
@@ -2427,7 +2431,7 @@ window.__ModuleLoader__.load({
|
|
|
2427
2431
|
const brainCircuitSvg = () => `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="#000" stroke-width="${ICON_MEDIUM_STROKE}" stroke-linecap="round" stroke-linejoin="round">${BRAIN_CIRCUIT_PATHS.map((p) => (p.kind === 'circle' ? `<circle cx="${p.cx}" cy="${p.cy}" r="${p.r}"/>` : `<path d="${p.d}"/>`)).join('')}</svg>`
|
|
2428
2432
|
const brainCircuitMaskUrl = (svg = brainCircuitSvg()) => `data:image/svg+xml,${encodeURIComponent(svg)}`
|
|
2429
2433
|
const navIconCss = (maskUrl) => [
|
|
2430
|
-
`[${NAV_ICON_ATTR}]
|
|
2434
|
+
`[${NAV_ICON_ATTR}] svg { display: none; }`,
|
|
2431
2435
|
`[${NAV_ICON_ATTR}]::before {`,
|
|
2432
2436
|
` content: '';`,
|
|
2433
2437
|
` flex: none;`,
|
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.8",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|