@sunshaobei/dsh-session-manager 3.0.8 → 3.1.0

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.
Files changed (3) hide show
  1. package/client.css +5 -0
  2. package/client.js +2 -6
  3. package/package.json +5 -2
package/client.css CHANGED
@@ -1611,3 +1611,8 @@ body:not([data-ds-dark-theme]) .dsh-trash-container { color-scheme: light; }
1611
1611
  animation: none;
1612
1612
  }
1613
1613
  }
1614
+
1615
+ /* Embedded in the plugin detail page: drop the outer padding/margins — the page provides its own. */
1616
+ .dsh-trash-embedded { padding: 0 !important; margin: 0 !important; }
1617
+ .dsh-trash-embedded .dsh-trash-header { padding: 0 0 8px 0 !important; margin: 0 !important; }
1618
+ .dsh-trash-embedded .dsh-trash-title { display: none !important; }
package/client.js CHANGED
@@ -1578,14 +1578,10 @@ window.__ModuleLoader__.load({
1578
1578
  return groupOrder.map((key) => groups.get(key)).filter(Boolean);
1579
1579
  }, [items, searchQuery, filterWorkspace, sortOrder, ctx]);
1580
1580
 
1581
- return h('div', { className: 'dsh-trash-container' },
1582
- // Header
1581
+ return h('div', { className: 'dsh-trash-container dsh-trash-embedded' },
1582
+ // Header (compact: only the archived count, no duplicated title)
1583
1583
  h('div', { className: 'dsh-trash-header' },
1584
1584
  h('div', { className: 'dsh-trash-header-left' },
1585
- h('h2', { className: 'dsh-trash-title' },
1586
- renderTrashIcon({ className: 'dsh-trash-icon-title' }),
1587
- t('recycleBin')
1588
- ),
1589
1585
  h('p', { className: 'dsh-trash-subtitle' }, t('archivedCount', { count: items.length }))
1590
1586
  )
1591
1587
  ),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunshaobei/dsh-session-manager",
3
- "version": "3.0.8",
3
+ "version": "3.1.0",
4
4
  "description": "DSH 会话回收站:会话详情归档入口、回收站多选还原/彻底删除、活跃会话保护。 · Session trash & permanent delete for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -28,7 +28,10 @@
28
28
  "recycle-bin",
29
29
  "session-management"
30
30
  ],
31
- "repository": "https://github.com/sunshaobei/dsh-session-manager.git",
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "git+https://github.com/sunshaobei/dsh-session-manager.git"
34
+ },
32
35
  "homepage": "https://github.com/sunshaobei/dsh-session-manager#readme",
33
36
  "bugs": {
34
37
  "url": "https://github.com/sunshaobei/dsh-session-manager/issues"