@xrn1997/dsh-session-delete 0.6.0 → 0.6.1
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 +5 -4
- package/lib/client.js +296 -101
- package/lib/index.js +269 -173
- package/lib/types/client/api-base.d.ts +19 -0
- package/lib/types/client/context-menu-actions.d.ts +47 -0
- package/lib/types/client/copy.d.ts +8 -0
- package/lib/types/client/delete-confirm.d.ts +2 -2
- package/lib/types/client/index.d.ts +2 -0
- package/lib/types/client/maintenance-settings.d.ts +3 -1
- package/lib/types/client/remote.d.ts +11 -7
- package/lib/types/client/trash-nav.d.ts +5 -1
- package/lib/types/client/trash-view.d.ts +3 -0
- package/lib/types/client/ui/MenuItemButton.d.ts +1 -1
- package/lib/types/client/ui/Toast.d.ts +4 -1
- package/lib/types/index.d.ts +5 -4
- package/lib/types/ports/fs-port.d.ts +10 -0
- package/lib/types/ports/host-port.d.ts +4 -2
- package/lib/types/trash/attachments.d.ts +15 -2
- package/lib/types/verbs/errors.d.ts +3 -1
- package/lib/types/verbs/permanent-removal.d.ts +10 -5
- package/package.json +13 -8
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://github.com/xrn1997/dsh-session-delete/actions/workflows/ci.yml)
|
|
4
4
|
[](https://www.npmjs.com/package/@xrn1997/dsh-session-delete)
|
|
5
5
|
[](LICENSE)
|
|
6
|
-
[](#安装)
|
|
7
7
|
|
|
8
8
|
给 DeepSeek Harness(DSH)加一个**删除会话**的能力。DSH 官方有归档、没有删除——归档只是把会话从列表里挪走,文件还在。本插件补上删除,并且让删除可恢复:删除 = 移入回收站,另有一个显式的「彻底删除」。
|
|
9
9
|
|
|
@@ -58,8 +58,9 @@ dsh plugin --profile <profile> remove @xrn1997/dsh-session-delete
|
|
|
58
58
|
|
|
59
59
|
**兼容性分两层,别混**:
|
|
60
60
|
|
|
61
|
-
- **装得上**由 `package.json` 的 `engines.dsh` 决定:宿主拿运行中的版本比这个区间,不满足即拒绝并回滚。窗口是 **`>=0.1.7-rc.2 <0.3.0-0
|
|
62
|
-
- **真跑过**由 `dsh.compatibility.dshReleases` 记录,只列桌面真机实测过的宿主:**DSH Desktop 0.2.0-rc.2、0.2.1-rc.1、0.2.1-rc.2、0.2.1-rc.3、0.2.1-rc.5**(均 `compatible
|
|
61
|
+
- **装得上**由 `package.json` 的 `engines.dsh` 决定:宿主拿运行中的版本比这个区间,不满足即拒绝并回滚。窗口是 **`>=0.1.7-rc.2 <0.3.0-0`**(预发布版本参与匹配)。地板由两件硬依赖定:`sidebar.session.row.leading`(0.1.7-rc.2 首现)与 `workspaceRegistry.unarchiveSession`;`0.1.7-rc.2` 是第一个同时具备全部所需槽位与服务方法的代次,CLI 台架验过四个槽位齐全、激活零错误。更低的 `0.1.7-rc.1` 缺行首勾选槽位;0.1.7-alpha、0.1.6、0.1.5 还缺会话行菜单/行尾槽位或 `unarchiveSession`,**不要装**。
|
|
62
|
+
- **真跑过**由 `dsh.compatibility.dshReleases` 记录,只列桌面真机实测过的宿主:**DSH Desktop 0.2.0-rc.2、0.2.1-rc.1、0.2.1-rc.2、0.2.1-rc.3、0.2.1-rc.5、0.2.2-rc.1**(均 `compatible`)。窗口内的其他代次装得上但没在桌面真机上验过,不作为推荐目标;窗口外的一律拒装。
|
|
63
|
+
- **部署注意**:exact Fetch 路由的 owner principal 校验(非 owner 回 403)自 `0.2.1-alpha.3` 起才有;更早的代次(含 `0.2.0-rc.2`)只有宿主 `/api` 的 trusted-host / 浏览器认证。单机 web / 桌面标准组合可用;要跑多 Peer 部署,优先名单里带这道校验的实测代次(`0.2.1-rc.1` 起)。
|
|
63
64
|
|
|
64
65
|
## 用法
|
|
65
66
|
|
|
@@ -161,4 +162,4 @@ dsh plugin --profile <profile> remove @xrn1997/dsh-session-delete
|
|
|
161
162
|
|
|
162
163
|
## 许可
|
|
163
164
|
|
|
164
|
-
[Apache-2.0](LICENSE)
|
|
165
|
+
[Apache-2.0](LICENSE)。
|