@kangyishuai/dsh-session-delete 0.4.4 → 0.4.6

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 CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  Unofficial plugin for [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness). Not affiliated with DeepSeek.
10
10
 
11
- > **Status: v0.4.2, early.** Verified on DSH 0.2.2-rc.1 with `pnpm smoke:session-delete` (24 end-to-end assertions) plus a check of the plugin status in the desktop GUI. Treat it as young software and keep backups of anything you cannot lose.
11
+ > **Status: early.** Verified on DSH 0.2.2-rc.1 with `pnpm smoke:session-delete` (24 end-to-end assertions plus a read-only desktop pass) and `pnpm probe:runtime`. `pnpm gate session-delete` runs the whole release gate in one command. Treat it as young software and keep backups of anything you cannot lose.
12
12
 
13
13
 
14
14
  ![Delete confirmation with the plan: size, sub-sessions, references to clean](https://raw.githubusercontent.com/kangyishuai/dsh-plugins/main/packages/session-delete/docs/images/overview.png)
package/README.zh-CN.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  非官方 [DeepSeek Harness (DSH)](https://github.com/deepseek-ai/deepseek-harness) 插件,与 DeepSeek 无关。
10
10
 
11
- > **状态:v0.4.2,早期可用。** 已在 DSH 0.2.2-rc.1 上用 `pnpm smoke:session-delete`(24 项端到端断言)验证,并确认桌面版里插件正常激活、状态条不是只读模式。仍是年轻软件,重要数据请自行备份。
11
+ > **状态:早期可用。** 已在 DSH 0.2.2-rc.1 上用 `pnpm smoke:session-delete`(24 项端到端断言 + 一次只读桌面回归)和 `pnpm probe:runtime` 验证。`pnpm gate session-delete` 一条命令跑完发版门禁。仍是年轻软件,重要数据请自行备份。
12
12
 
13
13
 
14
14
  ![删除确认框:展示体积、子会话和将要清理的引用](https://raw.githubusercontent.com/kangyishuai/dsh-plugins/main/packages/session-delete/docs/images/overview.png)
package/lib/client.js CHANGED
@@ -1447,6 +1447,8 @@ window.__ModuleLoader__.load({
1447
1447
  // 用真实的 :hover / :focus-visible 伪类,避免依赖 React 合成事件与内联样式。
1448
1448
  ctx.effect(() => {
1449
1449
  const style = document.createElement("style");
1450
+ // 标注归属:便于在 DevTools 里认出这段样式、也方便测试断言插件确实加载了。
1451
+ style.setAttribute("data-plugin", "@kangyishuai/dsh-session-delete");
1450
1452
  style.textContent = [
1451
1453
  ".dsh-sdel-btn{background:transparent;color:var(--dsw-alias-label-primary,inherit);border:1px solid var(--dsw-alias-border-l2,rgba(128,128,128,.35));transition:background-color 150ms ease,border-color 150ms ease,transform 80ms ease,color 150ms ease;}",
1452
1454
  ".dsh-sdel-btn:hover{background:var(--dsw-alias-interactive-bg-hover,rgba(128,128,128,.16));}",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kangyishuai/dsh-session-delete",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "Real session deletion for DSH: trash by default, plan before delete, audit log, residue receipt",
5
5
  "keywords": [
6
6
  "dsh",