dsh-session-title-stamp 0.8.1 → 0.8.3

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
@@ -9,10 +9,11 @@ English | [中文](./README.zh.md)
9
9
  A DeepSeek Harness title provider for a configurable `DATE | CATEGORY | NAME`
10
10
  title. Beyond automatic naming:
11
11
 
12
+ - **Generate title on demand** — the conversation-header ↻ button, the session
13
+ row's **Generate title** menu item, or `/retitle`. One click renames the
14
+ session in place, no dialog.
12
15
  - **Auto refresh** — after a completed turn, with a 2-minute cooldown and a
13
16
  100-message freeze; forks and user-pinned titles are skipped.
14
- - **Generate title** — the conversation-header ↻ button, the session row's
15
- **Generate title** menu item, or `/retitle`.
16
17
  - **Copy title** — an extra item in the session `···` menu copies the full title.
17
18
  - **Settings page** — preview and change format, emoji, title language, and refresh cadence without editing YAML.
18
19
  - **Optional category emoji** — `categoryEmoji: true` renders titles such as
@@ -24,6 +25,9 @@ title. Beyond automatic naming:
24
25
  - **Failure-safe** — a failed retitle keeps the current title.
25
26
  - **Zero build** — pure Host logic plus a small hand-written browser half.
26
27
 
28
+ An automatic name is a proposal, not a verdict: when it misses the point, hit ↻
29
+ and the same session is renamed in place.
30
+
27
31
  > **The title tells you what the session was about; the hover card tells you what it cost.**
28
32
  > Duration, estimated CNY, and tokens are one hover away — no dashboard.
29
33
 
@@ -50,9 +54,11 @@ the English labels above.
50
54
 
51
55
  ## Screenshots
52
56
 
53
- | Titles at a glance | Settings | Hover stats |
54
- |---|---|---|
55
- | <img src="docs/screenshots/01-session-list.png" width="320" alt="Date, category and name titles in the session list"> | <img src="docs/screenshots/02-settings.png" width="320" alt="Session title settings page"> | <img src="docs/screenshots/03-hover-stats.png" width="320" alt="Hover card with duration, estimated cost and tokens"> |
57
+ | One-click Generate title | Generate title in the session menu |
58
+ |:---:|:---:|
59
+ | <img src="docs/screenshots/00-generate-title.png" width="360" alt="Conversation header with the Generate title refresh button"> | <img src="docs/screenshots/01-session-list.png" width="360" alt="Session list with the Generate title menu open"> |
60
+ | **Hover stats** | **Settings page** |
61
+ | <img src="docs/screenshots/03-hover-stats.png" width="360" alt="Hover card with duration, estimated cost and tokens"> | <img src="docs/screenshots/02-settings.png" width="360" alt="Session title settings page"> |
56
62
 
57
63
  ## Why
58
64
 
@@ -74,7 +80,7 @@ and mirrors conventions used by other coding agents.
74
80
  Add this market index source in **Plugins → Discover → Index sources**:
75
81
 
76
82
  ```text
77
- https://cdn.jsdelivr.net/gh/xuedipiaofei/dsh-session-title-stamp@v0.8.1/market/index.json
83
+ https://cdn.jsdelivr.net/gh/xuedipiaofei/dsh-session-title-stamp@v0.8.3/market/index.json
78
84
  ```
79
85
 
80
86
  Then install **Session title stamp** from the list. The plugin installs as a
package/README.zh.md CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  给 DSH 会话一个稳定的「日期 | 分类 | 名称」标题。除了自动命名,还包括:
6
6
 
7
+ - **一键重新生成**:会话头 ↻ 按钮、会话行 `···` 菜单「自动生成标题」,或 `/retitle`;点一下就地改名,不弹窗。
7
8
  - **自动重算**:回答完成后更新,2 分钟冷却,超过 100 条消息后冻结;fork、子代理和手动固定的标题跳过。
8
- - **生成标题**:会话头 ↻ 按钮、会话行 `···` 菜单「自动生成标题」、或 `/retitle`。
9
9
  - **复制标题**:会话行 `···` 菜单多一项复制完整标题。
10
10
  - **设置页**:可视化调整格式、emoji、标题语言和重算节奏,带实时预览,不用改 YAML。
11
11
  - **可选 emoji 分类**:`categoryEmoji: true` 后标题形如 `1027 | ⚡ 优化 | ...`。
@@ -15,6 +15,8 @@
15
15
  - **失败保护**:重算失败保留当前标题,不被兜底标题覆盖。
16
16
  - **零构建**:纯 Host 逻辑 + 小型手写浏览器半边。
17
17
 
18
+ 自动标题只是提议:不合适就点 ↻,就地重新命名,不用改设置。
19
+
18
20
  > **标题告诉你这个会话在做什么,悬停卡片告诉你它花了多少。**
19
21
  > 耗时、估算 CNY 成本和 token 数,悬停即见,不需要打开面板。
20
22
 
@@ -37,9 +39,11 @@
37
39
 
38
40
  ## 截图
39
41
 
40
- | 标题一眼看懂 | 设置页 | 悬停统计 |
41
- |---|---|---|
42
- | <img src="docs/screenshots/01-session-list.png" width="320" alt="侧栏里的日期、分类、名称标题"> | <img src="docs/screenshots/02-settings.png" width="320" alt="会话标题设置页"> | <img src="docs/screenshots/03-hover-stats.png" width="320" alt="悬停卡片显示耗时、估算成本和 token"> |
42
+ | 会话头一键重新生成 | 会话菜单「自动生成标题」 |
43
+ |:---:|:---:|
44
+ | <img src="docs/screenshots/00-generate-title.png" width="360" alt="会话头里的「重新生成标题」刷新按钮"> | <img src="docs/screenshots/01-session-list.png" width="360" alt="侧栏会话行的「自动生成标题」菜单"> |
45
+ | **悬停统计** | **设置页** |
46
+ | <img src="docs/screenshots/03-hover-stats.png" width="360" alt="悬停卡片显示耗时、估算成本和 token"> | <img src="docs/screenshots/02-settings.png" width="360" alt="会话标题设置页"> |
43
47
 
44
48
  ## 为什么
45
49
 
@@ -57,7 +61,7 @@
57
61
  在 **插件 → 发现(Discover)→ 索引源** 添加:
58
62
 
59
63
  ```text
60
- https://cdn.jsdelivr.net/gh/xuedipiaofei/dsh-session-title-stamp@v0.8.1/market/index.json
64
+ https://cdn.jsdelivr.net/gh/xuedipiaofei/dsh-session-title-stamp@v0.8.3/market/index.json
61
65
  ```
62
66
 
63
67
  然后在列表里安装 **Session title stamp / 会话标题印章**。插件以 profile bundle 的形式安装,之后可在插件页启停。
package/market/index.json CHANGED
@@ -34,8 +34,8 @@
34
34
  "zh": "会话标题印章"
35
35
  },
36
36
  "description": {
37
- "en": "Keeps DSH session titles in DATE | CATEGORY | NAME with turn-aware auto-retitle, a settings page, title-language control, and hover duration/cost/token stats.",
38
- "zh": "把 DSH 会话标题固定为「日期 | 分类 | 名称」,支持自动重算、设置页、标题语言,以及悬停查看耗时/估算成本/token。"
37
+ "en": "One-click Generate title from the header ↻ or the session menu; turn-aware auto-refresh in DATE | CATEGORY | NAME; settings page for format and title language; hover duration/cost/token stats.",
38
+ "zh": "一键重新生成标题:会话头 ↻ 或会话菜单「自动生成标题」都可触发;回答后自动重算,标题固定为「日期 | 分类 | 名称」;设置页可改格式和标题语言;悬停看耗时/成本/token。"
39
39
  },
40
40
  "author": "xuedipiaofei",
41
41
  "icon": "../icon.svg",
@@ -57,12 +57,12 @@
57
57
  },
58
58
  "versions": [
59
59
  {
60
- "version": "0.8.1",
61
- "publishTimestamp": 1794290201,
60
+ "version": "0.8.3",
61
+ "publishTimestamp": 1794759134,
62
62
  "source": {
63
63
  "type": "git",
64
64
  "url": "https://github.com/xuedipiaofei/dsh-session-title-stamp",
65
- "commit": "36c98fdbd0233ed12fbc0e7e6868f8bdf8457726"
65
+ "commit": "5934adaeebdfca3e1d19ab7b81ce57781fa1afc2"
66
66
  },
67
67
  "engines": {
68
68
  "dsh": ">=0.2.1-rc.3 <0.3.0"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-session-title-stamp",
3
- "version": "0.8.1",
4
- "description": "DSH session titles in a DATE | CATEGORY | NAME template, with turn-aware auto-generation, a settings page, title-language control, and hover duration/cost/token stats.",
3
+ "version": "0.8.3",
4
+ "description": "DSH session titles in a DATE | CATEGORY | NAME template, with one-click Generate title from the header or session menu, turn-aware auto-refresh, a settings page for format and title language, and hover duration/cost/token stats.",
5
5
  "keywords": [
6
6
  "dsh",
7
7
  "dsh-plugin",
@@ -37,9 +37,11 @@
37
37
  "README.zh.md",
38
38
  "docs/0.7.0-settings-mock.png",
39
39
  "docs/0.7.0-hover-card-mock.png",
40
+ "docs/screenshots/00-generate-title.png",
40
41
  "docs/screenshots/01-session-list.png",
41
42
  "docs/screenshots/02-settings.png",
42
- "docs/screenshots/03-hover-stats.png"
43
+ "docs/screenshots/03-hover-stats.png",
44
+ "screenshots.json"
43
45
  ],
44
46
  "engines": {
45
47
  "dsh": ">=0.2.1-rc.3 <0.3.0"
@@ -0,0 +1,6 @@
1
+ [
2
+ "docs/screenshots/00-generate-title.png",
3
+ "docs/screenshots/01-session-list.png",
4
+ "docs/screenshots/02-settings.png",
5
+ "docs/screenshots/03-hover-stats.png"
6
+ ]