dsh-sweeper 0.0.0-preview.34.b324b9d → 0.0.0-preview.36.74b3bbf

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
@@ -6,6 +6,10 @@
6
6
  清理对话留下的临时文件、缓存与垃圾,释放磁盘空间(常被叫作「清理内存」,实际清理的是磁盘上的文件,不动进程内存)。
7
7
  静态扫描历史会话里的工具产物,分两档展示;你自己勾选,点「清理选中」批量移到插件回收站,可随时恢复。
8
8
 
9
+ ## 反馈
10
+
11
+ 设置页右上角有「★ 点个 star」,页面底部有「反馈问题或建议」,都会跳到 GitHub。装完之后遇到任何不对的地方,直接开 issue 就行——比起下载数,我更想知道它在哪里判断错了。
12
+
9
13
  ## 截图
10
14
 
11
15
  三张都是真实数据(46 个会话、16,400 次工具调用,模型 `deepseek-v4.1-flash` 的真实回答),不是设计稿。
package/lib/client.js CHANGED
@@ -6,7 +6,10 @@ window.__ModuleLoader__.load({
6
6
  const { useState, useEffect, useMemo, useRef, useCallback } = React
7
7
 
8
8
  const API = '/plugins/dsh-sweeper'
9
- const STYLE_ID = 'dsh-sweeper-style'
9
+ const REPO_URL = 'https://github.com/Dushiqi1987/dsh-sweeper'
10
+ const ISSUE_URL = 'https://github.com/Dushiqi1987/dsh-sweeper/issues/new'
11
+
12
+ const STYLE_ID = 'dsh-sweeper-style'
10
13
 
11
14
  // ── theme ───────────────────────────────────────────────────────────────
12
15
  // Everything is expressed with host tokens so light/dark both work; the
@@ -1490,7 +1493,7 @@ window.__ModuleLoader__.load({
1490
1493
 
1491
1494
  return h('div', { className: 'sw-root', style: { padding: '16px 18px 96px', maxWidth: 1000 } },
1492
1495
  // header
1493
- h('div', { style: { display: 'flex', alignItems: 'center', gap: 12 } },
1496
+ h('div', { style: { display: 'flex', alignItems: 'center', gap: 10, flexWrap: 'wrap' } },
1494
1497
  h('div', {
1495
1498
  style: {
1496
1499
  width: 40, height: 40, borderRadius: 12, display: 'grid', placeItems: 'center', flex: 'none',
@@ -1510,6 +1513,15 @@ window.__ModuleLoader__.load({
1510
1513
  disabled: scanning,
1511
1514
  }),
1512
1515
  report ? h(Btn, { label: '导出', icon: h(Icon, { name: 'download', size: 14 }), onClick: exportJSON, disabled: scanning }) : null,
1516
+ h('a', {
1517
+ href: REPO_URL, target: '_blank', rel: 'noreferrer noopener',
1518
+ title: '到 GitHub 给这个插件点个 star',
1519
+ style: {
1520
+ display: 'inline-flex', alignItems: 'center', gap: 6, height: 30, padding: '0 11px',
1521
+ borderRadius: 8, border: '1px solid ' + T.border, color: T.text, textDecoration: 'none',
1522
+ fontSize: 12.5, whiteSpace: 'nowrap',
1523
+ },
1524
+ }, h('span', { style: { color: T.warn } }, '★'), '点个 star'),
1513
1525
  ),
1514
1526
 
1515
1527
  // stats
@@ -1619,6 +1631,18 @@ window.__ModuleLoader__.load({
1619
1631
  onRefresh: loadTrash,
1620
1632
  }) : null,
1621
1633
 
1634
+ h('div', {
1635
+ style: {
1636
+ display: 'flex', alignItems: 'center', gap: 8, flexWrap: 'wrap',
1637
+ marginTop: 18, fontSize: 11.5, color: T.faint,
1638
+ },
1639
+ },
1640
+ h('span', null, '如果它帮你省了一点清理的时间,'),
1641
+ h('a', { href: REPO_URL, target: '_blank', rel: 'noreferrer noopener', style: { color: T.accent, textDecoration: 'none' } }, '给作者点个 star 支持一下'),
1642
+ h('span', { style: { opacity: .5 } }, '·'),
1643
+ h('a', { href: ISSUE_URL, target: '_blank', rel: 'noreferrer noopener', style: { color: T.accent, textDecoration: 'none' } }, '反馈问题或建议'),
1644
+ ),
1645
+
1622
1646
  // selection bar
1623
1647
  tab === 'report' && chosen.length ? h('div', {
1624
1648
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-sweeper",
3
- "version": "0.0.0-preview.34.b324b9d",
3
+ "version": "0.0.0-preview.36.74b3bbf",
4
4
  "type": "module",
5
5
  "description": "清理对话留下的临时文件与垃圾,释放磁盘空间;只报告,清理进回收站可恢复 (cleanup junk files conversations leave on disk, free up space)",
6
6
  "keywords": [