@doist/todoist-ai 8.4.0 → 8.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/main-http.js +1 -1
- package/dist/main.js +1 -1
- package/dist/{mcp-server-BVQebUMI.js → mcp-server-DbJt0ye-.js} +475 -475
- package/dist/tools/list-workspaces.d.ts +4 -4
- package/dist/tools/list-workspaces.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +2 -2
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/package.json +8 -8
- package/scripts/validate-schemas.ts +4 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { TodoistApi } from '@doist/todoist-api-typescript';
|
|
1
|
+
import { TodoistApi, WorkspacePlan, WorkspaceRole } from '@doist/todoist-api-typescript';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
type WorkspaceOutput = {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
plan:
|
|
7
|
-
role:
|
|
6
|
+
plan: WorkspacePlan;
|
|
7
|
+
role: WorkspaceRole;
|
|
8
8
|
isLinkSharingEnabled: boolean;
|
|
9
9
|
isGuestAllowed: boolean;
|
|
10
10
|
createdAt: string;
|
|
@@ -50,5 +50,5 @@ declare const listWorkspaces: {
|
|
|
50
50
|
structuredContent: WorkspacesStructured;
|
|
51
51
|
}>;
|
|
52
52
|
};
|
|
53
|
-
export { listWorkspaces, type
|
|
53
|
+
export { listWorkspaces, type WorkspaceOutput, type WorkspacesStructured };
|
|
54
54
|
//# sourceMappingURL=list-workspaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-workspaces.d.ts","sourceRoot":"","sources":["../../src/tools/list-workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
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,+BAA+B,CAAA;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,KAAK,eAAe,GAAG;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,aAAa,CAAA;IACnB,IAAI,EAAE,aAAa,CAAA;IACnB,oBAAoB,EAAE,OAAO,CAAA;IAC7B,cAAc,EAAE,OAAO,CAAA;IACvB,SAAS,EAAE,MAAM,CAAA;IACjB,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;AAuDD,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe2C,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,KAAK,eAAe,EAAE,KAAK,oBAAoB,EAAE,CAAA"}
|
|
@@ -17,8 +17,8 @@ declare const updateTasks: {
|
|
|
17
17
|
p3: "p3";
|
|
18
18
|
p4: "p4";
|
|
19
19
|
}>>;
|
|
20
|
-
dueString: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.
|
|
21
|
-
deadlineDate: z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.
|
|
20
|
+
dueString: z.ZodOptional<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodString>>;
|
|
21
|
+
deadlineDate: z.ZodOptional<z.ZodPipe<z.ZodTransform<{} | undefined, unknown>, z.ZodString>>;
|
|
22
22
|
duration: z.ZodOptional<z.ZodString>;
|
|
23
23
|
responsibleUser: z.ZodOptional<z.ZodString>;
|
|
24
24
|
labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -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;AA0GvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJ8C,CAAA;AAiD/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@doist/todoist-ai",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"lint:write": "biome lint --write",
|
|
50
50
|
"format:check": "biome format",
|
|
51
51
|
"format:write": "biome format --write",
|
|
52
|
-
"lint:schemas": "npm run build && npx
|
|
52
|
+
"lint:schemas": "npm run build && npx tsx scripts/validate-schemas.ts",
|
|
53
53
|
"check": "biome check && npm run lint:schemas",
|
|
54
54
|
"check:fix": "biome check --fix --unsafe",
|
|
55
55
|
"prepare": "husky"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@doist/todoist-api-typescript": "7.
|
|
58
|
+
"@doist/todoist-api-typescript": "7.3.0",
|
|
59
59
|
"date-fns": "4.1.0",
|
|
60
|
-
"dompurify": "3.3.
|
|
60
|
+
"dompurify": "3.3.3",
|
|
61
61
|
"dotenv": "17.3.1",
|
|
62
62
|
"express": "5.2.1",
|
|
63
63
|
"zod": "4.3.6"
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@modelcontextprotocol/sdk": "^1.25.0"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@biomejs/biome": "2.4.
|
|
69
|
+
"@biomejs/biome": "2.4.7",
|
|
70
70
|
"@types/dompurify": "3.2.0",
|
|
71
71
|
"@types/express": "5.0.6",
|
|
72
72
|
"@types/morgan": "1.9.10",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"@types/react-dom": "19.2.3",
|
|
76
76
|
"concurrently": "9.2.1",
|
|
77
77
|
"husky": "9.1.7",
|
|
78
|
-
"lint-staged": "16.
|
|
78
|
+
"lint-staged": "16.4.0",
|
|
79
79
|
"morgan": "1.10.1",
|
|
80
80
|
"nodemon": "3.1.14",
|
|
81
81
|
"react": "19.2.4",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
"rimraf": "6.1.3",
|
|
84
84
|
"snarkdown": "2.0.0",
|
|
85
85
|
"tsx": "4.21.0",
|
|
86
|
-
"typescript": "
|
|
86
|
+
"typescript": "6.0.2",
|
|
87
87
|
"vite": "7.3.1",
|
|
88
88
|
"vite-plugin-dts": "4.5.4",
|
|
89
|
-
"vitest": "4.0
|
|
89
|
+
"vitest": "4.1.0"
|
|
90
90
|
},
|
|
91
91
|
"lint-staged": {
|
|
92
92
|
"*": [
|
|
@@ -273,7 +273,10 @@ async function main() {
|
|
|
273
273
|
}
|
|
274
274
|
|
|
275
275
|
// Run if this script is executed directly
|
|
276
|
-
if (
|
|
276
|
+
if (
|
|
277
|
+
process.argv[1]?.endsWith('validate-schemas.ts') ||
|
|
278
|
+
process.argv[1]?.endsWith('validate-schemas.js')
|
|
279
|
+
) {
|
|
277
280
|
main()
|
|
278
281
|
}
|
|
279
282
|
|