@deepseek-ai/dsh-session-title-llm 0.2.1-rc.5 → 0.2.2-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/README.i18n.yaml CHANGED
@@ -36,8 +36,8 @@
36
36
  en: ee1ac7a50e65d430
37
37
  zh: 2c97dd5cc71e8f22
38
38
  /deepseek-ai-dsh-session-title-llm/understand-the-implementation/request-flow:
39
- en: b3f23a8c2c8b38e3
40
- zh: de612ea07796fe9d
39
+ en: 6b9d2ce3eaf13d3d
40
+ zh: 1a5fa6d1165e6b23
41
41
  /deepseek-ai-dsh-session-title-llm/further-exploration:
42
42
  en: d9844c0fc3e16c5c
43
43
  zh: 1e0c0b4b5d566972
package/README.md CHANGED
@@ -72,7 +72,7 @@ One small shared execution policy so operational behavior cannot drift: executio
72
72
 
73
73
  ### Request flow
74
74
 
75
- The caller builds the prepared input and frames it; the function checks the complete input against `maxInputBytes`. The provider's reasoning selector chooses at most one effort during `ctx.llm.prepareCall()`. The function records the exact input, output cap, and resolved effort in `session/title-llm-request`, then dispatches through the same captured adapter generation under the shared deadline. `purpose: 'session-title'` supplies attribution only. The request has no agent-loop identity and does not enter conversation history. Generation failures preserve the request record.
75
+ The caller builds the prepared input and frames it; the function checks the complete input against `maxInputBytes`. The provider's reasoning selector chooses at most one effort during `ctx.llm.prepareCall()`. The function records the exact input, output cap, and resolved effort in `session/title-llm-request`, then dispatches through the same captured adapter generation under the shared deadline. `purpose: 'session-title'` supplies attribution only. The request has no agent-loop identity and does not enter conversation history. Generation failures preserve the request record. The package declares `session-title` in `LlmRequestPurposeMap`; importing its public entry loads that declaration.
76
76
 
77
77
  </details>
78
78
 
package/README.zh.md CHANGED
@@ -72,7 +72,7 @@ kind: "package-library"
72
72
 
73
73
  ### 请求流程
74
74
 
75
- 调用方构建准备好的输入并进行封装;函数依据 `maxInputBytes` 检查完整输入。提供方的推理选择器在 `ctx.llm.prepareCall()` 期间最多选择一个强度。函数把确切输入、输出上限与解析后的强度记录到 `session/title-llm-request`,然后在共享截止时间内通过同一捕获的适配器代次分发。`purpose: 'session-title'` 仅提供归属标注。请求不带 agent loop 身份,也不进入对话历史。生成失败仍保留请求记录。
75
+ 调用方构建准备好的输入并进行封装;函数依据 `maxInputBytes` 检查完整输入。提供方的推理选择器在 `ctx.llm.prepareCall()` 期间最多选择一个强度。函数把确切输入、输出上限与解析后的强度记录到 `session/title-llm-request`,然后在共享截止时间内通过同一捕获的适配器代次分发。`purpose: 'session-title'` 仅提供归属标注。请求不带 agent loop 身份,也不进入对话历史。生成失败仍保留请求记录。 本包在 `LlmRequestPurposeMap` 中声明 `session-title`;导入其公开入口即可加载该声明。
76
76
 
77
77
  </details>
78
78
 
@@ -5,6 +5,11 @@
5
5
  * selection, and output interpretation belong to each provider.
6
6
  * @module @deepseek-ai/dsh-session-title-llm
7
7
  */
8
+ declare module '@deepseek-ai/dsh-llm/types' {
9
+ interface LlmRequestPurposeMap {
10
+ 'session-title': true;
11
+ }
12
+ }
8
13
  import type { Context } from '@deepseek-ai/cordis';
9
14
  import z from '@deepseek-ai/schemastery';
10
15
  import type { ContextFormed } from '@deepseek-ai/dsh-llm';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-session-title-llm",
3
3
  "description": "Shared LLM generation policy for DeepSeek Harness session-title providers",
4
- "version": "0.2.1-rc.5",
4
+ "version": "0.2.2-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,21 +27,21 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "peerDependencies": {
30
- "@deepseek-ai/cordis": "~4.0.5",
31
- "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
32
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
33
- "@deepseek-ai/dsh-session-title": "0.2.1-rc.5",
34
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.5"
30
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2",
31
+ "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
32
+ "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
33
+ "@deepseek-ai/dsh-session-title": "0.2.2-alpha.3",
34
+ "@deepseek-ai/dsh-timeout": "0.2.2-alpha.3"
35
35
  },
36
36
  "dependencies": {
37
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.5",
38
- "@deepseek-ai/schemastery": "~3.18.5"
37
+ "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3",
38
+ "@deepseek-ai/schemastery": "~3.18.6-alpha.2"
39
39
  },
40
40
  "devDependencies": {
41
- "@deepseek-ai/cordis": "~4.0.5",
42
- "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
43
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
44
- "@deepseek-ai/dsh-session-title": "0.2.1-rc.5",
45
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.5"
41
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2",
42
+ "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
43
+ "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
44
+ "@deepseek-ai/dsh-session-title": "0.2.2-alpha.3",
45
+ "@deepseek-ai/dsh-timeout": "0.2.2-alpha.3"
46
46
  }
47
47
  }