@zzp123/mcp-zentao 1.18.14-beta.1 → 1.18.14

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.
Files changed (2) hide show
  1. package/dist/index-pm.js +2 -17
  2. package/package.json +1 -1
package/dist/index-pm.js CHANGED
@@ -138,24 +138,9 @@ server.tool("getStoryDetail", "获取需求详情 - 支持软件需求(story)和
138
138
  }, async ({ storyId }) => {
139
139
  if (!zentaoApi)
140
140
  throw new Error("Please initialize Zentao API first");
141
- const story = await zentaoApi.getStoryDetail(storyId, 'basic');
142
- // 只返回基本信息
143
- const result = {
144
- id: story.id,
145
- title: story.title,
146
- status: story.status,
147
- stage: story.stage,
148
- pri: story.pri,
149
- type: story.type,
150
- category: story.category,
151
- product: story.product,
152
- productName: story.productName,
153
- openedBy: story.openedBy,
154
- openedDate: story.openedDate,
155
- assignedTo: story.assignedTo
156
- };
141
+ const story = await zentaoApi.getStoryDetail(storyId, 'detail');
157
142
  return {
158
- content: [{ type: "text", text: JSON.stringify(result, null, 2) }]
143
+ content: [{ type: "text", text: JSON.stringify(story, null, 2) }]
159
144
  };
160
145
  });
161
146
  server.tool("getProjectExecutions", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zzp123/mcp-zentao",
3
- "version": "1.18.14-beta.1",
3
+ "version": "1.18.14",
4
4
  "description": "禅道项目管理系统的高级API集成包 - 完整版,包含所有94个工具。另有产品经理、测试工程师、开发工程师专用精简版本可选",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",