@deepseek-ai/dsh-agent-tool-presentation 0.1.6-alpha.2 → 0.1.7-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/core/agent-tool-presentation/README.md
5
- README.md: c7aadfc9f409392718d7f044168c5de48dd33ee5
6
- README.zh.md: 663bb011f3a6f1cc0f257bc3383f073b23dbda02
5
+ README.md: fe45190931fd35ae79002f466f2ff6476a6b96d1
6
+ README.zh.md: 62d7ce3ad5f1d0cafd7bebc5aca73bdc9c98e50e
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- Use `dsh-agent-tool-presentation` in an [agent preset](../../preset/agent-presets/README.md) to fix whether models see every native tool schema, only `run_code` with a generated SDK, or both forms. Each preset can choose independently, so native and PTC agents can share one process without sharing tool catalogs. Selecting `ptc` or `both` requires a compatible PTC runtime; a deployment without one rejects the preset at mount time before its first prompt. The `mode` field is required when this package is present, while omitting the package keeps the deployment default.
12
+ Use `dsh-agent-tool-presentation` in an [agent preset](../../preset/agent-preset-registry/README.md) to fix whether models see every native tool schema, only `run_code` with a generated SDK, or both forms. Each preset can choose independently, so native and PTC agents can share one process without sharing tool catalogs. Selecting `ptc` or `both` requires a compatible PTC runtime; a deployment without one rejects the preset at mount time before its first prompt. The `mode` field is required when this package is present, while omitting the package keeps the deployment default.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -72,7 +72,7 @@ The tool registry cannot move into a preset: its consumers are all host-plane
72
72
 
73
73
  ### Behavior notes
74
74
 
75
- `native` applies immediately. A PTC mode instead waits for `ctx.ptcRuntime`, a host-plane service: a preset selecting PTC mode against a deployment composing no runtime holds this row pending, and `dsh-agent-presets` refuses the mount naming this id. `presentAs` is itself the effect, so the declaration unwinds with this row without a second wrapper owning it.
75
+ `native` applies immediately. A PTC mode instead waits for `ctx.ptcRuntime`, a host-plane service: a preset selecting PTC mode against a deployment composing no runtime holds this row pending, and `dsh-agent-preset-registry` refuses the mount naming this id. `presentAs` is itself the effect, so the declaration unwinds with this row without a second wrapper owning it.
76
76
 
77
77
  </details>
78
78
 
@@ -84,7 +84,7 @@ The tool registry cannot move into a preset: its consumers are all host-plane
84
84
  The package-level contract is enough for most consumers; read these when you need the surrounding domain.
85
85
 
86
86
  - [tools package](../tools/README.md) — the tool presentation modes and `presentAs` API.
87
- - [agent-presets package](../../preset/agent-presets/README.md) — how presets compose agents and their standing mounts.
87
+ - [agent-presets package](../../preset/agent-preset-registry/README.md) — how presets compose agents and their standing mounts.
88
88
  - [Node ptc-runtime package](../../ptc-runtime/ptc-runtime-node/README.md) — the TypeScript runtime a PTC mode needs.
89
89
  - [PTC mode executor-collapse note](../../../.agents/notes/implemented/bug-fix/2026-08-07-ptc-executor-collapse.md) — why the announced and callable surfaces stay the same.
90
90
  - [Core group map](../README.md) — how the core packages compose.
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- 在 [agent preset](../../preset/agent-presets/README.zh.md) 中使用 `dsh-agent-tool-presentation`,可固定模型看到全部原生工具 schema、只有带生成 SDK 的 `run_code`,还是同时看到两种形态。每个 preset 可独立选择,因此 native 与 PTC agent 可以共享同一进程,而不共享工具目录。选择 `ptc` 或 `both` 需要兼容的 PTC 运行时;没有该运行时的部署会在挂载时拒绝 preset,不会等到收到第一条提示词。使用本包时 `mode` 字段为必填;省略本包则沿用部署默认值。
12
+ 在 [agent preset](../../preset/agent-preset-registry/README.zh.md) 中使用 `dsh-agent-tool-presentation`,可固定模型看到全部原生工具 schema、只有带生成 SDK 的 `run_code`,还是同时看到两种形态。每个 preset 可独立选择,因此 native 与 PTC agent 可以共享同一进程,而不共享工具目录。选择 `ptc` 或 `both` 需要兼容的 PTC 运行时;没有该运行时的部署会在挂载时拒绝 preset,不会等到收到第一条提示词。使用本包时 `mode` 字段为必填;省略本包则沿用部署默认值。
13
13
 
14
14
  ## 目录
15
15
 
@@ -72,7 +72,7 @@ kind: "package-reference"
72
72
 
73
73
  ### 行为说明
74
74
 
75
- `native` 立即生效。PTC 模式则等待 `ctx.ptcRuntime`——这是一个宿主平面服务:针对未组装运行时的部署选择 PTC mode 的 preset 会让这一行停在 pending,`dsh-agent-presets` 会指名此 id 拒绝挂载。`presentAs` 本身就是 effect,因此该声明随这一行撤销,无需第二个包装层拥有它。
75
+ `native` 立即生效。PTC 模式则等待 `ctx.ptcRuntime`——这是一个宿主平面服务:针对未组装运行时的部署选择 PTC mode 的 preset 会让这一行停在 pending,`dsh-agent-preset-registry` 会指名此 id 拒绝挂载。`presentAs` 本身就是 effect,因此该声明随这一行撤销,无需第二个包装层拥有它。
76
76
 
77
77
  </details>
78
78
 
@@ -84,7 +84,7 @@ kind: "package-reference"
84
84
  包级约定对大多数消费方已经足够;需要周边领域时再阅读以下页面。
85
85
 
86
86
  - [tools 包](../tools/README.zh.md)——工具呈现模式与 `presentAs` API。
87
- - [agent-presets 包](../../preset/agent-presets/README.zh.md)——preset 如何组合 agent 及其常驻挂载。
87
+ - [agent-presets 包](../../preset/agent-preset-registry/README.zh.md)——preset 如何组合 agent 及其常驻挂载。
88
88
  - [Node ptc-runtime 包](../../ptc-runtime/ptc-runtime-node/README.zh.md)——PTC 模式所需的 TypeScript 运行时。
89
89
  - [PTC mode 执行器塌缩 note](../../../.agents/notes/implemented/bug-fix/2026-08-07-ptc-executor-collapse.zh.md)——通告面与可调用面为何保持一致。
90
90
  - [core 分组地图](../README.zh.md)——core 各包如何组合。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-agent-tool-presentation",
3
3
  "description": "Agent-plane presentation selector: composes one agent's tools as PTC mode, native, or both",
4
- "version": "0.1.6-alpha.2",
4
+ "version": "0.1.7-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -27,19 +27,19 @@
27
27
  ],
28
28
  "license": "MIT",
29
29
  "dependencies": {
30
- "@deepseek-ai/schemastery": "^3.18.2"
30
+ "@deepseek-ai/schemastery": "^3.18.3"
31
31
  },
32
32
  "peerDependencies": {
33
- "@deepseek-ai/dsh-tools": "^0.1.6-alpha.2",
34
- "@deepseek-ai/cordis": "^4.0.2"
33
+ "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1",
34
+ "@deepseek-ai/cordis": "^4.0.3"
35
35
  },
36
36
  "devDependencies": {
37
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
38
- "@deepseek-ai/dsh-ptc-runtime": "^0.1.6-alpha.2",
39
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
40
- "@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.2",
41
- "@deepseek-ai/dsh-scope": "^0.1.6-alpha.2",
42
- "@deepseek-ai/cordis": "^4.0.2",
43
- "@deepseek-ai/dsh-tools": "^0.1.6-alpha.2"
37
+ "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
38
+ "@deepseek-ai/dsh-ptc-runtime": "^0.1.7-alpha.1",
39
+ "@deepseek-ai/dsh-scope": "^0.1.7-alpha.1",
40
+ "@deepseek-ai/dsh-session": "^0.1.7-alpha.1",
41
+ "@deepseek-ai/dsh-system-prompt": "^0.1.7-alpha.1",
42
+ "@deepseek-ai/cordis": "^4.0.3",
43
+ "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1"
44
44
  }
45
45
  }