@qilin-agent/tools 3.1.5 → 3.1.7

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
@@ -30,8 +30,8 @@
30
30
  en: 1dd4ee9d8cdd2038
31
31
  zh: aa3e9790641e521f
32
32
  /qilin-agent-tools/use-this-package/host-presentation-descriptors:
33
- en: d9aec6b6a174584a
34
- zh: b42039a7015e0364
33
+ en: 279d2354512763d9
34
+ zh: 18d3e80d96c43eec
35
35
  /qilin-agent-tools/understand-the-implementation:
36
36
  en: ce7e776e9d516bdb
37
37
  zh: 59d2751743db7795
package/README.md CHANGED
@@ -88,7 +88,7 @@ The generated [configuration catalog](../../../docs/config-catalog.md#qilin-agen
88
88
 
89
89
  ### Host presentation descriptors
90
90
 
91
- A tool can retain pure `presentCall()` and `presentResult()` methods for Host-local consumers. The built-in Web Client does not consume those values. It selects a renderer through `tool.call.toolview` and derives card props from raw call arguments, result content, failure state, and persisted metadata. The [Client-derived presentation decision](../../../.agents/notes/implemented/architecture/2026-08-23-client-derived-tool-presentation.md) owns this transport split.
91
+ A tool can retain pure `presentCall()` and `presentResult()` methods for Host-local consumers. The built-in Web Client does not consume those values. It selects a renderer through `tool.call.toolview` and derives card props from raw call arguments, result content, failure state, and persisted metadata. The [Client-derived presentation decision](../../../.agents/notes/implemented/architecture/2026-08-23-client-derived-tool-presentation.md) owns this transport split. A terminal result uses `exitCode: null` when no code or signal was available; an omitted exit code leaves that status unspecified.
92
92
 
93
93
  -----
94
94
 
package/README.zh.md CHANGED
@@ -88,7 +88,7 @@ ctx.tools.register(defineTool({
88
88
 
89
89
  ### Host 展示描述
90
90
 
91
- 工具可以为 Host 本地消费方保留纯函数 `presentCall()` 与 `presentResult()` 方法。内置 Web Client 不消费这些值,而是通过 `tool.call.toolview` 选择 renderer,并从原始调用参数、结果内容、失败状态与持久 metadata 派生 card props。[Client 派生展示决策](../../../.agents/notes/implemented/architecture/2026-08-23-client-derived-tool-presentation.zh.md)负责该 transport 拆分。
91
+ 工具可以为 Host 本地消费方保留纯函数 `presentCall()` 与 `presentResult()` 方法。内置 Web Client 不消费这些值,而是通过 `tool.call.toolview` 选择 renderer,并从原始调用参数、结果内容、失败状态与持久 metadata 派生 card props。[Client 派生展示决策](../../../.agents/notes/implemented/architecture/2026-08-23-client-derived-tool-presentation.zh.md)负责该 transport 拆分。终端结果在退出码与信号均不可用时使用 `exitCode: null`;省略退出码则表示结果未声明该状态。
92
92
 
93
93
  -----
94
94