@dyno181cm.nexsoft/zentao_mcp 1.2.13 → 1.2.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.
- package/build/tools.js +4 -2
- package/package.json +1 -1
package/build/tools.js
CHANGED
|
@@ -173,10 +173,11 @@ export async function taskToMarkdown(rawTask) {
|
|
|
173
173
|
const localizedDesc = await localizeImages(rawTask.desc);
|
|
174
174
|
const desc = htmlToMarkdown(localizedDesc);
|
|
175
175
|
const attachments = await renderAttachments(parseFiles(rawTask.files));
|
|
176
|
+
const metaList = meta.map(m => `- ${m}`).join('\n');
|
|
176
177
|
return [
|
|
177
178
|
`# Task #${rawTask.id}: ${rawTask.name}`,
|
|
178
179
|
'',
|
|
179
|
-
|
|
180
|
+
metaList,
|
|
180
181
|
'',
|
|
181
182
|
'## Description',
|
|
182
183
|
desc || '*No description provided.*',
|
|
@@ -209,10 +210,11 @@ export async function bugToMarkdown(rawBug) {
|
|
|
209
210
|
const localizedSteps = await localizeImages(rawBug.steps);
|
|
210
211
|
const steps = htmlToMarkdown(localizedSteps);
|
|
211
212
|
const attachments = await renderAttachments(parseFiles(rawBug.files));
|
|
213
|
+
const metaList = meta.map(m => `- ${m}`).join('\n');
|
|
212
214
|
return [
|
|
213
215
|
`# Bug #${rawBug.id}: ${rawBug.title}`,
|
|
214
216
|
'',
|
|
215
|
-
|
|
217
|
+
metaList,
|
|
216
218
|
'',
|
|
217
219
|
'## Repro Steps',
|
|
218
220
|
steps || '*No steps provided.*',
|