@taiga-ai/mcp-server 0.17.0-dev.438 → 0.17.0-dev.439

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/dist/index.js CHANGED
@@ -4580,7 +4580,7 @@ function registerMaintenanceTools(server, client) {
4580
4580
  }, (params) => runTool(async () => {
4581
4581
  const [summary, sweeps] = await Promise.all([client.getMaintenanceSummary(params.productId), client.listMaintenanceSweeps(params.productId, { limit: 3 })]);
4582
4582
  const latest = pickFields(sweeps.data, SWEEP_FIELDS);
4583
- const { lastRun: _lastRun, ...standing } = summary.data;
4583
+ const { lastRun: _lastRun, lastRuns: _lastRuns, ...standing } = summary.data;
4584
4584
  return toolResult({
4585
4585
  ...standing,
4586
4586
  latestSweeps: latest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.17.0-dev.438",
3
+ "version": "0.17.0-dev.439",
4
4
  "description": "MCP server for Taiga -- gives AI assistants access to documents and products",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -100,7 +100,10 @@ export function registerMaintenanceTools(server: McpServer, client: TaigaClient)
100
100
  client.listMaintenanceSweeps(params.productId, { limit: 3 }),
101
101
  ]);
102
102
  const latest = pickFields(sweeps.data as Row[], SWEEP_FIELDS);
103
- const { lastRun: _lastRun, ...standing } = summary.data as Row;
103
+ // The sweeps are reported as `latestSweeps`, narrowed to SWEEP_FIELDS;
104
+ // the summary's own run rows (PRO-2527: one per repository) would
105
+ // repeat them with every column.
106
+ const { lastRun: _lastRun, lastRuns: _lastRuns, ...standing } = summary.data as Row;
104
107
  return toolResult({
105
108
  ...standing,
106
109
  latestSweeps: latest,