@deepseek-ai/dsh-tool-call-timeout-policy 0.1.5-rc.2 → 0.1.6-alpha.2
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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +4 -4
- package/package.json +8 -8
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/guard/timeout-policy/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: a9381595b25adcdbf2c4bf5e2c7034580e7813e7
|
|
6
|
+
README.zh.md: 27938b1793bf75a3df809e16782857701d1b11cb
|
package/README.md
CHANGED
|
@@ -110,7 +110,7 @@ Zero tokens on non-timeout calls. A timeout adds one small retained error result
|
|
|
110
110
|
|
|
111
111
|
#### KV Cache effect
|
|
112
112
|
|
|
113
|
-
Append-only; newly visible content follows the reusable request prefix and does not invalidate existing KV
|
|
113
|
+
Append-only; newly visible content follows the reusable request prefix and does not invalidate existing KV Cache entries.
|
|
114
114
|
|
|
115
115
|
## Known Limitations and Deferred Work
|
|
116
116
|
|
package/README.zh.md
CHANGED
|
@@ -9,7 +9,7 @@ kind: "package-reference"
|
|
|
9
9
|
|
|
10
10
|
## 概述
|
|
11
11
|
|
|
12
|
-
使用本包可为工具调用执行其配置的协作式时间上限,并在取消完成后向模型返回清晰的超时错误。按时完成的调用保持不变。忽略或缓慢处理取消的工具仍可能让调用方继续等待,因为本包无法硬性停止下游工作。每个工具分别提供自己的限时;本包无需配置,并随 `dsh`
|
|
12
|
+
使用本包可为工具调用执行其配置的协作式时间上限,并在取消完成后向模型返回清晰的超时错误。按时完成的调用保持不变。忽略或缓慢处理取消的工具仍可能让调用方继续等待,因为本包无法硬性停止下游工作。每个工具分别提供自己的限时;本包无需配置,并随 `dsh` 基础组合包默认启用。
|
|
13
13
|
|
|
14
14
|
## 目录
|
|
15
15
|
|
|
@@ -25,7 +25,7 @@ kind: "package-reference"
|
|
|
25
25
|
<a id="use-this-package"></a>
|
|
26
26
|
## 使用本包
|
|
27
27
|
|
|
28
|
-
常用路径只有一行:把插件加入组合——`dsh`
|
|
28
|
+
常用路径只有一行:把插件加入组合——`dsh` 基础组合包已经包含它。配置了限时的工具会被自动保护;其余工具完全不受影响。
|
|
29
29
|
|
|
30
30
|
### 何时选择
|
|
31
31
|
|
|
@@ -77,7 +77,7 @@ kind: "package-reference"
|
|
|
77
77
|
| 文件 | 职责 |
|
|
78
78
|
|---|---|
|
|
79
79
|
| [`src/index.ts`](src/index.ts) | 插件入口:`TOOL_TIMEOUT`、`name`/`inject`/`apply`、`tools/execute` 包装层 |
|
|
80
|
-
| — |
|
|
80
|
+
| — | 不发布运行时不变式伴生入口;此无状态策略插件不拥有包级事件历史,也不拥有所拦截 seam 之外的可变数据关系。 |
|
|
81
81
|
|
|
82
82
|
</details>
|
|
83
83
|
|
|
@@ -88,7 +88,7 @@ kind: "package-reference"
|
|
|
88
88
|
|
|
89
89
|
当包级约定不够用时阅读以下页面。它们从工具调用流水线逐步进入超时库拆分、被执行的限时与 guard 组映射。
|
|
90
90
|
|
|
91
|
-
- [工具子系统参考](../../../docs/subsystems/tools.zh.md)——本包装层挂钩的 `tools/execute` waterfall
|
|
91
|
+
- [工具子系统参考](../../../docs/subsystems/tools.zh.md)——本包装层挂钩的 `tools/execute` waterfall(瀑布式事件)与决策形态。
|
|
92
92
|
- [超时截止时间库 Agent Note](../../../.agents/notes/implemented/architecture/2026-07-06-timeout-deadline-library.zh.md)——时序/终止拆分以及截止时间为何只通知。
|
|
93
93
|
- [生成配置目录](../../../docs/config-catalog.zh.md#deepseek-aidsh-tool-web)——策略所执行的 `dsh-tool-web` 的 `fetchTimeoutMs`/`searchTimeoutMs` 预算。
|
|
94
94
|
- [guard 组映射](../README.zh.md)——同组的 guard 包与循环卫生家族。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-tool-call-timeout-policy",
|
|
3
3
|
"description": "Tool-call timeout policy: a tools/execute wrapper that arms a per-tool deadline on exec.signal and returns TOOL_TIMEOUT when it wins",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
],
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@deepseek-ai/dsh-
|
|
31
|
-
"@deepseek-ai/dsh-
|
|
32
|
-
"@deepseek-ai/dsh-tools": "^0.1.
|
|
30
|
+
"@deepseek-ai/dsh-timeout": "^0.1.6-alpha.2",
|
|
31
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
|
|
32
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
|
|
33
33
|
"@deepseek-ai/cordis": "^4.0.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@deepseek-ai/dsh-llm": "^0.1.
|
|
37
|
-
"@deepseek-ai/dsh-timeout": "^0.1.
|
|
38
|
-
"@deepseek-ai/
|
|
39
|
-
"@deepseek-ai/
|
|
36
|
+
"@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
|
|
37
|
+
"@deepseek-ai/dsh-timeout": "^0.1.6-alpha.2",
|
|
38
|
+
"@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
|
|
39
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
40
40
|
}
|
|
41
41
|
}
|