@doist/todoist-ai 8.8.1 → 8.8.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/README.md +2 -2
- package/dist/filter-helpers.d.ts +1 -1
- package/dist/filter-helpers.d.ts.map +1 -1
- package/dist/index.d.ts +41 -41
- package/dist/index.js +2 -2
- package/dist/main-http.js +1 -1
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts +1 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-DT69QyGA.js → mcp-server-B55_qbq4.js} +1 -1
- package/dist/prompts/productivity-analysis.d.ts +1 -1
- package/dist/prompts/productivity-analysis.d.ts.map +1 -1
- package/dist/todoist-tool.d.ts +1 -1
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +1 -1
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-comments.d.ts +1 -1
- package/dist/tools/add-filters.d.ts +1 -1
- package/dist/tools/add-labels.d.ts +1 -1
- package/dist/tools/add-projects.d.ts +2 -2
- package/dist/tools/add-reminders.d.ts +1 -1
- package/dist/tools/add-sections.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts +1 -1
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/analyze-project-health.d.ts +1 -1
- package/dist/tools/complete-tasks.d.ts +1 -1
- package/dist/tools/delete-object.d.ts +1 -1
- package/dist/tools/fetch-object.d.ts +2 -2
- package/dist/tools/fetch.d.ts +1 -1
- package/dist/tools/find-activity.d.ts +1 -1
- package/dist/tools/find-comments.d.ts +1 -1
- package/dist/tools/find-completed-tasks.d.ts +1 -1
- package/dist/tools/find-filters.d.ts +2 -2
- package/dist/tools/find-filters.d.ts.map +1 -1
- package/dist/tools/find-labels.d.ts +1 -1
- package/dist/tools/find-project-collaborators.d.ts +1 -1
- package/dist/tools/find-projects.d.ts +2 -2
- package/dist/tools/find-reminders.d.ts +1 -1
- package/dist/tools/find-sections.d.ts +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +1 -1
- package/dist/tools/find-tasks.d.ts +1 -1
- package/dist/tools/get-overview.d.ts +2 -2
- package/dist/tools/get-overview.d.ts.map +1 -1
- package/dist/tools/get-productivity-stats.d.ts +1 -1
- package/dist/tools/get-productivity-stats.d.ts.map +1 -1
- package/dist/tools/get-project-activity-stats.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts +1 -1
- package/dist/tools/get-project-health.d.ts.map +1 -1
- package/dist/tools/get-workspace-insights.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts +1 -1
- package/dist/tools/list-workspaces.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts +1 -1
- package/dist/tools/project-management.d.ts +2 -2
- package/dist/tools/project-move.d.ts +2 -2
- package/dist/tools/reorder-objects.d.ts +1 -1
- package/dist/tools/reschedule-tasks.d.ts +2 -2
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/search.d.ts +1 -1
- package/dist/tools/uncomplete-tasks.d.ts +1 -1
- package/dist/tools/update-comments.d.ts +1 -1
- package/dist/tools/update-filters.d.ts +1 -1
- package/dist/tools/update-projects.d.ts +2 -2
- package/dist/tools/update-reminders.d.ts +1 -1
- package/dist/tools/update-sections.d.ts +1 -1
- package/dist/tools/update-tasks.d.ts +1 -1
- package/dist/tools/user-info.d.ts +2 -2
- package/dist/tools/user-info.d.ts.map +1 -1
- package/dist/tools/view-attachment.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts +1 -1
- package/dist/utils/assignment-validator.d.ts.map +1 -1
- package/dist/utils/filter-resolver.d.ts +1 -1
- package/dist/utils/filter-resolver.d.ts.map +1 -1
- package/dist/utils/response-builders.d.ts +1 -1
- package/dist/utils/response-builders.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/user-resolver.d.ts +1 -1
- package/dist/utils/user-resolver.d.ts.map +1 -1
- package/dist/utils/workspace-resolver.d.ts +1 -1
- package/dist/utils/workspace-resolver.d.ts.map +1 -1
- package/package.json +2 -2
- package/scripts/run-tool.ts +1 -1
- package/scripts/validate-schemas.ts +1 -1
package/dist/tools/fetch.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const fetch: {
|
|
|
32
32
|
};
|
|
33
33
|
execute(args: {
|
|
34
34
|
id: string;
|
|
35
|
-
}, client: import('@doist/todoist-
|
|
35
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
36
36
|
textContent: string;
|
|
37
37
|
structuredContent: FetchResult;
|
|
38
38
|
}>;
|
|
@@ -57,7 +57,7 @@ declare const findActivity: {
|
|
|
57
57
|
taskId?: string | undefined;
|
|
58
58
|
initiatorId?: string | undefined;
|
|
59
59
|
cursor?: string | undefined;
|
|
60
|
-
}, client: import('@doist/todoist-
|
|
60
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
61
61
|
textContent: string;
|
|
62
62
|
structuredContent: {
|
|
63
63
|
events: {
|
|
@@ -52,7 +52,7 @@ declare const findComments: {
|
|
|
52
52
|
commentId?: string | undefined;
|
|
53
53
|
cursor?: string | undefined;
|
|
54
54
|
limit?: number | undefined;
|
|
55
|
-
}, client: import('@doist/todoist-
|
|
55
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
56
56
|
textContent: string;
|
|
57
57
|
structuredContent: {
|
|
58
58
|
comments: {
|
|
@@ -70,7 +70,7 @@ declare const findCompletedTasks: {
|
|
|
70
70
|
parentId?: string | undefined;
|
|
71
71
|
responsibleUser?: string | undefined;
|
|
72
72
|
cursor?: string | undefined;
|
|
73
|
-
}, client: import('@doist/todoist-
|
|
73
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
74
74
|
textContent: string;
|
|
75
75
|
structuredContent: {
|
|
76
76
|
tasks: {
|
|
@@ -73,7 +73,7 @@ declare const findFilters: {
|
|
|
73
73
|
};
|
|
74
74
|
execute(args: {
|
|
75
75
|
search?: string | undefined;
|
|
76
|
-
}, client: import('@doist/todoist-
|
|
76
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
77
77
|
textContent: string;
|
|
78
78
|
structuredContent: {
|
|
79
79
|
filters: {
|
|
@@ -88,5 +88,5 @@ declare const findFilters: {
|
|
|
88
88
|
};
|
|
89
89
|
}>;
|
|
90
90
|
};
|
|
91
|
-
export {
|
|
91
|
+
export { FilterOutputSchema, findFilters };
|
|
92
92
|
//# sourceMappingURL=find-filters.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-filters.d.ts","sourceRoot":"","sources":["../../src/tools/find-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtB,CAAA;AAOF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AA2B/D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"find-filters.d.ts","sourceRoot":"","sources":["../../src/tools/find-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtB,CAAA;AAOF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AA2B/D,OAAO,EAAE,kBAAkB,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -51,7 +51,7 @@ declare const findLabels: {
|
|
|
51
51
|
limit: number;
|
|
52
52
|
searchText?: string | undefined;
|
|
53
53
|
cursor?: string | undefined;
|
|
54
|
-
}, client: import('@doist/todoist-
|
|
54
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
55
55
|
textContent: string;
|
|
56
56
|
structuredContent: {
|
|
57
57
|
labels: {
|
|
@@ -30,7 +30,7 @@ declare const findProjectCollaborators: {
|
|
|
30
30
|
execute(args: {
|
|
31
31
|
projectId: string;
|
|
32
32
|
searchTerm?: string | undefined;
|
|
33
|
-
}, client: import('@doist/todoist-
|
|
33
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
34
34
|
textContent: string;
|
|
35
35
|
structuredContent: {
|
|
36
36
|
collaborators: never[];
|
|
@@ -56,13 +56,13 @@ declare const findProjects: {
|
|
|
56
56
|
limit: number;
|
|
57
57
|
searchText?: string | undefined;
|
|
58
58
|
cursor?: string | undefined;
|
|
59
|
-
}, client: import('@doist/todoist-
|
|
59
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
60
60
|
textContent: string;
|
|
61
61
|
structuredContent: {
|
|
62
62
|
projects: {
|
|
63
63
|
id: string;
|
|
64
64
|
name: string;
|
|
65
|
-
color: import('@doist/todoist-
|
|
65
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
66
66
|
isFavorite: boolean;
|
|
67
67
|
isShared: boolean;
|
|
68
68
|
parentId: string | undefined;
|
|
@@ -47,7 +47,7 @@ declare const findReminders: {
|
|
|
47
47
|
taskId?: string | undefined;
|
|
48
48
|
reminderId?: string | undefined;
|
|
49
49
|
locationReminderId?: string | undefined;
|
|
50
|
-
}, client: import('@doist/todoist-
|
|
50
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
51
51
|
textContent: string;
|
|
52
52
|
structuredContent: {
|
|
53
53
|
reminders: ({
|
|
@@ -22,7 +22,7 @@ declare const findSections: {
|
|
|
22
22
|
execute(args: {
|
|
23
23
|
projectId: string;
|
|
24
24
|
searchText?: string | undefined;
|
|
25
|
-
}, client: import('@doist/todoist-
|
|
25
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
26
26
|
textContent: string;
|
|
27
27
|
structuredContent: {
|
|
28
28
|
sections: {
|
|
@@ -91,7 +91,7 @@ declare const findTasksByDate: {
|
|
|
91
91
|
cursor?: string | undefined;
|
|
92
92
|
responsibleUser?: string | undefined;
|
|
93
93
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
94
|
-
}, client: import('@doist/todoist-
|
|
94
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
95
95
|
textContent: string;
|
|
96
96
|
structuredContent: {
|
|
97
97
|
tasks: {
|
|
@@ -71,7 +71,7 @@ declare const findTasks: {
|
|
|
71
71
|
cursor?: string | undefined;
|
|
72
72
|
filter?: string | undefined;
|
|
73
73
|
filterIdOrName?: string | undefined;
|
|
74
|
-
}, client: import('@doist/todoist-
|
|
74
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
75
75
|
textContent: string;
|
|
76
76
|
structuredContent: {
|
|
77
77
|
tasks: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Section, TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { Section, TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
import { mapTask } from '../tool-helpers.js';
|
|
4
4
|
type ProjectStructure = {
|
|
@@ -118,5 +118,5 @@ declare const getOverview: {
|
|
|
118
118
|
structuredContent: AccountOverviewStructured | ProjectOverviewStructured;
|
|
119
119
|
}>;
|
|
120
120
|
};
|
|
121
|
-
export {
|
|
121
|
+
export { type AccountOverviewStructured, getOverview, type ProjectOverviewStructured };
|
|
122
122
|
//# sourceMappingURL=get-overview.d.ts.map
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":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AAC,CAAA;IAChE,KAAK,EAAE;QACH,UAAU,EAAE,MAAM,CAAA;QAClB,aAAa,EAAE,MAAM,CAAA;QACrB,mBAAmB,EAAE,MAAM,CAAA;KAC9B,CAAA;CACJ,CAAA;AAiKD,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAraT,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE;sBAC9B,OAAO,EAAE;;gBANf,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE;sBAC9B,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgbwC,CAAA;AAE/D,OAAO,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,CAAA"}
|
|
@@ -80,7 +80,7 @@ declare const getProductivityStats: {
|
|
|
80
80
|
destructiveHint: false;
|
|
81
81
|
idempotentHint: true;
|
|
82
82
|
};
|
|
83
|
-
execute(_args: Record<string, never>, client: import('@doist/todoist-
|
|
83
|
+
execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
84
84
|
textContent: string;
|
|
85
85
|
structuredContent: {
|
|
86
86
|
completedCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-productivity-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-productivity-stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkFvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CqC,CAAA;
|
|
1
|
+
{"version":3,"file":"get-productivity-stats.d.ts","sourceRoot":"","sources":["../../src/tools/get-productivity-stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkFvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CqC,CAAA;AAyC/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -28,7 +28,7 @@ declare const getProjectActivityStats: {
|
|
|
28
28
|
projectId: string;
|
|
29
29
|
weeks?: number | undefined;
|
|
30
30
|
includeWeeklyCounts?: boolean | undefined;
|
|
31
|
-
}, client: import('@doist/todoist-
|
|
31
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
32
32
|
textContent: string;
|
|
33
33
|
structuredContent: {
|
|
34
34
|
projectId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM
|
|
1
|
+
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkMvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -39,7 +39,7 @@ declare const getWorkspaceInsights: {
|
|
|
39
39
|
execute(args: {
|
|
40
40
|
workspaceIdOrName: string;
|
|
41
41
|
projectIds?: string[] | undefined;
|
|
42
|
-
}, client: import('@doist/todoist-
|
|
42
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
43
43
|
textContent: string;
|
|
44
44
|
structuredContent: {
|
|
45
45
|
workspaceId: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.ts","sourceRoot":"","sources":["../../src/tools/list-workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,UAAU,EAGf,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM
|
|
1
|
+
{"version":3,"file":"list-workspaces.d.ts","sourceRoot":"","sources":["../../src/tools/list-workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,KAAK,UAAU,EAGf,KAAK,aAAa,EAClB,KAAK,aAAa,EACrB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,KAAK,eAAe,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,CAAA;IACnB,IAAI,CAAC,EAAE,aAAa,CAAA;IACpB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,KAAK,oBAAoB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAClD,IAAI,EAAE,YAAY,CAAA;IAClB,UAAU,EAAE,eAAe,EAAE,CAAA;IAC7B,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AA2DD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe2C,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAE,CAAA"}
|
|
@@ -46,7 +46,7 @@ declare const manageAssignments: {
|
|
|
46
46
|
dryRun: boolean;
|
|
47
47
|
responsibleUser?: string | undefined;
|
|
48
48
|
fromAssigneeUser?: string | undefined;
|
|
49
|
-
}, client: import('@doist/todoist-
|
|
49
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
50
50
|
textContent: string;
|
|
51
51
|
structuredContent: {
|
|
52
52
|
operation: "unassign";
|
|
@@ -54,13 +54,13 @@ declare const projectManagement: {
|
|
|
54
54
|
execute(args: {
|
|
55
55
|
action: "archive" | "unarchive";
|
|
56
56
|
projectId: string;
|
|
57
|
-
}, client: import('@doist/todoist-
|
|
57
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
58
58
|
textContent: string;
|
|
59
59
|
structuredContent: {
|
|
60
60
|
project: {
|
|
61
61
|
id: string;
|
|
62
62
|
name: string;
|
|
63
|
-
color: import('@doist/todoist-
|
|
63
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
64
64
|
isFavorite: boolean;
|
|
65
65
|
isShared: boolean;
|
|
66
66
|
parentId: string | undefined;
|
|
@@ -64,13 +64,13 @@ declare const projectMove: {
|
|
|
64
64
|
workspaceId?: string | undefined;
|
|
65
65
|
folderId?: string | undefined;
|
|
66
66
|
visibility?: "restricted" | "team" | "public" | undefined;
|
|
67
|
-
}, client: import('@doist/todoist-
|
|
67
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
68
68
|
textContent: string;
|
|
69
69
|
structuredContent: {
|
|
70
70
|
project: {
|
|
71
71
|
id: string;
|
|
72
72
|
name: string;
|
|
73
|
-
color: import('@doist/todoist-
|
|
73
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
74
74
|
isFavorite: boolean;
|
|
75
75
|
isShared: boolean;
|
|
76
76
|
parentId: string | undefined;
|
|
@@ -35,7 +35,7 @@ declare const reorderObjects: {
|
|
|
35
35
|
order?: number | undefined;
|
|
36
36
|
parentId?: string | undefined;
|
|
37
37
|
}[];
|
|
38
|
-
}, client: import('@doist/todoist-
|
|
38
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
39
39
|
textContent: string;
|
|
40
40
|
structuredContent: {
|
|
41
41
|
type: "project" | "section";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Task } from '@doist/todoist-
|
|
1
|
+
import { Task } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
declare const rescheduleTasks: {
|
|
4
4
|
name: "reschedule-tasks";
|
|
@@ -47,7 +47,7 @@ declare const rescheduleTasks: {
|
|
|
47
47
|
id: string;
|
|
48
48
|
date: string;
|
|
49
49
|
}[];
|
|
50
|
-
}, client: import('@doist/todoist-
|
|
50
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
51
51
|
textContent: string;
|
|
52
52
|
structuredContent: {
|
|
53
53
|
tasks: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE0C,CAAA;AAE/D,iBAAS,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAU7F;AAED,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAA"}
|
package/dist/tools/search.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare const search: {
|
|
|
31
31
|
};
|
|
32
32
|
execute(args: {
|
|
33
33
|
query: string;
|
|
34
|
-
}, client: import('@doist/todoist-
|
|
34
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
35
35
|
textContent: string;
|
|
36
36
|
structuredContent: {
|
|
37
37
|
results: SearchResult[];
|
|
@@ -23,7 +23,7 @@ declare const uncompleteTasks: {
|
|
|
23
23
|
};
|
|
24
24
|
execute(args: {
|
|
25
25
|
ids: string[];
|
|
26
|
-
}, client: import('@doist/todoist-
|
|
26
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
27
27
|
textContent: string;
|
|
28
28
|
structuredContent: {
|
|
29
29
|
uncompleted: string[];
|
|
@@ -50,7 +50,7 @@ declare const updateComments: {
|
|
|
50
50
|
id: string;
|
|
51
51
|
content: string;
|
|
52
52
|
}[];
|
|
53
|
-
}, client: import('@doist/todoist-
|
|
53
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
54
54
|
textContent: string;
|
|
55
55
|
structuredContent: {
|
|
56
56
|
comments: {
|
|
@@ -82,7 +82,7 @@ declare const updateFilters: {
|
|
|
82
82
|
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;
|
|
83
83
|
isFavorite?: boolean | undefined;
|
|
84
84
|
}[];
|
|
85
|
-
}, client: import('@doist/todoist-
|
|
85
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
86
86
|
textContent: string;
|
|
87
87
|
structuredContent: {
|
|
88
88
|
filters: {
|
|
@@ -91,13 +91,13 @@ declare const updateProjects: {
|
|
|
91
91
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
92
92
|
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;
|
|
93
93
|
}[];
|
|
94
|
-
}, client: import('@doist/todoist-
|
|
94
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
95
95
|
textContent: string;
|
|
96
96
|
structuredContent: {
|
|
97
97
|
projects: {
|
|
98
98
|
id: string;
|
|
99
99
|
name: string;
|
|
100
|
-
color: import('@doist/todoist-
|
|
100
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
101
101
|
isFavorite: boolean;
|
|
102
102
|
isShared: boolean;
|
|
103
103
|
parentId: string | undefined;
|
|
@@ -101,7 +101,7 @@ declare const updateReminders: {
|
|
|
101
101
|
locTrigger?: "on_enter" | "on_leave" | undefined;
|
|
102
102
|
radius?: number | undefined;
|
|
103
103
|
})[];
|
|
104
|
-
}, client: import('@doist/todoist-
|
|
104
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
105
105
|
textContent: string;
|
|
106
106
|
structuredContent: {
|
|
107
107
|
reminders: ({
|
|
@@ -26,7 +26,7 @@ declare const updateSections: {
|
|
|
26
26
|
id: string;
|
|
27
27
|
name: string;
|
|
28
28
|
}[];
|
|
29
|
-
}, client: import('@doist/todoist-
|
|
29
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
30
30
|
textContent: string;
|
|
31
31
|
structuredContent: {
|
|
32
32
|
sections: {
|
|
@@ -79,7 +79,7 @@ declare const updateTasks: {
|
|
|
79
79
|
labels?: string[] | undefined;
|
|
80
80
|
isUncompletable?: boolean | undefined;
|
|
81
81
|
}[];
|
|
82
|
-
}, client: import('@doist/todoist-
|
|
82
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
83
83
|
textContent: string;
|
|
84
84
|
structuredContent: {
|
|
85
85
|
tasks: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
type UserPlan = 'Todoist Free' | 'Todoist Pro' | 'Todoist Business';
|
|
4
4
|
type UserInfoStructured = Record<string, unknown> & {
|
|
@@ -53,5 +53,5 @@ declare const userInfo: {
|
|
|
53
53
|
structuredContent: UserInfoStructured;
|
|
54
54
|
}>;
|
|
55
55
|
};
|
|
56
|
-
export {
|
|
56
|
+
export { type UserInfoStructured, userInfo };
|
|
57
57
|
//# sourceMappingURL=user-info.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-info.d.ts","sourceRoot":"","sources":["../../src/tools/user-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"user-info.d.ts","sourceRoot":"","sources":["../../src/tools/user-info.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,KAAK,QAAQ,GAAG,cAAc,GAAG,aAAa,GAAG,kBAAkB,CAAA;AAEnE,KAAK,kBAAkB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IAChD,IAAI,EAAE,WAAW,CAAA;IACjB,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,gBAAgB,EAAE,MAAM,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,YAAY,EAAE,MAAM,CAAA;IACpB,aAAa,EAAE,MAAM,CAAA;IACrB,WAAW,EAAE,MAAM,CAAA;IACnB,iBAAiB,EAAE,MAAM,CAAA;IACzB,cAAc,EAAE,MAAM,CAAA;IACtB,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,QAAQ,CAAA;CACjB,CAAA;AAgJD,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAeiD,CAAA;AAE/D,OAAO,EAAE,KAAK,kBAAkB,EAAE,QAAQ,EAAE,CAAA"}
|
|
@@ -24,7 +24,7 @@ declare const viewAttachment: {
|
|
|
24
24
|
};
|
|
25
25
|
execute({ fileUrl }: {
|
|
26
26
|
fileUrl: string;
|
|
27
|
-
}, client: import('@doist/todoist-
|
|
27
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
28
28
|
textContent: string;
|
|
29
29
|
structuredContent: {
|
|
30
30
|
fileName: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assignment-validator.d.ts","sourceRoot":"","sources":["../../src/utils/assignment-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"assignment-validator.d.ts","sourceRoot":"","sources":["../../src/utils/assignment-validator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,EAAE,KAAK,YAAY,EAAgB,MAAM,oBAAoB,CAAA;AAEpE,eAAO,MAAM,mBAAmB;;;;;;;;CAQtB,CAAA;AAEV,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAA;AAEhG,MAAM,M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EAAE,MAAM,CAAA;YACZ,QAAQ,EAAE,OAAO,CAAA;YACjB,iBAAiB,EAAE,MAAM,CAAA;SAC5B,CAAA;QACD,QAAQ,CAAC,EAAE;YACP,YAAY,EAAE,MAAM,CAAA;YACpB,cAAc,EAAE,OAAO,CAAA;SAC1B,CAAA;QACD,QAAQ,CAAC,EAAE;YACP,eAAe,EAAE,MAAM,CAAA;YACvB,iBAAiB,EAAE,MAAM,CAAA;SAC5B,CAAA;QACD,eAAe,EAAE,MAAM,EAAE,CAAA;KAC5B,CAAC;CAqFL;AAGD,eAAO,MAAM,mBAAmB,qBAA4B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/filter-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"filter-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/filter-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAU,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAE5D,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;CACtB,CAAA;AAID,qBAAa,cAAc;IACvB,OAAO,CAAC,KAAK,CAAwD;YAEvD,UAAU;IAcxB;;;;;;;;;OASG;IACG,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,CAAC;IAuDlF;;OAEG;IACH,UAAU,IAAI,IAAI;CAGrB;AAGD,eAAO,MAAM,cAAc,gBAAuB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"response-builders.d.ts","sourceRoot":"","sources":["../../src/utils/response-builders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM
|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QAAQ,GAAG,WAAW,GAAG,WAAW,EACrE,KAAK,EAAE,QAAQ,EAAE,EACjB,OAAO,CAAC,EAAE;IACN,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,CAAA;IAC/C,aAAa,CAAC,EAAE,OAAO,CAAA;CAC1B,GACF,MAAM,EAAE,CA6EV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CurrentUser, Label, PersonalProject, Section, Task, WorkspaceProject } from '@doist/todoist-
|
|
1
|
+
import { CurrentUser, Label, PersonalProject, Section, Task, WorkspaceProject } from '@doist/todoist-sdk';
|
|
2
2
|
import { MappedTask } from '../tool-helpers';
|
|
3
3
|
import { Priority } from './priorities';
|
|
4
4
|
type TaskWithUserFacingPriority = Omit<Task, 'priority'> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,KAAK,EACL,eAAe,EACf,OAAO,EACP,IAAI,EACJ,gBAAgB,EACnB,MAAM
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,KAAK,EACL,eAAe,EACf,OAAO,EACP,IAAI,EACJ,gBAAgB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAErE,KAAK,0BAA0B,GAAG,IAAI,CAAC,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AAQ;;;;;;;;;;;;CAYX,CAAA;AAEV;;;GAGG;AACH,eAAO,MAAM,KAAK,EAAG,YAAqB,CAAA;AAE1C;;;GAGG;AACH,wBAAgB,cAAc,CAAC,SAAS,GAAE,OAAO,CAAC,WAAW,CAAM,GAAG,WAAW,CAoChF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/user-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"user-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/user-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,MAAM,MAAM,YAAY,GAAG;IACvB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA;AAsBD,+DAA+D;AAC/D,eAAO,MAAM,iBAAiB,EAAG,IAAa,CAAA;AAE9C,qBAAa,YAAY;IACrB;;;OAGG;IACG,WAAW,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IA+HrF;;OAEG;IACG,2BAA2B,CAC7B,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,MAAM,EACjB,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC;IASnB;;OAEG;IACG,uBAAuB,CACzB,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,MAAM,GAClB,OAAO,CAAC,mBAAmB,EAAE,CAAC;IA2BjC;;OAEG;YACW,mBAAmB;IAqDjC;;OAEG;IACH,UAAU,IAAI,IAAI;CAIrB;AAGD,eAAO,MAAM,YAAY,cAAqB,CAAA;AAG9C,wBAAsB,mBAAmB,CACrC,MAAM,EAAE,UAAU,EAClB,QAAQ,EAAE,MAAM,GACjB,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC,CAE9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/workspace-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM
|
|
1
|
+
{"version":3,"file":"workspace-resolver.d.ts","sourceRoot":"","sources":["../../src/utils/workspace-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAa,MAAM,oBAAoB,CAAA;AAE/D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;CACxB,CAAA;AAID;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,KAAK,CAA8D;YAE7D,aAAa;IAU3B;;;;;;;;;;OAUG;IACG,gBAAgB,CAAC,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,CAAC;IAsDxF;;OAEG;IACH,UAAU,IAAI,IAAI;CAGrB;AAGD,eAAO,MAAM,iBAAiB,mBAA0B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-ai",
|
|
3
|
-
"version": "8.8.
|
|
3
|
+
"version": "8.8.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"prepare": "husky"
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
|
-
"@doist/todoist-
|
|
66
|
+
"@doist/todoist-sdk": "8.0.0",
|
|
67
67
|
"@modelcontextprotocol/ext-apps": "1.2.2",
|
|
68
68
|
"date-fns": "4.1.0",
|
|
69
69
|
"dompurify": "3.3.3",
|
package/scripts/run-tool.ts
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* Requires TODOIST_API_KEY in .env file (and optionally TODOIST_BASE_URL).
|
|
16
16
|
*/
|
|
17
17
|
import { readFileSync } from 'node:fs'
|
|
18
|
-
import { TodoistApi } from '@doist/todoist-
|
|
18
|
+
import { TodoistApi } from '@doist/todoist-sdk'
|
|
19
19
|
import { config } from 'dotenv'
|
|
20
20
|
import { addComments } from '../src/tools/add-comments.js'
|
|
21
21
|
import { addFilters } from '../src/tools/add-filters.js'
|