dsh-session-superagent 0.9.175 → 0.9.176

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,39 @@
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.176] - 2026-11-04 —— 凭证页出图核对 + 历史 Release 补了一批
6
+
7
+ ### 真机界面(本轮出图核对)
8
+ 「设置 → 凭证」新增的「gh 账号」一行与「gh 账号目录」输入框已渲染正确:
9
+
10
+ ```
11
+ GitHub token 已配置
12
+ SSH 私钥 未配置(当前版本不使用)
13
+ gh 账号 宿主当前登录的账号
14
+
15
+ Token [ghp_… / github_pat_…(留空不改)]
16
+ gh 账号目录 [绝对路径(留空 = 用宿主账号)]
17
+ [保存凭证]
18
+ ```
19
+
20
+ 顺手把占位文案从「绝对路径;只想让它用自己的账号时填(留空 = 用宿主账号)」
21
+ 缩到「绝对路径(留空 = 用宿主账号)」—— 窄面板里原来会被截断,说明挪到底下的 Hint 里。
22
+
23
+ ### 历史 Release 补批
24
+ `release-gh.mjs` 新增 `--limit N`(按 CHANGELOG 顺序只处理前 N 个,避免一次造几百个):
25
+ ```
26
+ node scripts/release-gh.mjs --limit 40
27
+ → 新建 7 个(v0.9.139–v0.9.143 等),跳过 31 个已存在
28
+ → 现共 47 个 Release;0.9.153 / 0.9.137 找不到对应 commit,已跳过并记录
29
+ ```
30
+
31
+ ### 证据
32
+ ```
33
+ node --test → 274/274
34
+ 出图:shot-creds.png(深色 · 设置/凭证,760×760)
35
+ preview 场景新增「设置(凭证)」(之前只有来源/诊断/更新,凭证页从没出过图)
36
+ ```
37
+
5
38
  ## [0.9.175] - 2026-11-04 —— 吸收 PR #7 的好设计:`ghConfigDir`(去掉其中会漏路径的部分)
6
39
 
7
40
  > 作者 **@ysl289** 一天多没回(无新提交、无新评论)。按你的意思,**我们自己吸收好的部分**,
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.175-green.svg)](https://github.com/MYCF711/dsh-session-superagent/releases)
6
+ [![Version](https://img.shields.io/badge/version-0.9.176-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.175'
17
+ const CLIENT_VERSION = '0.9.176'
18
18
  let BASE = '/session-superagent'
19
19
  /**
20
20
  * 挑「最新的那个服务端实例」。
@@ -1720,7 +1720,7 @@ window.__ModuleLoader__.load({
1720
1720
  h(KeyValues, { rows: [['GitHub token', credentials.token === 'none' ? '未配置(回退到已登录的 gh CLI)' : '已配置'], ['SSH 私钥', credentials.sshKeyPath === 'none' ? '未配置(当前版本不使用)' : '已配置'],
1721
1721
  ['gh 账号', credentials.ghConfigDir === 'configured' ? '已绑定独立配置目录(评论挂智能体账号)' : '宿主当前登录的账号']] }),
1722
1722
  field('Token', h(Input, { type: 'password', value: token, placeholder: 'ghp_… / github_pat_…(留空不改)', onChange: (e) => setToken(e.target.value) })),
1723
- field('gh 账号目录', h(Input, { value: ghDir, placeholder: '绝对路径;只想让它用自己的账号时填(留空 = 用宿主账号)', onChange: (e) => setGhDir(e.target.value) })),
1723
+ field('gh 账号目录', h(Input, { value: ghDir, placeholder: '绝对路径(留空 = 用宿主账号)', onChange: (e) => setGhDir(e.target.value) })),
1724
1724
  h('div', { className: 'dt-actions' }, h(Btn, { variant: 'primary', onClick: saveCredentials }, '保存凭证')),
1725
1725
  h(Hint, null, '不填也能用:插件直接复用已登录的 gh CLI。填了 gh 账号目录,插件就用那个目录里的账号发言(git push 仍用会话自己的身份,唤醒消息里会提醒会话)。')),
1726
1726
  h(Section, { key: 'update', title: '版本与更新' },
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.175'
43
+ export const SERVER_VERSION = '0.9.176'
44
44
  export const inject = ['tools', 'agents', 'webServer']
45
45
  /** 一条会话每小时最多被唤醒几次(跨所有守累计)。单守上限挡不住多守叠加。 */
46
46
  // 本进程启动时刻:用来区分「刚重启还没轮到」与「定时器真的丢了」
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-session-superagent",
3
- "version": "0.9.175",
3
+ "version": "0.9.176",
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",