Skip to content

Commit 59511e4

Browse files
committed
refactor: update tool descriptions for clarity
- Modified descriptions for CurrentTaskModifyTool, CurrentTaskCompleteTool, CurrentTaskUpdateTool, and CurrentTaskReadTool to simplify and enhance user understanding. - Changes focus on making descriptions more concise while retaining essential functionality information.
1 parent 6fdbcfb commit 59511e4

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/tools/task-tools-modify.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ describe('CurrentTaskModifyTool', () => {
471471

472472
expect(definition).toMatchObject({
473473
name: 'current_task_modify',
474-
description: expect.stringContaining('动态修改任务结构'),
474+
description: expect.stringContaining('修改任务'),
475475
inputSchema: {
476476
type: 'object',
477477
properties: {
@@ -613,7 +613,7 @@ describe('CurrentTaskCompleteTool', () => {
613613

614614
expect(definition).toMatchObject({
615615
name: 'current_task_complete',
616-
description: expect.stringContaining('完成当前任务并生成文档'),
616+
description: expect.stringContaining('完成当前任务'),
617617
inputSchema: {
618618
type: 'object',
619619
properties: {

src/tools/task-tools.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ describe('CurrentTaskUpdateTool', () => {
680680
expect(definition).toMatchObject({
681681
name: 'current_task_update',
682682
description:
683-
expect.stringContaining('在计划和步骤两个层级更新任务进度'),
683+
expect.stringContaining('更新任务'),
684684
inputSchema: {
685685
type: 'object',
686686
properties: {
@@ -988,7 +988,7 @@ describe('CurrentTaskReadTool', () => {
988988
expect(definition).toMatchObject({
989989
name: 'current_task_read',
990990
description:
991-
expect.stringContaining('读取当前任务完整状态以恢复上下文'),
991+
expect.stringContaining('读取当前任务'),
992992
inputSchema: {
993993
type: 'object',
994994
properties: {

0 commit comments

Comments
 (0)