@doist/todoist-ai 8.5.0 → 8.7.0

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.
Files changed (145) hide show
  1. package/README.md +2 -2
  2. package/dist/mcp-apps/index.html +98 -0
  3. package/package.json +14 -7
  4. package/dist/filter-helpers.d.ts +0 -51
  5. package/dist/filter-helpers.d.ts.map +0 -1
  6. package/dist/index.d.ts +0 -2862
  7. package/dist/index.d.ts.map +0 -1
  8. package/dist/index.js +0 -98
  9. package/dist/main-http.d.ts +0 -3
  10. package/dist/main-http.d.ts.map +0 -1
  11. package/dist/main-http.js +0 -36
  12. package/dist/main.d.ts +0 -3
  13. package/dist/main.d.ts.map +0 -1
  14. package/dist/main.js +0 -17
  15. package/dist/mcp-helpers.d.ts +0 -64
  16. package/dist/mcp-helpers.d.ts.map +0 -1
  17. package/dist/mcp-server-WZSyKBI3.js +0 -5429
  18. package/dist/mcp-server.d.ts +0 -16
  19. package/dist/mcp-server.d.ts.map +0 -1
  20. package/dist/prompts/productivity-analysis.d.ts +0 -58
  21. package/dist/prompts/productivity-analysis.d.ts.map +0 -1
  22. package/dist/todoist-tool.d.ts +0 -62
  23. package/dist/todoist-tool.d.ts.map +0 -1
  24. package/dist/tool-execution-error.d.ts +0 -7
  25. package/dist/tool-execution-error.d.ts.map +0 -1
  26. package/dist/tool-helpers.d.ts +0 -216
  27. package/dist/tool-helpers.d.ts.map +0 -1
  28. package/dist/tools/add-comments.d.ts +0 -83
  29. package/dist/tools/add-comments.d.ts.map +0 -1
  30. package/dist/tools/add-filters.d.ts +0 -94
  31. package/dist/tools/add-filters.d.ts.map +0 -1
  32. package/dist/tools/add-labels.d.ts +0 -92
  33. package/dist/tools/add-labels.d.ts.map +0 -1
  34. package/dist/tools/add-projects.d.ts +0 -112
  35. package/dist/tools/add-projects.d.ts.map +0 -1
  36. package/dist/tools/add-sections.d.ts +0 -50
  37. package/dist/tools/add-sections.d.ts.map +0 -1
  38. package/dist/tools/add-tasks.d.ts +0 -118
  39. package/dist/tools/add-tasks.d.ts.map +0 -1
  40. package/dist/tools/analyze-project-health.d.ts +0 -45
  41. package/dist/tools/analyze-project-health.d.ts.map +0 -1
  42. package/dist/tools/complete-tasks.d.ts +0 -42
  43. package/dist/tools/complete-tasks.d.ts.map +0 -1
  44. package/dist/tools/delete-object.d.ts +0 -50
  45. package/dist/tools/delete-object.d.ts.map +0 -1
  46. package/dist/tools/fetch-object.d.ts +0 -199
  47. package/dist/tools/fetch-object.d.ts.map +0 -1
  48. package/dist/tools/fetch.d.ts +0 -41
  49. package/dist/tools/fetch.d.ts.map +0 -1
  50. package/dist/tools/find-activity.d.ts +0 -91
  51. package/dist/tools/find-activity.d.ts.map +0 -1
  52. package/dist/tools/find-comments.d.ts +0 -89
  53. package/dist/tools/find-comments.d.ts.map +0 -1
  54. package/dist/tools/find-completed-tasks.d.ts +0 -115
  55. package/dist/tools/find-completed-tasks.d.ts.map +0 -1
  56. package/dist/tools/find-filters.d.ts +0 -92
  57. package/dist/tools/find-filters.d.ts.map +0 -1
  58. package/dist/tools/find-labels.d.ts +0 -81
  59. package/dist/tools/find-labels.d.ts.map +0 -1
  60. package/dist/tools/find-project-collaborators.d.ts +0 -84
  61. package/dist/tools/find-project-collaborators.d.ts.map +0 -1
  62. package/dist/tools/find-projects.d.ts +0 -87
  63. package/dist/tools/find-projects.d.ts.map +0 -1
  64. package/dist/tools/find-sections.d.ts +0 -41
  65. package/dist/tools/find-sections.d.ts.map +0 -1
  66. package/dist/tools/find-tasks-by-date.d.ts +0 -111
  67. package/dist/tools/find-tasks-by-date.d.ts.map +0 -1
  68. package/dist/tools/find-tasks-by-date.resource.d.ts +0 -28
  69. package/dist/tools/find-tasks-by-date.resource.d.ts.map +0 -1
  70. package/dist/tools/find-tasks.d.ts +0 -116
  71. package/dist/tools/find-tasks.d.ts.map +0 -1
  72. package/dist/tools/get-overview.d.ts +0 -122
  73. package/dist/tools/get-overview.d.ts.map +0 -1
  74. package/dist/tools/get-productivity-stats.d.ts +0 -160
  75. package/dist/tools/get-productivity-stats.d.ts.map +0 -1
  76. package/dist/tools/get-project-activity-stats.d.ts +0 -48
  77. package/dist/tools/get-project-activity-stats.d.ts.map +0 -1
  78. package/dist/tools/get-project-health.d.ts +0 -112
  79. package/dist/tools/get-project-health.d.ts.map +0 -1
  80. package/dist/tools/get-workspace-insights.d.ts +0 -65
  81. package/dist/tools/get-workspace-insights.d.ts.map +0 -1
  82. package/dist/tools/list-workspaces.d.ts +0 -54
  83. package/dist/tools/list-workspaces.d.ts.map +0 -1
  84. package/dist/tools/manage-assignments.d.ts +0 -72
  85. package/dist/tools/manage-assignments.d.ts.map +0 -1
  86. package/dist/tools/project-management.d.ts +0 -78
  87. package/dist/tools/project-management.d.ts.map +0 -1
  88. package/dist/tools/project-move.d.ts +0 -88
  89. package/dist/tools/project-move.d.ts.map +0 -1
  90. package/dist/tools/reorder-objects.d.ts +0 -50
  91. package/dist/tools/reorder-objects.d.ts.map +0 -1
  92. package/dist/tools/reschedule-tasks.d.ts +0 -78
  93. package/dist/tools/reschedule-tasks.d.ts.map +0 -1
  94. package/dist/tools/search.d.ts +0 -43
  95. package/dist/tools/search.d.ts.map +0 -1
  96. package/dist/tools/uncomplete-tasks.d.ts +0 -42
  97. package/dist/tools/uncomplete-tasks.d.ts.map +0 -1
  98. package/dist/tools/update-comments.d.ts +0 -87
  99. package/dist/tools/update-comments.d.ts.map +0 -1
  100. package/dist/tools/update-filters.d.ts +0 -106
  101. package/dist/tools/update-filters.d.ts.map +0 -1
  102. package/dist/tools/update-projects.d.ts +0 -120
  103. package/dist/tools/update-projects.d.ts.map +0 -1
  104. package/dist/tools/update-sections.d.ts +0 -52
  105. package/dist/tools/update-sections.d.ts.map +0 -1
  106. package/dist/tools/update-tasks.d.ts +0 -113
  107. package/dist/tools/update-tasks.d.ts.map +0 -1
  108. package/dist/tools/user-info.d.ts +0 -57
  109. package/dist/tools/user-info.d.ts.map +0 -1
  110. package/dist/tools/view-attachment.d.ts +0 -48
  111. package/dist/tools/view-attachment.d.ts.map +0 -1
  112. package/dist/utils/assignment-validator.d.ts +0 -69
  113. package/dist/utils/assignment-validator.d.ts.map +0 -1
  114. package/dist/utils/colors.d.ts +0 -68
  115. package/dist/utils/colors.d.ts.map +0 -1
  116. package/dist/utils/constants.d.ts +0 -49
  117. package/dist/utils/constants.d.ts.map +0 -1
  118. package/dist/utils/date.d.ts +0 -18
  119. package/dist/utils/date.d.ts.map +0 -1
  120. package/dist/utils/duration-parser.d.ts +0 -36
  121. package/dist/utils/duration-parser.d.ts.map +0 -1
  122. package/dist/utils/filter-resolver.d.ts +0 -27
  123. package/dist/utils/filter-resolver.d.ts.map +0 -1
  124. package/dist/utils/labels.d.ts +0 -13
  125. package/dist/utils/labels.d.ts.map +0 -1
  126. package/dist/utils/output-schemas.d.ts +0 -163
  127. package/dist/utils/output-schemas.d.ts.map +0 -1
  128. package/dist/utils/priorities.d.ts +0 -14
  129. package/dist/utils/priorities.d.ts.map +0 -1
  130. package/dist/utils/response-builders.d.ts +0 -93
  131. package/dist/utils/response-builders.d.ts.map +0 -1
  132. package/dist/utils/sanitize-data.d.ts +0 -10
  133. package/dist/utils/sanitize-data.d.ts.map +0 -1
  134. package/dist/utils/test-helpers.d.ts +0 -91
  135. package/dist/utils/test-helpers.d.ts.map +0 -1
  136. package/dist/utils/tool-names.d.ts +0 -52
  137. package/dist/utils/tool-names.d.ts.map +0 -1
  138. package/dist/utils/user-resolver.d.ts +0 -39
  139. package/dist/utils/user-resolver.d.ts.map +0 -1
  140. package/dist/utils/widget-loader.d.ts +0 -7
  141. package/dist/utils/widget-loader.d.ts.map +0 -1
  142. package/dist/utils/workspace-resolver.d.ts +0 -31
  143. package/dist/utils/workspace-resolver.d.ts.map +0 -1
  144. package/scripts/inline-widget-builder.ts +0 -87
  145. package/scripts/inline-widgets-vite-plugin.ts +0 -134
@@ -1,112 +0,0 @@
1
- import { z } from 'zod';
2
- declare const addProjects: {
3
- name: "add-projects";
4
- description: string;
5
- parameters: {
6
- projects: z.ZodArray<z.ZodObject<{
7
- name: z.ZodString;
8
- parentId: z.ZodOptional<z.ZodString>;
9
- isFavorite: z.ZodOptional<z.ZodBoolean>;
10
- viewStyle: z.ZodOptional<z.ZodEnum<{
11
- list: "list";
12
- board: "board";
13
- calendar: "calendar";
14
- }>>;
15
- color: z.ZodPipe<z.ZodTransform<string | undefined, unknown>, z.ZodOptional<z.ZodEnum<{
16
- berry_red: "berry_red";
17
- red: "red";
18
- orange: "orange";
19
- yellow: "yellow";
20
- olive_green: "olive_green";
21
- lime_green: "lime_green";
22
- green: "green";
23
- mint_green: "mint_green";
24
- teal: "teal";
25
- sky_blue: "sky_blue";
26
- light_blue: "light_blue";
27
- blue: "blue";
28
- grape: "grape";
29
- violet: "violet";
30
- lavender: "lavender";
31
- magenta: "magenta";
32
- salmon: "salmon";
33
- charcoal: "charcoal";
34
- grey: "grey";
35
- taupe: "taupe";
36
- }>>>;
37
- workspace: z.ZodOptional<z.ZodString>;
38
- }, z.core.$strip>>;
39
- };
40
- outputSchema: {
41
- projects: z.ZodArray<z.ZodObject<{
42
- id: z.ZodString;
43
- name: z.ZodString;
44
- color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
45
- berry_red: "berry_red";
46
- red: "red";
47
- orange: "orange";
48
- yellow: "yellow";
49
- olive_green: "olive_green";
50
- lime_green: "lime_green";
51
- green: "green";
52
- mint_green: "mint_green";
53
- teal: "teal";
54
- sky_blue: "sky_blue";
55
- light_blue: "light_blue";
56
- blue: "blue";
57
- grape: "grape";
58
- violet: "violet";
59
- lavender: "lavender";
60
- magenta: "magenta";
61
- salmon: "salmon";
62
- charcoal: "charcoal";
63
- grey: "grey";
64
- taupe: "taupe";
65
- }>>>;
66
- isFavorite: z.ZodBoolean;
67
- isShared: z.ZodBoolean;
68
- parentId: z.ZodOptional<z.ZodString>;
69
- inboxProject: z.ZodBoolean;
70
- viewStyle: z.ZodString;
71
- workspaceId: z.ZodOptional<z.ZodString>;
72
- folderId: z.ZodOptional<z.ZodString>;
73
- childOrder: z.ZodNumber;
74
- }, z.core.$strip>>;
75
- totalCount: z.ZodNumber;
76
- };
77
- annotations: {
78
- readOnlyHint: false;
79
- destructiveHint: false;
80
- idempotentHint: false;
81
- };
82
- execute({ projects }: {
83
- projects: {
84
- name: string;
85
- parentId?: string | undefined;
86
- isFavorite?: boolean | undefined;
87
- viewStyle?: "list" | "board" | "calendar" | undefined;
88
- color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
89
- workspace?: string | undefined;
90
- }[];
91
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
92
- textContent: string;
93
- structuredContent: {
94
- projects: {
95
- id: string;
96
- name: string;
97
- color: import('@doist/todoist-api-typescript').ColorKey;
98
- isFavorite: boolean;
99
- isShared: boolean;
100
- parentId: string | undefined;
101
- inboxProject: boolean;
102
- viewStyle: string;
103
- workspaceId: string | undefined;
104
- folderId: string | undefined;
105
- childOrder: number;
106
- }[];
107
- totalCount: number;
108
- };
109
- }>;
110
- };
111
- export { addProjects };
112
- //# sourceMappingURL=add-projects.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC8C,CAAA;AAW/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,50 +0,0 @@
1
- import { z } from 'zod';
2
- declare const addSections: {
3
- name: "add-sections";
4
- description: string;
5
- parameters: {
6
- sections: z.ZodArray<z.ZodObject<{
7
- name: z.ZodString;
8
- projectId: z.ZodString;
9
- }, z.core.$strip>>;
10
- };
11
- outputSchema: {
12
- sections: z.ZodArray<z.ZodObject<{
13
- id: z.ZodString;
14
- name: z.ZodString;
15
- }, z.core.$strip>>;
16
- totalCount: z.ZodNumber;
17
- };
18
- annotations: {
19
- readOnlyHint: false;
20
- destructiveHint: false;
21
- idempotentHint: false;
22
- };
23
- execute({ sections }: {
24
- sections: {
25
- name: string;
26
- projectId: string;
27
- }[];
28
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
29
- textContent: string;
30
- structuredContent: {
31
- sections: {
32
- url: string;
33
- id: string;
34
- userId: string;
35
- projectId: string;
36
- addedAt: string;
37
- updatedAt: string;
38
- archivedAt: string | null;
39
- name: string;
40
- sectionOrder: number;
41
- isArchived: boolean;
42
- isDeleted: boolean;
43
- isCollapsed: boolean;
44
- }[];
45
- totalCount: number;
46
- };
47
- }>;
48
- };
49
- export { addSections };
50
- //# sourceMappingURL=add-sections.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-sections.d.ts","sourceRoot":"","sources":["../../src/tools/add-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AAa/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,118 +0,0 @@
1
- import { TodoistApi } from '@doist/todoist-api-typescript';
2
- import { z } from 'zod';
3
- declare const MAX_TASKS_PER_OPERATION = 25;
4
- declare const addTasks: {
5
- name: "add-tasks";
6
- description: string;
7
- parameters: {
8
- tasks: z.ZodArray<z.ZodObject<{
9
- content: z.ZodString;
10
- description: z.ZodOptional<z.ZodString>;
11
- priority: z.ZodOptional<z.ZodEnum<{
12
- p1: "p1";
13
- p2: "p2";
14
- p3: "p3";
15
- p4: "p4";
16
- }>>;
17
- dueString: z.ZodOptional<z.ZodString>;
18
- deadlineDate: z.ZodOptional<z.ZodString>;
19
- duration: z.ZodOptional<z.ZodString>;
20
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
- projectId: z.ZodOptional<z.ZodString>;
22
- sectionId: z.ZodOptional<z.ZodString>;
23
- parentId: z.ZodOptional<z.ZodString>;
24
- order: z.ZodOptional<z.ZodNumber>;
25
- responsibleUser: z.ZodOptional<z.ZodString>;
26
- isUncompletable: z.ZodOptional<z.ZodBoolean>;
27
- }, z.core.$strip>>;
28
- };
29
- outputSchema: {
30
- tasks: z.ZodArray<z.ZodObject<{
31
- id: z.ZodString;
32
- content: z.ZodString;
33
- description: z.ZodString;
34
- dueDate: z.ZodOptional<z.ZodString>;
35
- recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
36
- deadlineDate: z.ZodOptional<z.ZodString>;
37
- priority: z.ZodEnum<{
38
- p1: "p1";
39
- p2: "p2";
40
- p3: "p3";
41
- p4: "p4";
42
- }>;
43
- projectId: z.ZodString;
44
- sectionId: z.ZodOptional<z.ZodString>;
45
- parentId: z.ZodOptional<z.ZodString>;
46
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
- duration: z.ZodOptional<z.ZodString>;
48
- responsibleUid: z.ZodOptional<z.ZodString>;
49
- isUncompletable: z.ZodOptional<z.ZodBoolean>;
50
- assignedByUid: z.ZodOptional<z.ZodString>;
51
- checked: z.ZodBoolean;
52
- completedAt: z.ZodOptional<z.ZodString>;
53
- }, z.core.$strip>>;
54
- totalCount: z.ZodNumber;
55
- failures: z.ZodArray<z.ZodObject<{
56
- item: z.ZodString;
57
- error: z.ZodString;
58
- code: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>>;
60
- totalRequested: z.ZodNumber;
61
- successCount: z.ZodNumber;
62
- failureCount: z.ZodNumber;
63
- };
64
- annotations: {
65
- readOnlyHint: false;
66
- destructiveHint: false;
67
- idempotentHint: false;
68
- };
69
- execute({ tasks }: {
70
- tasks: {
71
- content: string;
72
- description?: string | undefined;
73
- priority?: "p1" | "p2" | "p3" | "p4" | undefined;
74
- dueString?: string | undefined;
75
- deadlineDate?: string | undefined;
76
- duration?: string | undefined;
77
- labels?: string[] | undefined;
78
- projectId?: string | undefined;
79
- sectionId?: string | undefined;
80
- parentId?: string | undefined;
81
- order?: number | undefined;
82
- responsibleUser?: string | undefined;
83
- isUncompletable?: boolean | undefined;
84
- }[];
85
- }, client: TodoistApi): Promise<{
86
- textContent: string;
87
- structuredContent: {
88
- tasks: {
89
- id: string;
90
- content: string;
91
- description: string;
92
- dueDate: string | undefined;
93
- recurring: string | boolean;
94
- deadlineDate: string | undefined;
95
- priority: "p1" | "p2" | "p3" | "p4";
96
- projectId: string;
97
- sectionId: string | undefined;
98
- parentId: string | undefined;
99
- labels: string[];
100
- duration: string | undefined;
101
- responsibleUid: string | undefined;
102
- assignedByUid: string | undefined;
103
- checked: boolean;
104
- completedAt: string | undefined;
105
- }[];
106
- totalCount: number;
107
- failures: {
108
- item: string;
109
- error: string;
110
- }[];
111
- totalRequested: number;
112
- successCount: number;
113
- failureCount: number;
114
- };
115
- }>;
116
- };
117
- export { addTasks, MAX_TASKS_PER_OPERATION };
118
- //# sourceMappingURL=add-tasks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAClF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,QAAA,MAAM,uBAAuB,KAAK,CAAA;AAyElC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA6CwB,MAAM;uBAAS,MAAM;;;;;;;CA0CI,CAAA;AAwK/D,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA"}
@@ -1,45 +0,0 @@
1
- import { z } from 'zod';
2
- declare const analyzeProjectHealth: {
3
- name: "analyze-project-health";
4
- description: string;
5
- parameters: {
6
- projectId: z.ZodString;
7
- };
8
- outputSchema: {
9
- projectId: z.ZodString;
10
- health: z.ZodObject<{
11
- status: z.ZodEnum<{
12
- UNKNOWN: "UNKNOWN";
13
- ON_TRACK: "ON_TRACK";
14
- AT_RISK: "AT_RISK";
15
- CRITICAL: "CRITICAL";
16
- EXCELLENT: "EXCELLENT";
17
- ERROR: "ERROR";
18
- }>;
19
- isStale: z.ZodBoolean;
20
- updateInProgress: z.ZodBoolean;
21
- }, z.core.$strip>;
22
- message: z.ZodString;
23
- };
24
- annotations: {
25
- readOnlyHint: false;
26
- destructiveHint: false;
27
- idempotentHint: true;
28
- };
29
- execute(args: {
30
- projectId: string;
31
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
32
- textContent: string;
33
- structuredContent: {
34
- projectId: string;
35
- health: {
36
- status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
37
- isStale: boolean;
38
- updateInProgress: boolean;
39
- };
40
- message: string;
41
- };
42
- }>;
43
- };
44
- export { analyzeProjectHealth };
45
- //# sourceMappingURL=analyze-project-health.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"analyze-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/analyze-project-health.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCqC,CAAA;AAE/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
@@ -1,42 +0,0 @@
1
- import { z } from 'zod';
2
- declare const completeTasks: {
3
- name: "complete-tasks";
4
- description: string;
5
- parameters: {
6
- ids: z.ZodArray<z.ZodString>;
7
- };
8
- outputSchema: {
9
- completed: z.ZodArray<z.ZodString>;
10
- failures: z.ZodArray<z.ZodObject<{
11
- item: z.ZodString;
12
- error: z.ZodString;
13
- code: z.ZodOptional<z.ZodString>;
14
- }, z.core.$strip>>;
15
- totalRequested: z.ZodNumber;
16
- successCount: z.ZodNumber;
17
- failureCount: z.ZodNumber;
18
- };
19
- annotations: {
20
- readOnlyHint: false;
21
- destructiveHint: true;
22
- idempotentHint: false;
23
- };
24
- execute(args: {
25
- ids: string[];
26
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
27
- textContent: string;
28
- structuredContent: {
29
- completed: string[];
30
- failures: {
31
- item: string;
32
- error: string;
33
- code?: string;
34
- }[];
35
- totalRequested: number;
36
- successCount: number;
37
- failureCount: number;
38
- };
39
- }>;
40
- };
41
- export { completeTasks };
42
- //# sourceMappingURL=complete-tasks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkBvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAQmB,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;CAgCX,CAAA;AAoB/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,50 +0,0 @@
1
- import { z } from 'zod';
2
- declare const deleteObject: {
3
- name: "delete-object";
4
- description: string;
5
- parameters: {
6
- type: z.ZodEnum<{
7
- filter: "filter";
8
- comment: "comment";
9
- task: "task";
10
- project: "project";
11
- section: "section";
12
- label: "label";
13
- }>;
14
- id: z.ZodString;
15
- };
16
- outputSchema: {
17
- deletedEntity: z.ZodObject<{
18
- type: z.ZodEnum<{
19
- filter: "filter";
20
- comment: "comment";
21
- task: "task";
22
- project: "project";
23
- section: "section";
24
- label: "label";
25
- }>;
26
- id: z.ZodString;
27
- }, z.core.$strip>;
28
- success: z.ZodBoolean;
29
- };
30
- annotations: {
31
- readOnlyHint: false;
32
- destructiveHint: true;
33
- idempotentHint: true;
34
- };
35
- execute(args: {
36
- type: "filter" | "comment" | "task" | "project" | "section" | "label";
37
- id: string;
38
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
39
- textContent: string;
40
- structuredContent: {
41
- deletedEntity: {
42
- type: "filter" | "comment" | "task" | "project" | "section" | "label";
43
- id: string;
44
- };
45
- success: true;
46
- };
47
- }>;
48
- };
49
- export { deleteObject };
50
- //# sourceMappingURL=delete-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,199 +0,0 @@
1
- import { z } from 'zod';
2
- declare const fetchObject: {
3
- name: "fetch-object";
4
- description: string;
5
- parameters: {
6
- type: z.ZodEnum<{
7
- comment: "comment";
8
- task: "task";
9
- project: "project";
10
- section: "section";
11
- }>;
12
- id: z.ZodString;
13
- };
14
- outputSchema: {
15
- type: z.ZodEnum<{
16
- comment: "comment";
17
- task: "task";
18
- project: "project";
19
- section: "section";
20
- }>;
21
- id: z.ZodString;
22
- object: z.ZodUnion<readonly [z.ZodObject<{
23
- id: z.ZodString;
24
- content: z.ZodString;
25
- description: z.ZodString;
26
- dueDate: z.ZodOptional<z.ZodString>;
27
- recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
28
- deadlineDate: z.ZodOptional<z.ZodString>;
29
- priority: z.ZodEnum<{
30
- p1: "p1";
31
- p2: "p2";
32
- p3: "p3";
33
- p4: "p4";
34
- }>;
35
- projectId: z.ZodString;
36
- sectionId: z.ZodOptional<z.ZodString>;
37
- parentId: z.ZodOptional<z.ZodString>;
38
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
- duration: z.ZodOptional<z.ZodString>;
40
- responsibleUid: z.ZodOptional<z.ZodString>;
41
- isUncompletable: z.ZodOptional<z.ZodBoolean>;
42
- assignedByUid: z.ZodOptional<z.ZodString>;
43
- checked: z.ZodBoolean;
44
- completedAt: z.ZodOptional<z.ZodString>;
45
- }, z.core.$strip>, z.ZodObject<{
46
- id: z.ZodString;
47
- name: z.ZodString;
48
- color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
49
- berry_red: "berry_red";
50
- red: "red";
51
- orange: "orange";
52
- yellow: "yellow";
53
- olive_green: "olive_green";
54
- lime_green: "lime_green";
55
- green: "green";
56
- mint_green: "mint_green";
57
- teal: "teal";
58
- sky_blue: "sky_blue";
59
- light_blue: "light_blue";
60
- blue: "blue";
61
- grape: "grape";
62
- violet: "violet";
63
- lavender: "lavender";
64
- magenta: "magenta";
65
- salmon: "salmon";
66
- charcoal: "charcoal";
67
- grey: "grey";
68
- taupe: "taupe";
69
- }>>>;
70
- isFavorite: z.ZodBoolean;
71
- isShared: z.ZodBoolean;
72
- parentId: z.ZodOptional<z.ZodString>;
73
- inboxProject: z.ZodBoolean;
74
- viewStyle: z.ZodString;
75
- workspaceId: z.ZodOptional<z.ZodString>;
76
- folderId: z.ZodOptional<z.ZodString>;
77
- childOrder: z.ZodNumber;
78
- }, z.core.$strip>, z.ZodObject<{
79
- id: z.ZodString;
80
- taskId: z.ZodOptional<z.ZodString>;
81
- projectId: z.ZodOptional<z.ZodString>;
82
- content: z.ZodString;
83
- postedAt: z.ZodString;
84
- postedUid: z.ZodOptional<z.ZodString>;
85
- fileAttachment: z.ZodOptional<z.ZodObject<{
86
- resourceType: z.ZodString;
87
- fileName: z.ZodOptional<z.ZodString>;
88
- fileSize: z.ZodOptional<z.ZodNumber>;
89
- fileType: z.ZodOptional<z.ZodString>;
90
- fileUrl: z.ZodOptional<z.ZodString>;
91
- fileDuration: z.ZodOptional<z.ZodNumber>;
92
- uploadState: z.ZodOptional<z.ZodEnum<{
93
- completed: "completed";
94
- pending: "pending";
95
- }>>;
96
- url: z.ZodOptional<z.ZodString>;
97
- title: z.ZodOptional<z.ZodString>;
98
- image: z.ZodOptional<z.ZodString>;
99
- imageWidth: z.ZodOptional<z.ZodNumber>;
100
- imageHeight: z.ZodOptional<z.ZodNumber>;
101
- }, z.core.$strip>>;
102
- }, z.core.$strip>, z.ZodObject<{
103
- id: z.ZodString;
104
- name: z.ZodString;
105
- }, z.core.$strip>]>;
106
- };
107
- annotations: {
108
- readOnlyHint: true;
109
- destructiveHint: false;
110
- idempotentHint: true;
111
- };
112
- execute(args: {
113
- type: "comment" | "task" | "project" | "section";
114
- id: string;
115
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
116
- textContent: string;
117
- structuredContent: {
118
- type: "task";
119
- id: string;
120
- object: {
121
- id: string;
122
- content: string;
123
- description: string;
124
- dueDate: string | undefined;
125
- recurring: string | boolean;
126
- deadlineDate: string | undefined;
127
- priority: "p1" | "p2" | "p3" | "p4";
128
- projectId: string;
129
- sectionId: string | undefined;
130
- parentId: string | undefined;
131
- labels: string[];
132
- duration: string | undefined;
133
- responsibleUid: string | undefined;
134
- assignedByUid: string | undefined;
135
- checked: boolean;
136
- completedAt: string | undefined;
137
- };
138
- };
139
- } | {
140
- textContent: string;
141
- structuredContent: {
142
- type: "project";
143
- id: string;
144
- object: {
145
- id: string;
146
- name: string;
147
- color: import('@doist/todoist-api-typescript').ColorKey;
148
- isFavorite: boolean;
149
- isShared: boolean;
150
- parentId: string | undefined;
151
- inboxProject: boolean;
152
- viewStyle: string;
153
- workspaceId: string | undefined;
154
- folderId: string | undefined;
155
- childOrder: number;
156
- };
157
- };
158
- } | {
159
- textContent: string;
160
- structuredContent: {
161
- type: "comment";
162
- id: string;
163
- object: {
164
- id: string;
165
- taskId: string | undefined;
166
- projectId: string | undefined;
167
- content: string;
168
- postedAt: string;
169
- postedUid: string;
170
- fileAttachment: {
171
- resourceType: string;
172
- fileName: string | undefined;
173
- fileSize: number | undefined;
174
- fileType: string | undefined;
175
- fileUrl: string | undefined;
176
- fileDuration: number | undefined;
177
- uploadState: "completed" | "pending" | undefined;
178
- url: string | undefined;
179
- title: string | undefined;
180
- image: string | undefined;
181
- imageWidth: number | undefined;
182
- imageHeight: number | undefined;
183
- } | undefined;
184
- };
185
- };
186
- } | {
187
- textContent: string;
188
- structuredContent: {
189
- type: "section";
190
- id: string;
191
- object: {
192
- id: string;
193
- name: string;
194
- };
195
- };
196
- }>;
197
- };
198
- export { fetchObject };
199
- //# sourceMappingURL=fetch-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,41 +0,0 @@
1
- import { z } from 'zod';
2
- type FetchResult = {
3
- id: string;
4
- title: string;
5
- text: string;
6
- url: string;
7
- metadata?: Record<string, unknown>;
8
- };
9
- /**
10
- * OpenAI MCP fetch tool - retrieves the full contents of a task or project by ID.
11
- *
12
- * This tool follows the OpenAI MCP fetch tool specification:
13
- * @see https://platform.openai.com/docs/mcp#fetch-tool
14
- */
15
- declare const fetch: {
16
- name: "fetch";
17
- description: string;
18
- parameters: {
19
- id: z.ZodString;
20
- };
21
- outputSchema: {
22
- id: z.ZodString;
23
- title: z.ZodString;
24
- text: z.ZodString;
25
- url: z.ZodString;
26
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
27
- };
28
- annotations: {
29
- readOnlyHint: true;
30
- destructiveHint: false;
31
- idempotentHint: true;
32
- };
33
- execute(args: {
34
- id: string;
35
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
36
- textContent: string;
37
- structuredContent: FetchResult;
38
- }>;
39
- };
40
- export { fetch };
41
- //# sourceMappingURL=fetch.d.ts.map