togello-mcp-server 1.0.12 → 1.0.14

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.
@@ -9,7 +9,7 @@ export const getTodoListHandler = async () => {
9
9
  {
10
10
  type: 'text',
11
11
  text: `The following is a single task represented in the order:
12
- [todo uuid, label of the task, scheduled start date, scheduled end date, priority, category of the task]`,
12
+ [todo uuid, label of the task, scheduled start date, scheduled end date, priority, category of the task, URL associated with the task]`,
13
13
  },
14
14
  {
15
15
  type: 'text',
@@ -25,6 +25,7 @@ export const getTodoListHandler = async () => {
25
25
  todo.scheduledEndDate,
26
26
  todo.priorityNumber,
27
27
  todo.categoryLabel,
28
+ todo.url,
28
29
  ])
29
30
  .join(','),
30
31
  },
@@ -1,10 +1,12 @@
1
1
  import { httpClient } from '../../client.js';
2
- export const updateTaskHandler = async ({ todoUUID, isCompleted, }) => {
2
+ export const updateTaskHandler = async ({ todoUUID, isCompleted, scheduledStartDate, url, }) => {
3
3
  try {
4
4
  await httpClient.putJson({
5
5
  path: `/v2/integration/todo/${todoUUID}`,
6
6
  body: {
7
7
  isCompleted,
8
+ scheduledStartDate,
9
+ url,
8
10
  },
9
11
  });
10
12
  return {
package/build/index.js CHANGED
@@ -55,6 +55,14 @@ async function main() {
55
55
  isCompleted: z
56
56
  .boolean()
57
57
  .describe('You can update the completion status of the task. If true, it is completed. If false, it can be reverted to incomplete.'),
58
+ scheduledStartDate: z
59
+ .string()
60
+ .optional()
61
+ .describe('Scheduled start date in ISO format.'),
62
+ url: z
63
+ .string()
64
+ .optional()
65
+ .describe('Optional URL associated with the task.'),
58
66
  }, updateTaskHandler);
59
67
  server.tool('get-todo-category-list', 'Retrieves the list of categories from the TODO feature. Recognizes category name / category UUID', {}, getTodoCategoryListHandler);
60
68
  server.tool('get-today-calendar', 'Retrieves scheduled events for yesterday/today/tomorrow from the linked Google Calendar. Recognizes event name / start date and time / end date and time. ', {}, getTodayCalendarHandler);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "togello-mcp-server",
4
- "version": "1.0.12",
4
+ "version": "1.0.14",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "build": "tsc && chmod 755 build/index.js",