dsh-session-superagent 0.9.17 → 0.9.18

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,31 @@
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.18] - 2026-11-02 —— 知识库索引重排:66 行扁平表 → 9 个板块
6
+
7
+ ### 学到的(知识库第 67 条)
8
+ 索引按**问题**分组,别按时间堆。读者是带着"为什么没叫醒我"来的,不是带着版本号来的。
9
+
10
+ ### 重构前(实测)
11
+ 66 行一张表、14 个标签,其中 `GitHub API 性能` / `状态可靠性` / `限额` 分别是前几组的子集 ——
12
+ 近义重复让"查资料"变成"读表格"。
13
+
14
+ ### 重构后
15
+ 9 个板块 + 顶部"板块 → 篇数 → 看点"表;每篇保留「状态」列(✅ 版本 / ⚠️ 未落地),
16
+ 不会因为重排丢掉"哪些是真做过的"。
17
+
18
+ ### 顺手给索引加门禁
19
+ `check-docs.mjs` 原本只查孤儿文档,现在多查一项:**顶部声明的篇数必须等于板块下实际列出的条数**。
20
+ 重构索引最易出的错就是"表头写 11 篇、下面只列 9 篇",这种错单看表看不出来。
21
+
22
+ 实测输出:
23
+ ```
24
+ 扫描 89 篇 Markdown,86 个内部链接目标
25
+ PASS 所有内部链接都能解析
26
+ PASS 知识库文档全部被索引
27
+ PASS 索引板块篇数与实际条目一致
28
+ ```
29
+
5
30
  ## [0.9.17] - 2026-11-02 —— 抽检扩到六条路径:抓到"同一件事两种说法"
6
31
 
7
32
  ### 学到的(知识库第 66 条)
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.17-green.svg)](https://github.com/MYCF711/dsh-session-superagent/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.9.18-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.17'
17
+ const CLIENT_VERSION = '0.9.18'
18
18
  let BASE = '/session-superagent'
19
19
  /**
20
20
  * 挑「最新的那个服务端实例」。
package/lib/index.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
 
33
33
  export const name = 'dsh-session-superagent'
34
34
  /** 服务端版本:随 package.json 同步(meta 测试守着)。客户端据此挑「最新的那个实例」。 */
35
- export const SERVER_VERSION = '0.9.17'
35
+ export const SERVER_VERSION = '0.9.18'
36
36
  export const inject = ['tools', 'agents', 'webServer']
37
37
  /** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
38
38
  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.17",
3
+ "version": "0.9.18",
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",