@apollo-music/dsh-sidecar-terms 0.1.7 → 0.2.0

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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +26 -24
package/README.md CHANGED
@@ -17,13 +17,13 @@
17
17
 
18
18
  ## 安装
19
19
 
20
- 当前版本为 `0.1.7`,对应 DeepSeek Harness `0.1.7-rc.2`。
20
+ 当前版本为 `0.2.0`,对应 DeepSeek Harness `0.2.1-rc.5`。旧版 `0.1.7` 对应 DSH `0.1.7-rc.2`。
21
21
  旧版 `0.1.5` 对应 DSH `0.1.1-rc.2`,升级插件时需同步升级宿主;`0.1.6` 是未发布的源码过渡版本。
22
22
 
23
23
  在对应版本的 DeepSeek Harness 项目中安装:
24
24
 
25
25
  ```bash
26
- npm install @apollo-music/dsh-sidecar-terms@0.1.7
26
+ npm install @apollo-music/dsh-sidecar-terms@0.2.0
27
27
  ```
28
28
 
29
29
  ## 配置
@@ -82,7 +82,7 @@ export APOLLO_TERMINOLOGY_READ_API_KEY='<READ_ONLY_API_KEY>'
82
82
 
83
83
  `auditReasoning: true` 只匹配每个 step 已提交的完整 reasoning block;流式 `reasoning-delta` 不参与匹配。thinking 原文只发送给 Resolver 做瞬时匹配,不会回注给模型。若部署边界不允许 thinking 离开 Harness 进程,可设为 `false`。
84
84
 
85
- 该插件声明依赖 `agents`、`sessions` 与 `tools`;Cordis 会等相关服务存在后再加载。本项目锁定并测试 DSH `0.1.7-rc.2` 的公开 `Agent`、`session/event`、`agent/assistant-stream`、`tools/post-execute`、`agent/pre-step`、`agent/request`、`agent/turn-stopping` 接口。包清单显式声明这一组接口的完整 DSH peer 闭包,避免依赖宿主包管理器自动补齐隐式 peer。
85
+ 该插件声明依赖 `agents`、`sessions` 与 `tools`;Cordis 会等相关服务存在后再加载。本项目锁定并测试 DSH `0.2.1-rc.5` 的公开 `Agent`、`session/event`、`agent/assistant-stream`、`tools/post-execute`、`agent/pre-step`、`agent/request`、`agent/turn-stopping` 接口。包清单显式声明这一组接口的完整 DSH peer 闭包,避免依赖宿主包管理器自动补齐隐式 peer。
86
86
 
87
87
  `0.1.6` 使用独立的消息来源 `plugin:apollo-terminology-rules`,与上游将旧插件消息迁移到 v4 会话格式后的来源一致。工具结果现在由 `role: tool` 消息承载;若另一插件替换 canonical `value`,本插件等待 DSH 渲染并提交 `tool/result` 后在 pre-step 审计,不匹配已被替换的旧内容。pre-step 增量保留上游 `startsRequestSeries` 等准入字段。
88
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo-music/dsh-sidecar-terms",
3
- "version": "0.1.7",
3
+ "version": "0.2.0",
4
4
  "description": "DeepSeek Harness sidecar plugin for incremental Apollo terminology and rule injection",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,10 @@
11
11
  "import": "./dist/index.js"
12
12
  }
13
13
  },
14
- "files": ["dist", "README.md"],
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
15
18
  "engines": {
16
19
  "node": "^22.19.0 || >=24.0.0"
17
20
  },
@@ -40,27 +43,26 @@
40
43
  "prepack": "npm run build"
41
44
  },
42
45
  "peerDependencies": {
43
- "@deepseek-ai/cordis": "~4.0.4",
44
- "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
45
- "@deepseek-ai/dsh-brand": "0.1.7-rc.2",
46
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
47
- "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
48
- "@deepseek-ai/dsh-ptc-runtime": "0.1.7-rc.2",
49
- "@deepseek-ai/dsh-sandbox": "0.1.7-rc.2",
50
- "@deepseek-ai/dsh-sandbox-policy": "0.1.7-rc.2",
51
- "@deepseek-ai/dsh-scope": "0.1.7-rc.2",
52
- "@deepseek-ai/dsh-session": "0.1.7-rc.2",
53
- "@deepseek-ai/dsh-session-persistence": "0.1.7-rc.2",
54
- "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
55
- "@deepseek-ai/dsh-storage": "0.1.7-rc.2",
56
- "@deepseek-ai/dsh-storage-domain": "0.1.7-rc.2",
57
- "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
58
- "@deepseek-ai/dsh-timeout": "0.1.7-rc.2",
59
- "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
60
- "@deepseek-ai/dsh-typert-protocol": "0.1.7-rc.2",
61
- "@deepseek-ai/dsh-user-approval": "0.1.7-rc.2",
62
- "@deepseek-ai/dsh-util-values": "0.1.7-rc.2",
63
- "@deepseek-ai/dsh-workspace": "0.1.7-rc.2",
64
- "@deepseek-ai/schemastery": "~3.18.4"
46
+ "@deepseek-ai/dsh-agent": "0.2.1-rc.5",
47
+ "@deepseek-ai/dsh-brand": "0.2.1-rc.5",
48
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
49
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.1-rc.5",
50
+ "@deepseek-ai/dsh-sandbox": "0.2.1-rc.5",
51
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-rc.5",
52
+ "@deepseek-ai/dsh-scope": "0.2.1-rc.5",
53
+ "@deepseek-ai/dsh-session": "0.2.1-rc.5",
54
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
55
+ "@deepseek-ai/dsh-session-projection": "0.2.1-rc.5",
56
+ "@deepseek-ai/dsh-storage": "0.2.1-rc.5",
57
+ "@deepseek-ai/dsh-storage-domain": "0.2.1-rc.5",
58
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-rc.5",
59
+ "@deepseek-ai/dsh-timeout": "0.2.1-rc.5",
60
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.5",
61
+ "@deepseek-ai/dsh-typert-protocol": "0.2.1-rc.5",
62
+ "@deepseek-ai/dsh-user-approval": "0.2.1-rc.5",
63
+ "@deepseek-ai/dsh-util-values": "0.2.1-rc.5",
64
+ "@deepseek-ai/dsh-workspace": "0.2.1-rc.5",
65
+ "@deepseek-ai/cordis": "~4.0.5",
66
+ "@deepseek-ai/schemastery": "~3.18.5"
65
67
  }
66
68
  }