@deepseek-ai/dsh-experimental-session-titles-bundle 0.0.0-stage → 0.2.1-alpha.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 DeepSeek
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,37 @@
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
+ # pnpm run verify-translation-pairing --write packages/experimental/session-titles-bundle/README.md
5
+ /:
6
+ en: fa9b9ced4806b14a
7
+ zh: faa2967665315c2a
8
+ /deepseek-ai-dsh-experimental-session-titles-bundle:
9
+ en: 0a69d3a2266a0f4f
10
+ zh: b5e2dc60de97752f
11
+ /deepseek-ai-dsh-experimental-session-titles-bundle/summary:
12
+ en: a56206d66c18d447
13
+ zh: 67cde874fd703b58
14
+ /deepseek-ai-dsh-experimental-session-titles-bundle/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 988e839059414d27
17
+ /deepseek-ai-dsh-experimental-session-titles-bundle/use-this-package:
18
+ en: 3a843c2d148f94f1
19
+ zh: e67b41828084eb86
20
+ /deepseek-ai-dsh-experimental-session-titles-bundle/understand-the-implementation:
21
+ en: f4a8d06bd561f7e9
22
+ zh: de811cf2c131256c
23
+ /deepseek-ai-dsh-experimental-session-titles-bundle/further-exploration:
24
+ en: 1367330eede4af7d
25
+ zh: df71e4b0a865d429
26
+ /deepseek-ai-dsh-experimental-session-titles-bundle/model-experience:
27
+ en: bfd9e6b55f48afff
28
+ zh: cd3eb720bfc2cdf6
29
+ /deepseek-ai-dsh-experimental-session-titles-bundle/model-experience/kv-cache-effect:
30
+ en: 1b2209bbbf869b1a
31
+ zh: 5b9de62271343e4e
32
+ /deepseek-ai-dsh-experimental-session-titles-bundle/known-limitations-and-deferred-work:
33
+ en: 833386166a2ec27c
34
+ zh: a70ebec93a3be891
35
+ /deepseek-ai-dsh-experimental-session-titles-bundle/known-limitations-and-deferred-work/dev-note:
36
+ en: 279d01435256cd2a
37
+ zh: 83780964e5de2f54
package/README.md CHANGED
@@ -1,3 +1,78 @@
1
- # Temporary Holding Version
1
+ ---
2
+ description: "Refresh session titles as new human prompts arrive."
3
+ kind: "package-bundle"
4
+ ---
2
5
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
6
+ # @deepseek-ai/dsh-experimental-session-titles-bundle
7
+
8
+ English | [中文](README.zh.md)
9
+
10
+ ## Summary
11
+
12
+ Generate experimental session titles from the conversation's eligible human prompts. This replaces the first-prompt title provider and applies across presets. It ships switched off in Web and Desktop. Select it in Plugins to enable it.
13
+
14
+ ## Table of Contents
15
+
16
+ - [Use this package](#use-this-package)
17
+ - [Understand the implementation](#understand-the-implementation)
18
+ - [Further Exploration](#further-exploration)
19
+ - [Model Experience](#model-experience)
20
+ - [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
21
+ - [Dev Note](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## Use this package
27
+
28
+ In Web or Desktop, open Plugins and enable **Conversation-following titles** in Official. Switch it off to remove its profile layer.
29
+
30
+ The switch changes the title provider for existing and new Sessions. Eligible human prompts or explicit refresh trigger title requests; the model is asked to keep an existing generated title exactly while it still describes the main topic or task. Automatic updates preserve user-pinned titles. Agent tool catalogs remain unchanged.
31
+
32
+ -----
33
+
34
+ <a id="understand-the-implementation"></a>
35
+ ## Understand the implementation
36
+
37
+ <details>
38
+ <summary>Implementation details — click to expand</summary>
39
+
40
+ [`cordis.patch.yml`](cordis.patch.yml) contributes the provider on the host. Later profile patches can override its settings. The [profile composer](../../boot/app-boot/README.md) owns patch ordering and errors. The layer disables `session-title-llm` before selecting its replacement; deselection restores the default provider.
41
+
42
+ </details>
43
+
44
+ -----
45
+
46
+ <a id="further-exploration"></a>
47
+ ## Further Exploration
48
+
49
+ [Capability implementation](../session-title-all-prompts-llm/README.md)
50
+
51
+ -----
52
+
53
+ <a id="model-experience"></a>
54
+ ## Model Experience
55
+
56
+ Indirectly, through the [capability implementation](../session-title-all-prompts-llm/README.md), which owns model context and results.
57
+
58
+ #### KV Cache effect
59
+
60
+ The layer adds no request content directly; the capability implementation owns cache effects from tools, prompts, and results.
61
+
62
+ ## Known Limitations and Deferred Work
63
+
64
+ <a id="known-limitations-and-deferred-work"></a>
65
+
66
+ - Automatic title failures retain the previous title. The 4096-byte title-input budget includes the current generated title when supplied and rejects oversized input instead of truncating conversation history.
67
+
68
+ -----
69
+
70
+ <a id="dev-note"></a>
71
+ ### Dev Note
72
+
73
+ <details>
74
+ <summary>Maintainer context — click to expand</summary>
75
+
76
+ None.
77
+
78
+ </details>
package/README.zh.md ADDED
@@ -0,0 +1,78 @@
1
+ ---
2
+ description: "在收到新的用户提示时更新会话标题。"
3
+ kind: "package-bundle"
4
+ ---
5
+
6
+ # @deepseek-ai/dsh-experimental-session-titles-bundle
7
+
8
+ [English](README.md) | 中文
9
+
10
+ ## 概述
11
+
12
+ 根据对话中符合条件的用户提示生成实验性会话标题。此功能替换首条提示标题提供者,并适用于所有预设。 Web 和 Desktop 随附此功能,默认关闭。在插件页选择它即可启用。
13
+
14
+ ## 目录
15
+
16
+ - [使用此包](#use-this-package)
17
+ - [理解实现](#understand-the-implementation)
18
+ - [进一步探索](#further-exploration)
19
+ - [模型体验](#model-experience)
20
+ - [已知限制与暂缓工作](#known-limitations-and-deferred-work)
21
+ - [开发备注](#dev-note)
22
+
23
+ -----
24
+
25
+ <a id="use-this-package"></a>
26
+ ## 使用此包
27
+
28
+ 在 Web 或 Desktop 中打开插件页,在官方分组启用 **随对话更新的标题**。关闭后移除其配置层。
29
+
30
+ 开关会更改已有和新建 Session 的标题提供方。符合条件的用户提示词或显式刷新会触发标题请求;模型被要求在已有生成标题仍能描述主要主题或任务时逐字保留它。自动更新不会覆盖用户固定的标题。智能体的工具目录保持不变。
31
+
32
+ -----
33
+
34
+ <a id="understand-the-implementation"></a>
35
+ ## 理解实现
36
+
37
+ <details>
38
+ <summary>实现细节 — 点击展开</summary>
39
+
40
+ [`cordis.patch.yml`](cordis.patch.yml) 在 Host 上添加提供者。后续配置补丁可以覆盖其设置。[配置组合器](../../boot/app-boot/README.zh.md) 负责补丁顺序和错误处理。 此层禁用 `session-title-llm` 后选择替代提供者;取消选择会恢复默认提供者。
41
+
42
+ </details>
43
+
44
+ -----
45
+
46
+ <a id="further-exploration"></a>
47
+ ## 进一步探索
48
+
49
+ [能力实现](../session-title-all-prompts-llm/README.zh.md)
50
+
51
+ -----
52
+
53
+ <a id="model-experience"></a>
54
+ ## 模型体验
55
+
56
+ 间接影响,通过[能力实现](../session-title-all-prompts-llm/README.zh.md) 贡献模型上下文和结果。
57
+
58
+ #### KV Cache 影响
59
+
60
+ 此配置层不直接添加请求内容;能力实现负责工具目录、提示和结果的缓存影响。
61
+
62
+ ## 已知限制与暂缓工作
63
+
64
+ <a id="known-limitations-and-deferred-work"></a>
65
+
66
+ - 自动标题生成失败时保留旧标题。标题输入预算为 4096 字节,包含传入的当前生成标题,超限时拒绝输入而不截断对话历史。
67
+
68
+ -----
69
+
70
+ <a id="dev-note"></a>
71
+ ### 开发备注
72
+
73
+ <details>
74
+ <summary>维护者上下文 — 点击展开</summary>
75
+
76
+ 无。
77
+
78
+ </details>
@@ -0,0 +1,12 @@
1
+ - id: session-title-llm
2
+ disabled: true
3
+
4
+ - insert:
5
+ - id: optional-session-title-all-prompts
6
+ name: '@deepseek-ai/dsh-session-title-all-prompts-llm'
7
+ config:
8
+ targetWords: 5
9
+ targetCjkCharacters: 10
10
+ maxInputBytes: 4096
11
+ maxOutputTokens: 64
12
+ timeoutMs: 60000
package/icon.svg ADDED
@@ -0,0 +1,11 @@
1
+ <svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="11.5" y="8" width="17" height="14" rx="2.5" fill="#7CB7FF" fill-opacity="0.55" />
3
+ <path d="M10 12H23C24.3807 12 25.5 13.1193 25.5 14.5V23.5C25.5 24.8807 24.3807 26 23 26H14.5L10.4 30.1Q10 30.5 10 29.93V26C8.61929 26 7.5 24.8807 7.5 23.5V14.5C7.5 13.1193 8.61929 12 10 12Z" fill="url(#session-title-bubble)" />
4
+ <path d="M13 16H20M16.5 16V22" stroke="#FFFFFF" stroke-width="1.6" />
5
+ <defs>
6
+ <linearGradient id="session-title-bubble" x1="9" y1="12" x2="24" y2="28" gradientUnits="userSpaceOnUse">
7
+ <stop stop-color="#6FB2EE" />
8
+ <stop offset="1" stop-color="#3E58D6" />
9
+ </linearGradient>
10
+ </defs>
11
+ </svg>
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ /** Conversation-following titles profile layer; runtime entries are declared in cordis.patch.yml. */
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Conversation-following titles",
4
+ "description": "Refresh session titles as new human prompts arrive."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "随对话更新的标题",
4
+ "description": "在收到新的用户提示时更新会话标题。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,6 +1,49 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-experimental-session-titles-bundle",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
3
+ "description": "Refresh session titles as new human prompts arrive.",
4
+ "version": "0.2.1-alpha.3",
5
+ "icon": "./icon.svg",
6
+ "publishConfig": {
7
+ "access": "public"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
12
+ "directory": "packages/experimental/session-titles-bundle"
13
+ },
14
+ "type": "module",
15
+ "main": "lib/index.js",
16
+ "types": "lib/types/index.d.ts",
17
+ "exports": {
18
+ ".": {
19
+ "types": "./lib/types/index.d.ts",
20
+ "default": "./lib/index.js"
21
+ },
22
+ "./cordis.patch.yml": "./cordis.patch.yml",
23
+ "./locale/*.json": "./locale/*.json",
24
+ "./src/*": "./src/*",
25
+ "./package.json": "./package.json"
26
+ },
27
+ "files": [
28
+ "icon.svg",
29
+ "locale/*.json",
30
+ "lib/index.js",
31
+ "cordis.patch.yml",
32
+ "lib/types/**/*.d.ts"
33
+ ],
34
+ "license": "MIT",
35
+ "dsh": {
36
+ "bundle": {
37
+ "patch": "./cordis.patch.yml"
38
+ }
39
+ },
40
+ "dependencies": {
41
+ "@deepseek-ai/dsh-session-title-all-prompts-llm": "0.2.1-alpha.3"
42
+ },
43
+ "peerDependencies": {
44
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2"
45
+ },
46
+ "devDependencies": {
47
+ "@deepseek-ai/cordis": "~4.0.5-alpha.2"
48
+ }
6
49
  }