@zfdx123/dsh-session-cleaner 1.0.4 → 1.0.5

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 (2) hide show
  1. package/client.js +7 -7
  2. package/package.json +7 -7
package/client.js CHANGED
@@ -149,9 +149,9 @@ window.__ModuleLoader__.load({
149
149
  if (
150
150
  typeof primitives?.Modal === 'function' &&
151
151
  typeof primitives?.Button === 'function' &&
152
- typeof primitives?.IconSearchOutline16 === 'function' &&
153
- typeof primitives?.IconChevronDownOutline14 === 'function' &&
154
- typeof primitives?.IconTrashOutline16 === 'function'
152
+ typeof primitives?.IconSearchOutline === 'function' &&
153
+ typeof primitives?.IconChevronDownOutline === 'function' &&
154
+ typeof primitives?.IconTrashOutline === 'function'
155
155
  )
156
156
  return primitives
157
157
  } catch (error) {
@@ -701,7 +701,7 @@ window.__ModuleLoader__.load({
701
701
  React.createElement(Glyph, {
702
702
  key: 'chevron',
703
703
  primitives,
704
- name: 'IconChevronDownOutline14',
704
+ name: 'IconChevronDownOutline',
705
705
  size: 12,
706
706
  box: Object.assign({}, S.chevron, collapsed ? S.chevronFolded : {}),
707
707
  fallback: ChevronIcon,
@@ -723,7 +723,7 @@ window.__ModuleLoader__.load({
723
723
  React.createElement(Glyph, {
724
724
  key: 'i',
725
725
  primitives,
726
- name: 'IconSearchOutline16',
726
+ name: 'IconSearchOutline',
727
727
  size: 16,
728
728
  box: S.searchGlyph,
729
729
  fallback: SearchIcon,
@@ -981,7 +981,7 @@ window.__ModuleLoader__.load({
981
981
  * root mounted behind it. Null keeps the hand-drawn SVG above in charge.
982
982
  */
983
983
  function kitTrashIcon(primitives) {
984
- const Icon = kitIcon(primitives, 'IconTrashOutline16')
984
+ const Icon = kitIcon(primitives, 'IconTrashOutline')
985
985
  if (Icon === null) return null
986
986
  try {
987
987
  const scratch = document.createElement('span')
@@ -992,7 +992,7 @@ window.__ModuleLoader__.load({
992
992
  root.unmount()
993
993
  return node
994
994
  } catch (error) {
995
- report('icon-fallback', { icon: 'IconTrashOutline16', message: String(error?.message ?? error) })
995
+ report('icon-fallback', { icon: 'IconTrashOutline', message: String(error?.message ?? error) })
996
996
  return null
997
997
  }
998
998
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zfdx123/dsh-session-cleaner",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "会话清理:在运行中的 web 运行时里彻底删除 DSH 会话——实时 store 条目、工作区记录、磁盘产物与投影缓存行一并清掉,并在会话行菜单里加一个删除入口。",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/zfdx123/dsh-atelier/tree/main/packages/dsh-session-cleaner#readme",
@@ -31,14 +31,14 @@
31
31
  ],
32
32
  "engines": {
33
33
  "node": "^22.19.0 || >=24.0.0",
34
- "dsh": "^0.1.6-alpha.1"
34
+ "dsh": "^0.1.7-rc.2"
35
35
  },
36
36
  "peerDependencies": {
37
- "@deepseek-ai/cordis": "^4.0.2",
38
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
39
- "@deepseek-ai/dsh-host-webserver": "^0.1.6-alpha.1",
40
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
41
- "@deepseek-ai/dsh-workspace": "^0.1.6-alpha.1"
37
+ "@deepseek-ai/cordis": "^4.0.4",
38
+ "@deepseek-ai/dsh-agent": "^0.1.7-rc.2",
39
+ "@deepseek-ai/dsh-host-webserver": "^0.1.7-rc.2",
40
+ "@deepseek-ai/dsh-session": "^0.1.7-rc.2",
41
+ "@deepseek-ai/dsh-workspace": "^0.1.7-rc.2"
42
42
  },
43
43
  "peerDependenciesMeta": {
44
44
  "@deepseek-ai/dsh-agent": {