@doist/todoist-ai 4.17.0 → 4.17.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/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +390 -584
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts +1 -37
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-BADReNAy.js → mcp-server-BSQxi0xQ.js} +1067 -1070
- package/dist/todoist-tool.d.ts +6 -2
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +49 -20
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +49 -38
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts +10 -22
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts +1 -15
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +33 -47
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts +3 -17
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +2 -16
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch.d.ts +3 -8
- package/dist/tools/fetch.d.ts.map +1 -1
- package/dist/tools/find-activity.d.ts +15 -29
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-comments.d.ts +51 -40
- package/dist/tools/find-comments.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +29 -43
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-project-collaborators.d.ts +20 -20
- package/dist/tools/find-project-collaborators.d.ts.map +1 -1
- package/dist/tools/find-projects.d.ts +7 -21
- package/dist/tools/find-projects.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +1 -15
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +27 -41
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +29 -43
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/get-overview.d.ts +9 -16
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +5 -19
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/search.d.ts +11 -7
- package/dist/tools/search.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts +49 -38
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts +7 -19
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts +1 -15
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +33 -47
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/user-info.d.ts +1 -15
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +60 -32
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/sanitize-data.d.ts +3 -2
- package/dist/utils/sanitize-data.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -33
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/package.json +13 -13
|
@@ -24,10 +24,7 @@ declare const findSections: {
|
|
|
24
24
|
projectId: string;
|
|
25
25
|
search?: string | undefined;
|
|
26
26
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
27
|
-
|
|
28
|
-
type: "text";
|
|
29
|
-
text: string;
|
|
30
|
-
}[];
|
|
27
|
+
textContent: string;
|
|
31
28
|
structuredContent: {
|
|
32
29
|
sections: {
|
|
33
30
|
id: string;
|
|
@@ -39,17 +36,6 @@ declare const findSections: {
|
|
|
39
36
|
search?: string | undefined;
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
|
-
} | {
|
|
43
|
-
content: ({
|
|
44
|
-
type: "text";
|
|
45
|
-
text: string;
|
|
46
|
-
mimeType?: undefined;
|
|
47
|
-
} | {
|
|
48
|
-
type: "text";
|
|
49
|
-
mimeType: string;
|
|
50
|
-
text: string;
|
|
51
|
-
})[];
|
|
52
|
-
structuredContent?: undefined;
|
|
53
39
|
}>;
|
|
54
40
|
};
|
|
55
41
|
export { findSections };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC6C,CAAA;AAwC/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -25,7 +25,7 @@ declare const findTasksByDate: {
|
|
|
25
25
|
projectId: z.ZodString;
|
|
26
26
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
27
27
|
parentId: z.ZodOptional<z.ZodString>;
|
|
28
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
28
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
29
|
duration: z.ZodOptional<z.ZodString>;
|
|
30
30
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
31
31
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -35,36 +35,36 @@ declare const findTasksByDate: {
|
|
|
35
35
|
content: string;
|
|
36
36
|
description: string;
|
|
37
37
|
id: string;
|
|
38
|
-
recurring: string | boolean;
|
|
39
|
-
priority: number;
|
|
40
38
|
projectId: string;
|
|
41
|
-
labels: string[];
|
|
42
39
|
checked: boolean;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
sectionId?: string | undefined;
|
|
40
|
+
priority: number;
|
|
41
|
+
recurring: string | boolean;
|
|
46
42
|
parentId?: string | undefined;
|
|
47
|
-
|
|
48
|
-
responsibleUid?: string | undefined;
|
|
43
|
+
sectionId?: string | undefined;
|
|
49
44
|
assignedByUid?: string | undefined;
|
|
45
|
+
responsibleUid?: string | undefined;
|
|
46
|
+
labels?: string[] | undefined;
|
|
47
|
+
duration?: string | undefined;
|
|
50
48
|
completedAt?: string | undefined;
|
|
49
|
+
dueDate?: string | undefined;
|
|
50
|
+
deadlineDate?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
content: string;
|
|
53
53
|
description: string;
|
|
54
54
|
id: string;
|
|
55
|
-
recurring: string | boolean;
|
|
56
|
-
priority: number;
|
|
57
55
|
projectId: string;
|
|
58
|
-
labels: string[];
|
|
59
56
|
checked: boolean;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
sectionId?: string | undefined;
|
|
57
|
+
priority: number;
|
|
58
|
+
recurring: string | boolean;
|
|
63
59
|
parentId?: string | undefined;
|
|
64
|
-
|
|
65
|
-
responsibleUid?: string | undefined;
|
|
60
|
+
sectionId?: string | undefined;
|
|
66
61
|
assignedByUid?: string | undefined;
|
|
62
|
+
responsibleUid?: string | undefined;
|
|
63
|
+
labels?: string[] | undefined;
|
|
64
|
+
duration?: string | undefined;
|
|
67
65
|
completedAt?: string | undefined;
|
|
66
|
+
dueDate?: string | undefined;
|
|
67
|
+
deadlineDate?: string | undefined;
|
|
68
68
|
}>, "many">;
|
|
69
69
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
70
70
|
totalCount: z.ZodNumber;
|
|
@@ -74,18 +74,15 @@ declare const findTasksByDate: {
|
|
|
74
74
|
execute(args: {
|
|
75
75
|
limit: number;
|
|
76
76
|
daysCount: number;
|
|
77
|
-
labels?: string[] | undefined;
|
|
78
77
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
78
|
+
labels?: string[] | undefined;
|
|
79
79
|
cursor?: string | undefined;
|
|
80
80
|
responsibleUser?: string | undefined;
|
|
81
81
|
labelsOperator?: "and" | "or" | undefined;
|
|
82
82
|
startDate?: string | undefined;
|
|
83
83
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
84
84
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
85
|
-
|
|
86
|
-
type: "text";
|
|
87
|
-
text: string;
|
|
88
|
-
}[];
|
|
85
|
+
textContent: string;
|
|
89
86
|
structuredContent: {
|
|
90
87
|
tasks: {
|
|
91
88
|
id: string;
|
|
@@ -96,23 +93,23 @@ declare const findTasksByDate: {
|
|
|
96
93
|
deadlineDate: string | undefined;
|
|
97
94
|
priority: number;
|
|
98
95
|
projectId: string;
|
|
99
|
-
sectionId: string |
|
|
100
|
-
parentId: string |
|
|
96
|
+
sectionId: string | undefined;
|
|
97
|
+
parentId: string | undefined;
|
|
101
98
|
labels: string[];
|
|
102
|
-
duration: string |
|
|
103
|
-
responsibleUid: string |
|
|
104
|
-
assignedByUid: string |
|
|
99
|
+
duration: string | undefined;
|
|
100
|
+
responsibleUid: string | undefined;
|
|
101
|
+
assignedByUid: string | undefined;
|
|
105
102
|
checked: boolean;
|
|
106
|
-
completedAt: string |
|
|
103
|
+
completedAt: string | undefined;
|
|
107
104
|
}[];
|
|
108
|
-
nextCursor: string |
|
|
105
|
+
nextCursor: string | undefined;
|
|
109
106
|
totalCount: number;
|
|
110
107
|
hasMore: boolean;
|
|
111
108
|
appliedFilters: {
|
|
112
109
|
limit: number;
|
|
113
110
|
daysCount: number;
|
|
114
|
-
labels?: string[] | undefined;
|
|
115
111
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
112
|
+
labels?: string[] | undefined;
|
|
116
113
|
cursor?: string | undefined;
|
|
117
114
|
responsibleUser?: string | undefined;
|
|
118
115
|
labelsOperator?: "and" | "or" | undefined;
|
|
@@ -120,17 +117,6 @@ declare const findTasksByDate: {
|
|
|
120
117
|
overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
|
|
121
118
|
};
|
|
122
119
|
};
|
|
123
|
-
} | {
|
|
124
|
-
content: ({
|
|
125
|
-
type: "text";
|
|
126
|
-
text: string;
|
|
127
|
-
mimeType?: undefined;
|
|
128
|
-
} | {
|
|
129
|
-
type: "text";
|
|
130
|
-
mimeType: string;
|
|
131
|
-
text: string;
|
|
132
|
-
})[];
|
|
133
|
-
structuredContent?: undefined;
|
|
134
120
|
}>;
|
|
135
121
|
};
|
|
136
122
|
export { findTasksByDate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsEvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE0C,CAAA;AAyF/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -26,7 +26,7 @@ declare const findTasks: {
|
|
|
26
26
|
projectId: z.ZodString;
|
|
27
27
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
28
28
|
parentId: z.ZodOptional<z.ZodString>;
|
|
29
|
-
labels: z.ZodArray<z.ZodString, "many"
|
|
29
|
+
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
30
|
duration: z.ZodOptional<z.ZodString>;
|
|
31
31
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
32
32
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
@@ -36,36 +36,36 @@ declare const findTasks: {
|
|
|
36
36
|
content: string;
|
|
37
37
|
description: string;
|
|
38
38
|
id: string;
|
|
39
|
-
recurring: string | boolean;
|
|
40
|
-
priority: number;
|
|
41
39
|
projectId: string;
|
|
42
|
-
labels: string[];
|
|
43
40
|
checked: boolean;
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
sectionId?: string | undefined;
|
|
41
|
+
priority: number;
|
|
42
|
+
recurring: string | boolean;
|
|
47
43
|
parentId?: string | undefined;
|
|
48
|
-
|
|
49
|
-
responsibleUid?: string | undefined;
|
|
44
|
+
sectionId?: string | undefined;
|
|
50
45
|
assignedByUid?: string | undefined;
|
|
46
|
+
responsibleUid?: string | undefined;
|
|
47
|
+
labels?: string[] | undefined;
|
|
48
|
+
duration?: string | undefined;
|
|
51
49
|
completedAt?: string | undefined;
|
|
50
|
+
dueDate?: string | undefined;
|
|
51
|
+
deadlineDate?: string | undefined;
|
|
52
52
|
}, {
|
|
53
53
|
content: string;
|
|
54
54
|
description: string;
|
|
55
55
|
id: string;
|
|
56
|
-
recurring: string | boolean;
|
|
57
|
-
priority: number;
|
|
58
56
|
projectId: string;
|
|
59
|
-
labels: string[];
|
|
60
57
|
checked: boolean;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
sectionId?: string | undefined;
|
|
58
|
+
priority: number;
|
|
59
|
+
recurring: string | boolean;
|
|
64
60
|
parentId?: string | undefined;
|
|
65
|
-
|
|
66
|
-
responsibleUid?: string | undefined;
|
|
61
|
+
sectionId?: string | undefined;
|
|
67
62
|
assignedByUid?: string | undefined;
|
|
63
|
+
responsibleUid?: string | undefined;
|
|
64
|
+
labels?: string[] | undefined;
|
|
65
|
+
duration?: string | undefined;
|
|
68
66
|
completedAt?: string | undefined;
|
|
67
|
+
dueDate?: string | undefined;
|
|
68
|
+
deadlineDate?: string | undefined;
|
|
69
69
|
}>, "many">;
|
|
70
70
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
71
71
|
totalCount: z.ZodNumber;
|
|
@@ -74,20 +74,17 @@ declare const findTasks: {
|
|
|
74
74
|
};
|
|
75
75
|
execute(args: {
|
|
76
76
|
limit: number;
|
|
77
|
+
parentId?: string | undefined;
|
|
78
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
77
79
|
projectId?: string | undefined;
|
|
78
80
|
sectionId?: string | undefined;
|
|
79
|
-
parentId?: string | undefined;
|
|
80
81
|
labels?: string[] | undefined;
|
|
81
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
82
82
|
cursor?: string | undefined;
|
|
83
83
|
responsibleUser?: string | undefined;
|
|
84
84
|
labelsOperator?: "and" | "or" | undefined;
|
|
85
85
|
searchText?: string | undefined;
|
|
86
86
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
87
|
-
|
|
88
|
-
type: "text";
|
|
89
|
-
text: string;
|
|
90
|
-
}[];
|
|
87
|
+
textContent: string;
|
|
91
88
|
structuredContent: {
|
|
92
89
|
tasks: {
|
|
93
90
|
id: string;
|
|
@@ -98,42 +95,31 @@ declare const findTasks: {
|
|
|
98
95
|
deadlineDate: string | undefined;
|
|
99
96
|
priority: number;
|
|
100
97
|
projectId: string;
|
|
101
|
-
sectionId: string |
|
|
102
|
-
parentId: string |
|
|
98
|
+
sectionId: string | undefined;
|
|
99
|
+
parentId: string | undefined;
|
|
103
100
|
labels: string[];
|
|
104
|
-
duration: string |
|
|
105
|
-
responsibleUid: string |
|
|
106
|
-
assignedByUid: string |
|
|
101
|
+
duration: string | undefined;
|
|
102
|
+
responsibleUid: string | undefined;
|
|
103
|
+
assignedByUid: string | undefined;
|
|
107
104
|
checked: boolean;
|
|
108
|
-
completedAt: string |
|
|
105
|
+
completedAt: string | undefined;
|
|
109
106
|
}[];
|
|
110
|
-
nextCursor: string |
|
|
107
|
+
nextCursor: string | undefined;
|
|
111
108
|
totalCount: number;
|
|
112
109
|
hasMore: boolean;
|
|
113
110
|
appliedFilters: {
|
|
114
111
|
limit: number;
|
|
112
|
+
parentId?: string | undefined;
|
|
113
|
+
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
115
114
|
projectId?: string | undefined;
|
|
116
115
|
sectionId?: string | undefined;
|
|
117
|
-
parentId?: string | undefined;
|
|
118
116
|
labels?: string[] | undefined;
|
|
119
|
-
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
120
117
|
cursor?: string | undefined;
|
|
121
118
|
responsibleUser?: string | undefined;
|
|
122
119
|
labelsOperator?: "and" | "or" | undefined;
|
|
123
120
|
searchText?: string | undefined;
|
|
124
121
|
};
|
|
125
122
|
};
|
|
126
|
-
} | {
|
|
127
|
-
content: ({
|
|
128
|
-
type: "text";
|
|
129
|
-
text: string;
|
|
130
|
-
mimeType?: undefined;
|
|
131
|
-
} | {
|
|
132
|
-
type: "text";
|
|
133
|
-
mimeType: string;
|
|
134
|
-
text: string;
|
|
135
|
-
})[];
|
|
136
|
-
structuredContent?: undefined;
|
|
137
123
|
}>;
|
|
138
124
|
};
|
|
139
125
|
export { findTasks };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA6DvB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyLgD,CAAA;AAkK/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -45,7 +45,7 @@ declare const getOverview: {
|
|
|
45
45
|
outputSchema: {
|
|
46
46
|
type: z.ZodEnum<["account_overview", "project_overview"]>;
|
|
47
47
|
totalProjects: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
totalTasks: z.ZodNumber
|
|
48
|
+
totalTasks: z.ZodOptional<z.ZodNumber>;
|
|
49
49
|
totalSections: z.ZodOptional<z.ZodNumber>;
|
|
50
50
|
tasksWithoutSection: z.ZodOptional<z.ZodNumber>;
|
|
51
51
|
projectInfo: z.ZodOptional<z.ZodObject<{
|
|
@@ -64,26 +64,19 @@ declare const getOverview: {
|
|
|
64
64
|
isFavorite: boolean;
|
|
65
65
|
isShared: boolean;
|
|
66
66
|
}>>;
|
|
67
|
+
hasNestedProjects: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
inbox: z.ZodOptional<z.ZodAny>;
|
|
69
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
70
|
+
project: z.ZodOptional<z.ZodAny>;
|
|
71
|
+
sections: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
72
|
+
tasks: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
73
|
+
stats: z.ZodOptional<z.ZodAny>;
|
|
67
74
|
};
|
|
68
75
|
execute(args: {
|
|
69
76
|
projectId?: string | undefined;
|
|
70
77
|
}, client: TodoistApi): Promise<{
|
|
71
|
-
|
|
72
|
-
type: "text";
|
|
73
|
-
text: string;
|
|
74
|
-
}[];
|
|
78
|
+
textContent: string;
|
|
75
79
|
structuredContent: AccountOverviewStructured | ProjectOverviewStructured;
|
|
76
|
-
} | {
|
|
77
|
-
content: ({
|
|
78
|
-
type: "text";
|
|
79
|
-
text: string;
|
|
80
|
-
mimeType?: undefined;
|
|
81
|
-
} | {
|
|
82
|
-
type: "text";
|
|
83
|
-
mimeType: string;
|
|
84
|
-
text: string;
|
|
85
|
-
})[];
|
|
86
|
-
structuredContent?: undefined;
|
|
87
80
|
}>;
|
|
88
81
|
};
|
|
89
82
|
export { getOverview, type AccountOverviewStructured, type ProjectOverviewStructured };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAqB,OAAO,EAAgB,MAAM,oBAAoB,CAAA;AAuK7E,KAAK,gBAAgB,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAA;IACvB,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC/B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,EAAE;QACH,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,OAAO,EAAE,CAAA;KACtB,GAAG,IAAI,CAAA;IACR,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,OAAO,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;KACf,CAAA;IACD,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,OAAO,OAAO,CAAC,GAAG;QAAE,QAAQ,EAAE,KAAK,EAAE,CAAA;KAAE,CAAC,CAAA;IAChE,KAAK,EAAE;QACH,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,mBAAmB,EAAE,MAAM,CAAA;KAC9B,CAAA;CACJ,CAAA;AA6JD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgB8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,KAAK,yBAAyB,EAAE,CAAA"}
|
|
@@ -3,8 +3,8 @@ export type OperationResult = {
|
|
|
3
3
|
taskId: string;
|
|
4
4
|
success: boolean;
|
|
5
5
|
error?: string;
|
|
6
|
-
originalAssigneeId?: string
|
|
7
|
-
newAssigneeId?: string
|
|
6
|
+
originalAssigneeId?: string;
|
|
7
|
+
newAssigneeId?: string;
|
|
8
8
|
};
|
|
9
9
|
declare const manageAssignments: {
|
|
10
10
|
name: "manage-assignments";
|
|
@@ -36,7 +36,7 @@ declare const manageAssignments: {
|
|
|
36
36
|
originalAssigneeId?: string | undefined;
|
|
37
37
|
newAssigneeId?: string | undefined;
|
|
38
38
|
}>, "many">;
|
|
39
|
-
summary: z.ZodObject<{
|
|
39
|
+
summary: z.ZodOptional<z.ZodObject<{
|
|
40
40
|
total: z.ZodNumber;
|
|
41
41
|
succeeded: z.ZodNumber;
|
|
42
42
|
failed: z.ZodNumber;
|
|
@@ -51,7 +51,7 @@ declare const manageAssignments: {
|
|
|
51
51
|
succeeded: number;
|
|
52
52
|
failed: number;
|
|
53
53
|
dryRun: boolean;
|
|
54
|
-
}
|
|
54
|
+
}>>;
|
|
55
55
|
};
|
|
56
56
|
execute(args: {
|
|
57
57
|
dryRun: boolean;
|
|
@@ -60,10 +60,7 @@ declare const manageAssignments: {
|
|
|
60
60
|
responsibleUser?: string | undefined;
|
|
61
61
|
fromAssigneeUser?: string | undefined;
|
|
62
62
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
63
|
-
|
|
64
|
-
type: "text";
|
|
65
|
-
text: string;
|
|
66
|
-
}[];
|
|
63
|
+
textContent: string;
|
|
67
64
|
structuredContent: {
|
|
68
65
|
operation: "assign" | "unassign" | "reassign";
|
|
69
66
|
results: OperationResult[];
|
|
@@ -72,17 +69,6 @@ declare const manageAssignments: {
|
|
|
72
69
|
failed: number;
|
|
73
70
|
dryRun: boolean;
|
|
74
71
|
};
|
|
75
|
-
} | {
|
|
76
|
-
content: ({
|
|
77
|
-
type: "text";
|
|
78
|
-
text: string;
|
|
79
|
-
mimeType?: undefined;
|
|
80
|
-
} | {
|
|
81
|
-
type: "text";
|
|
82
|
-
mimeType: string;
|
|
83
|
-
text: string;
|
|
84
|
-
})[];
|
|
85
|
-
structuredContent?: undefined;
|
|
86
72
|
}>;
|
|
87
73
|
};
|
|
88
74
|
export { manageAssignments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AA+BD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqRwC,CAAA;AAuF/D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
package/dist/tools/search.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
type
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}[];
|
|
7
|
-
isError?: boolean;
|
|
2
|
+
type SearchResult = {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
url: string;
|
|
8
6
|
};
|
|
9
7
|
/**
|
|
10
8
|
* OpenAI MCP search tool - returns a list of relevant search results from Todoist.
|
|
@@ -36,7 +34,13 @@ declare const search: {
|
|
|
36
34
|
};
|
|
37
35
|
execute(args: {
|
|
38
36
|
query: string;
|
|
39
|
-
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<
|
|
37
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
38
|
+
textContent: string;
|
|
39
|
+
structuredContent: {
|
|
40
|
+
results: SearchResult[];
|
|
41
|
+
totalCount: number;
|
|
42
|
+
};
|
|
43
|
+
}>;
|
|
40
44
|
};
|
|
41
45
|
export { search };
|
|
42
46
|
//# sourceMappingURL=search.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"search.d.ts","sourceRoot":"","sources":["../../src/tools/search.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,KAAK,YAAY,GAAG;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,GAAG,EAAE,MAAM,CAAA;CACd,CAAA;AAeD;;;;;GAKG;AACH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDmD,CAAA;AAE/D,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -21,7 +21,8 @@ declare const updateComments: {
|
|
|
21
21
|
projectId: z.ZodOptional<z.ZodString>;
|
|
22
22
|
content: z.ZodString;
|
|
23
23
|
postedAt: z.ZodString;
|
|
24
|
-
|
|
24
|
+
postedUid: z.ZodOptional<z.ZodString>;
|
|
25
|
+
fileAttachment: z.ZodOptional<z.ZodObject<{
|
|
25
26
|
resourceType: z.ZodString;
|
|
26
27
|
fileName: z.ZodOptional<z.ZodString>;
|
|
27
28
|
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -29,53 +30,80 @@ declare const updateComments: {
|
|
|
29
30
|
fileUrl: z.ZodOptional<z.ZodString>;
|
|
30
31
|
fileDuration: z.ZodOptional<z.ZodNumber>;
|
|
31
32
|
uploadState: z.ZodOptional<z.ZodEnum<["pending", "completed"]>>;
|
|
33
|
+
url: z.ZodOptional<z.ZodString>;
|
|
34
|
+
title: z.ZodOptional<z.ZodString>;
|
|
35
|
+
image: z.ZodOptional<z.ZodString>;
|
|
36
|
+
imageWidth: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
imageHeight: z.ZodOptional<z.ZodNumber>;
|
|
32
38
|
}, "strip", z.ZodTypeAny, {
|
|
33
39
|
resourceType: string;
|
|
40
|
+
image?: string | undefined;
|
|
41
|
+
title?: string | undefined;
|
|
34
42
|
fileName?: string | undefined;
|
|
35
43
|
fileSize?: number | undefined;
|
|
36
44
|
fileType?: string | undefined;
|
|
37
45
|
fileUrl?: string | undefined;
|
|
38
46
|
fileDuration?: number | undefined;
|
|
39
47
|
uploadState?: "pending" | "completed" | undefined;
|
|
48
|
+
imageWidth?: number | undefined;
|
|
49
|
+
imageHeight?: number | undefined;
|
|
50
|
+
url?: string | undefined;
|
|
40
51
|
}, {
|
|
41
52
|
resourceType: string;
|
|
53
|
+
image?: string | undefined;
|
|
54
|
+
title?: string | undefined;
|
|
42
55
|
fileName?: string | undefined;
|
|
43
56
|
fileSize?: number | undefined;
|
|
44
57
|
fileType?: string | undefined;
|
|
45
58
|
fileUrl?: string | undefined;
|
|
46
59
|
fileDuration?: number | undefined;
|
|
47
60
|
uploadState?: "pending" | "completed" | undefined;
|
|
61
|
+
imageWidth?: number | undefined;
|
|
62
|
+
imageHeight?: number | undefined;
|
|
63
|
+
url?: string | undefined;
|
|
48
64
|
}>>;
|
|
49
65
|
}, "strip", z.ZodTypeAny, {
|
|
50
66
|
content: string;
|
|
51
67
|
id: string;
|
|
52
68
|
postedAt: string;
|
|
53
69
|
projectId?: string | undefined;
|
|
54
|
-
|
|
55
|
-
attachment?: {
|
|
70
|
+
fileAttachment?: {
|
|
56
71
|
resourceType: string;
|
|
72
|
+
image?: string | undefined;
|
|
73
|
+
title?: string | undefined;
|
|
57
74
|
fileName?: string | undefined;
|
|
58
75
|
fileSize?: number | undefined;
|
|
59
76
|
fileType?: string | undefined;
|
|
60
77
|
fileUrl?: string | undefined;
|
|
61
78
|
fileDuration?: number | undefined;
|
|
62
79
|
uploadState?: "pending" | "completed" | undefined;
|
|
80
|
+
imageWidth?: number | undefined;
|
|
81
|
+
imageHeight?: number | undefined;
|
|
82
|
+
url?: string | undefined;
|
|
63
83
|
} | undefined;
|
|
84
|
+
postedUid?: string | undefined;
|
|
85
|
+
taskId?: string | undefined;
|
|
64
86
|
}, {
|
|
65
87
|
content: string;
|
|
66
88
|
id: string;
|
|
67
89
|
postedAt: string;
|
|
68
90
|
projectId?: string | undefined;
|
|
69
|
-
|
|
70
|
-
attachment?: {
|
|
91
|
+
fileAttachment?: {
|
|
71
92
|
resourceType: string;
|
|
93
|
+
image?: string | undefined;
|
|
94
|
+
title?: string | undefined;
|
|
72
95
|
fileName?: string | undefined;
|
|
73
96
|
fileSize?: number | undefined;
|
|
74
97
|
fileType?: string | undefined;
|
|
75
98
|
fileUrl?: string | undefined;
|
|
76
99
|
fileDuration?: number | undefined;
|
|
77
100
|
uploadState?: "pending" | "completed" | undefined;
|
|
101
|
+
imageWidth?: number | undefined;
|
|
102
|
+
imageHeight?: number | undefined;
|
|
103
|
+
url?: string | undefined;
|
|
78
104
|
} | undefined;
|
|
105
|
+
postedUid?: string | undefined;
|
|
106
|
+
taskId?: string | undefined;
|
|
79
107
|
}>, "many">;
|
|
80
108
|
totalCount: z.ZodNumber;
|
|
81
109
|
updatedCommentIds: z.ZodArray<z.ZodString, "many">;
|
|
@@ -93,35 +121,29 @@ declare const updateComments: {
|
|
|
93
121
|
id: string;
|
|
94
122
|
}[];
|
|
95
123
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
96
|
-
|
|
97
|
-
type: "text";
|
|
98
|
-
text: string;
|
|
99
|
-
}[];
|
|
124
|
+
textContent: string;
|
|
100
125
|
structuredContent: {
|
|
101
126
|
comments: {
|
|
102
|
-
taskId: string | undefined;
|
|
103
127
|
id: string;
|
|
128
|
+
taskId: string | undefined;
|
|
129
|
+
projectId: string | undefined;
|
|
104
130
|
content: string;
|
|
105
131
|
postedAt: string;
|
|
132
|
+
postedUid: string;
|
|
106
133
|
fileAttachment: {
|
|
107
134
|
resourceType: string;
|
|
108
|
-
fileName
|
|
109
|
-
fileSize
|
|
110
|
-
fileType
|
|
111
|
-
fileUrl
|
|
112
|
-
fileDuration
|
|
113
|
-
uploadState
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
} |
|
|
120
|
-
postedUid: string;
|
|
121
|
-
uidsToNotify: string[] | null;
|
|
122
|
-
reactions: Record<string, string[]> | null;
|
|
123
|
-
isDeleted: boolean;
|
|
124
|
-
projectId?: string | undefined;
|
|
135
|
+
fileName: string | undefined;
|
|
136
|
+
fileSize: number | undefined;
|
|
137
|
+
fileType: string | undefined;
|
|
138
|
+
fileUrl: string | undefined;
|
|
139
|
+
fileDuration: number | undefined;
|
|
140
|
+
uploadState: "pending" | "completed" | undefined;
|
|
141
|
+
url: string | undefined;
|
|
142
|
+
title: string | undefined;
|
|
143
|
+
image: string | undefined;
|
|
144
|
+
imageWidth: number | undefined;
|
|
145
|
+
imageHeight: number | undefined;
|
|
146
|
+
} | undefined;
|
|
125
147
|
}[];
|
|
126
148
|
totalCount: number;
|
|
127
149
|
updatedCommentIds: string[];
|
|
@@ -129,17 +151,6 @@ declare const updateComments: {
|
|
|
129
151
|
updateCount: number;
|
|
130
152
|
};
|
|
131
153
|
};
|
|
132
|
-
} | {
|
|
133
|
-
content: ({
|
|
134
|
-
type: "text";
|
|
135
|
-
text: string;
|
|
136
|
-
mimeType?: undefined;
|
|
137
|
-
} | {
|
|
138
|
-
type: "text";
|
|
139
|
-
mimeType: string;
|
|
140
|
-
text: string;
|
|
141
|
-
})[];
|
|
142
|
-
structuredContent?: undefined;
|
|
143
154
|
}>;
|
|
144
155
|
};
|
|
145
156
|
export { updateComments };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0BvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+B2C,CAAA;AAqB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|