dsh-session-superagent 0.9.23 → 0.9.24
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 +20 -0
- package/README.md +1 -1
- package/client.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
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.24] - 2026-11-02 —— KB 里的文件路径也交叉验证,抓到 1 个真实漂移
|
|
6
|
+
|
|
7
|
+
### 做法(延续上一条"KB 要能被审计")
|
|
8
|
+
审计脚本再扫一遍 KB 里形如 `scripts/…` / `lib/…` / `docs/…` 的路径,逐个 `existsSync`。
|
|
9
|
+
|
|
10
|
+
### 实测
|
|
11
|
+
```
|
|
12
|
+
提到的文件路径 26 个
|
|
13
|
+
FAIL 这些路径在仓库里不存在(重构后忘了改 KB):
|
|
14
|
+
docs/UPDATING.md <- docs-four-kinds.md
|
|
15
|
+
PASS KB 提到的每个文件路径都真实存在(修正后)
|
|
16
|
+
```
|
|
17
|
+
`UPDATING.md` 真实位置是**仓库根目录**,KB 里多写了 `docs/` 前缀 ——
|
|
18
|
+
这种错客户照着找会直接掉进死胡同。
|
|
19
|
+
|
|
20
|
+
(顺带把自己也修了一遍:审计文档里描述这条错误时又写了一次该路径,导致自检红;改成描述性说法。)
|
|
21
|
+
|
|
22
|
+
### 门禁
|
|
23
|
+
已并入 `preflight --fast` 的「知识库有据」一项,输出改为同时包含 ✅ 与路径两项结论。
|
|
24
|
+
|
|
5
25
|
## [0.9.23] - 2026-11-02 —— 知识库的 ✅ 现在要能被 CHANGELOG 交叉验证
|
|
6
26
|
|
|
7
27
|
### 学到的(知识库第 72 条)
|
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)
|
|
6
|
-
[](https://github.com/MYCF711/dsh-session-superagent/releases)
|
|
7
7
|
[](https://www.npmjs.com/package/dsh-session-superagent)
|
|
8
8
|
[](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
|
+
const CLIENT_VERSION = '0.9.24'
|
|
18
18
|
let BASE = '/session-superagent'
|
|
19
19
|
/**
|
|
20
20
|
* 挑「最新的那个服务端实例」。
|
package/lib/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
|
|
34
34
|
export const name = 'dsh-session-superagent'
|
|
35
35
|
/** 服务端版本:随 package.json 同步(meta 测试守着)。客户端据此挑「最新的那个实例」。 */
|
|
36
|
-
export const SERVER_VERSION = '0.9.
|
|
36
|
+
export const SERVER_VERSION = '0.9.24'
|
|
37
37
|
export const inject = ['tools', 'agents', 'webServer']
|
|
38
38
|
/** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
|
|
39
39
|
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.
|
|
3
|
+
"version": "0.9.24",
|
|
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",
|