dsh-session-superagent 0.9.66 → 0.9.67

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.67] - 2026-11-02 —— 注入验证变成"表格驱动 + 覆盖率可见"
6
+
7
+ ### 做了什么
8
+ 1. `test/fixtures/gate-coverage.json`:哪几项检查有注入样例,一处登记;
9
+ 2. 新增 3 个注入(**错误建议**超长 / **全库文档一致**假工具名 / **文案快照**改标题)→ **11/11 全被检测到**;
10
+ 3. `verify-gates` 结尾打印覆盖率:
11
+ ```
12
+ 注入覆盖:11/27 项检查有注入验证
13
+ 未验证(不一定是问题,但要知道):单测 node --test、临时目录收口、门禁自检、…
14
+ ```
15
+ 4. `docs/验收清单.md` 多一列「注入验证」✅/—,并写明 **✅ = 有注入样例;— = 还没注入过,不等于没检查**。
16
+
17
+ ### 为什么值得
18
+ "哪些门禁被验过"以前只在我脑子里;现在写在表里,而且**没验过的会自己列出来**。
19
+ 这让"覆盖率提升"变成一个可以持续推进的清单,而不是一次性的热情。
20
+
5
21
  ## [0.9.66] - 2026-11-02 —— 门禁自检扩到 8 项注入(并把它跑快)
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.66-green.svg)](https://github.com/MYCF711/dsh-session-superagent/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.9.67-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.66'
17
+ const CLIENT_VERSION = '0.9.67'
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.66'
43
+ export const SERVER_VERSION = '0.9.67'
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.66",
3
+ "version": "0.9.67",
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",