@deepseek-ai/dsh-tool-todo 0.1.7-alpha.2 → 0.1.7-rc.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 CHANGED
@@ -1,6 +1,91 @@
1
- # Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
2
- # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
- # after editing either side, bring the other along and re-record with:
1
+ # Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
2
+ # section, a hash of its English and Chinese blocks outside code blocks and generated regions.
3
+ # After editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/todo/tool-todo/README.md
5
- README.md: 0547688d833f10ae9504496d703ed7532e397e3e
6
- README.zh.md: 1bf055cb769455802620a7d7c77dc80851456ffe
5
+ /:
6
+ en: 94e53ef3423c197f
7
+ zh: ad579992506261fa
8
+ /deepseek-ai-dsh-tool-todo:
9
+ en: 06114b7b88112609
10
+ zh: a53c75adeeecf917
11
+ /deepseek-ai-dsh-tool-todo/summary:
12
+ en: b6b3f4e412f33da2
13
+ zh: b4dbbe1a1e093179
14
+ /deepseek-ai-dsh-tool-todo/table-of-contents:
15
+ en: d152484eb41ac6b4
16
+ zh: 09388d293f9be9cb
17
+ /deepseek-ai-dsh-tool-todo/use-this-package:
18
+ en: d10c650faab8695d
19
+ zh: 6018b5a53501d88b
20
+ /deepseek-ai-dsh-tool-todo/use-this-package/when-to-choose-it:
21
+ en: c964ee10289fcd21
22
+ zh: 4c1e68220906eb06
23
+ /deepseek-ai-dsh-tool-todo/use-this-package/minimal-configuration:
24
+ en: 02ee43b537f8ab85
25
+ zh: a20116a4fcc36a33
26
+ /deepseek-ai-dsh-tool-todo/use-this-package/what-each-call-does:
27
+ en: 415a6775984f539d
28
+ zh: 04e6f16e7c81b8ba
29
+ /deepseek-ai-dsh-tool-todo/use-this-package/single-owner:
30
+ en: f051cbd97dab2436
31
+ zh: 18976a8affed8cab
32
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation:
33
+ en: 8d94a7381bca3fa9
34
+ zh: f4bd2866fff6fa8d
35
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/design-philosophy:
36
+ en: 79e0ce717098e5eb
37
+ zh: ec34658fb269c2e1
38
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/source-map:
39
+ en: d53829e90f7f63ca
40
+ zh: fc3006d788a84013
41
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/export-shape:
42
+ en: 35b4f6c718e60dab
43
+ zh: 9bffe86c88a7ad6d
44
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/session-projection:
45
+ en: 2d49c8af46b16dd2
46
+ zh: 71a3073433b579d4
47
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/durable-log-invariant:
48
+ en: 3234e0405b88e314
49
+ zh: 135a5b12d810e6dd
50
+ /deepseek-ai-dsh-tool-todo/understand-the-implementation/call-mechanics:
51
+ en: d55f6a32b05ed686
52
+ zh: c815f930a2acebda
53
+ /deepseek-ai-dsh-tool-todo/further-exploration:
54
+ en: 38488722b03c25dd
55
+ zh: 23efe2cce1e29917
56
+ /deepseek-ai-dsh-tool-todo/model-experience:
57
+ en: 215e7ba838619b7b
58
+ zh: a311da3843709f90
59
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-schema:
60
+ en: e4c7376d4f29dbd5
61
+ zh: 6b7a9eaf69c9ea53
62
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-schema/what-the-model-sees:
63
+ en: 1d761e1652e9fc94
64
+ zh: f847760856f74c8b
65
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-schema/token-effect:
66
+ en: a0a8f5ec3db0f500
67
+ zh: eac37a524c6e777e
68
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-schema/kv-cache-effect:
69
+ en: b385b04c94496e5b
70
+ zh: 3a361ac90ef5f037
71
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-call-history-and-result:
72
+ en: 9717b983b6a857e3
73
+ zh: 611a2dadf7c0c706
74
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-call-history-and-result/what-the-model-sees:
75
+ en: 05644654d1bce8c6
76
+ zh: ea2a42470fbb2ee1
77
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-call-history-and-result/token-effect:
78
+ en: 7763a0e875faf53d
79
+ zh: fe33c3973215dc53
80
+ /deepseek-ai-dsh-tool-todo/model-experience/tool-call-history-and-result/kv-cache-effect:
81
+ en: f5d5f97a153f7c70
82
+ zh: a5411047e008a0c1
83
+ /deepseek-ai-dsh-tool-todo/known-limitations-and-deferred-work:
84
+ en: 71e2aed21b2545c3
85
+ zh: 775300a3618a861a
86
+ /deepseek-ai-dsh-tool-todo/known-limitations-and-deferred-work/dev-note:
87
+ en: ac1d08360a93382b
88
+ zh: 703a65fbcc38edc7
89
+ /deepseek-ai-dsh-tool-todo/known-limitations-and-deferred-work/dev-note/future-cross-agent-and-shared-lists:
90
+ en: 071b9c5be71f799f
91
+ zh: dee15fe922a3ab95
package/README.md CHANGED
@@ -126,7 +126,7 @@ Read these pages when the package-level contract is not enough. They move from t
126
126
 
127
127
  #### What the model sees
128
128
 
129
- The model sees the generated [`todo_write` schema](../../../docs/tool-catalog.md#deepseek-aidsh-tool-todo): an object with one required `todos` array of `{ content, status }` items, where `status` is `pending`, `in_progress`, or `completed`. The description is the composed whole-list instruction whose active-status clause follows `allowParallelInProgress`.
129
+ The model sees the generated [`todo_write` schema](../../../docs/tool-catalog.md#deepseek-aidsh-tool-todo): an object with one required `todos` array of `{ content, status }` items, where `status` is `pending`, `in_progress`, or `completed`. The `todos` description states that each call replaces the whole list; the tool description's active-status clause follows `allowParallelInProgress`.
130
130
 
131
131
  #### Token effect
132
132
 
package/README.zh.md CHANGED
@@ -126,7 +126,7 @@ agent 每次更新都发送完整列表;新列表替换旧列表,因此没
126
126
 
127
127
  #### 模型看到什么
128
128
 
129
- 模型会看到生成的 [`todo_write` schema](../../../docs/tool-catalog.zh.md#deepseek-aidsh-tool-todo):一个对象,含一个必填的 `todos` 数组,元素为 `{ content, status }`,其中 `status` 为 `pending`、`in_progress` 或 `completed`。描述是组合后的整表指令,其活跃状态条款跟随 `allowParallelInProgress`。
129
+ 模型会看到生成的 [`todo_write` schema](../../../docs/tool-catalog.zh.md#deepseek-aidsh-tool-todo):一个对象,含一个必填的 `todos` 数组,元素为 `{ content, status }`,其中 `status` 为 `pending`、`in_progress` 或 `completed`。`todos` 描述说明每次调用都会替换整个列表;工具描述中的活跃状态条款跟随 `allowParallelInProgress`。
130
130
 
131
131
  #### Token 影响
132
132
 
package/lib/index.js CHANGED
@@ -18,10 +18,10 @@ const STATUSES = [
18
18
  ];
19
19
  /** Schemastery configuration for the todo tool consumer. */
20
20
  const Config = z.object({ allowParallelInProgress: z.boolean().required() });
21
- const DESCRIPTION_HEAD = "Record and update a structured task list for the current work. Send the ENTIRE list every call — it REPLACES the previous list (there are no partial updates, no per-item edits). Use it to plan multi-step work and show progress: add one todo per concrete step before you start. ";
22
- const DESCRIPTION_PARALLEL = "Mark every todo being actively worked on `in_progress` — several at once when work genuinely runs in parallel (e.g. concurrent subagents or background commands), one for sequential work; while work remains, at least one task should be `in_progress`. ";
23
- const DESCRIPTION_SINGLE = "Keep AT MOST ONE todo `in_progress` at a time; while work remains, exactly one active task should be `in_progress`. ";
24
- const DESCRIPTION_TAIL = "Mark a todo `completed` the moment it is done (do not batch completions), and allow no `in_progress` item only once all work is complete. Skip the list for trivial single-step tasks. Statuses: `pending` (not started), `in_progress` (being worked on now), `completed` (finished).";
21
+ const DESCRIPTION_HEAD = "Record and update a task list to plan multi-step work and show progress; skip it for trivial single-step tasks. Add one todo per concrete step before you start. ";
22
+ const DESCRIPTION_PARALLEL = "While work remains, keep the todos being worked on `in_progress`, several only when work runs in parallel. ";
23
+ const DESCRIPTION_SINGLE = "While work remains, keep exactly one todo `in_progress`. ";
24
+ const DESCRIPTION_TAIL = "Mark each todo `completed` as soon as it is done.";
25
25
  /**
26
26
  * The model-facing description for one activation. The active-status clause is the only part that
27
27
  * varies, because it is the only instruction the parallel policy changes.
@@ -15,21 +15,11 @@ const STATUSES = ['pending', 'in_progress', 'completed'];
15
15
  export const Config = z.object({
16
16
  allowParallelInProgress: z.boolean().required(),
17
17
  });
18
- const DESCRIPTION_HEAD = 'Record and update a structured task list for the current work. Send the ENTIRE '
19
- + 'list every call — it REPLACES the previous list (there are no partial updates, '
20
- + 'no per-item edits). Use it to plan multi-step work and show progress: add one '
21
- + 'todo per concrete step before you start. ';
22
- const DESCRIPTION_PARALLEL = 'Mark every todo being actively worked '
23
- + 'on `in_progress` — several at once when work genuinely runs in parallel (e.g. '
24
- + 'concurrent subagents or background commands), one for sequential work; while '
25
- + 'work remains, at least one task should be `in_progress`. ';
26
- const DESCRIPTION_SINGLE = 'Keep AT MOST ONE todo `in_progress` at a '
27
- + 'time; while work remains, exactly one active task should be `in_progress`. ';
28
- const DESCRIPTION_TAIL = 'Mark a todo '
29
- + '`completed` the moment it is done (do not batch completions), and allow no '
30
- + '`in_progress` item only once all work is complete. Skip the list for trivial '
31
- + 'single-step tasks. Statuses: `pending` (not started), `in_progress` (being '
32
- + 'worked on now), `completed` (finished).';
18
+ const DESCRIPTION_HEAD = 'Record and update a task list to plan multi-step work and show progress; skip it for trivial '
19
+ + 'single-step tasks. Add one todo per concrete step before you start. ';
20
+ const DESCRIPTION_PARALLEL = 'While work remains, keep the todos being worked on `in_progress`, several only when work runs in parallel. ';
21
+ const DESCRIPTION_SINGLE = 'While work remains, keep exactly one todo `in_progress`. ';
22
+ const DESCRIPTION_TAIL = 'Mark each todo `completed` as soon as it is done.';
33
23
  /**
34
24
  * The model-facing description for one activation. The active-status clause is the only part that
35
25
  * varies, because it is the only instruction the parallel policy changes.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-todo",
3
3
  "description": "Model-facing todo_write tool over the DeepSeek Harness event-sourced session log",
4
- "version": "0.1.7-alpha.2",
4
+ "version": "0.1.7-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -41,26 +41,26 @@
41
41
  "@deepseek-ai/schemastery": "~3.18.4"
42
42
  },
43
43
  "peerDependencies": {
44
- "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
45
- "@deepseek-ai/dsh-invariants": "0.1.7-alpha.2",
46
- "@deepseek-ai/dsh-session": "0.1.7-alpha.2",
47
- "@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
48
- "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
44
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
45
+ "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
46
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
47
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
48
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
49
49
  "@deepseek-ai/cordis": "~4.0.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
53
- "@deepseek-ai/dsh-agent": "0.1.7-alpha.2",
54
- "@deepseek-ai/dsh-agent-loop": "0.1.7-alpha.2",
55
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-alpha.2",
56
- "@deepseek-ai/dsh-invariants": "0.1.7-alpha.2",
53
+ "@deepseek-ai/dsh-agent": "0.1.7-rc.2",
54
+ "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
55
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
57
56
  "@deepseek-ai/cordis-plugin-include": "~1.0.9",
58
- "@deepseek-ai/dsh-llm": "0.1.7-alpha.2",
59
- "@deepseek-ai/dsh-session": "0.1.7-alpha.2",
60
- "@deepseek-ai/dsh-session-projection": "0.1.7-alpha.2",
61
- "@deepseek-ai/dsh-system-prompt": "0.1.7-alpha.2",
62
- "@deepseek-ai/dsh-tools": "0.1.7-alpha.2",
63
- "@deepseek-ai/dsh-user-questions": "0.1.7-alpha.2",
57
+ "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
58
+ "@deepseek-ai/dsh-llm": "0.1.7-rc.2",
59
+ "@deepseek-ai/dsh-session": "0.1.7-rc.2",
60
+ "@deepseek-ai/dsh-session-projection": "0.1.7-rc.2",
61
+ "@deepseek-ai/dsh-system-prompt": "0.1.7-rc.2",
62
+ "@deepseek-ai/dsh-tools": "0.1.7-rc.2",
63
+ "@deepseek-ai/dsh-user-questions": "0.1.7-rc.2",
64
64
  "@deepseek-ai/cordis": "~4.0.4"
65
65
  }
66
66
  }