togello-mcp-server 1.0.1 → 1.0.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.
|
@@ -8,15 +8,34 @@ export const getTodoListHandler = async ({}) => {
|
|
|
8
8
|
content: [
|
|
9
9
|
{
|
|
10
10
|
type: "text",
|
|
11
|
-
|
|
11
|
+
text: `The following is a single task represented in the order:
|
|
12
|
+
[label of the task, scheduled start date, scheduled end date, priority, category of the task]`,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: "text",
|
|
16
|
+
text: `The tasks with scheduled start dates that are today or in the past, and those with a priority of 2, should be addressed as soon as possible.`,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
type: "text",
|
|
12
20
|
text: tasks
|
|
13
|
-
.map((todo) =>
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
21
|
+
.map((todo) => [
|
|
22
|
+
todo.label,
|
|
23
|
+
todo.scheduledStartDate,
|
|
24
|
+
todo.scheduledEndDate,
|
|
25
|
+
todo.priorityNumber,
|
|
26
|
+
todo.categoryLabel,
|
|
27
|
+
])
|
|
19
28
|
.join(","),
|
|
29
|
+
// text: tasks
|
|
30
|
+
// .map((todo) =>
|
|
31
|
+
// JSON.stringify({
|
|
32
|
+
// label: todo.label,
|
|
33
|
+
// scheduledStartDate: todo.scheduledStartDate,
|
|
34
|
+
// scheduledEndDate: todo.scheduledEndDate,
|
|
35
|
+
// priorityNumber: todo.priorityNumber,
|
|
36
|
+
// })
|
|
37
|
+
// )
|
|
38
|
+
// .join(","),
|
|
20
39
|
},
|
|
21
40
|
],
|
|
22
41
|
};
|