@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/README.md
CHANGED
|
@@ -20,7 +20,7 @@ Here's an example using [Vercel's AI SDK](https://ai-sdk.dev/docs/ai-sdk-core/ge
|
|
|
20
20
|
|
|
21
21
|
```js
|
|
22
22
|
import { findTasksByDate, addTasks } from "@doist/todoist-ai";
|
|
23
|
-
import { TodoistApi } from "@doist/todoist-
|
|
23
|
+
import { TodoistApi } from "@doist/todoist-sdk";
|
|
24
24
|
import { streamText } from "ai";
|
|
25
25
|
|
|
26
26
|
// Create Todoist API client
|
|
@@ -144,7 +144,7 @@ This server includes `search` and `fetch` tools that follow the [OpenAI MCP spec
|
|
|
144
144
|
## Dependencies
|
|
145
145
|
|
|
146
146
|
- MCP server using the official [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk?tab=readme-ov-file#installation)
|
|
147
|
-
- Todoist Typescript API client [@doist/todoist-
|
|
147
|
+
- Todoist Typescript API client [@doist/todoist-sdk](https://github.com/Doist/todoist-sdk)
|
|
148
148
|
|
|
149
149
|
## MCP Server Setup
|
|
150
150
|
|
package/dist/filter-helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
export declare const RESPONSIBLE_USER_FILTERING: readonly ["assigned", "unassignedOrMe", "all"];
|
|
3
3
|
export type ResponsibleUserFiltering = (typeof RESPONSIBLE_USER_FILTERING)[number];
|
|
4
4
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAGpD,eAAO,MAAM,0BAA0B,gDAAiD,CAAA;AACxF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAElF;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,UAAU,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAaxD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,MAAM,CAmBT;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EAChF,KAAK,EACL,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,CAAA;IACrB,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,CAAC,EAAE,CAWN"}
|
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ declare const tools: {
|
|
|
120
120
|
responsibleUser?: string | undefined;
|
|
121
121
|
isUncompletable?: boolean | undefined;
|
|
122
122
|
}[];
|
|
123
|
-
}, client: import('@doist/todoist-
|
|
123
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
124
124
|
textContent: string;
|
|
125
125
|
structuredContent: {
|
|
126
126
|
tasks: {
|
|
@@ -176,7 +176,7 @@ declare const tools: {
|
|
|
176
176
|
};
|
|
177
177
|
execute(args: {
|
|
178
178
|
ids: string[];
|
|
179
|
-
}, client: import('@doist/todoist-
|
|
179
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
180
180
|
textContent: string;
|
|
181
181
|
structuredContent: {
|
|
182
182
|
completed: string[];
|
|
@@ -215,7 +215,7 @@ declare const tools: {
|
|
|
215
215
|
};
|
|
216
216
|
execute(args: {
|
|
217
217
|
ids: string[];
|
|
218
|
-
}, client: import('@doist/todoist-
|
|
218
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
219
219
|
textContent: string;
|
|
220
220
|
structuredContent: {
|
|
221
221
|
uncompleted: string[];
|
|
@@ -310,7 +310,7 @@ declare const tools: {
|
|
|
310
310
|
labels?: string[] | undefined;
|
|
311
311
|
isUncompletable?: boolean | undefined;
|
|
312
312
|
}[];
|
|
313
|
-
}, client: import('@doist/todoist-
|
|
313
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
314
314
|
textContent: string;
|
|
315
315
|
structuredContent: {
|
|
316
316
|
tasks: {
|
|
@@ -412,7 +412,7 @@ declare const tools: {
|
|
|
412
412
|
cursor?: string | undefined;
|
|
413
413
|
filter?: string | undefined;
|
|
414
414
|
filterIdOrName?: string | undefined;
|
|
415
|
-
}, client: import('@doist/todoist-
|
|
415
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
416
416
|
textContent: string;
|
|
417
417
|
structuredContent: {
|
|
418
418
|
tasks: {
|
|
@@ -523,7 +523,7 @@ declare const tools: {
|
|
|
523
523
|
cursor?: string | undefined;
|
|
524
524
|
responsibleUser?: string | undefined;
|
|
525
525
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
526
|
-
}, client: import('@doist/todoist-
|
|
526
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
527
527
|
textContent: string;
|
|
528
528
|
structuredContent: {
|
|
529
529
|
tasks: {
|
|
@@ -632,7 +632,7 @@ declare const tools: {
|
|
|
632
632
|
parentId?: string | undefined;
|
|
633
633
|
responsibleUser?: string | undefined;
|
|
634
634
|
cursor?: string | undefined;
|
|
635
|
-
}, client: import('@doist/todoist-
|
|
635
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
636
636
|
textContent: string;
|
|
637
637
|
structuredContent: {
|
|
638
638
|
tasks: {
|
|
@@ -720,7 +720,7 @@ declare const tools: {
|
|
|
720
720
|
id: string;
|
|
721
721
|
date: string;
|
|
722
722
|
}[];
|
|
723
|
-
}, client: import('@doist/todoist-
|
|
723
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
724
724
|
textContent: string;
|
|
725
725
|
structuredContent: {
|
|
726
726
|
tasks: {
|
|
@@ -835,13 +835,13 @@ declare const tools: {
|
|
|
835
835
|
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;
|
|
836
836
|
workspace?: string | undefined;
|
|
837
837
|
}[];
|
|
838
|
-
}, client: import('@doist/todoist-
|
|
838
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
839
839
|
textContent: string;
|
|
840
840
|
structuredContent: {
|
|
841
841
|
projects: {
|
|
842
842
|
id: string;
|
|
843
843
|
name: string;
|
|
844
|
-
color: import('@doist/todoist-
|
|
844
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
845
845
|
isFavorite: boolean;
|
|
846
846
|
isShared: boolean;
|
|
847
847
|
parentId: string | undefined;
|
|
@@ -947,13 +947,13 @@ declare const tools: {
|
|
|
947
947
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
948
948
|
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;
|
|
949
949
|
}[];
|
|
950
|
-
}, client: import('@doist/todoist-
|
|
950
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
951
951
|
textContent: string;
|
|
952
952
|
structuredContent: {
|
|
953
953
|
projects: {
|
|
954
954
|
id: string;
|
|
955
955
|
name: string;
|
|
956
|
-
color: import('@doist/todoist-
|
|
956
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
957
957
|
isFavorite: boolean;
|
|
958
958
|
isShared: boolean;
|
|
959
959
|
parentId: string | undefined;
|
|
@@ -1029,13 +1029,13 @@ declare const tools: {
|
|
|
1029
1029
|
limit: number;
|
|
1030
1030
|
searchText?: string | undefined;
|
|
1031
1031
|
cursor?: string | undefined;
|
|
1032
|
-
}, client: import('@doist/todoist-
|
|
1032
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1033
1033
|
textContent: string;
|
|
1034
1034
|
structuredContent: {
|
|
1035
1035
|
projects: {
|
|
1036
1036
|
id: string;
|
|
1037
1037
|
name: string;
|
|
1038
|
-
color: import('@doist/todoist-
|
|
1038
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
1039
1039
|
isFavorite: boolean;
|
|
1040
1040
|
isShared: boolean;
|
|
1041
1041
|
parentId: string | undefined;
|
|
@@ -1082,7 +1082,7 @@ declare const tools: {
|
|
|
1082
1082
|
name: string;
|
|
1083
1083
|
projectId: string;
|
|
1084
1084
|
}[];
|
|
1085
|
-
}, client: import('@doist/todoist-
|
|
1085
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1086
1086
|
textContent: string;
|
|
1087
1087
|
structuredContent: {
|
|
1088
1088
|
sections: {
|
|
@@ -1130,7 +1130,7 @@ declare const tools: {
|
|
|
1130
1130
|
id: string;
|
|
1131
1131
|
name: string;
|
|
1132
1132
|
}[];
|
|
1133
|
-
}, client: import('@doist/todoist-
|
|
1133
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1134
1134
|
textContent: string;
|
|
1135
1135
|
structuredContent: {
|
|
1136
1136
|
sections: {
|
|
@@ -1175,7 +1175,7 @@ declare const tools: {
|
|
|
1175
1175
|
execute(args: {
|
|
1176
1176
|
projectId: string;
|
|
1177
1177
|
searchText?: string | undefined;
|
|
1178
|
-
}, client: import('@doist/todoist-
|
|
1178
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1179
1179
|
textContent: string;
|
|
1180
1180
|
structuredContent: {
|
|
1181
1181
|
sections: {
|
|
@@ -1240,7 +1240,7 @@ declare const tools: {
|
|
|
1240
1240
|
taskId?: string | undefined;
|
|
1241
1241
|
projectId?: string | undefined;
|
|
1242
1242
|
}[];
|
|
1243
|
-
}, client: import('@doist/todoist-
|
|
1243
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1244
1244
|
textContent: string;
|
|
1245
1245
|
structuredContent: {
|
|
1246
1246
|
comments: {
|
|
@@ -1321,7 +1321,7 @@ declare const tools: {
|
|
|
1321
1321
|
id: string;
|
|
1322
1322
|
content: string;
|
|
1323
1323
|
}[];
|
|
1324
|
-
}, client: import('@doist/todoist-
|
|
1324
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1325
1325
|
textContent: string;
|
|
1326
1326
|
structuredContent: {
|
|
1327
1327
|
comments: {
|
|
@@ -1407,7 +1407,7 @@ declare const tools: {
|
|
|
1407
1407
|
commentId?: string | undefined;
|
|
1408
1408
|
cursor?: string | undefined;
|
|
1409
1409
|
limit?: number | undefined;
|
|
1410
|
-
}, client: import('@doist/todoist-
|
|
1410
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1411
1411
|
textContent: string;
|
|
1412
1412
|
structuredContent: {
|
|
1413
1413
|
comments: {
|
|
@@ -1464,7 +1464,7 @@ declare const tools: {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
execute({ fileUrl }: {
|
|
1466
1466
|
fileUrl: string;
|
|
1467
|
-
}, client: import('@doist/todoist-
|
|
1467
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1468
1468
|
textContent: string;
|
|
1469
1469
|
structuredContent: {
|
|
1470
1470
|
fileName: string | undefined;
|
|
@@ -1559,7 +1559,7 @@ declare const tools: {
|
|
|
1559
1559
|
order?: number | undefined;
|
|
1560
1560
|
isFavorite?: boolean | undefined;
|
|
1561
1561
|
}[];
|
|
1562
|
-
}, client: import('@doist/todoist-
|
|
1562
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1563
1563
|
textContent: string;
|
|
1564
1564
|
structuredContent: {
|
|
1565
1565
|
labels: {
|
|
@@ -1625,7 +1625,7 @@ declare const tools: {
|
|
|
1625
1625
|
limit: number;
|
|
1626
1626
|
searchText?: string | undefined;
|
|
1627
1627
|
cursor?: string | undefined;
|
|
1628
|
-
}, client: import('@doist/todoist-
|
|
1628
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1629
1629
|
textContent: string;
|
|
1630
1630
|
structuredContent: {
|
|
1631
1631
|
labels: {
|
|
@@ -1696,7 +1696,7 @@ declare const tools: {
|
|
|
1696
1696
|
};
|
|
1697
1697
|
execute(args: {
|
|
1698
1698
|
search?: string | undefined;
|
|
1699
|
-
}, client: import('@doist/todoist-
|
|
1699
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1700
1700
|
textContent: string;
|
|
1701
1701
|
structuredContent: {
|
|
1702
1702
|
filters: {
|
|
@@ -1787,7 +1787,7 @@ declare const tools: {
|
|
|
1787
1787
|
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;
|
|
1788
1788
|
isFavorite?: boolean | undefined;
|
|
1789
1789
|
}[];
|
|
1790
|
-
}, client: import('@doist/todoist-
|
|
1790
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1791
1791
|
textContent: string;
|
|
1792
1792
|
structuredContent: {
|
|
1793
1793
|
filters: {
|
|
@@ -1885,7 +1885,7 @@ declare const tools: {
|
|
|
1885
1885
|
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;
|
|
1886
1886
|
isFavorite?: boolean | undefined;
|
|
1887
1887
|
}[];
|
|
1888
|
-
}, client: import('@doist/todoist-
|
|
1888
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1889
1889
|
textContent: string;
|
|
1890
1890
|
structuredContent: {
|
|
1891
1891
|
filters: {
|
|
@@ -1963,7 +1963,7 @@ declare const tools: {
|
|
|
1963
1963
|
taskId?: string | undefined;
|
|
1964
1964
|
initiatorId?: string | undefined;
|
|
1965
1965
|
cursor?: string | undefined;
|
|
1966
|
-
}, client: import('@doist/todoist-
|
|
1966
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1967
1967
|
textContent: string;
|
|
1968
1968
|
structuredContent: {
|
|
1969
1969
|
events: {
|
|
@@ -2074,7 +2074,7 @@ declare const tools: {
|
|
|
2074
2074
|
destructiveHint: false;
|
|
2075
2075
|
idempotentHint: true;
|
|
2076
2076
|
};
|
|
2077
|
-
execute(_args: Record<string, never>, client: import('@doist/todoist-
|
|
2077
|
+
execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2078
2078
|
textContent: string;
|
|
2079
2079
|
structuredContent: {
|
|
2080
2080
|
completedCount: number;
|
|
@@ -2213,7 +2213,7 @@ declare const tools: {
|
|
|
2213
2213
|
execute(args: {
|
|
2214
2214
|
projectId: string;
|
|
2215
2215
|
includeContext: boolean;
|
|
2216
|
-
}, client: import('@doist/todoist-
|
|
2216
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2217
2217
|
textContent: string;
|
|
2218
2218
|
structuredContent: {
|
|
2219
2219
|
projectId: string;
|
|
@@ -2287,7 +2287,7 @@ declare const tools: {
|
|
|
2287
2287
|
projectId: string;
|
|
2288
2288
|
weeks?: number | undefined;
|
|
2289
2289
|
includeWeeklyCounts?: boolean | undefined;
|
|
2290
|
-
}, client: import('@doist/todoist-
|
|
2290
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2291
2291
|
textContent: string;
|
|
2292
2292
|
structuredContent: {
|
|
2293
2293
|
projectId: string;
|
|
@@ -2332,7 +2332,7 @@ declare const tools: {
|
|
|
2332
2332
|
};
|
|
2333
2333
|
execute(args: {
|
|
2334
2334
|
projectId: string;
|
|
2335
|
-
}, client: import('@doist/todoist-
|
|
2335
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2336
2336
|
textContent: string;
|
|
2337
2337
|
structuredContent: {
|
|
2338
2338
|
projectId: string;
|
|
@@ -2385,7 +2385,7 @@ declare const tools: {
|
|
|
2385
2385
|
execute(args: {
|
|
2386
2386
|
workspaceIdOrName: string;
|
|
2387
2387
|
projectIds?: string[] | undefined;
|
|
2388
|
-
}, client: import('@doist/todoist-
|
|
2388
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2389
2389
|
textContent: string;
|
|
2390
2390
|
structuredContent: {
|
|
2391
2391
|
workspaceId: string;
|
|
@@ -2482,7 +2482,7 @@ declare const tools: {
|
|
|
2482
2482
|
};
|
|
2483
2483
|
execute(args: {
|
|
2484
2484
|
projectId?: string | undefined;
|
|
2485
|
-
}, client: import('@doist/todoist-
|
|
2485
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2486
2486
|
textContent: string;
|
|
2487
2487
|
structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
|
|
2488
2488
|
}>;
|
|
@@ -2527,7 +2527,7 @@ declare const tools: {
|
|
|
2527
2527
|
execute(args: {
|
|
2528
2528
|
type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "label" | "location_reminder";
|
|
2529
2529
|
id: string;
|
|
2530
|
-
}, client: import('@doist/todoist-
|
|
2530
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2531
2531
|
textContent: string;
|
|
2532
2532
|
structuredContent: {
|
|
2533
2533
|
deletedEntity: {
|
|
@@ -2574,7 +2574,7 @@ declare const tools: {
|
|
|
2574
2574
|
order?: number | undefined;
|
|
2575
2575
|
parentId?: string | undefined;
|
|
2576
2576
|
}[];
|
|
2577
|
-
}, client: import('@doist/todoist-
|
|
2577
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2578
2578
|
textContent: string;
|
|
2579
2579
|
structuredContent: {
|
|
2580
2580
|
type: "project" | "section";
|
|
@@ -2615,7 +2615,7 @@ declare const tools: {
|
|
|
2615
2615
|
destructiveHint: false;
|
|
2616
2616
|
idempotentHint: true;
|
|
2617
2617
|
};
|
|
2618
|
-
execute(_args: Record<string, never>, client: import('@doist/todoist-
|
|
2618
|
+
execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2619
2619
|
textContent: string;
|
|
2620
2620
|
structuredContent: import('./tools/user-info.js').UserInfoStructured;
|
|
2621
2621
|
}>;
|
|
@@ -2650,7 +2650,7 @@ declare const tools: {
|
|
|
2650
2650
|
execute(args: {
|
|
2651
2651
|
projectId: string;
|
|
2652
2652
|
searchTerm?: string | undefined;
|
|
2653
|
-
}, client: import('@doist/todoist-
|
|
2653
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2654
2654
|
textContent: string;
|
|
2655
2655
|
structuredContent: {
|
|
2656
2656
|
collaborators: never[];
|
|
@@ -2740,7 +2740,7 @@ declare const tools: {
|
|
|
2740
2740
|
dryRun: boolean;
|
|
2741
2741
|
responsibleUser?: string | undefined;
|
|
2742
2742
|
fromAssigneeUser?: string | undefined;
|
|
2743
|
-
}, client: import('@doist/todoist-
|
|
2743
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2744
2744
|
textContent: string;
|
|
2745
2745
|
structuredContent: {
|
|
2746
2746
|
operation: "unassign";
|
|
@@ -2792,7 +2792,7 @@ declare const tools: {
|
|
|
2792
2792
|
destructiveHint: false;
|
|
2793
2793
|
idempotentHint: true;
|
|
2794
2794
|
};
|
|
2795
|
-
execute(_args: Record<string, never>, client: import('@doist/todoist-
|
|
2795
|
+
execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2796
2796
|
textContent: string;
|
|
2797
2797
|
structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
|
|
2798
2798
|
}>;
|
|
@@ -2818,7 +2818,7 @@ declare const tools: {
|
|
|
2818
2818
|
};
|
|
2819
2819
|
execute(args: {
|
|
2820
2820
|
query: string;
|
|
2821
|
-
}, client: import('@doist/todoist-
|
|
2821
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2822
2822
|
textContent: string;
|
|
2823
2823
|
structuredContent: {
|
|
2824
2824
|
results: {
|
|
@@ -2850,7 +2850,7 @@ declare const tools: {
|
|
|
2850
2850
|
};
|
|
2851
2851
|
execute(args: {
|
|
2852
2852
|
id: string;
|
|
2853
|
-
}, client: import('@doist/todoist-
|
|
2853
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2854
2854
|
textContent: string;
|
|
2855
2855
|
structuredContent: {
|
|
2856
2856
|
id: string;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as s, s as a, l as e, m as t, a as d, u as o, r, d as i, b as c, c as n, e as l, h as m, i as f, j as p, k, n as g, o as j, p as u, q as T, t as h, v, w as P, x as A, y as S, z as b, A as y, B as C, C as F, D as E, E as w, F as x, G as H, H as I, I as L, J as M, K as O, L as z, M as B } from "./mcp-server-
|
|
2
|
-
import { N as G, g as J } from "./mcp-server-
|
|
1
|
+
import { f as s, s as a, l as e, m as t, a as d, u as o, r, d as i, b as c, c as n, e as l, h as m, i as f, j as p, k, n as g, o as j, p as u, q as T, t as h, v, w as P, x as A, y as S, z as b, A as y, B as C, C as F, D as E, E as w, F as x, G as H, H as I, I as L, J as M, K as O, L as z, M as B } from "./mcp-server-B55_qbq4.js";
|
|
2
|
+
import { N as G, g as J } from "./mcp-server-B55_qbq4.js";
|
|
3
3
|
const N = {
|
|
4
4
|
// Task management tools
|
|
5
5
|
addTasks: B,
|
package/dist/main-http.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { StreamableHTTPServerTransport as i } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
3
3
|
import l from "dotenv";
|
|
4
4
|
import a from "express";
|
|
5
|
-
import { g as p } from "./mcp-server-
|
|
5
|
+
import { g as p } from "./mcp-server-B55_qbq4.js";
|
|
6
6
|
l.config({ quiet: !0 });
|
|
7
7
|
const s = Number.parseInt(process.env.PORT || "3000", 10);
|
|
8
8
|
function d() {
|
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-B55_qbq4.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
package/dist/mcp-helpers.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,yCAAyC,CAAA;AAEtF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAC5B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAKpD;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;IACf;;;OAGG;;CAEG,CAAA;AAEV;;;GAGG;AACH,KAAK,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;AAErE;;GAEG;AACH,KAAK,OAAO,GAAG;IACX;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,KAAK,QAAQ,GAAG,OAAO,EAAE,CAAA;AAkIzB;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAsB3C;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQjD;AAED;;GAEG;AACH,iBAAS,YAAY,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAC,WAAW,GAAG,CAAC,CAAC,WAAW,EAAE,EAC9F,IAAI,EACJ,MAAM,EACN,MAAM,EACN,QAAa,GAChB,EAAE;IACC,IAAI,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACjC,MAAM,EAAE,SAAS,CAAA;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,QAoDA;AAED,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,GACtB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { colors as $e, LOCATION_TRIGGERS as ut, REMINDER_TYPES as Nt, createCommand as z, REMINDER_DELIVERY_SERVICES as Lt, HEALTH_STATUSES as Re, getTaskUrl as pt, getProjectUrl as mt, WORKSPACE_ROLES as Mt, WORKSPACE_PLANS as Ft, TodoistApi as Ht } from "@doist/todoist-
|
|
1
|
+
import { colors as $e, LOCATION_TRIGGERS as ut, REMINDER_TYPES as Nt, createCommand as z, REMINDER_DELIVERY_SERVICES as Lt, HEALTH_STATUSES as Re, getTaskUrl as pt, getProjectUrl as mt, WORKSPACE_ROLES as Mt, WORKSPACE_PLANS as Ft, TodoistApi as Ht } from "@doist/todoist-sdk";
|
|
2
2
|
import { McpServer as Wt } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
3
3
|
import { createHash as Bt } from "node:crypto";
|
|
4
4
|
import { readFileSync as zt } from "node:fs";
|
|
@@ -54,5 +54,5 @@ declare const productivityAnalysis: {
|
|
|
54
54
|
};
|
|
55
55
|
callback: typeof callback;
|
|
56
56
|
};
|
|
57
|
-
export {
|
|
57
|
+
export { buildPromptText, computeDateRange, productivityAnalysis };
|
|
58
58
|
//# sourceMappingURL=productivity-analysis.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productivity-analysis.d.ts","sourceRoot":"","sources":["../../src/prompts/productivity-analysis.ts"],"names":[],"mappings":"AAA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EAAE,MAAM,CAAA;CAAE,CA0D7D;AAwCD,iBAAS,eAAe,CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAkCjD;AAED,iBAAS,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAYnD;AAED,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;CAOzB,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAA"}
|
package/dist/todoist-tool.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-
|
|
1
|
+
import { TodoistApi } from '@doist/todoist-sdk';
|
|
2
2
|
import { ContentBlock, ToolAnnotations } from '@modelcontextprotocol/sdk/types.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
type ExecuteResult<Output extends z.ZodRawShape> = Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM
|
|
1
|
+
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACvF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B,KAAK,aAAa,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;IAChD,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,KAAK,uBAAuB,GAAG,eAAe,GAAG;IAC7C,YAAY,EAAE,OAAO,CAAA;IACrB,eAAe,EAAE,OAAO,CAAA;IACxB,cAAc,EAAE,OAAO,CAAA;CAC1B,CAAA;AAED;;GAEG;AACH,KAAK,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAC,WAAW,IAAI;IAC3E;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,WAAW,EAAE,uBAAuB,CAAA;IAEpC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAE/B;;;;;;;;OAQG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,KAAK,aAAa,CAAC,MAAM,CAAC,CAAA;CAC7F,CAAA;AAED,YAAY,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAA"}
|
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-
|
|
1
|
+
import { ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-sdk';
|
|
2
2
|
export { appendToQuery, buildResponsibleUserQueryFilter, filterTasksByResponsibleUser, RESPONSIBLE_USER_FILTERING, type ResponsibleUserFiltering, resolveResponsibleUser, } from './filter-helpers.js';
|
|
3
3
|
export type Project = PersonalProject | WorkspaceProject;
|
|
4
4
|
export declare function isPersonalProject(project: Project): project is PersonalProject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EACnB,MAAM
|
|
1
|
+
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,WAAW,EACX,KAAK,EACL,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,UAAU,EACV,gBAAgB,EACnB,MAAM,oBAAoB,CAAA;AAO3B,OAAO,EACH,aAAa,EACb,+BAA+B,EAC/B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAA;AAExD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,eAAe,CAE9E;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,gBAAgB,CAEhF;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEvE;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAC9C,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,UAAU,CAAA;CAC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undefined;
|
|
51
51
|
}[];
|
|
52
|
-
}, client: import('@doist/todoist-
|
|
52
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
53
53
|
textContent: string;
|
|
54
54
|
structuredContent: {
|
|
55
55
|
comments: {
|
|
@@ -75,7 +75,7 @@ declare const addFilters: {
|
|
|
75
75
|
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;
|
|
76
76
|
isFavorite?: boolean | undefined;
|
|
77
77
|
}[];
|
|
78
|
-
}, client: import('@doist/todoist-
|
|
78
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
79
79
|
textContent: string;
|
|
80
80
|
structuredContent: {
|
|
81
81
|
filters: {
|
|
@@ -74,7 +74,7 @@ declare const addLabels: {
|
|
|
74
74
|
order?: number | undefined;
|
|
75
75
|
isFavorite?: boolean | undefined;
|
|
76
76
|
}[];
|
|
77
|
-
}, client: import('@doist/todoist-
|
|
77
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
78
78
|
textContent: string;
|
|
79
79
|
structuredContent: {
|
|
80
80
|
labels: {
|
|
@@ -88,13 +88,13 @@ declare const addProjects: {
|
|
|
88
88
|
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
|
|
89
89
|
workspace?: string | undefined;
|
|
90
90
|
}[];
|
|
91
|
-
}, client: import('@doist/todoist-
|
|
91
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
92
92
|
textContent: string;
|
|
93
93
|
structuredContent: {
|
|
94
94
|
projects: {
|
|
95
95
|
id: string;
|
|
96
96
|
name: string;
|
|
97
|
-
color: import('@doist/todoist-
|
|
97
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
98
98
|
isFavorite: boolean;
|
|
99
99
|
isShared: boolean;
|
|
100
100
|
parentId: string | undefined;
|
|
@@ -101,7 +101,7 @@ declare const addReminders: {
|
|
|
101
101
|
locTrigger: "on_enter" | "on_leave";
|
|
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: ({
|
|
@@ -25,7 +25,7 @@ declare const addSections: {
|
|
|
25
25
|
name: string;
|
|
26
26
|
projectId: string;
|
|
27
27
|
}[];
|
|
28
|
-
}, client: import('@doist/todoist-
|
|
28
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
29
29
|
textContent: string;
|
|
30
30
|
structuredContent: {
|
|
31
31
|
sections: {
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,QAAA,MAAM,uBAAuB,KAAK,CAAA;AAyElC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA6CwB,MAAM;uBAAS,MAAM;;;;;;;CA0CI,CAAA;AAwK/D,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -28,7 +28,7 @@ declare const analyzeProjectHealth: {
|
|
|
28
28
|
};
|
|
29
29
|
execute(args: {
|
|
30
30
|
projectId: string;
|
|
31
|
-
}, client: import('@doist/todoist-
|
|
31
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
32
32
|
textContent: string;
|
|
33
33
|
structuredContent: {
|
|
34
34
|
projectId: string;
|
|
@@ -23,7 +23,7 @@ declare const completeTasks: {
|
|
|
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
|
completed: string[];
|
|
@@ -39,7 +39,7 @@ declare const deleteObject: {
|
|
|
39
39
|
execute(args: {
|
|
40
40
|
type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "label" | "location_reminder";
|
|
41
41
|
id: string;
|
|
42
|
-
}, client: import('@doist/todoist-
|
|
42
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
43
43
|
textContent: string;
|
|
44
44
|
structuredContent: {
|
|
45
45
|
deletedEntity: {
|
|
@@ -112,7 +112,7 @@ declare const fetchObject: {
|
|
|
112
112
|
execute(args: {
|
|
113
113
|
type: "comment" | "task" | "project" | "section";
|
|
114
114
|
id: string;
|
|
115
|
-
}, client: import('@doist/todoist-
|
|
115
|
+
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
116
116
|
textContent: string;
|
|
117
117
|
structuredContent: {
|
|
118
118
|
type: "task";
|
|
@@ -144,7 +144,7 @@ declare const fetchObject: {
|
|
|
144
144
|
object: {
|
|
145
145
|
id: string;
|
|
146
146
|
name: string;
|
|
147
|
-
color: import('@doist/todoist-
|
|
147
|
+
color: import('@doist/todoist-sdk').ColorKey;
|
|
148
148
|
isFavorite: boolean;
|
|
149
149
|
isShared: boolean;
|
|
150
150
|
parentId: string | undefined;
|