dsh-session-superagent 0.9.84 → 0.9.85

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,22 @@
2
2
 
3
3
  格式参照 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
4
4
 
5
+ ## [0.9.85] - 2026-11-02 —— 知识库加一条「第一次读这三篇」的入口(并有门禁守着)
6
+
7
+ ### 为什么
8
+ 112 篇、9 个板块,按主题分组对熟悉的人好用,**对新人等于没有入口** —— 他不知道自己该从哪篇开始。
9
+
10
+ ### 做法
11
+ `docs/kb/README.md` 顶部加 3 篇阅读路径(规则对齐 → 门禁可信度 → 错误分类 ),
12
+ `check-docs.mjs` 增加第 4 项检查:
13
+ - 路径必须存在且有 ≥ 3 篇;
14
+ - 路径里的文件必须真实存在。
15
+
16
+ ### 写的时候踩到的两个真问题
17
+ 1. 第一版检查用了不存在的变量 `ok` → 路径一坏就 **抛异常**(比不检查更糟);
18
+ 2. 检查块被插进了 `countMismatch` 的 `else` 分支里,只有"篇数一致"时才跑 ——
19
+ 重构到独立段落后,验证:删掉一篇链接 → `FAIL 知识库索引缺「第一次读」的阅读路径`,exit=1;还原后 exit=0。
20
+
5
21
  ## [0.9.84] - 2026-11-02 —— ack 失败分两类:会不会自己好,客户要知道
6
22
 
7
23
  ### 为什么
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  <img src="assets/icon-180.png" width="88" height="88" alt="">
4
4
 
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
6
- [![Version](https://img.shields.io/badge/version-0.9.84-green.svg)](https://github.com/MYCF711/dsh-session-superagent/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.9.85-green.svg)](https://github.com/MYCF711/dsh-session-superagent/releases)
7
7
  [![npm](https://img.shields.io/npm/v/dsh-session-superagent.svg)](https://www.npmjs.com/package/dsh-session-superagent)
8
8
  [![dsh](https://img.shields.io/badge/DeepSeek%20Harness-plugin-orange.svg)](https://github.com/topics/dsh-plugin)
9
9
 
package/client.js CHANGED
@@ -14,7 +14,7 @@ window.__ModuleLoader__.load({
14
14
  const { useCallback, useEffect, useRef, useState } = React
15
15
 
16
16
  // 客户端版本探针:每次模块加载写一次,用来确认浏览器里跑的是哪一版
17
- const CLIENT_VERSION = '0.9.84'
17
+ const CLIENT_VERSION = '0.9.85'
18
18
  let BASE = '/session-superagent'
19
19
  /**
20
20
  * 挑「最新的那个服务端实例」。
package/lib/index.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
 
41
41
  export const name = 'dsh-session-superagent'
42
42
  /** 服务端版本:随 package.json 同步(meta 测试守着)。客户端据此挑「最新的那个实例」。 */
43
- export const SERVER_VERSION = '0.9.84'
43
+ export const SERVER_VERSION = '0.9.85'
44
44
  export const inject = ['tools', 'agents', 'webServer']
45
45
  /** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
46
46
  const DEFAULT_SESSION_WAKES = 12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-session-superagent",
3
- "version": "0.9.84",
3
+ "version": "0.9.85",
4
4
  "description": "Session-level superagent for DeepSeek Harness: watch a GitHub repository and wake a session when something needs doing. Credentials never reach the model.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",