@a9i5k4/dsh-auto-memory 0.1.15 → 0.1.16
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/README.md +2 -0
- package/lib/client.js +15 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,6 +25,8 @@ cd ~/.dsh/profiles/web
|
|
|
25
25
|
pnpm add @a9i5k4/dsh-auto-memory
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
> pnpm v11 默认限制安装发布不足 1 天的版本。当天发布想立即拿到新版,在 profile 目录的 pnpm-workspace.yaml 加 `minimumReleaseAge: 0`,或用显式版本 `pnpm add @a9i5k4/dsh-auto-memory@0.1.16`。(pnpm v11 blocks packages published <1 day ago; set `minimumReleaseAge: 0` in pnpm-workspace.yaml or use an explicit version for same-day releases.)
|
|
29
|
+
|
|
28
30
|
Then edit `package.json` in that directory and append to the `dsh.profile.bundles` array:
|
|
29
31
|
|
|
30
32
|
```json
|
package/lib/client.js
CHANGED
|
@@ -313,6 +313,21 @@ window.__ModuleLoader__.load({
|
|
|
313
313
|
|
|
314
314
|
// ───────────────────────── 更新弹窗 / 首次指导 ─────────────────────────
|
|
315
315
|
var CHANGELOG = {
|
|
316
|
+
'0.1.16': { zh: [
|
|
317
|
+
'稳定版:整合今日 0.1.13~0.1.15 全部修复与优化',
|
|
318
|
+
'核心:上下文缓存策略重写——记忆注入迁至运行时上下文快照,系统提示词保持稳定,DeepSeek 前缀缓存全程命中,不再白白消耗 token(命中率恢复 95%+)',
|
|
319
|
+
'修复:秒级时间戳击穿前缀缓存(改日期级)',
|
|
320
|
+
'修复:npm 安装后客户端面板无法加载(bundle 注册名)',
|
|
321
|
+
'新增:更新说明弹窗/首次安装指导/暂离回归自动打开记忆窗口',
|
|
322
|
+
'提示:pnpm v11 默认限制安装发布不足 1 天的版本,想立即获取新版请在 pnpm-workspace.yaml 设 minimumReleaseAge: 0 或使用显式版本号',
|
|
323
|
+
], en: [
|
|
324
|
+
'Stable release: consolidates today\'s 0.1.13~0.1.15 fixes and polish',
|
|
325
|
+
'Core: context-cache strategy rewrite — memory injection moved to runtime-context snapshot, system prompt stays byte-stable, DeepSeek prefix cache hits throughout, no more wasted tokens (hit rate back to 95%+)',
|
|
326
|
+
'Fix: second-level timestamp breaking prefix cache (now date-level)',
|
|
327
|
+
'Fix: client panel not loading after npm install (bundle registration id)',
|
|
328
|
+
'New: update dialog / first-run guide / memory panel auto-opens after >1h away',
|
|
329
|
+
'Note: pnpm v11 blocks packages published <1 day ago by default; set minimumReleaseAge: 0 in pnpm-workspace.yaml or use an explicit version for the latest immediately',
|
|
330
|
+
] },
|
|
316
331
|
'0.1.15': { zh: ['优化:记忆注入迁至运行时上下文快照(systemPrompt.context),system prompt 保持字节级稳定 → DeepSeek 前缀缓存全程命中,自动沉淀/跨天/切换模型都不再击穿缓存,进一步降低 token 消耗', '优化:动态记忆内容不变时不重复注入,会话上下文更精简'], en: ['Optimize: memory injection moved to runtime-context snapshot (systemPrompt.context), system prompt stays byte-stable → DeepSeek prefix cache hits throughout, auto-consolidation/day-crossing/model-switch no longer break the cache, lower token usage', 'Optimize: unchanged dynamic memory is not re-injected, leaner session context'] },
|
|
317
332
|
'0.1.14': { zh: ['新增:更新后自动弹出更新说明窗口,首次安装有功能指导窗口', '新增:暂离超过 1 小时回来,记忆窗口自动打开并显示 AI 总结', '优化:弹窗改为左下角毛玻璃小卡片,更透明更轻量'], en: ['New: update dialog shows what changed after an upgrade; first-run guide dialog for new installs', 'New: the memory panel auto-opens with an AI summary after returning from >1h away', 'Polish: dialogs are now compact frosted-glass cards in the bottom-left corner'] },
|
|
318
333
|
'0.1.13': { zh: ['修复 npm 安装后客户端面板无法加载(bundle 注册名拼写)', '修复秒级时间戳击穿 DeepSeek 前缀缓存(改日期级,大幅节省 token)', '修复记忆接续导入报错'], en: ['Fix client panel not loading after npm install (bundle registration id)', 'Fix second-level timestamp breaking DeepSeek prefix cache (date-level now, big token savings)', 'Fix memory import error (inherit external memory)'] },
|
package/package.json
CHANGED