@doist/todoist-ai 5.1.1 → 5.2.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.
- package/dist/index.d.ts +23 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-BHGnG8l8.js → mcp-server-D0ROki3I.js} +66 -59
- package/dist/tools/add-tasks.d.ts +7 -0
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +3 -0
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +3 -0
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +3 -0
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +7 -0
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +3 -0
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const tools: {
|
|
|
39
39
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
40
40
|
parentId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
41
41
|
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
42
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
42
43
|
}, "strip", import('zod').ZodTypeAny, {
|
|
43
44
|
content: string;
|
|
44
45
|
description?: string | undefined;
|
|
@@ -48,6 +49,7 @@ declare const tools: {
|
|
|
48
49
|
labels?: string[] | undefined;
|
|
49
50
|
duration?: string | undefined;
|
|
50
51
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
52
|
+
isUncompletable?: boolean | undefined;
|
|
51
53
|
deadlineDate?: string | undefined;
|
|
52
54
|
dueString?: string | undefined;
|
|
53
55
|
responsibleUser?: string | undefined;
|
|
@@ -60,6 +62,7 @@ declare const tools: {
|
|
|
60
62
|
labels?: string[] | undefined;
|
|
61
63
|
duration?: string | undefined;
|
|
62
64
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
65
|
+
isUncompletable?: boolean | undefined;
|
|
63
66
|
deadlineDate?: string | undefined;
|
|
64
67
|
dueString?: string | undefined;
|
|
65
68
|
responsibleUser?: string | undefined;
|
|
@@ -80,6 +83,7 @@ declare const tools: {
|
|
|
80
83
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
81
84
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
82
85
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
86
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
83
87
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
84
88
|
checked: import('zod').ZodBoolean;
|
|
85
89
|
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -98,6 +102,7 @@ declare const tools: {
|
|
|
98
102
|
labels?: string[] | undefined;
|
|
99
103
|
duration?: string | undefined;
|
|
100
104
|
completedAt?: string | undefined;
|
|
105
|
+
isUncompletable?: boolean | undefined;
|
|
101
106
|
dueDate?: string | undefined;
|
|
102
107
|
deadlineDate?: string | undefined;
|
|
103
108
|
}, {
|
|
@@ -115,6 +120,7 @@ declare const tools: {
|
|
|
115
120
|
labels?: string[] | undefined;
|
|
116
121
|
duration?: string | undefined;
|
|
117
122
|
completedAt?: string | undefined;
|
|
123
|
+
isUncompletable?: boolean | undefined;
|
|
118
124
|
dueDate?: string | undefined;
|
|
119
125
|
deadlineDate?: string | undefined;
|
|
120
126
|
}>, "many">;
|
|
@@ -131,6 +137,7 @@ declare const tools: {
|
|
|
131
137
|
labels?: string[] | undefined;
|
|
132
138
|
duration?: string | undefined;
|
|
133
139
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
140
|
+
isUncompletable?: boolean | undefined;
|
|
134
141
|
deadlineDate?: string | undefined;
|
|
135
142
|
dueString?: string | undefined;
|
|
136
143
|
responsibleUser?: string | undefined;
|
|
@@ -221,6 +228,7 @@ declare const tools: {
|
|
|
221
228
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
222
229
|
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
223
230
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
231
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
224
232
|
}, "strip", import('zod').ZodTypeAny, {
|
|
225
233
|
id: string;
|
|
226
234
|
content?: string | undefined;
|
|
@@ -231,6 +239,7 @@ declare const tools: {
|
|
|
231
239
|
labels?: string[] | undefined;
|
|
232
240
|
duration?: string | undefined;
|
|
233
241
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
242
|
+
isUncompletable?: boolean | undefined;
|
|
234
243
|
deadlineDate?: string | undefined;
|
|
235
244
|
dueString?: string | undefined;
|
|
236
245
|
responsibleUser?: string | undefined;
|
|
@@ -245,6 +254,7 @@ declare const tools: {
|
|
|
245
254
|
labels?: string[] | undefined;
|
|
246
255
|
duration?: string | undefined;
|
|
247
256
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
257
|
+
isUncompletable?: boolean | undefined;
|
|
248
258
|
deadlineDate?: string | undefined;
|
|
249
259
|
dueString?: string | undefined;
|
|
250
260
|
responsibleUser?: string | undefined;
|
|
@@ -266,6 +276,7 @@ declare const tools: {
|
|
|
266
276
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
267
277
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
268
278
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
279
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
269
280
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
270
281
|
checked: import('zod').ZodBoolean;
|
|
271
282
|
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -284,6 +295,7 @@ declare const tools: {
|
|
|
284
295
|
labels?: string[] | undefined;
|
|
285
296
|
duration?: string | undefined;
|
|
286
297
|
completedAt?: string | undefined;
|
|
298
|
+
isUncompletable?: boolean | undefined;
|
|
287
299
|
dueDate?: string | undefined;
|
|
288
300
|
deadlineDate?: string | undefined;
|
|
289
301
|
}, {
|
|
@@ -301,6 +313,7 @@ declare const tools: {
|
|
|
301
313
|
labels?: string[] | undefined;
|
|
302
314
|
duration?: string | undefined;
|
|
303
315
|
completedAt?: string | undefined;
|
|
316
|
+
isUncompletable?: boolean | undefined;
|
|
304
317
|
dueDate?: string | undefined;
|
|
305
318
|
deadlineDate?: string | undefined;
|
|
306
319
|
}>, "many">;
|
|
@@ -329,6 +342,7 @@ declare const tools: {
|
|
|
329
342
|
labels?: string[] | undefined;
|
|
330
343
|
duration?: string | undefined;
|
|
331
344
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
345
|
+
isUncompletable?: boolean | undefined;
|
|
332
346
|
deadlineDate?: string | undefined;
|
|
333
347
|
dueString?: string | undefined;
|
|
334
348
|
responsibleUser?: string | undefined;
|
|
@@ -394,6 +408,7 @@ declare const tools: {
|
|
|
394
408
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
395
409
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
396
410
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
411
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
397
412
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
398
413
|
checked: import('zod').ZodBoolean;
|
|
399
414
|
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -412,6 +427,7 @@ declare const tools: {
|
|
|
412
427
|
labels?: string[] | undefined;
|
|
413
428
|
duration?: string | undefined;
|
|
414
429
|
completedAt?: string | undefined;
|
|
430
|
+
isUncompletable?: boolean | undefined;
|
|
415
431
|
dueDate?: string | undefined;
|
|
416
432
|
deadlineDate?: string | undefined;
|
|
417
433
|
}, {
|
|
@@ -429,6 +445,7 @@ declare const tools: {
|
|
|
429
445
|
labels?: string[] | undefined;
|
|
430
446
|
duration?: string | undefined;
|
|
431
447
|
completedAt?: string | undefined;
|
|
448
|
+
isUncompletable?: boolean | undefined;
|
|
432
449
|
dueDate?: string | undefined;
|
|
433
450
|
deadlineDate?: string | undefined;
|
|
434
451
|
}>, "many">;
|
|
@@ -517,6 +534,7 @@ declare const tools: {
|
|
|
517
534
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
518
535
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
519
536
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
537
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
520
538
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
521
539
|
checked: import('zod').ZodBoolean;
|
|
522
540
|
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -535,6 +553,7 @@ declare const tools: {
|
|
|
535
553
|
labels?: string[] | undefined;
|
|
536
554
|
duration?: string | undefined;
|
|
537
555
|
completedAt?: string | undefined;
|
|
556
|
+
isUncompletable?: boolean | undefined;
|
|
538
557
|
dueDate?: string | undefined;
|
|
539
558
|
deadlineDate?: string | undefined;
|
|
540
559
|
}, {
|
|
@@ -552,6 +571,7 @@ declare const tools: {
|
|
|
552
571
|
labels?: string[] | undefined;
|
|
553
572
|
duration?: string | undefined;
|
|
554
573
|
completedAt?: string | undefined;
|
|
574
|
+
isUncompletable?: boolean | undefined;
|
|
555
575
|
dueDate?: string | undefined;
|
|
556
576
|
deadlineDate?: string | undefined;
|
|
557
577
|
}>, "many">;
|
|
@@ -641,6 +661,7 @@ declare const tools: {
|
|
|
641
661
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString, "many">>;
|
|
642
662
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
643
663
|
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
664
|
+
isUncompletable: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
644
665
|
assignedByUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
645
666
|
checked: import('zod').ZodBoolean;
|
|
646
667
|
completedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -659,6 +680,7 @@ declare const tools: {
|
|
|
659
680
|
labels?: string[] | undefined;
|
|
660
681
|
duration?: string | undefined;
|
|
661
682
|
completedAt?: string | undefined;
|
|
683
|
+
isUncompletable?: boolean | undefined;
|
|
662
684
|
dueDate?: string | undefined;
|
|
663
685
|
deadlineDate?: string | undefined;
|
|
664
686
|
}, {
|
|
@@ -676,6 +698,7 @@ declare const tools: {
|
|
|
676
698
|
labels?: string[] | undefined;
|
|
677
699
|
duration?: string | undefined;
|
|
678
700
|
completedAt?: string | undefined;
|
|
701
|
+
isUncompletable?: boolean | undefined;
|
|
679
702
|
dueDate?: string | undefined;
|
|
680
703
|
deadlineDate?: string | undefined;
|
|
681
704
|
}>, "many">;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OA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S,EACT,eAAe,EACf,kBAAkB,EAElB,WAAW,EACX,cAAc,EACd,YAAY,EAEZ,WAAW,EACX,cAAc,EACd,YAAY,EAEZ,WAAW,EACX,cAAc,EACd,YAAY,EAEZ,YAAY,EAEZ,WAAW,EACX,YAAY,EACZ,QAAQ,EAER,wBAAwB,EACxB,iBAAiB,EAEjB,MAAM,EACN,KAAK,GACR,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as s, s as a, m as e, a as t, u as o, d, b as n, c as i, e as r, h as c, i as m, j as f, k as p, l as k, n as l, o as j, p as u, q as T, r as g, t as v, v as C, w as P, x as S } from "./mcp-server-
|
|
2
|
-
import { g as y } from "./mcp-server-
|
|
1
|
+
import { f as s, s as a, m as e, a as t, u as o, d, b as n, c as i, e as r, h as c, i as m, j as f, k as p, l as k, n as l, o as j, p as u, q as T, r as g, t as v, v as C, w as P, x as S } from "./mcp-server-D0ROki3I.js";
|
|
2
|
+
import { g as y } from "./mcp-server-D0ROki3I.js";
|
|
3
3
|
const h = {
|
|
4
4
|
// Task management tools
|
|
5
5
|
addTasks: S,
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { StdioServerTransport as s } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import c from "dotenv";
|
|
4
|
-
import { g as i } from "./mcp-server-
|
|
4
|
+
import { g as i } from "./mcp-server-D0ROki3I.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
|
@@ -266,24 +266,24 @@ class Le {
|
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
268
|
const _ = new Le();
|
|
269
|
-
async function
|
|
269
|
+
async function We(e, t) {
|
|
270
270
|
return _.resolveUser(e, t);
|
|
271
271
|
}
|
|
272
272
|
const ye = ["assigned", "unassignedOrMe", "all"];
|
|
273
273
|
async function ee(e, t) {
|
|
274
274
|
if (!t)
|
|
275
275
|
return;
|
|
276
|
-
const o = await
|
|
276
|
+
const o = await We(e, t);
|
|
277
277
|
if (!o)
|
|
278
278
|
throw new Error(
|
|
279
279
|
`Could not find user: "${t}". Make sure the user is a collaborator on a shared project.`
|
|
280
280
|
);
|
|
281
281
|
return { userId: o.userId, email: o.email };
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function H(e, t) {
|
|
284
284
|
return t.length === 0 ? e : e.length === 0 ? t : `${e} & ${t}`;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Be({
|
|
287
287
|
resolvedAssigneeId: e,
|
|
288
288
|
assigneeEmail: t,
|
|
289
289
|
responsibleUserFiltering: o = "unassignedOrMe"
|
|
@@ -298,7 +298,7 @@ function de({
|
|
|
298
298
|
}) {
|
|
299
299
|
return t ? e.filter((r) => r.responsibleUid === t) : n === "unassignedOrMe" ? e.filter((r) => !r.responsibleUid || r.responsibleUid === o) : e;
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function W(e) {
|
|
302
302
|
return "inboxProject" in e;
|
|
303
303
|
}
|
|
304
304
|
async function Ie(e) {
|
|
@@ -320,14 +320,14 @@ async function ke(e) {
|
|
|
320
320
|
limit: S.PROJECTS_MAX
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
-
async function
|
|
323
|
+
async function ze(e, t) {
|
|
324
324
|
return Ie({
|
|
325
325
|
apiMethod: (o) => e.getSections(o),
|
|
326
326
|
args: t ? { projectId: t } : {},
|
|
327
327
|
limit: S.SECTIONS_MAX
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function Ye(e, t, o, n) {
|
|
331
331
|
const r = [t, o, n].filter(Boolean);
|
|
332
332
|
if (r.length > 1)
|
|
333
333
|
throw new Error(
|
|
@@ -369,8 +369,8 @@ function we(e) {
|
|
|
369
369
|
color: e.color,
|
|
370
370
|
isFavorite: e.isFavorite,
|
|
371
371
|
isShared: e.isShared,
|
|
372
|
-
parentId:
|
|
373
|
-
inboxProject:
|
|
372
|
+
parentId: W(e) ? e.parentId ?? void 0 : void 0,
|
|
373
|
+
inboxProject: W(e) ? e.inboxProject ?? !1 : !1,
|
|
374
374
|
viewStyle: e.viewStyle
|
|
375
375
|
};
|
|
376
376
|
}
|
|
@@ -398,7 +398,7 @@ function te(e) {
|
|
|
398
398
|
} : void 0
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function He(e) {
|
|
402
402
|
return {
|
|
403
403
|
id: e.id ?? void 0,
|
|
404
404
|
objectType: e.objectType,
|
|
@@ -438,7 +438,7 @@ async function se({
|
|
|
438
438
|
);
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
|
-
const
|
|
441
|
+
const B = s.object({
|
|
442
442
|
id: s.string().describe("The unique ID of the task."),
|
|
443
443
|
content: s.string().describe("The task title/content."),
|
|
444
444
|
description: s.string().describe("The task description."),
|
|
@@ -454,6 +454,7 @@ const W = s.object({
|
|
|
454
454
|
labels: s.array(s.string()).optional().describe("The labels attached to this task."),
|
|
455
455
|
duration: s.string().optional().describe('The duration of the task (e.g., "2h30m").'),
|
|
456
456
|
responsibleUid: s.string().optional().describe("The UID of the user responsible for this task."),
|
|
457
|
+
isUncompletable: s.boolean().optional().describe("Whether the task is uncompletable (organizational header)."),
|
|
457
458
|
assignedByUid: s.string().optional().describe("The UID of the user who assigned this task."),
|
|
458
459
|
checked: s.boolean().describe("Whether the task is checked/completed."),
|
|
459
460
|
completedAt: s.string().optional().describe("When the task was completed (ISO 8601 format).")
|
|
@@ -990,11 +991,14 @@ const gt = s.object({
|
|
|
990
991
|
parentId: s.string().optional().describe("The parent task ID (for subtasks)."),
|
|
991
992
|
responsibleUser: s.string().optional().describe(
|
|
992
993
|
"Assign task to this user. Can be a user ID, name, or email address. User must be a collaborator on the target project."
|
|
994
|
+
),
|
|
995
|
+
isUncompletable: s.boolean().optional().describe(
|
|
996
|
+
"Whether this task should be uncompletable (organizational header). Tasks with isUncompletable: true appear as organizational headers and cannot be completed."
|
|
993
997
|
)
|
|
994
998
|
}), Tt = {
|
|
995
999
|
tasks: s.array(gt).min(1).describe("The array of tasks to add.")
|
|
996
1000
|
}, yt = {
|
|
997
|
-
tasks: s.array(
|
|
1001
|
+
tasks: s.array(B).describe("The created tasks."),
|
|
998
1002
|
totalCount: s.number().describe("The total number of tasks created.")
|
|
999
1003
|
}, It = {
|
|
1000
1004
|
name: g.ADD_TASKS,
|
|
@@ -1300,7 +1304,7 @@ Favorite: Yes`), i = {
|
|
|
1300
1304
|
cursor: l ?? null
|
|
1301
1305
|
};
|
|
1302
1306
|
o && (u.objectType = o), n && n !== "remove" && (u.objectId = n), r && (u.eventType = r), i && (u.parentProjectId = i), c && (u.parentItemId = c), a && (u.initiatorId = a);
|
|
1303
|
-
const { results: p, nextCursor: b } = await t.getActivityLogs(u), m = p.map(
|
|
1307
|
+
const { results: p, nextCursor: b } = await t.getActivityLogs(u), m = p.map(He);
|
|
1304
1308
|
return {
|
|
1305
1309
|
textContent: Nt({ events: m, args: e, nextCursor: b }),
|
|
1306
1310
|
structuredContent: {
|
|
@@ -1379,15 +1383,15 @@ const Lt = {
|
|
|
1379
1383
|
commentId: s.string().optional().describe("Get a specific comment by ID."),
|
|
1380
1384
|
cursor: s.string().optional().describe("Pagination cursor for retrieving more results."),
|
|
1381
1385
|
limit: s.number().int().min(1).max(S.COMMENTS_MAX).optional().describe("Maximum number of comments to return")
|
|
1382
|
-
},
|
|
1386
|
+
}, Wt = {
|
|
1383
1387
|
comments: s.array(re).describe("The found comments."),
|
|
1384
1388
|
nextCursor: s.string().optional().describe("Cursor for the next page of results."),
|
|
1385
1389
|
totalCount: s.number().describe("The total number of comments in this page.")
|
|
1386
|
-
},
|
|
1390
|
+
}, Bt = {
|
|
1387
1391
|
name: g.FIND_COMMENTS,
|
|
1388
1392
|
description: "Find comments by task, project, or get a specific comment by ID. Exactly one of taskId, projectId, or commentId must be provided.",
|
|
1389
1393
|
parameters: Lt,
|
|
1390
|
-
outputSchema:
|
|
1394
|
+
outputSchema: Wt,
|
|
1391
1395
|
mutability: "readonly",
|
|
1392
1396
|
async execute(e, t) {
|
|
1393
1397
|
const o = [e.taskId, e.projectId, e.commentId].filter(Boolean);
|
|
@@ -1419,7 +1423,7 @@ const Lt = {
|
|
|
1419
1423
|
throw new Error("Invalid state: no search parameter provided");
|
|
1420
1424
|
const a = c.map(te);
|
|
1421
1425
|
return {
|
|
1422
|
-
textContent:
|
|
1426
|
+
textContent: zt({
|
|
1423
1427
|
comments: a,
|
|
1424
1428
|
searchType: e.commentId ? "single" : e.taskId ? "task" : "project",
|
|
1425
1429
|
searchId: e.commentId || e.taskId || e.projectId || "",
|
|
@@ -1437,7 +1441,7 @@ const Lt = {
|
|
|
1437
1441
|
};
|
|
1438
1442
|
}
|
|
1439
1443
|
};
|
|
1440
|
-
function
|
|
1444
|
+
function zt({
|
|
1441
1445
|
comments: e,
|
|
1442
1446
|
searchType: t,
|
|
1443
1447
|
searchId: o,
|
|
@@ -1463,9 +1467,9 @@ ${c}`;
|
|
|
1463
1467
|
}
|
|
1464
1468
|
return i;
|
|
1465
1469
|
}
|
|
1466
|
-
const
|
|
1470
|
+
const Yt = ["and", "or"], ae = {
|
|
1467
1471
|
labels: s.string().array().optional().describe("The labels to filter the tasks by"),
|
|
1468
|
-
labelsOperator: s.enum(
|
|
1472
|
+
labelsOperator: s.enum(Yt).optional().describe(
|
|
1469
1473
|
'The operator to use when filtering by labels. This will dictate whether a task has all labels, or some of them. Default is "or".'
|
|
1470
1474
|
)
|
|
1471
1475
|
};
|
|
@@ -1474,7 +1478,7 @@ function ce(e = [], t = "or") {
|
|
|
1474
1478
|
const o = t === "and" ? " & " : " | ";
|
|
1475
1479
|
return `(${e.map((i) => i.startsWith("@") ? i : `@${i}`).join(` ${o} `)})`;
|
|
1476
1480
|
}
|
|
1477
|
-
const
|
|
1481
|
+
const Ht = {
|
|
1478
1482
|
getBy: s.enum(["completion", "due"]).default("completion").describe(
|
|
1479
1483
|
'The method to use to get the tasks: "completion" to get tasks by completion date (ie, when the task was actually completed), "due" to get tasks by due date (ie, when the task was due to be completed by).'
|
|
1480
1484
|
),
|
|
@@ -1495,7 +1499,7 @@ const zt = {
|
|
|
1495
1499
|
),
|
|
1496
1500
|
...ae
|
|
1497
1501
|
}, Kt = {
|
|
1498
|
-
tasks: s.array(
|
|
1502
|
+
tasks: s.array(B).describe("The found completed tasks."),
|
|
1499
1503
|
nextCursor: s.string().optional().describe("Cursor for the next page of results."),
|
|
1500
1504
|
totalCount: s.number().describe("The total number of tasks in this page."),
|
|
1501
1505
|
hasMore: s.boolean().describe("Whether there are more results available."),
|
|
@@ -1503,13 +1507,13 @@ const zt = {
|
|
|
1503
1507
|
}, Vt = {
|
|
1504
1508
|
name: g.FIND_COMPLETED_TASKS,
|
|
1505
1509
|
description: "Get completed tasks (includes all collaborators by default—use responsibleUser to narrow).",
|
|
1506
|
-
parameters:
|
|
1510
|
+
parameters: Ht,
|
|
1507
1511
|
outputSchema: Kt,
|
|
1508
1512
|
mutability: "readonly",
|
|
1509
1513
|
async execute(e, t) {
|
|
1510
1514
|
const { getBy: o, labels: n, labelsOperator: r, since: i, until: c, responsibleUser: a, projectId: d, ...l } = e, u = await ee(t, a), p = u?.email;
|
|
1511
1515
|
let m = ce(n, r);
|
|
1512
|
-
u && p && (m =
|
|
1516
|
+
u && p && (m = H(m, `assigned to: ${p}`));
|
|
1513
1517
|
const y = await t.getUser(), k = y.tzInfo?.gmtString || "+00:00", w = d === "inbox" ? y.inboxProjectId : d, D = `${i}T00:00:00${k}`, P = `${c}T23:59:59${k}`, h = new Date(D).toISOString(), T = new Date(P).toISOString(), { items: C, nextCursor: v } = o === "completion" ? await t.getCompletedTasksByCompletionDate({
|
|
1514
1518
|
...l,
|
|
1515
1519
|
projectId: w,
|
|
@@ -1774,7 +1778,7 @@ const { ADD_SECTIONS: rs } = g, is = {
|
|
|
1774
1778
|
async execute(e, t) {
|
|
1775
1779
|
const o = e.projectId === "inbox" ? (await t.getUser()).inboxProjectId : e.projectId;
|
|
1776
1780
|
let n;
|
|
1777
|
-
e.search ? n = await
|
|
1781
|
+
e.search ? n = await ze(t, o) : n = (await t.getSections({
|
|
1778
1782
|
projectId: o
|
|
1779
1783
|
})).results;
|
|
1780
1784
|
const r = e.search ? e.search.toLowerCase() : void 0, c = (r ? n.filter((d) => d.name.toLowerCase().includes(r)) : n).map(({ id: d, name: l }) => ({ id: d, name: l }));
|
|
@@ -1825,7 +1829,7 @@ const { FIND_COMPLETED_TASKS: le, ADD_TASKS: ue } = g, ls = {
|
|
|
1825
1829
|
),
|
|
1826
1830
|
...ae
|
|
1827
1831
|
}, us = {
|
|
1828
|
-
tasks: s.array(
|
|
1832
|
+
tasks: s.array(B).describe("The found tasks."),
|
|
1829
1833
|
nextCursor: s.string().optional().describe("Cursor for the next page of results."),
|
|
1830
1834
|
totalCount: s.number().describe("The total number of tasks in this page."),
|
|
1831
1835
|
hasMore: s.boolean().describe("Whether there are more results available."),
|
|
@@ -1917,7 +1921,7 @@ const { FIND_COMPLETED_TASKS: le, ADD_TASKS: ue } = g, ls = {
|
|
|
1917
1921
|
let D = "";
|
|
1918
1922
|
o && (D = `search: ${o}`);
|
|
1919
1923
|
const P = ce(u, p);
|
|
1920
|
-
D =
|
|
1924
|
+
D = H(D, P);
|
|
1921
1925
|
const { tasks: h, nextCursor: T } = await se({
|
|
1922
1926
|
client: t,
|
|
1923
1927
|
query: D,
|
|
@@ -2029,7 +2033,7 @@ const ms = {
|
|
|
2029
2033
|
),
|
|
2030
2034
|
...ae
|
|
2031
2035
|
}, fs = {
|
|
2032
|
-
tasks: s.array(
|
|
2036
|
+
tasks: s.array(B).describe("The found tasks."),
|
|
2033
2037
|
nextCursor: s.string().optional().describe("Cursor for the next page of results."),
|
|
2034
2038
|
totalCount: s.number().describe("The total number of tasks in this page."),
|
|
2035
2039
|
hasMore: s.boolean().describe("Whether there are more results available."),
|
|
@@ -2056,13 +2060,13 @@ const ms = {
|
|
|
2056
2060
|
i = `(due after: ${p} | due: ${p}) & due before: ${m}`;
|
|
2057
2061
|
}
|
|
2058
2062
|
const c = ce(e.labels, e.labelsOperator);
|
|
2059
|
-
c.length > 0 && (i =
|
|
2060
|
-
const a =
|
|
2063
|
+
c.length > 0 && (i = H(i, `(${c})`));
|
|
2064
|
+
const a = Be({
|
|
2061
2065
|
resolvedAssigneeId: n,
|
|
2062
2066
|
assigneeEmail: r,
|
|
2063
2067
|
responsibleUserFiltering: e.responsibleUserFiltering
|
|
2064
2068
|
});
|
|
2065
|
-
i =
|
|
2069
|
+
i = H(i, a);
|
|
2066
2070
|
const { tasks: d, nextCursor: l } = await se({
|
|
2067
2071
|
client: t,
|
|
2068
2072
|
query: i,
|
|
@@ -2168,7 +2172,7 @@ function Is(e) {
|
|
|
2168
2172
|
for (const r of e) {
|
|
2169
2173
|
const i = t[r.id];
|
|
2170
2174
|
if (i)
|
|
2171
|
-
if (
|
|
2175
|
+
if (W(r) && r.parentId) {
|
|
2172
2176
|
const c = t[r.parentId];
|
|
2173
2177
|
c ? c.children.push(i) : o.push(i);
|
|
2174
2178
|
} else
|
|
@@ -2229,7 +2233,7 @@ function De(e, t) {
|
|
|
2229
2233
|
return {
|
|
2230
2234
|
id: e.id,
|
|
2231
2235
|
name: e.name,
|
|
2232
|
-
parentId:
|
|
2236
|
+
parentId: W(e) ? e.parentId ?? null : null,
|
|
2233
2237
|
sections: t[e.id] || [],
|
|
2234
2238
|
children: e.children.map((o) => De(o, t))
|
|
2235
2239
|
};
|
|
@@ -2251,7 +2255,7 @@ async function js(e, t) {
|
|
|
2251
2255
|
return o;
|
|
2252
2256
|
}
|
|
2253
2257
|
async function vs(e) {
|
|
2254
|
-
const { results: t } = await e.getProjects({}), o = t.find((p) =>
|
|
2258
|
+
const { results: t } = await e.getProjects({}), o = t.find((p) => W(p) && p.inboxProject === !0), n = t.filter((p) => !W(p) || p.inboxProject !== !0), r = Is(n), i = t.map((p) => p.id), c = await ks(e, i), a = ["# Personal Projects", ""];
|
|
2255
2259
|
if (o) {
|
|
2256
2260
|
a.push(`- Inbox Project: ${o.name} (id=${o.id})`);
|
|
2257
2261
|
for (const p of c[o.id] || [])
|
|
@@ -2402,7 +2406,7 @@ const Ss = {
|
|
|
2402
2406
|
}
|
|
2403
2407
|
if (d.length === 0)
|
|
2404
2408
|
return {
|
|
2405
|
-
textContent:
|
|
2409
|
+
textContent: z({
|
|
2406
2410
|
operation: o,
|
|
2407
2411
|
results: l,
|
|
2408
2412
|
dryRun: c
|
|
@@ -2435,7 +2439,7 @@ const Ss = {
|
|
|
2435
2439
|
newAssigneeId: void 0
|
|
2436
2440
|
}));
|
|
2437
2441
|
return {
|
|
2438
|
-
textContent:
|
|
2442
|
+
textContent: z({
|
|
2439
2443
|
operation: o,
|
|
2440
2444
|
results: f,
|
|
2441
2445
|
dryRun: !0
|
|
@@ -2468,7 +2472,7 @@ const Ss = {
|
|
|
2468
2472
|
}
|
|
2469
2473
|
}), T = await Promise.all(h), C = [...T, ...l];
|
|
2470
2474
|
return {
|
|
2471
|
-
textContent:
|
|
2475
|
+
textContent: z({
|
|
2472
2476
|
operation: o,
|
|
2473
2477
|
results: C,
|
|
2474
2478
|
dryRun: !1
|
|
@@ -2546,7 +2550,7 @@ const Ss = {
|
|
|
2546
2550
|
}
|
|
2547
2551
|
const w = await k(m, !c), D = [...w, ...y, ...l];
|
|
2548
2552
|
return {
|
|
2549
|
-
textContent:
|
|
2553
|
+
textContent: z({
|
|
2550
2554
|
operation: o,
|
|
2551
2555
|
results: D,
|
|
2552
2556
|
dryRun: c
|
|
@@ -2562,7 +2566,7 @@ const Ss = {
|
|
|
2562
2566
|
};
|
|
2563
2567
|
}
|
|
2564
2568
|
};
|
|
2565
|
-
function
|
|
2569
|
+
function z({
|
|
2566
2570
|
operation: e,
|
|
2567
2571
|
results: t,
|
|
2568
2572
|
dryRun: o
|
|
@@ -2706,14 +2710,14 @@ function Ls({ comments: e }) {
|
|
|
2706
2710
|
}
|
|
2707
2711
|
return n.length > 0 ? `Updated ${n.join(" and ")}` : "No comments updated";
|
|
2708
2712
|
}
|
|
2709
|
-
const
|
|
2713
|
+
const Ws = s.object({
|
|
2710
2714
|
id: s.string().min(1).describe("The ID of the project to update."),
|
|
2711
2715
|
name: s.string().min(1).optional().describe("The new name of the project."),
|
|
2712
2716
|
isFavorite: s.boolean().optional().describe("Whether the project is a favorite."),
|
|
2713
2717
|
viewStyle: s.enum(["list", "board", "calendar"]).optional().describe("The project view style.")
|
|
2714
|
-
}),
|
|
2715
|
-
projects: s.array(
|
|
2716
|
-
},
|
|
2718
|
+
}), Bs = {
|
|
2719
|
+
projects: s.array(Ws).min(1).describe("The projects to update.")
|
|
2720
|
+
}, zs = {
|
|
2717
2721
|
projects: s.array(oe).describe("The updated projects."),
|
|
2718
2722
|
totalCount: s.number().describe("The total number of projects updated."),
|
|
2719
2723
|
updatedProjectIds: s.array(s.string()).describe("The IDs of the updated projects."),
|
|
@@ -2721,11 +2725,11 @@ const Bs = s.object({
|
|
|
2721
2725
|
updateCount: s.number().describe("The number of projects actually updated."),
|
|
2722
2726
|
skippedCount: s.number().describe("The number of projects skipped (no changes).")
|
|
2723
2727
|
}).describe("Summary of operations performed.")
|
|
2724
|
-
},
|
|
2728
|
+
}, Ys = {
|
|
2725
2729
|
name: g.UPDATE_PROJECTS,
|
|
2726
2730
|
description: "Update multiple existing projects with new values.",
|
|
2727
|
-
parameters:
|
|
2728
|
-
outputSchema:
|
|
2731
|
+
parameters: Bs,
|
|
2732
|
+
outputSchema: zs,
|
|
2729
2733
|
mutability: "mutating",
|
|
2730
2734
|
async execute(e, t) {
|
|
2731
2735
|
const { projects: o } = e, n = o.map(async (c) => {
|
|
@@ -2741,7 +2745,7 @@ const Bs = s.object({
|
|
|
2741
2745
|
inboxProject: "inboxProject" in c ? c.inboxProject : !1
|
|
2742
2746
|
}));
|
|
2743
2747
|
return {
|
|
2744
|
-
textContent:
|
|
2748
|
+
textContent: Hs({
|
|
2745
2749
|
projects: r,
|
|
2746
2750
|
args: e
|
|
2747
2751
|
}),
|
|
@@ -2757,7 +2761,7 @@ const Bs = s.object({
|
|
|
2757
2761
|
};
|
|
2758
2762
|
}
|
|
2759
2763
|
};
|
|
2760
|
-
function
|
|
2764
|
+
function Hs({
|
|
2761
2765
|
projects: e,
|
|
2762
2766
|
args: t
|
|
2763
2767
|
}) {
|
|
@@ -2834,11 +2838,14 @@ const Zs = s.object({
|
|
|
2834
2838
|
responsibleUser: s.string().optional().describe(
|
|
2835
2839
|
'Change task assignment. Use "unassign" to remove assignment. Can be user ID, name, or email. User must be a project collaborator.'
|
|
2836
2840
|
),
|
|
2837
|
-
labels: s.array(s.string()).optional().describe("The new labels for the task. Replaces all existing labels.")
|
|
2841
|
+
labels: s.array(s.string()).optional().describe("The new labels for the task. Replaces all existing labels."),
|
|
2842
|
+
isUncompletable: s.boolean().optional().describe(
|
|
2843
|
+
"Whether this task should be uncompletable (organizational header). Tasks with isUncompletable: true appear as organizational headers and cannot be completed."
|
|
2844
|
+
)
|
|
2838
2845
|
}), Qs = {
|
|
2839
2846
|
tasks: s.array(Zs).min(1).describe("The tasks to update.")
|
|
2840
2847
|
}, eo = {
|
|
2841
|
-
tasks: s.array(
|
|
2848
|
+
tasks: s.array(B).describe("The updated tasks."),
|
|
2842
2849
|
totalCount: s.number().describe("The total number of tasks updated."),
|
|
2843
2850
|
updatedTaskIds: s.array(s.string()).describe("The IDs of the updated tasks."),
|
|
2844
2851
|
appliedOperations: s.object({
|
|
@@ -2903,7 +2910,7 @@ const Zs = s.object({
|
|
|
2903
2910
|
}
|
|
2904
2911
|
if (!P && !u && !p)
|
|
2905
2912
|
return await t.updateTask(d, h);
|
|
2906
|
-
const T =
|
|
2913
|
+
const T = Ye(d, P, u, p), C = await t.moveTask(d, T);
|
|
2907
2914
|
return Object.keys(h).length > 0 ? await t.updateTask(d, h) : C;
|
|
2908
2915
|
}), r = (await Promise.all(n)).filter(
|
|
2909
2916
|
(a) => a !== void 0
|
|
@@ -2974,7 +2981,7 @@ function lo(e) {
|
|
|
2974
2981
|
function uo(e) {
|
|
2975
2982
|
return ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"][e === 7 ? 0 : e] ?? "Unknown";
|
|
2976
2983
|
}
|
|
2977
|
-
function
|
|
2984
|
+
function Y(e) {
|
|
2978
2985
|
return e.toISOString().split("T")[0] ?? "";
|
|
2979
2986
|
}
|
|
2980
2987
|
function po(e) {
|
|
@@ -3013,8 +3020,8 @@ async function mo(e) {
|
|
|
3013
3020
|
"## Week Settings",
|
|
3014
3021
|
`**Week Start Day:** ${a} (${c})`,
|
|
3015
3022
|
`**Current Week:** Week ${b}`,
|
|
3016
|
-
`**Week Start Date:** ${
|
|
3017
|
-
`**Week End Date:** ${
|
|
3023
|
+
`**Week Start Date:** ${Y(u)}`,
|
|
3024
|
+
`**Week End Date:** ${Y(p)}`,
|
|
3018
3025
|
"",
|
|
3019
3026
|
"## Daily Progress",
|
|
3020
3027
|
`**Completed Today:** ${t.completedToday}`,
|
|
@@ -3032,8 +3039,8 @@ async function mo(e) {
|
|
|
3032
3039
|
currentLocalTime: i,
|
|
3033
3040
|
startDay: c,
|
|
3034
3041
|
startDayName: a,
|
|
3035
|
-
weekStartDate:
|
|
3036
|
-
weekEndDate:
|
|
3042
|
+
weekStartDate: Y(u),
|
|
3043
|
+
weekEndDate: Y(p),
|
|
3037
3044
|
currentWeekNumber: b,
|
|
3038
3045
|
completedToday: t.completedToday,
|
|
3039
3046
|
dailyGoal: t.dailyGoal,
|
|
@@ -3134,14 +3141,14 @@ function wo({ todoistApiKey: e, baseUrl: t }) {
|
|
|
3134
3141
|
instructions: bo
|
|
3135
3142
|
}
|
|
3136
3143
|
), n = new Ae(e, { baseUrl: t });
|
|
3137
|
-
return I(It, o, n), I(Ct, o, n), I(to, o, n), I(ps, o, n), I(bs, o, n), I(Vt, o, n), I(rt, o, n), I(
|
|
3144
|
+
return I(It, o, n), I(Ct, o, n), I(to, o, n), I(ps, o, n), I(bs, o, n), I(Vt, o, n), I(rt, o, n), I(Ys, o, n), I(os, o, n), I(lt, o, n), I(Js, o, n), I(cs, o, n), I(et, o, n), I(Bt, o, n), I(Rs, o, n), I(_t, o, n), I(Ss, o, n), I(xt, o, n), I(fo, o, n), I(Zt, o, n), I(Ps, o, n), I(_s, o, n), I(Pt, o, n), o;
|
|
3138
3145
|
}
|
|
3139
3146
|
export {
|
|
3140
3147
|
Zt as a,
|
|
3141
3148
|
Ss as b,
|
|
3142
3149
|
_t as c,
|
|
3143
3150
|
xt as d,
|
|
3144
|
-
|
|
3151
|
+
Bt as e,
|
|
3145
3152
|
Pt as f,
|
|
3146
3153
|
wo as g,
|
|
3147
3154
|
Rs as h,
|
|
@@ -3151,7 +3158,7 @@ export {
|
|
|
3151
3158
|
lt as l,
|
|
3152
3159
|
Ps as m,
|
|
3153
3160
|
os as n,
|
|
3154
|
-
|
|
3161
|
+
Ys as o,
|
|
3155
3162
|
rt as p,
|
|
3156
3163
|
Vt as q,
|
|
3157
3164
|
bs as r,
|
|
@@ -16,6 +16,7 @@ declare const addTasks: {
|
|
|
16
16
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
17
17
|
parentId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
responsibleUser: z.ZodOptional<z.ZodString>;
|
|
19
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
}, "strip", z.ZodTypeAny, {
|
|
20
21
|
content: string;
|
|
21
22
|
description?: string | undefined;
|
|
@@ -25,6 +26,7 @@ declare const addTasks: {
|
|
|
25
26
|
labels?: string[] | undefined;
|
|
26
27
|
duration?: string | undefined;
|
|
27
28
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
29
|
+
isUncompletable?: boolean | undefined;
|
|
28
30
|
deadlineDate?: string | undefined;
|
|
29
31
|
dueString?: string | undefined;
|
|
30
32
|
responsibleUser?: string | undefined;
|
|
@@ -37,6 +39,7 @@ declare const addTasks: {
|
|
|
37
39
|
labels?: string[] | undefined;
|
|
38
40
|
duration?: string | undefined;
|
|
39
41
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
42
|
+
isUncompletable?: boolean | undefined;
|
|
40
43
|
deadlineDate?: string | undefined;
|
|
41
44
|
dueString?: string | undefined;
|
|
42
45
|
responsibleUser?: string | undefined;
|
|
@@ -57,6 +60,7 @@ declare const addTasks: {
|
|
|
57
60
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
58
61
|
duration: z.ZodOptional<z.ZodString>;
|
|
59
62
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
63
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
60
64
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
61
65
|
checked: z.ZodBoolean;
|
|
62
66
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -75,6 +79,7 @@ declare const addTasks: {
|
|
|
75
79
|
labels?: string[] | undefined;
|
|
76
80
|
duration?: string | undefined;
|
|
77
81
|
completedAt?: string | undefined;
|
|
82
|
+
isUncompletable?: boolean | undefined;
|
|
78
83
|
dueDate?: string | undefined;
|
|
79
84
|
deadlineDate?: string | undefined;
|
|
80
85
|
}, {
|
|
@@ -92,6 +97,7 @@ declare const addTasks: {
|
|
|
92
97
|
labels?: string[] | undefined;
|
|
93
98
|
duration?: string | undefined;
|
|
94
99
|
completedAt?: string | undefined;
|
|
100
|
+
isUncompletable?: boolean | undefined;
|
|
95
101
|
dueDate?: string | undefined;
|
|
96
102
|
deadlineDate?: string | undefined;
|
|
97
103
|
}>, "many">;
|
|
@@ -108,6 +114,7 @@ declare const addTasks: {
|
|
|
108
114
|
labels?: string[] | undefined;
|
|
109
115
|
duration?: string | undefined;
|
|
110
116
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
117
|
+
isUncompletable?: boolean | undefined;
|
|
111
118
|
deadlineDate?: string | undefined;
|
|
112
119
|
dueString?: string | undefined;
|
|
113
120
|
responsibleUser?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAuEvB,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyBiD,CAAA;AA0I/D,OAAO,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -31,6 +31,7 @@ declare const findCompletedTasks: {
|
|
|
31
31
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
32
32
|
duration: z.ZodOptional<z.ZodString>;
|
|
33
33
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
34
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
34
35
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
35
36
|
checked: z.ZodBoolean;
|
|
36
37
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -49,6 +50,7 @@ declare const findCompletedTasks: {
|
|
|
49
50
|
labels?: string[] | undefined;
|
|
50
51
|
duration?: string | undefined;
|
|
51
52
|
completedAt?: string | undefined;
|
|
53
|
+
isUncompletable?: boolean | undefined;
|
|
52
54
|
dueDate?: string | undefined;
|
|
53
55
|
deadlineDate?: string | undefined;
|
|
54
56
|
}, {
|
|
@@ -66,6 +68,7 @@ declare const findCompletedTasks: {
|
|
|
66
68
|
labels?: string[] | undefined;
|
|
67
69
|
duration?: string | undefined;
|
|
68
70
|
completedAt?: string | undefined;
|
|
71
|
+
isUncompletable?: boolean | undefined;
|
|
69
72
|
dueDate?: string | undefined;
|
|
70
73
|
deadlineDate?: string | undefined;
|
|
71
74
|
}>, "many">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqEvB,QAAA,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqEvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EuC,CAAA;AA+D/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -28,6 +28,7 @@ declare const findTasksByDate: {
|
|
|
28
28
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
29
|
duration: z.ZodOptional<z.ZodString>;
|
|
30
30
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
31
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
31
32
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
32
33
|
checked: z.ZodBoolean;
|
|
33
34
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -46,6 +47,7 @@ declare const findTasksByDate: {
|
|
|
46
47
|
labels?: string[] | undefined;
|
|
47
48
|
duration?: string | undefined;
|
|
48
49
|
completedAt?: string | undefined;
|
|
50
|
+
isUncompletable?: boolean | undefined;
|
|
49
51
|
dueDate?: string | undefined;
|
|
50
52
|
deadlineDate?: string | undefined;
|
|
51
53
|
}, {
|
|
@@ -63,6 +65,7 @@ declare const findTasksByDate: {
|
|
|
63
65
|
labels?: string[] | undefined;
|
|
64
66
|
duration?: string | undefined;
|
|
65
67
|
completedAt?: string | undefined;
|
|
68
|
+
isUncompletable?: boolean | undefined;
|
|
66
69
|
dueDate?: string | undefined;
|
|
67
70
|
deadlineDate?: string | undefined;
|
|
68
71
|
}>, "many">;
|
|
@@ -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;AAsEvB,QAAA,MAAM,eAAe
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwE0C,CAAA;AAyF/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -29,6 +29,7 @@ declare const findTasks: {
|
|
|
29
29
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
30
30
|
duration: z.ZodOptional<z.ZodString>;
|
|
31
31
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
32
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
32
33
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
33
34
|
checked: z.ZodBoolean;
|
|
34
35
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -47,6 +48,7 @@ declare const findTasks: {
|
|
|
47
48
|
labels?: string[] | undefined;
|
|
48
49
|
duration?: string | undefined;
|
|
49
50
|
completedAt?: string | undefined;
|
|
51
|
+
isUncompletable?: boolean | undefined;
|
|
50
52
|
dueDate?: string | undefined;
|
|
51
53
|
deadlineDate?: string | undefined;
|
|
52
54
|
}, {
|
|
@@ -64,6 +66,7 @@ declare const findTasks: {
|
|
|
64
66
|
labels?: string[] | undefined;
|
|
65
67
|
duration?: string | undefined;
|
|
66
68
|
completedAt?: string | undefined;
|
|
69
|
+
isUncompletable?: boolean | undefined;
|
|
67
70
|
dueDate?: string | undefined;
|
|
68
71
|
deadlineDate?: string | undefined;
|
|
69
72
|
}>, "many">;
|
|
@@ -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;AA6DvB,QAAA,MAAM,SAAS
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0LgD,CAAA;AAkK/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -17,6 +17,7 @@ declare const updateTasks: {
|
|
|
17
17
|
duration: z.ZodOptional<z.ZodString>;
|
|
18
18
|
responsibleUser: z.ZodOptional<z.ZodString>;
|
|
19
19
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
20
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
20
21
|
}, "strip", z.ZodTypeAny, {
|
|
21
22
|
id: string;
|
|
22
23
|
content?: string | undefined;
|
|
@@ -27,6 +28,7 @@ declare const updateTasks: {
|
|
|
27
28
|
labels?: string[] | undefined;
|
|
28
29
|
duration?: string | undefined;
|
|
29
30
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
31
|
+
isUncompletable?: boolean | undefined;
|
|
30
32
|
deadlineDate?: string | undefined;
|
|
31
33
|
dueString?: string | undefined;
|
|
32
34
|
responsibleUser?: string | undefined;
|
|
@@ -41,6 +43,7 @@ declare const updateTasks: {
|
|
|
41
43
|
labels?: string[] | undefined;
|
|
42
44
|
duration?: string | undefined;
|
|
43
45
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
46
|
+
isUncompletable?: boolean | undefined;
|
|
44
47
|
deadlineDate?: string | undefined;
|
|
45
48
|
dueString?: string | undefined;
|
|
46
49
|
responsibleUser?: string | undefined;
|
|
@@ -62,6 +65,7 @@ declare const updateTasks: {
|
|
|
62
65
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
63
66
|
duration: z.ZodOptional<z.ZodString>;
|
|
64
67
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
68
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
65
69
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
66
70
|
checked: z.ZodBoolean;
|
|
67
71
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -80,6 +84,7 @@ declare const updateTasks: {
|
|
|
80
84
|
labels?: string[] | undefined;
|
|
81
85
|
duration?: string | undefined;
|
|
82
86
|
completedAt?: string | undefined;
|
|
87
|
+
isUncompletable?: boolean | undefined;
|
|
83
88
|
dueDate?: string | undefined;
|
|
84
89
|
deadlineDate?: string | undefined;
|
|
85
90
|
}, {
|
|
@@ -97,6 +102,7 @@ declare const updateTasks: {
|
|
|
97
102
|
labels?: string[] | undefined;
|
|
98
103
|
duration?: string | undefined;
|
|
99
104
|
completedAt?: string | undefined;
|
|
105
|
+
isUncompletable?: boolean | undefined;
|
|
100
106
|
dueDate?: string | undefined;
|
|
101
107
|
deadlineDate?: string | undefined;
|
|
102
108
|
}>, "many">;
|
|
@@ -125,6 +131,7 @@ declare const updateTasks: {
|
|
|
125
131
|
labels?: string[] | undefined;
|
|
126
132
|
duration?: string | undefined;
|
|
127
133
|
priority?: "p1" | "p2" | "p3" | "p4" | undefined;
|
|
134
|
+
isUncompletable?: boolean | undefined;
|
|
128
135
|
deadlineDate?: string | undefined;
|
|
129
136
|
dueString?: string | undefined;
|
|
130
137
|
responsibleUser?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwFvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuI8C,CAAA;AA4B/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -16,6 +16,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
16
16
|
labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
17
17
|
duration: z.ZodOptional<z.ZodString>;
|
|
18
18
|
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
19
|
+
isUncompletable: z.ZodOptional<z.ZodBoolean>;
|
|
19
20
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
20
21
|
checked: z.ZodBoolean;
|
|
21
22
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -34,6 +35,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
34
35
|
labels?: string[] | undefined;
|
|
35
36
|
duration?: string | undefined;
|
|
36
37
|
completedAt?: string | undefined;
|
|
38
|
+
isUncompletable?: boolean | undefined;
|
|
37
39
|
dueDate?: string | undefined;
|
|
38
40
|
deadlineDate?: string | undefined;
|
|
39
41
|
}, {
|
|
@@ -51,6 +53,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
51
53
|
labels?: string[] | undefined;
|
|
52
54
|
duration?: string | undefined;
|
|
53
55
|
completedAt?: string | undefined;
|
|
56
|
+
isUncompletable?: boolean | undefined;
|
|
54
57
|
dueDate?: string | undefined;
|
|
55
58
|
deadlineDate?: string | undefined;
|
|
56
59
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;GAEG;AACH,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB;;GAEG;AACH,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+Bd,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;EASjB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;EAGjB,CAAA;AA0BF;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQjB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYvB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,kBAAkB;;;;;;;;;;;;EAItB,CAAA;AAEF;;GAEG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;EAIjB,CAAA;AAEF,OAAO,EACH,mBAAmB,EACnB,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,GACb,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAA;AAChG,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAErE,KAAK,0BAA0B,GAAG,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG;IACvD,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAA;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC3B,QAAe,EACf,GAAG,SAAS,EACf,GAAE,OAAO,CAAC,0BAA0B,CAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CA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G;AACH,eAAO,MAAM,KAAK,EAAG,YAAqB,CAAA;AAE1C;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,WAAW,CAoChF"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-ai",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"prepare": "husky"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@doist/todoist-api-typescript": "6.
|
|
51
|
+
"@doist/todoist-api-typescript": "6.2.0",
|
|
52
52
|
"@modelcontextprotocol/sdk": "1.22.0",
|
|
53
53
|
"date-fns": "4.1.0",
|
|
54
54
|
"dotenv": "17.2.3",
|