dsh-over-ssh 0.2.0 → 0.2.2
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/README.md +13 -4
- package/agents/agent-manifest.json +6 -6
- package/agents/linux-amd64/dsh-over-ssh-agent +0 -0
- package/agents/linux-arm64/dsh-over-ssh-agent +0 -0
- package/lib/client.js +613 -257
- package/lib/file-references.js +17 -0
- package/lib/fs.js +90 -20
- package/lib/index.js +1385 -463
- package/lib/terminal-wrapper.js +4 -3
- package/lib/types/src/host/app/session-admin/session-admin-contract.d.ts +11 -2
- package/lib/types/src/host/domain/session/session-admin.d.ts +5 -0
- package/lib/types/src/host/infra/transport/ssh/ssh2-transport.d.ts +8 -0
- package/lib/types/src/host/integration/fs/fs-provider.d.ts +9 -3
- package/lib/types/src/host/integration/session/session-header.d.ts +200 -0
- package/lib/types/src/wiring/helpers.d.ts +11 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -35,6 +35,15 @@ shell:
|
|
|
35
35
|
|
|
36
36
|
不配也能用,只是 Web 终端永远开在本地(远程文件、远端执行、`@` 补全不受影响)。
|
|
37
37
|
|
|
38
|
+
## 0.2.2 更新
|
|
39
|
+
|
|
40
|
+
- 「添加目录」按会话作用域显示与删除,fork 子会话继承父会话的目录且立即可见。
|
|
41
|
+
- 会话面板:删除/还原/清理都有确认与部分失败说明;运行中的会话拒绝删除;回收站条目显示标题与删除时间。
|
|
42
|
+
- SSH 传输:连接闪断后自动重建(不再永久超时);版本守卫会校验摘要来源,损坏/缺失的摘要不再当守卫。
|
|
43
|
+
- 宿主 HTTP:请求体超限、路径含 NUL、根外访问返回 400 而不是 500;`?workspace=` 单独给出时也生效。
|
|
44
|
+
- 性能:会话面板刷新的日志头读取加签名缓存(31 会话冷 17 ms → 热 1.3–3.7 ms);`GET /roots` 与
|
|
45
|
+
`user-roots.json` 读取走 stat 短路;`?session=` 过滤先过滤后投影。
|
|
46
|
+
|
|
38
47
|
## 发布说明
|
|
39
48
|
|
|
40
49
|
包里带了两个平台的 Tier 2 代理二进制(纯静态,远端零依赖)。源码在配套的 Go 仓库
|
|
@@ -45,11 +54,11 @@ shell:
|
|
|
45
54
|
|
|
46
55
|
| 平台 | 字节 | sha256 |
|
|
47
56
|
|---|---|---|
|
|
48
|
-
| linux-amd64 | 4,
|
|
49
|
-
| linux-arm64 | 4,653,216 | `
|
|
57
|
+
| linux-amd64 | 4,944,032 | `d45237ef1bfec1955fb5e6a2391bd651ffeaffb89e781e1c518e9e9836eec974` |
|
|
58
|
+
| linux-arm64 | 4,653,216 | `237a3cc9f5ae57f752f62eee4f8a57bd8c4684fd4d3fa6ab5851115baa844ccd` |
|
|
50
59
|
|
|
51
|
-
- 代理版本:`0.2.
|
|
52
|
-
- 源码提交:`
|
|
60
|
+
- 代理版本:`0.2.2-e019f2d`
|
|
61
|
+
- 源码提交:`e019f2d`(Go 仓 `dsh-over-ssh-agent` 的这个提交)
|
|
53
62
|
- 清单原文:包内 `agents/agent-manifest.json`
|
|
54
63
|
- 核对:`sha256sum agents/<平台>/dsh-over-ssh-agent` 与上表比对;按上面的提交检出 Go 仓后
|
|
55
64
|
`scripts/check.sh` 可重建同样的产物。
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"agentVersion": "0.2.
|
|
5
|
-
"sourceCommit": "
|
|
3
|
+
"generatedAt": "2026-11-06T16:15:01.747Z",
|
|
4
|
+
"agentVersion": "0.2.2-e019f2d",
|
|
5
|
+
"sourceCommit": "e019f2d",
|
|
6
6
|
"artifacts": [
|
|
7
7
|
{
|
|
8
8
|
"platform": "linux-amd64",
|
|
9
9
|
"path": "linux-amd64/dsh-over-ssh-agent",
|
|
10
|
-
"sha256": "
|
|
11
|
-
"bytes":
|
|
10
|
+
"sha256": "d45237ef1bfec1955fb5e6a2391bd651ffeaffb89e781e1c518e9e9836eec974",
|
|
11
|
+
"bytes": 4944032
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"platform": "linux-arm64",
|
|
15
15
|
"path": "linux-arm64/dsh-over-ssh-agent",
|
|
16
|
-
"sha256": "
|
|
16
|
+
"sha256": "237a3cc9f5ae57f752f62eee4f8a57bd8c4684fd4d3fa6ab5851115baa844ccd",
|
|
17
17
|
"bytes": 4653216
|
|
18
18
|
}
|
|
19
19
|
]
|
|
Binary file
|
|
Binary file
|