@mgsoftwarebv/mcp-server-bridge 3.5.1 → 3.5.2
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 +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -122215,13 +122215,13 @@ async function handleGetTicketById(input) {
|
|
|
122215
122215
|
}).from(schema_exports.ticketAttachments).leftJoin(
|
|
122216
122216
|
schema_exports.users,
|
|
122217
122217
|
eq(schema_exports.users.id, schema_exports.ticketAttachments.userId)
|
|
122218
|
-
).where(eq(schema_exports.ticketAttachments.ticketId, id)).orderBy(asc(schema_exports.ticketAttachments.createdAt));
|
|
122218
|
+
).where(eq(schema_exports.ticketAttachments.ticketId, resolved.id)).orderBy(asc(schema_exports.ticketAttachments.createdAt));
|
|
122219
122219
|
const comments = await db.select({
|
|
122220
122220
|
id: schema_exports.ticketComments.id,
|
|
122221
122221
|
content: schema_exports.ticketComments.content,
|
|
122222
122222
|
createdAt: schema_exports.ticketComments.createdAt,
|
|
122223
122223
|
userId: schema_exports.ticketComments.userId
|
|
122224
|
-
}).from(schema_exports.ticketComments).where(eq(schema_exports.ticketComments.ticketId, id)).orderBy(asc(schema_exports.ticketComments.createdAt));
|
|
122224
|
+
}).from(schema_exports.ticketComments).where(eq(schema_exports.ticketComments.ticketId, resolved.id)).orderBy(asc(schema_exports.ticketComments.createdAt));
|
|
122225
122225
|
const commentUserIds = [
|
|
122226
122226
|
...new Set(
|
|
122227
122227
|
comments.map((c6) => c6.userId).filter((v2) => Boolean(v2))
|
|
@@ -122284,8 +122284,8 @@ ${text3.split("\n").map((l4) => ` ${l4}`).join("\n")}`;
|
|
|
122284
122284
|
` : ticketRow.requester ? `Assignee: (unassigned) \u2014 use requester id ${ticketRow.requester.id} for review handoff
|
|
122285
122285
|
` : `Assignee: (unassigned)
|
|
122286
122286
|
`;
|
|
122287
|
-
const ticketTagRows = await getTagsForTickets([id]);
|
|
122288
|
-
const ticketTags2 = ticketTagRows.get(id) ?? [];
|
|
122287
|
+
const ticketTagRows = await getTagsForTickets([resolved.id]);
|
|
122288
|
+
const ticketTags2 = ticketTagRows.get(resolved.id) ?? [];
|
|
122289
122289
|
const tagsLine = ticketTags2.length > 0 ? `Tags: ${formatTagList(ticketTags2)}
|
|
122290
122290
|
` : `Tags: (none)
|
|
122291
122291
|
`;
|
|
@@ -122472,7 +122472,7 @@ ${tagErrors.map((e6) => ` \u2022 ${e6}`).join("\n")}
|
|
|
122472
122472
|
}
|
|
122473
122473
|
|
|
122474
122474
|
// src/server.ts
|
|
122475
|
-
var SERVER_VERSION = "3.5.
|
|
122475
|
+
var SERVER_VERSION = "3.5.1";
|
|
122476
122476
|
function createMcpServer() {
|
|
122477
122477
|
const server = new Server(
|
|
122478
122478
|
{
|