@deepseek-ai/dsh-tool-present 0.1.6-alpha.1 → 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
@@ -1,6 +1,6 @@
1
1
  # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
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
- # pnpm run verify-translation-pairing --write packages/fs/tool-present/README.md
5
- README.md: 93003711545f678336a02c9bf8589176f844af65
6
- README.zh.md: 161efcc3931fbf57175064ccf1179b195320d4b9
4
+ # pnpm run verify-translation-pairing --write packages/deliverables/tool-present/README.md
5
+ README.md: a7eb9e7cf9060472258666de186a7ecefe7aa407
6
+ README.zh.md: 5ba4ab5f100517708d80e4860d9e5eed0f43a801
package/README.md CHANGED
@@ -73,7 +73,7 @@ The pure `./types` entry declares `PresentedFile` and the Session event without
73
73
 
74
74
  #### What the model sees
75
75
 
76
- The [present schema](../../../docs/tool-catalog.md#present) asks for existing accessible files: “Declare existing files accessible through the Session filesystem as final deliverables. When a file you create or update is an output the user asked to receive, you must call present after writing it and before your final response, including files created through Bash or code execution. Mentioning its path in your reply does not replace this call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.” Results report `Presented <path>` for each file; the program result and durable event contain paths and optional descriptions.
76
+ The [present schema](../../../docs/tool-catalog.md#present) asks for existing accessible files: “Declare selected existing files accessible through the Session filesystem as final deliverables. Use present when the user needs a separate file deliverable, especially Office documents, spreadsheets, and slide decks. Prefer showing results in your final response when that is sufficient; creating or editing a file does not by itself require present. Usually select the 1-2 most important deliverables; include more when needed, but at most 4 files in a single present call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.” Results report `Presented <path>` for each file; the program result and durable event contain paths and optional descriptions.
77
77
 
78
78
  #### Token effect
79
79
 
package/README.zh.md CHANGED
@@ -73,7 +73,7 @@ kind: "package-reference"
73
73
 
74
74
  #### 模型看到的内容
75
75
 
76
- [present schema](../../../docs/tool-catalog.zh.md#present)要求已有且可访问的文件:“Declare existing files accessible through the Session filesystem as final deliverables. When a file you create or update is an output the user asked to receive, you must call present after writing it and before your final response, including files created through Bash or code execution. Mentioning its path in your reply does not replace this call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.” 每个文件的结果为 `Presented <path>`;程序结果和持久事件包含路径及可选说明。
76
+ [present schema](../../../docs/tool-catalog.zh.md#present)要求已有且可访问的文件:“Declare selected existing files accessible through the Session filesystem as final deliverables. Use present when the user needs a separate file deliverable, especially Office documents, spreadsheets, and slide decks. Prefer showing results in your final response when that is sufficient; creating or editing a file does not by itself require present. Usually select the 1-2 most important deliverables; include more when needed, but at most 4 files in a single present call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.” 每个文件的结果为 `Presented <path>`;程序结果和持久事件包含路径及可选说明。
77
77
 
78
78
  #### Token 影响
79
79
 
package/lib/index.js CHANGED
@@ -22,7 +22,7 @@ function apply(ctx, config) {
22
22
  const pending = /* @__PURE__ */ new WeakMap();
23
23
  ctx.tools.register(defineTool({
24
24
  name: "present",
25
- description: "Declare existing files accessible through the Session filesystem as final deliverables. When a file you create or update is an output the user asked to receive, you must call present after writing it and before your final response, including files created through Bash or code execution. Mentioning its path in your reply does not replace this call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.",
25
+ description: "Declare selected existing files accessible through the Session filesystem as final deliverables. Use present when the user needs a separate file deliverable, especially Office documents, spreadsheets, and slide decks. Prefer showing results in your final response when that is sufficient; creating or editing a file does not by itself require present. Usually select the 1-2 most important deliverables; include more when needed, but at most 4 files in a single present call. The files must already exist. The user opens the current source files; their contents are not copied or preserved.",
26
26
  parameters: { files: {
27
27
  type: "array",
28
28
  required: true,
@@ -21,10 +21,11 @@ export function apply(ctx, config) {
21
21
  const pending = new WeakMap();
22
22
  ctx.tools.register(defineTool({
23
23
  name: 'present',
24
- description: 'Declare existing files accessible through the Session filesystem as final deliverables. '
25
- + 'When a file you create or update is an output the user asked to receive, you must call present after writing it and before your final response, including files created through Bash or code execution. '
26
- + 'Mentioning its path in your reply does not replace this call. The files must already exist. '
27
- + 'The user opens the current source files; their contents are not copied or preserved.',
24
+ description: 'Declare selected existing files accessible through the Session filesystem as final deliverables. '
25
+ + 'Use present when the user needs a separate file deliverable, especially Office documents, spreadsheets, and slide decks. '
26
+ + 'Prefer showing results in your final response when that is sufficient; creating or editing a file does not by itself require present. '
27
+ + 'Usually select the 1-2 most important deliverables; include more when needed, but at most 4 files in a single present call. '
28
+ + 'The files must already exist. The user opens the current source files; their contents are not copied or preserved.',
28
29
  parameters: {
29
30
  files: {
30
31
  type: 'array', required: true,
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-present",
3
3
  "description": "Explicit workspace file delivery declarations for the DeepSeek Harness",
4
- "version": "0.1.6-alpha.1",
4
+ "version": "0.1.7-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
11
- "directory": "packages/fs/tool-present"
11
+ "directory": "packages/deliverables/tool-present"
12
12
  },
13
13
  "type": "module",
14
14
  "main": "lib/index.js",
@@ -32,29 +32,29 @@
32
32
  "lib/types/**/*.d.ts"
33
33
  ],
34
34
  "dependencies": {
35
- "@deepseek-ai/schemastery": "^3.18.2"
35
+ "@deepseek-ai/schemastery": "^3.18.3"
36
36
  },
37
37
  "peerDependencies": {
38
- "@deepseek-ai/cordis": "^4.0.2",
39
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
40
- "@deepseek-ai/dsh-fs": "^0.1.6-alpha.1",
41
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
42
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
43
- "@deepseek-ai/dsh-session-projection": "^0.1.6-alpha.1",
44
- "@deepseek-ai/dsh-tools": "^0.1.6-alpha.1"
38
+ "@deepseek-ai/cordis": "^4.0.3",
39
+ "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
40
+ "@deepseek-ai/dsh-fs": "^0.1.7-alpha.1",
41
+ "@deepseek-ai/dsh-llm": "^0.1.7-alpha.1",
42
+ "@deepseek-ai/dsh-session": "^0.1.7-alpha.1",
43
+ "@deepseek-ai/dsh-session-projection": "^0.1.7-alpha.1",
44
+ "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@deepseek-ai/cordis": "^4.0.2",
48
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.1",
49
- "@deepseek-ai/dsh-fs": "^0.1.6-alpha.1",
50
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.1",
51
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.1",
52
- "@deepseek-ai/dsh-tools": "^0.1.6-alpha.1",
53
- "@deepseek-ai/dsh-session-projection": "^0.1.6-alpha.1",
54
- "@deepseek-ai/dsh-agent-loop": "^0.1.6-alpha.1",
55
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.6-alpha.1",
56
- "@deepseek-ai/dsh-fs-local": "^0.1.6-alpha.1",
57
- "@deepseek-ai/dsh-system-prompt": "^0.1.6-alpha.1",
58
- "@deepseek-ai/dsh-scope": "^0.1.6-alpha.1"
47
+ "@deepseek-ai/cordis": "^4.0.3",
48
+ "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
49
+ "@deepseek-ai/dsh-fs": "^0.1.7-alpha.1",
50
+ "@deepseek-ai/dsh-session": "^0.1.7-alpha.1",
51
+ "@deepseek-ai/dsh-llm": "^0.1.7-alpha.1",
52
+ "@deepseek-ai/dsh-session-projection": "^0.1.7-alpha.1",
53
+ "@deepseek-ai/dsh-fs-local": "^0.1.7-alpha.1",
54
+ "@deepseek-ai/dsh-tools": "^0.1.7-alpha.1",
55
+ "@deepseek-ai/dsh-system-prompt": "^0.1.7-alpha.1",
56
+ "@deepseek-ai/dsh-scope": "^0.1.7-alpha.1",
57
+ "@deepseek-ai/dsh-agent-loop": "^0.1.7-alpha.1",
58
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.7-alpha.1"
59
59
  }
60
60
  }