@deepseek-ai/dsh-session-title-llm 0.1.3-alpha.2 → 0.1.5-alpha.1

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
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/session/session-title-llm/README.md
5
- README.md: 7a2bb0849979f3cfaaea8433a793a72e22e4a639
6
- README.zh.md: eba42c4b9f27dddfed60519d54fd6599f658bc56
5
+ README.md: 6a1cce9e2ce2d6725562af47dac4e2f6ef5aa6e3
6
+ README.zh.md: 4b6e06377443de8fc6a9111e0c127c2d30f06e35
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-session-title-llm` runs model-backed title generation through one shared policy: it resolves the auxiliary route, frames the exact selected human messages as JSON, enforces input and output budgets, composes timeout and caller cancellation, and validates the model's output before a title is accepted. It is a library, not a Cordis plugin the shipped provider plugins call `registerSessionTitleLlmProvider()` with their cadence and message selector, and the helper validates shared config and delegates every revision to one generation path, so registration, route, prompt, cancellation, and validation behavior cannot drift between them. Deployments configure it through the provider plugins, which require every limit. The route, failure, and configuration contracts come first; the request internals live in a collapsible developer section below.
12
+ `dsh-session-title-llm` generates concise session titles from selected human messages with a consistent model request policy. Callers choose which messages contribute to each revision and may either supply a provider and model route together or use the route recorded for the current session. Required limits cap the framed input, generated output, and end-to-end duration, while caller cancellation remains effective throughout streaming. Invalid, empty, late, tool-call, or otherwise non-text results are rejected before they can replace a title.
13
13
 
14
14
  ## Table of Contents
15
15
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-library"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-session-title-llm` 让模型支持的标题生成都经过同一份共享策略:它解析辅助路由,把精确选中的用户消息封装为 JSON,强制执行输入与输出预算,组合超时与调用方取消,并在标题被接受前校验模型输出。它是普通库而非 Cordis 插件——随附提供方插件以各自的节奏与消息选择器调用 `registerSessionTitleLlmProvider()`,该辅助函数验证共享配置并把每次修订委托给同一条生成路径,因此注册、路由、提示词、取消与校验行为不会在它们之间漂移。部署方通过要求所有上限的提供方插件来配置它。路由、失败与配置约定在前;请求内部细节放在下方可折叠的开发者章节中。
12
+ `dsh-session-title-llm` 使用一致的模型请求策略,根据选中的用户消息生成简洁的会话标题。调用方选择每次修订包含哪些消息,以及成对提供 `provider`/`model` 路由,还是使用当前会话记录的路由。必填上限约束封装后的输入、生成输出与端到端时长,调用方取消在整个流式处理期间持续生效。无效、空、迟到、包含工具调用或其他非纯文本的结果会在替换标题前被拒绝。
13
13
 
14
14
  ## 目录
15
15
 
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.1.3-alpha.2",
4
+ "version": "0.1.5-alpha.1",
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/dsh-llm": "^0.1.3-alpha.2",
31
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
32
- "@deepseek-ai/dsh-session-title": "^0.1.3-alpha.2",
33
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2",
34
- "@deepseek-ai/cordis": "^4.0.2"
30
+ "@deepseek-ai/cordis": "^4.0.2",
31
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
32
+ "@deepseek-ai/dsh-session-title": "^0.1.5-alpha.1",
33
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
34
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.1"
35
35
  },
36
36
  "dependencies": {
37
- "@deepseek-ai/dsh-util-values": "^0.1.3-alpha.2",
37
+ "@deepseek-ai/dsh-util-values": "^0.1.5-alpha.1",
38
38
  "@deepseek-ai/schemastery": "^3.18.2"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@deepseek-ai/cordis": "^4.0.2",
42
- "@deepseek-ai/dsh-llm": "^0.1.3-alpha.2",
43
- "@deepseek-ai/dsh-session": "^0.1.3-alpha.2",
44
- "@deepseek-ai/dsh-session-title": "^0.1.3-alpha.2",
45
- "@deepseek-ai/dsh-timeout": "^0.1.3-alpha.2"
42
+ "@deepseek-ai/dsh-llm": "^0.1.5-alpha.1",
43
+ "@deepseek-ai/dsh-session": "^0.1.5-alpha.1",
44
+ "@deepseek-ai/dsh-session-title": "^0.1.5-alpha.1",
45
+ "@deepseek-ai/dsh-timeout": "^0.1.5-alpha.1"
46
46
  }
47
47
  }