brightspace-mcp-server 3.13.11 → 3.13.12
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.
|
@@ -101,6 +101,12 @@ async function fetchCourseDueItems(apiClient, baseUrl, course, from, to) {
|
|
|
101
101
|
continue;
|
|
102
102
|
if (!folder.DueDate)
|
|
103
103
|
continue;
|
|
104
|
+
// Check the window before resolving the link: a group folder's link
|
|
105
|
+
// costs group-membership requests, wasted on an item the handler's
|
|
106
|
+
// window filter would drop anyway (issue #230).
|
|
107
|
+
const due = new Date(folder.DueDate).getTime();
|
|
108
|
+
if (!Number.isFinite(due) || due < from || due > to)
|
|
109
|
+
continue;
|
|
104
110
|
const link = await assignmentLink(folder);
|
|
105
111
|
items.push({
|
|
106
112
|
type: "assignment",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "brightspace-mcp-server",
|
|
3
|
-
"version": "3.13.
|
|
3
|
+
"version": "3.13.12",
|
|
4
4
|
"mcpName": "io.github.RohanMuppa/brightspace",
|
|
5
5
|
"description": "MCP server for Brightspace (D2L). Check grades, due dates, assignments, announcements, syllabus, rosters and more via Claude, ChatGPT, Cursor, Windsurf, or any MCP client.",
|
|
6
6
|
"type": "module",
|