dsh-session-superagent 0.9.38 → 0.9.39
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 +19 -0
- package/README.md +1 -1
- package/client.js +3 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
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.39] - 2026-11-02 —— 面板补上「叫醒之后会发生什么」
|
|
6
|
+
|
|
7
|
+
### 学到的(知识库第 87 条)
|
|
8
|
+
同一套规则、两个读者:文案可以不同,**规则必须一致**。
|
|
9
|
+
|
|
10
|
+
### 比对结果
|
|
11
|
+
| 位置 | 原来说了什么 |
|
|
12
|
+
|---|---|
|
|
13
|
+
| 唤醒消息 | 接下来 1/2/3:读 AGENTS.md → 修/回/待定 → 写回 + `watch_ack` |
|
|
14
|
+
| 面板 | 只说"会被叫醒"和"点立刻/看需要关注",**完全没提叫醒之后的三步** |
|
|
15
|
+
|
|
16
|
+
客户因此不知道"不做也要 ack"这条 —— 而这正是 0.9.11「叫醒了没回音」要治的病。
|
|
17
|
+
|
|
18
|
+
### 改法
|
|
19
|
+
面板空态提示补一句(人的视角,规则不变):
|
|
20
|
+
> 叫醒之后:会话先读仓库 AGENTS.md → 决定「修 / 回 / 待定」→ 做完写回并 watch_ack 打标签;不做也要说明理由并 ack。
|
|
21
|
+
|
|
22
|
+
用例锁死三件事都在面板出现:`AGENTS.md` / `修 / 回 / 待定` / `watch_ack`。
|
|
23
|
+
|
|
5
24
|
## [0.9.38] - 2026-11-02 —— 全 docs/ 一致性体检(并删掉一条假警报太多的检查)
|
|
6
25
|
|
|
7
26
|
### 学到的(知识库第 86 条)
|
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.39'
|
|
18
18
|
let BASE = '/session-superagent'
|
|
19
19
|
/**
|
|
20
20
|
* 挑「最新的那个服务端实例」。
|
|
@@ -1186,7 +1186,8 @@ window.__ModuleLoader__.load({
|
|
|
1186
1186
|
(watchers.length > 0 && watchers.every((w) => !w.lastWake))
|
|
1187
1187
|
? h('div', { className: 'sa-dock-foot', key: 'waiting' },
|
|
1188
1188
|
'还没有唤醒过:守会在仓库出现新条目时叫醒这个会话。'
|
|
1189
|
-
+ '想先试一次,点行里的「立刻」;如果一直没动静,看上面「需要关注」里有没有被过滤的记录。'
|
|
1189
|
+
+ '想先试一次,点行里的「立刻」;如果一直没动静,看上面「需要关注」里有没有被过滤的记录。'
|
|
1190
|
+
+ '叫醒之后:会话先读仓库 AGENTS.md → 决定「修 / 回 / 待定」→ 做完写回并 watch_ack 打标签;不做也要说明理由并 ack。')
|
|
1190
1191
|
: null,
|
|
1191
1192
|
// 需要重启:这是"功能看起来没生效"最常见的根因,必须显眼
|
|
1192
1193
|
(body.installedVersion && body.runningVersion && body.installedVersion !== body.runningVersion)
|
package/lib/index.js
CHANGED
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
|
|
40
40
|
export const name = 'dsh-session-superagent'
|
|
41
41
|
/** 服务端版本:随 package.json 同步(meta 测试守着)。客户端据此挑「最新的那个实例」。 */
|
|
42
|
-
export const SERVER_VERSION = '0.9.
|
|
42
|
+
export const SERVER_VERSION = '0.9.39'
|
|
43
43
|
export const inject = ['tools', 'agents', 'webServer']
|
|
44
44
|
/** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
|
|
45
45
|
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.39",
|
|
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",
|