@pschroee/redmine-mcp 0.5.16 → 0.5.17

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.
@@ -109,6 +109,21 @@ export function formatIssue(issue, lookup = {}, options = {}) {
109
109
  lines.push(issue.watchers.map(w => w.name).join(", "));
110
110
  lines.push("");
111
111
  }
112
+ // Changesets
113
+ if (issue.changesets && issue.changesets.length > 0) {
114
+ lines.push("## Changesets");
115
+ lines.push("");
116
+ lines.push("| Revision | Author | Date | Comment |");
117
+ lines.push("|----------|--------|------|---------|");
118
+ for (const cs of issue.changesets) {
119
+ const shortRev = cs.revision.length > 10 ? cs.revision.substring(0, 10) : cs.revision;
120
+ const author = cs.user?.name ?? "Unknown";
121
+ const date = formatDateShort(cs.committed_on);
122
+ const comment = cs.comments?.replace(/\|/g, "\\|").replace(/\n/g, " ") ?? "";
123
+ lines.push(`| \`${shortRev}\` | ${author} | ${date} | ${comment} |`);
124
+ }
125
+ lines.push("");
126
+ }
112
127
  // Journals (history)
113
128
  if (issue.journals && issue.journals.length > 0) {
114
129
  lines.push(formatJournals(issue.journals, lookup, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pschroee/redmine-mcp",
3
- "version": "0.5.16",
3
+ "version": "0.5.17",
4
4
  "description": "MCP server for Redmine - full API access with configurable tool groups",
5
5
  "type": "module",
6
6
  "bin": {