@doist/todoist-ai 0.1.4 → 1.0.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/README.md +27 -0
- package/dist/index.d.ts +34 -34
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +68 -68
- package/dist/main.js +7 -7
- package/dist/mcp-helpers.d.ts +4 -4
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/mcp-helpers.js +5 -7
- package/dist/mcp-server.d.ts +4 -2
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +50 -49
- package/dist/todoist-tool.d.ts +2 -2
- package/dist/todoist-tool.d.ts.map +1 -1
- package/dist/tools/account-overview.d.ts +1 -1
- package/dist/tools/account-overview.d.ts.map +1 -1
- package/dist/tools/account-overview.js +12 -11
- package/dist/tools/project-overview.d.ts +2 -2
- package/dist/tools/project-overview.d.ts.map +1 -1
- package/dist/tools/project-overview.js +9 -12
- package/dist/tools/projects-add-one.d.ts +1 -1
- package/dist/tools/projects-add-one.d.ts.map +1 -1
- package/dist/tools/projects-add-one.js +5 -5
- package/dist/tools/projects-delete-one.d.ts +1 -1
- package/dist/tools/projects-delete-one.d.ts.map +1 -1
- package/dist/tools/projects-delete-one.js +3 -3
- package/dist/tools/projects-list.d.ts +2 -2
- package/dist/tools/projects-list.d.ts.map +1 -1
- package/dist/tools/projects-list.js +4 -4
- package/dist/tools/projects-search.d.ts +1 -1
- package/dist/tools/projects-search.d.ts.map +1 -1
- package/dist/tools/projects-search.js +7 -7
- package/dist/tools/projects-update-one.d.ts +3 -3
- package/dist/tools/projects-update-one.d.ts.map +1 -1
- package/dist/tools/projects-update-one.js +3 -3
- package/dist/tools/sections-add-one.d.ts +1 -1
- package/dist/tools/sections-add-one.d.ts.map +1 -1
- package/dist/tools/sections-add-one.js +4 -7
- package/dist/tools/sections-delete-one.d.ts +1 -1
- package/dist/tools/sections-delete-one.d.ts.map +1 -1
- package/dist/tools/sections-delete-one.js +3 -3
- package/dist/tools/sections-search.d.ts +1 -1
- package/dist/tools/sections-search.d.ts.map +1 -1
- package/dist/tools/sections-search.js +4 -7
- package/dist/tools/sections-update-one.d.ts +2 -2
- package/dist/tools/sections-update-one.d.ts.map +1 -1
- package/dist/tools/sections-update-one.js +3 -3
- package/dist/tools/shared.d.ts +4 -1
- package/dist/tools/shared.d.ts.map +1 -1
- package/dist/tools/shared.js +11 -3
- package/dist/tools/shared.test.d.ts +2 -0
- package/dist/tools/shared.test.d.ts.map +1 -0
- package/dist/tools/shared.test.js +135 -0
- package/dist/tools/subtasks-list-for-parent-task.d.ts +2 -2
- package/dist/tools/subtasks-list-for-parent-task.d.ts.map +1 -1
- package/dist/tools/subtasks-list-for-parent-task.js +7 -10
- package/dist/tools/tasks-add-multiple.d.ts +2 -2
- package/dist/tools/tasks-add-multiple.d.ts.map +1 -1
- package/dist/tools/tasks-add-multiple.js +12 -30
- package/dist/tools/tasks-complete-multiple.d.ts +1 -1
- package/dist/tools/tasks-complete-multiple.d.ts.map +1 -1
- package/dist/tools/tasks-complete-multiple.js +3 -6
- package/dist/tools/tasks-delete-one.d.ts +1 -1
- package/dist/tools/tasks-delete-one.d.ts.map +1 -1
- package/dist/tools/tasks-delete-one.js +3 -3
- package/dist/tools/{tasks-by-date-range.d.ts → tasks-list-by-date.d.ts} +2 -2
- package/dist/tools/tasks-list-by-date.d.ts.map +1 -0
- package/dist/tools/{tasks-by-date-range.js → tasks-list-by-date.js} +10 -10
- package/dist/tools/{tasks-by-project.d.ts → tasks-list-for-project.d.ts} +2 -2
- package/dist/tools/tasks-list-for-project.d.ts.map +1 -0
- package/dist/tools/{tasks-by-project.js → tasks-list-for-project.js} +7 -10
- package/dist/tools/tasks-list-for-section.d.ts +1 -1
- package/dist/tools/tasks-list-for-section.d.ts.map +1 -1
- package/dist/tools/tasks-list-for-section.js +7 -10
- package/dist/tools/tasks-list-overdue.d.ts +1 -1
- package/dist/tools/tasks-list-overdue.d.ts.map +1 -1
- package/dist/tools/tasks-list-overdue.js +7 -7
- package/dist/tools/tasks-organize-multiple.d.ts +4 -4
- package/dist/tools/tasks-organize-multiple.d.ts.map +1 -1
- package/dist/tools/tasks-organize-multiple.js +8 -23
- package/dist/tools/tasks-search.d.ts +1 -1
- package/dist/tools/tasks-search.d.ts.map +1 -1
- package/dist/tools/tasks-search.js +6 -6
- package/dist/tools/tasks-update-one.d.ts +3 -3
- package/dist/tools/tasks-update-one.d.ts.map +1 -1
- package/dist/tools/tasks-update-one.js +9 -21
- package/package.json +54 -58
- package/dist/tools/tasks-by-date-range.d.ts.map +0 -1
- package/dist/tools/tasks-by-project.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -91,3 +91,30 @@ See [docs/mcp-server.md](docs/mcp-server.md) for full instructions on setting up
|
|
|
91
91
|
## Local Development Setup
|
|
92
92
|
|
|
93
93
|
See [docs/dev-setup.md](docs/dev-setup.md) for full instructions on setting up this repository locally for development and contributing.
|
|
94
|
+
|
|
95
|
+
## Releasing
|
|
96
|
+
|
|
97
|
+
This project uses [release-please](https://github.com/googleapis/release-please) to automate version management and package publishing.
|
|
98
|
+
|
|
99
|
+
### How it works
|
|
100
|
+
|
|
101
|
+
1. Make your changes using [Conventional Commits](https://www.conventionalcommits.org/):
|
|
102
|
+
|
|
103
|
+
- `feat:` for new features (minor version bump)
|
|
104
|
+
- `fix:` for bug fixes (patch version bump)
|
|
105
|
+
- `feat!:` or `fix!:` for breaking changes (major version bump)
|
|
106
|
+
- `docs:` for documentation changes
|
|
107
|
+
- `chore:` for maintenance tasks
|
|
108
|
+
- `ci:` for CI changes
|
|
109
|
+
|
|
110
|
+
2. When commits are pushed to `main`:
|
|
111
|
+
|
|
112
|
+
- Release-please automatically creates/updates a release PR
|
|
113
|
+
- The PR includes version bump and changelog updates
|
|
114
|
+
- Review the PR and merge when ready
|
|
115
|
+
|
|
116
|
+
3. After merging the release PR:
|
|
117
|
+
- A new GitHub release is automatically created
|
|
118
|
+
- A new tag is created
|
|
119
|
+
- The `publish` workflow is triggered
|
|
120
|
+
- The package is published to npm
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { getMcpServer } from
|
|
2
|
-
import { projectsAddOne } from
|
|
3
|
-
import { projectsDeleteOne } from
|
|
4
|
-
import { projectsList } from
|
|
5
|
-
import { projectsSearch } from
|
|
6
|
-
import { projectsUpdateOne } from
|
|
7
|
-
import { sectionsAddOne } from
|
|
8
|
-
import { sectionsDeleteOne } from
|
|
9
|
-
import { sectionsSearch } from
|
|
10
|
-
import { sectionsUpdateOne } from
|
|
11
|
-
import { tasksAddMultiple } from
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { tasksListForSection } from
|
|
17
|
-
import { tasksListOverdue } from
|
|
18
|
-
import { tasksOrganizeMultiple } from
|
|
19
|
-
import { tasksSearch } from
|
|
20
|
-
import { tasksUpdateOne } from
|
|
21
|
-
import { subtasksListForParentTask } from
|
|
22
|
-
import { accountOverview } from
|
|
23
|
-
import { projectOverview } from
|
|
1
|
+
import { getMcpServer } from './mcp-server';
|
|
2
|
+
import { projectsAddOne } from './tools/projects-add-one';
|
|
3
|
+
import { projectsDeleteOne } from './tools/projects-delete-one';
|
|
4
|
+
import { projectsList } from './tools/projects-list';
|
|
5
|
+
import { projectsSearch } from './tools/projects-search';
|
|
6
|
+
import { projectsUpdateOne } from './tools/projects-update-one';
|
|
7
|
+
import { sectionsAddOne } from './tools/sections-add-one';
|
|
8
|
+
import { sectionsDeleteOne } from './tools/sections-delete-one';
|
|
9
|
+
import { sectionsSearch } from './tools/sections-search';
|
|
10
|
+
import { sectionsUpdateOne } from './tools/sections-update-one';
|
|
11
|
+
import { tasksAddMultiple } from './tools/tasks-add-multiple';
|
|
12
|
+
import { tasksCompleteMultiple } from './tools/tasks-complete-multiple';
|
|
13
|
+
import { tasksDeleteOne } from './tools/tasks-delete-one';
|
|
14
|
+
import { tasksListByDate } from './tools/tasks-list-by-date';
|
|
15
|
+
import { tasksListForProject } from './tools/tasks-list-for-project';
|
|
16
|
+
import { tasksListForSection } from './tools/tasks-list-for-section';
|
|
17
|
+
import { tasksListOverdue } from './tools/tasks-list-overdue';
|
|
18
|
+
import { tasksOrganizeMultiple } from './tools/tasks-organize-multiple';
|
|
19
|
+
import { tasksSearch } from './tools/tasks-search';
|
|
20
|
+
import { tasksUpdateOne } from './tools/tasks-update-one';
|
|
21
|
+
import { subtasksListForParentTask } from './tools/subtasks-list-for-parent-task';
|
|
22
|
+
import { accountOverview } from './tools/account-overview';
|
|
23
|
+
import { projectOverview } from './tools/project-overview';
|
|
24
24
|
declare const tools: {
|
|
25
25
|
projectsList: {
|
|
26
26
|
name: string;
|
|
@@ -33,7 +33,7 @@ declare const tools: {
|
|
|
33
33
|
limit: number;
|
|
34
34
|
cursor?: string | undefined;
|
|
35
35
|
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
36
|
-
projects: import("@doist/todoist-api-typescript").
|
|
36
|
+
projects: (import("@doist/todoist-api-typescript").PersonalProject | import("@doist/todoist-api-typescript").WorkspaceProject)[];
|
|
37
37
|
nextCursor: string | null;
|
|
38
38
|
}>;
|
|
39
39
|
};
|
|
@@ -90,9 +90,9 @@ declare const tools: {
|
|
|
90
90
|
name: import("zod").ZodString;
|
|
91
91
|
};
|
|
92
92
|
execute(args: {
|
|
93
|
-
name: string;
|
|
94
93
|
id: string;
|
|
95
|
-
|
|
94
|
+
name: string;
|
|
95
|
+
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").PersonalProject | import("@doist/todoist-api-typescript").WorkspaceProject>;
|
|
96
96
|
};
|
|
97
97
|
projectsDeleteOne: {
|
|
98
98
|
name: string;
|
|
@@ -141,8 +141,8 @@ declare const tools: {
|
|
|
141
141
|
name: import("zod").ZodString;
|
|
142
142
|
};
|
|
143
143
|
execute(args: {
|
|
144
|
-
name: string;
|
|
145
144
|
id: string;
|
|
145
|
+
name: string;
|
|
146
146
|
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<import("@doist/todoist-api-typescript").Section>;
|
|
147
147
|
};
|
|
148
148
|
sectionsDeleteOne: {
|
|
@@ -325,8 +325,8 @@ declare const tools: {
|
|
|
325
325
|
priority?: number | undefined;
|
|
326
326
|
dueString?: string | undefined;
|
|
327
327
|
}[];
|
|
328
|
-
projectId?: string | undefined;
|
|
329
328
|
parentId?: string | undefined;
|
|
329
|
+
projectId?: string | undefined;
|
|
330
330
|
sectionId?: string | undefined;
|
|
331
331
|
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
332
332
|
id: string;
|
|
@@ -357,9 +357,9 @@ declare const tools: {
|
|
|
357
357
|
execute(args: {
|
|
358
358
|
id: string;
|
|
359
359
|
content?: string | undefined;
|
|
360
|
-
projectId?: string | undefined;
|
|
361
|
-
parentId?: string | undefined;
|
|
362
360
|
description?: string | undefined;
|
|
361
|
+
parentId?: string | undefined;
|
|
362
|
+
projectId?: string | undefined;
|
|
363
363
|
priority?: number | undefined;
|
|
364
364
|
dueString?: string | undefined;
|
|
365
365
|
sectionId?: string | undefined;
|
|
@@ -377,14 +377,14 @@ declare const tools: {
|
|
|
377
377
|
order: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
378
378
|
}, "strip", import("zod").ZodTypeAny, {
|
|
379
379
|
id: string;
|
|
380
|
-
projectId?: string | undefined;
|
|
381
380
|
parentId?: string | undefined;
|
|
381
|
+
projectId?: string | undefined;
|
|
382
382
|
sectionId?: string | undefined;
|
|
383
383
|
order?: number | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
id: string;
|
|
386
|
-
projectId?: string | undefined;
|
|
387
386
|
parentId?: string | undefined;
|
|
387
|
+
projectId?: string | undefined;
|
|
388
388
|
sectionId?: string | undefined;
|
|
389
389
|
order?: number | undefined;
|
|
390
390
|
}>, "many">;
|
|
@@ -392,8 +392,8 @@ declare const tools: {
|
|
|
392
392
|
execute(args: {
|
|
393
393
|
tasks: {
|
|
394
394
|
id: string;
|
|
395
|
-
projectId?: string | undefined;
|
|
396
395
|
parentId?: string | undefined;
|
|
396
|
+
projectId?: string | undefined;
|
|
397
397
|
sectionId?: string | undefined;
|
|
398
398
|
order?: number | undefined;
|
|
399
399
|
}[];
|
|
@@ -436,8 +436,8 @@ declare const tools: {
|
|
|
436
436
|
cursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
437
437
|
};
|
|
438
438
|
execute(args: {
|
|
439
|
-
limit: number;
|
|
440
439
|
parentId: string;
|
|
440
|
+
limit: number;
|
|
441
441
|
cursor?: string | undefined;
|
|
442
442
|
}, client: import("@doist/todoist-api-typescript").TodoistApi): Promise<{
|
|
443
443
|
tasks: {
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,iCAAiC,CAAA;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAA;AAEjF,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAA;AAE1D,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuBV,CAAA;AAED,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,CAAA;AAE9B,OAAO,EACH,YAAY,EACZ,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,gBAAgB,EAChB,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,mBAAmB,EACnB,yBAAyB,EACzB,eAAe,EACf,eAAe,GAClB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.projectOverview = exports.accountOverview = exports.subtasksListForParentTask = exports.tasksListForSection = exports.tasksOrganizeMultiple = exports.tasksUpdateOne = exports.tasksAddMultiple = exports.tasksSearch = exports.tasksListOverdue = exports.tasksListForProject = exports.tasksCompleteMultiple = exports.tasksDeleteOne = exports.tasksListByDate = exports.sectionsDeleteOne = exports.sectionsUpdateOne = exports.sectionsAddOne = exports.sectionsSearch = exports.projectsDeleteOne = exports.projectsUpdateOne = exports.projectsAddOne = exports.projectsSearch = exports.projectsList = exports.getMcpServer = exports.tools = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "getMcpServer", { enumerable: true, get: function () { return
|
|
6
|
-
const
|
|
7
|
-
Object.defineProperty(exports, "projectsAddOne", { enumerable: true, get: function () { return
|
|
8
|
-
const
|
|
9
|
-
Object.defineProperty(exports, "projectsDeleteOne", { enumerable: true, get: function () { return
|
|
10
|
-
const
|
|
11
|
-
Object.defineProperty(exports, "projectsList", { enumerable: true, get: function () { return
|
|
12
|
-
const
|
|
13
|
-
Object.defineProperty(exports, "projectsSearch", { enumerable: true, get: function () { return
|
|
14
|
-
const
|
|
15
|
-
Object.defineProperty(exports, "projectsUpdateOne", { enumerable: true, get: function () { return
|
|
16
|
-
const
|
|
17
|
-
Object.defineProperty(exports, "sectionsAddOne", { enumerable: true, get: function () { return
|
|
18
|
-
const
|
|
19
|
-
Object.defineProperty(exports, "sectionsDeleteOne", { enumerable: true, get: function () { return
|
|
20
|
-
const
|
|
21
|
-
Object.defineProperty(exports, "sectionsSearch", { enumerable: true, get: function () { return
|
|
22
|
-
const
|
|
23
|
-
Object.defineProperty(exports, "sectionsUpdateOne", { enumerable: true, get: function () { return
|
|
24
|
-
const
|
|
25
|
-
Object.defineProperty(exports, "tasksAddMultiple", { enumerable: true, get: function () { return
|
|
26
|
-
const
|
|
27
|
-
Object.defineProperty(exports, "
|
|
28
|
-
const
|
|
29
|
-
Object.defineProperty(exports, "
|
|
30
|
-
const
|
|
31
|
-
Object.defineProperty(exports, "
|
|
32
|
-
const
|
|
33
|
-
Object.defineProperty(exports, "
|
|
34
|
-
const
|
|
35
|
-
Object.defineProperty(exports, "tasksListForSection", { enumerable: true, get: function () { return
|
|
36
|
-
const
|
|
37
|
-
Object.defineProperty(exports, "tasksListOverdue", { enumerable: true, get: function () { return
|
|
38
|
-
const
|
|
39
|
-
Object.defineProperty(exports, "tasksOrganizeMultiple", { enumerable: true, get: function () { return
|
|
40
|
-
const
|
|
41
|
-
Object.defineProperty(exports, "tasksSearch", { enumerable: true, get: function () { return
|
|
42
|
-
const
|
|
43
|
-
Object.defineProperty(exports, "tasksUpdateOne", { enumerable: true, get: function () { return
|
|
44
|
-
const
|
|
45
|
-
Object.defineProperty(exports, "subtasksListForParentTask", { enumerable: true, get: function () { return
|
|
46
|
-
const
|
|
47
|
-
Object.defineProperty(exports, "accountOverview", { enumerable: true, get: function () { return
|
|
48
|
-
const
|
|
49
|
-
Object.defineProperty(exports, "projectOverview", { enumerable: true, get: function () { return
|
|
4
|
+
const mcp_server_1 = require("./mcp-server");
|
|
5
|
+
Object.defineProperty(exports, "getMcpServer", { enumerable: true, get: function () { return mcp_server_1.getMcpServer; } });
|
|
6
|
+
const projects_add_one_1 = require("./tools/projects-add-one");
|
|
7
|
+
Object.defineProperty(exports, "projectsAddOne", { enumerable: true, get: function () { return projects_add_one_1.projectsAddOne; } });
|
|
8
|
+
const projects_delete_one_1 = require("./tools/projects-delete-one");
|
|
9
|
+
Object.defineProperty(exports, "projectsDeleteOne", { enumerable: true, get: function () { return projects_delete_one_1.projectsDeleteOne; } });
|
|
10
|
+
const projects_list_1 = require("./tools/projects-list");
|
|
11
|
+
Object.defineProperty(exports, "projectsList", { enumerable: true, get: function () { return projects_list_1.projectsList; } });
|
|
12
|
+
const projects_search_1 = require("./tools/projects-search");
|
|
13
|
+
Object.defineProperty(exports, "projectsSearch", { enumerable: true, get: function () { return projects_search_1.projectsSearch; } });
|
|
14
|
+
const projects_update_one_1 = require("./tools/projects-update-one");
|
|
15
|
+
Object.defineProperty(exports, "projectsUpdateOne", { enumerable: true, get: function () { return projects_update_one_1.projectsUpdateOne; } });
|
|
16
|
+
const sections_add_one_1 = require("./tools/sections-add-one");
|
|
17
|
+
Object.defineProperty(exports, "sectionsAddOne", { enumerable: true, get: function () { return sections_add_one_1.sectionsAddOne; } });
|
|
18
|
+
const sections_delete_one_1 = require("./tools/sections-delete-one");
|
|
19
|
+
Object.defineProperty(exports, "sectionsDeleteOne", { enumerable: true, get: function () { return sections_delete_one_1.sectionsDeleteOne; } });
|
|
20
|
+
const sections_search_1 = require("./tools/sections-search");
|
|
21
|
+
Object.defineProperty(exports, "sectionsSearch", { enumerable: true, get: function () { return sections_search_1.sectionsSearch; } });
|
|
22
|
+
const sections_update_one_1 = require("./tools/sections-update-one");
|
|
23
|
+
Object.defineProperty(exports, "sectionsUpdateOne", { enumerable: true, get: function () { return sections_update_one_1.sectionsUpdateOne; } });
|
|
24
|
+
const tasks_add_multiple_1 = require("./tools/tasks-add-multiple");
|
|
25
|
+
Object.defineProperty(exports, "tasksAddMultiple", { enumerable: true, get: function () { return tasks_add_multiple_1.tasksAddMultiple; } });
|
|
26
|
+
const tasks_complete_multiple_1 = require("./tools/tasks-complete-multiple");
|
|
27
|
+
Object.defineProperty(exports, "tasksCompleteMultiple", { enumerable: true, get: function () { return tasks_complete_multiple_1.tasksCompleteMultiple; } });
|
|
28
|
+
const tasks_delete_one_1 = require("./tools/tasks-delete-one");
|
|
29
|
+
Object.defineProperty(exports, "tasksDeleteOne", { enumerable: true, get: function () { return tasks_delete_one_1.tasksDeleteOne; } });
|
|
30
|
+
const tasks_list_by_date_1 = require("./tools/tasks-list-by-date");
|
|
31
|
+
Object.defineProperty(exports, "tasksListByDate", { enumerable: true, get: function () { return tasks_list_by_date_1.tasksListByDate; } });
|
|
32
|
+
const tasks_list_for_project_1 = require("./tools/tasks-list-for-project");
|
|
33
|
+
Object.defineProperty(exports, "tasksListForProject", { enumerable: true, get: function () { return tasks_list_for_project_1.tasksListForProject; } });
|
|
34
|
+
const tasks_list_for_section_1 = require("./tools/tasks-list-for-section");
|
|
35
|
+
Object.defineProperty(exports, "tasksListForSection", { enumerable: true, get: function () { return tasks_list_for_section_1.tasksListForSection; } });
|
|
36
|
+
const tasks_list_overdue_1 = require("./tools/tasks-list-overdue");
|
|
37
|
+
Object.defineProperty(exports, "tasksListOverdue", { enumerable: true, get: function () { return tasks_list_overdue_1.tasksListOverdue; } });
|
|
38
|
+
const tasks_organize_multiple_1 = require("./tools/tasks-organize-multiple");
|
|
39
|
+
Object.defineProperty(exports, "tasksOrganizeMultiple", { enumerable: true, get: function () { return tasks_organize_multiple_1.tasksOrganizeMultiple; } });
|
|
40
|
+
const tasks_search_1 = require("./tools/tasks-search");
|
|
41
|
+
Object.defineProperty(exports, "tasksSearch", { enumerable: true, get: function () { return tasks_search_1.tasksSearch; } });
|
|
42
|
+
const tasks_update_one_1 = require("./tools/tasks-update-one");
|
|
43
|
+
Object.defineProperty(exports, "tasksUpdateOne", { enumerable: true, get: function () { return tasks_update_one_1.tasksUpdateOne; } });
|
|
44
|
+
const subtasks_list_for_parent_task_1 = require("./tools/subtasks-list-for-parent-task");
|
|
45
|
+
Object.defineProperty(exports, "subtasksListForParentTask", { enumerable: true, get: function () { return subtasks_list_for_parent_task_1.subtasksListForParentTask; } });
|
|
46
|
+
const account_overview_1 = require("./tools/account-overview");
|
|
47
|
+
Object.defineProperty(exports, "accountOverview", { enumerable: true, get: function () { return account_overview_1.accountOverview; } });
|
|
48
|
+
const project_overview_1 = require("./tools/project-overview");
|
|
49
|
+
Object.defineProperty(exports, "projectOverview", { enumerable: true, get: function () { return project_overview_1.projectOverview; } });
|
|
50
50
|
const tools = {
|
|
51
|
-
projectsList:
|
|
52
|
-
projectsSearch:
|
|
53
|
-
projectsAddOne:
|
|
54
|
-
projectsUpdateOne:
|
|
55
|
-
projectsDeleteOne:
|
|
56
|
-
sectionsSearch:
|
|
57
|
-
sectionsAddOne:
|
|
58
|
-
sectionsUpdateOne:
|
|
59
|
-
sectionsDeleteOne:
|
|
60
|
-
tasksListByDate:
|
|
61
|
-
tasksDeleteOne:
|
|
62
|
-
tasksCompleteMultiple:
|
|
63
|
-
tasksListForProject:
|
|
64
|
-
tasksListOverdue:
|
|
65
|
-
tasksSearch:
|
|
66
|
-
tasksAddMultiple:
|
|
67
|
-
tasksUpdateOne:
|
|
68
|
-
tasksOrganizeMultiple:
|
|
69
|
-
tasksListForSection:
|
|
70
|
-
subtasksListForParentTask:
|
|
71
|
-
accountOverview:
|
|
72
|
-
projectOverview:
|
|
51
|
+
projectsList: projects_list_1.projectsList,
|
|
52
|
+
projectsSearch: projects_search_1.projectsSearch,
|
|
53
|
+
projectsAddOne: projects_add_one_1.projectsAddOne,
|
|
54
|
+
projectsUpdateOne: projects_update_one_1.projectsUpdateOne,
|
|
55
|
+
projectsDeleteOne: projects_delete_one_1.projectsDeleteOne,
|
|
56
|
+
sectionsSearch: sections_search_1.sectionsSearch,
|
|
57
|
+
sectionsAddOne: sections_add_one_1.sectionsAddOne,
|
|
58
|
+
sectionsUpdateOne: sections_update_one_1.sectionsUpdateOne,
|
|
59
|
+
sectionsDeleteOne: sections_delete_one_1.sectionsDeleteOne,
|
|
60
|
+
tasksListByDate: tasks_list_by_date_1.tasksListByDate,
|
|
61
|
+
tasksDeleteOne: tasks_delete_one_1.tasksDeleteOne,
|
|
62
|
+
tasksCompleteMultiple: tasks_complete_multiple_1.tasksCompleteMultiple,
|
|
63
|
+
tasksListForProject: tasks_list_for_project_1.tasksListForProject,
|
|
64
|
+
tasksListOverdue: tasks_list_overdue_1.tasksListOverdue,
|
|
65
|
+
tasksSearch: tasks_search_1.tasksSearch,
|
|
66
|
+
tasksAddMultiple: tasks_add_multiple_1.tasksAddMultiple,
|
|
67
|
+
tasksUpdateOne: tasks_update_one_1.tasksUpdateOne,
|
|
68
|
+
tasksOrganizeMultiple: tasks_organize_multiple_1.tasksOrganizeMultiple,
|
|
69
|
+
tasksListForSection: tasks_list_for_section_1.tasksListForSection,
|
|
70
|
+
subtasksListForParentTask: subtasks_list_for_parent_task_1.subtasksListForParentTask,
|
|
71
|
+
accountOverview: account_overview_1.accountOverview,
|
|
72
|
+
projectOverview: project_overview_1.projectOverview,
|
|
73
73
|
};
|
|
74
74
|
exports.tools = tools;
|
package/dist/main.js
CHANGED
|
@@ -3,24 +3,24 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
6
|
+
const stdio_1 = require("@modelcontextprotocol/sdk/server/stdio");
|
|
7
7
|
const dotenv_1 = __importDefault(require("dotenv"));
|
|
8
|
-
const
|
|
8
|
+
const mcp_server_1 = require("./mcp-server");
|
|
9
9
|
function main() {
|
|
10
10
|
const todoistApiKey = process.env.TODOIST_API_KEY;
|
|
11
11
|
if (!todoistApiKey) {
|
|
12
|
-
throw new Error(
|
|
12
|
+
throw new Error('TODOIST_API_KEY is not set');
|
|
13
13
|
}
|
|
14
|
-
const server = (0,
|
|
15
|
-
const transport = new
|
|
14
|
+
const server = (0, mcp_server_1.getMcpServer)({ todoistApiKey });
|
|
15
|
+
const transport = new stdio_1.StdioServerTransport();
|
|
16
16
|
server
|
|
17
17
|
.connect(transport)
|
|
18
18
|
.then(() => {
|
|
19
19
|
// We use console.error because standard I/O is being used for the MCP server communication.
|
|
20
|
-
console.error(
|
|
20
|
+
console.error('Server started');
|
|
21
21
|
})
|
|
22
22
|
.catch((error) => {
|
|
23
|
-
console.error(
|
|
23
|
+
console.error('Error starting the Todoist MCP server:', error);
|
|
24
24
|
process.exit(1);
|
|
25
25
|
});
|
|
26
26
|
}
|
package/dist/mcp-helpers.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { TodoistApi } from
|
|
2
|
-
import type { McpServer } from
|
|
3
|
-
import type { z } from
|
|
4
|
-
import type { TodoistTool } from
|
|
1
|
+
import type { TodoistApi } from '@doist/todoist-api-typescript';
|
|
2
|
+
import type { McpServer } from '@modelcontextprotocol/sdk/server/mcp';
|
|
3
|
+
import type { z } from 'zod';
|
|
4
|
+
import type { TodoistTool } from './todoist-tool';
|
|
5
5
|
/**
|
|
6
6
|
* Register a Todoist tool in an MCP server.
|
|
7
7
|
* @param tool - The tool to register.
|
|
@@ -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,+BAA+B,
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAgB,MAAM,sCAAsC,CAAA;AACnF,OAAO,KAAK,EAAc,CAAC,EAAE,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AA+BjD;;;;;GAKG;AACH,iBAAS,YAAY,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,EAC9C,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,EACzB,MAAM,EAAE,SAAS,EACjB,MAAM,EAAE,UAAU,QAqBrB;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/mcp-helpers.js
CHANGED
|
@@ -3,22 +3,22 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.registerTool = registerTool;
|
|
4
4
|
function textContent(text) {
|
|
5
5
|
return {
|
|
6
|
-
content: [{ type:
|
|
6
|
+
content: [{ type: 'text', text }],
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
function jsonContent(data) {
|
|
10
10
|
return {
|
|
11
11
|
content: [
|
|
12
12
|
{
|
|
13
|
-
type:
|
|
14
|
-
mimeType:
|
|
13
|
+
type: 'text',
|
|
14
|
+
mimeType: 'application/json',
|
|
15
15
|
text: JSON.stringify(data, null, 2),
|
|
16
16
|
},
|
|
17
17
|
],
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
function textOrJsonContent(data) {
|
|
21
|
-
return typeof data ===
|
|
21
|
+
return typeof data === 'string' ? textContent(data) : jsonContent(data);
|
|
22
22
|
}
|
|
23
23
|
function errorContent(error) {
|
|
24
24
|
return {
|
|
@@ -44,9 +44,7 @@ function registerTool(tool, server, client) {
|
|
|
44
44
|
args,
|
|
45
45
|
error,
|
|
46
46
|
});
|
|
47
|
-
const message = error instanceof Error
|
|
48
|
-
? error.message
|
|
49
|
-
: "An unknown error occurred";
|
|
47
|
+
const message = error instanceof Error ? error.message : 'An unknown error occurred';
|
|
50
48
|
return errorContent(message);
|
|
51
49
|
}
|
|
52
50
|
};
|
package/dist/mcp-server.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { McpServer } from
|
|
1
|
+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp';
|
|
2
2
|
/**
|
|
3
3
|
* Create the MCP server.
|
|
4
4
|
* @param todoistApiKey - The API key for the todoist account.
|
|
5
|
+
* @param baseUrl - The base URL for the todoist API.
|
|
5
6
|
* @returns the MCP server.
|
|
6
7
|
*/
|
|
7
|
-
declare function getMcpServer({ todoistApiKey }: {
|
|
8
|
+
declare function getMcpServer({ todoistApiKey, baseUrl }: {
|
|
8
9
|
todoistApiKey: string;
|
|
10
|
+
baseUrl?: string;
|
|
9
11
|
}): McpServer;
|
|
10
12
|
export { getMcpServer };
|
|
11
13
|
//# sourceMappingURL=mcp-server.d.ts.map
|
package/dist/mcp-server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,sCAAsC,CAAA;AAiChE;;;;;GAKG;AACH,iBAAS,YAAY,CAAC,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,aAqC5F;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/mcp-server.js
CHANGED
|
@@ -2,67 +2,68 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getMcpServer = getMcpServer;
|
|
4
4
|
const todoist_api_typescript_1 = require("@doist/todoist-api-typescript");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
5
|
+
const mcp_1 = require("@modelcontextprotocol/sdk/server/mcp");
|
|
6
|
+
const mcp_helpers_1 = require("./mcp-helpers");
|
|
7
|
+
const projects_add_one_1 = require("./tools/projects-add-one");
|
|
8
|
+
const projects_delete_one_1 = require("./tools/projects-delete-one");
|
|
9
|
+
const projects_list_1 = require("./tools/projects-list");
|
|
10
|
+
const projects_search_1 = require("./tools/projects-search");
|
|
11
|
+
const projects_update_one_1 = require("./tools/projects-update-one");
|
|
12
|
+
const sections_add_one_1 = require("./tools/sections-add-one");
|
|
13
|
+
const sections_delete_one_1 = require("./tools/sections-delete-one");
|
|
14
|
+
const sections_search_1 = require("./tools/sections-search");
|
|
15
|
+
const sections_update_one_1 = require("./tools/sections-update-one");
|
|
16
|
+
const subtasks_list_for_parent_task_1 = require("./tools/subtasks-list-for-parent-task");
|
|
17
|
+
const account_overview_1 = require("./tools/account-overview");
|
|
18
|
+
const project_overview_1 = require("./tools/project-overview");
|
|
19
|
+
const tasks_add_multiple_1 = require("./tools/tasks-add-multiple");
|
|
20
|
+
const tasks_complete_multiple_1 = require("./tools/tasks-complete-multiple");
|
|
21
|
+
const tasks_delete_one_1 = require("./tools/tasks-delete-one");
|
|
22
|
+
const tasks_list_by_date_1 = require("./tools/tasks-list-by-date");
|
|
23
|
+
const tasks_list_for_project_1 = require("./tools/tasks-list-for-project");
|
|
24
|
+
const tasks_list_for_section_1 = require("./tools/tasks-list-for-section");
|
|
25
|
+
const tasks_list_overdue_1 = require("./tools/tasks-list-overdue");
|
|
26
|
+
const tasks_organize_multiple_1 = require("./tools/tasks-organize-multiple");
|
|
27
|
+
const tasks_search_1 = require("./tools/tasks-search");
|
|
28
|
+
const tasks_update_one_1 = require("./tools/tasks-update-one");
|
|
29
29
|
const instructions = `
|
|
30
30
|
Tools to help you manage your todoist tasks.
|
|
31
31
|
`;
|
|
32
32
|
/**
|
|
33
33
|
* Create the MCP server.
|
|
34
34
|
* @param todoistApiKey - The API key for the todoist account.
|
|
35
|
+
* @param baseUrl - The base URL for the todoist API.
|
|
35
36
|
* @returns the MCP server.
|
|
36
37
|
*/
|
|
37
|
-
function getMcpServer({ todoistApiKey }) {
|
|
38
|
-
const server = new
|
|
38
|
+
function getMcpServer({ todoistApiKey, baseUrl }) {
|
|
39
|
+
const server = new mcp_1.McpServer({ name: 'todoist-mcp-server', version: '0.1.0' }, {
|
|
39
40
|
capabilities: {
|
|
40
41
|
tools: { listChanged: true },
|
|
41
42
|
},
|
|
42
43
|
instructions,
|
|
43
44
|
});
|
|
44
|
-
const todoist = new todoist_api_typescript_1.TodoistApi(todoistApiKey);
|
|
45
|
-
(0,
|
|
46
|
-
(0,
|
|
47
|
-
(0,
|
|
48
|
-
(0,
|
|
49
|
-
(0,
|
|
50
|
-
(0,
|
|
51
|
-
(0,
|
|
52
|
-
(0,
|
|
53
|
-
(0,
|
|
54
|
-
(0,
|
|
55
|
-
(0,
|
|
56
|
-
(0,
|
|
57
|
-
(0,
|
|
58
|
-
(0,
|
|
59
|
-
(0,
|
|
60
|
-
(0,
|
|
61
|
-
(0,
|
|
62
|
-
(0,
|
|
63
|
-
(0,
|
|
64
|
-
(0,
|
|
65
|
-
(0,
|
|
66
|
-
(0,
|
|
45
|
+
const todoist = new todoist_api_typescript_1.TodoistApi(todoistApiKey, baseUrl);
|
|
46
|
+
(0, mcp_helpers_1.registerTool)(tasks_list_by_date_1.tasksListByDate, server, todoist);
|
|
47
|
+
(0, mcp_helpers_1.registerTool)(tasks_list_overdue_1.tasksListOverdue, server, todoist);
|
|
48
|
+
(0, mcp_helpers_1.registerTool)(tasks_list_for_project_1.tasksListForProject, server, todoist);
|
|
49
|
+
(0, mcp_helpers_1.registerTool)(tasks_search_1.tasksSearch, server, todoist);
|
|
50
|
+
(0, mcp_helpers_1.registerTool)(projects_list_1.projectsList, server, todoist);
|
|
51
|
+
(0, mcp_helpers_1.registerTool)(tasks_add_multiple_1.tasksAddMultiple, server, todoist);
|
|
52
|
+
(0, mcp_helpers_1.registerTool)(tasks_update_one_1.tasksUpdateOne, server, todoist);
|
|
53
|
+
(0, mcp_helpers_1.registerTool)(tasks_delete_one_1.tasksDeleteOne, server, todoist);
|
|
54
|
+
(0, mcp_helpers_1.registerTool)(tasks_complete_multiple_1.tasksCompleteMultiple, server, todoist);
|
|
55
|
+
(0, mcp_helpers_1.registerTool)(projects_add_one_1.projectsAddOne, server, todoist);
|
|
56
|
+
(0, mcp_helpers_1.registerTool)(projects_update_one_1.projectsUpdateOne, server, todoist);
|
|
57
|
+
(0, mcp_helpers_1.registerTool)(sections_add_one_1.sectionsAddOne, server, todoist);
|
|
58
|
+
(0, mcp_helpers_1.registerTool)(sections_update_one_1.sectionsUpdateOne, server, todoist);
|
|
59
|
+
(0, mcp_helpers_1.registerTool)(tasks_organize_multiple_1.tasksOrganizeMultiple, server, todoist);
|
|
60
|
+
(0, mcp_helpers_1.registerTool)(subtasks_list_for_parent_task_1.subtasksListForParentTask, server, todoist);
|
|
61
|
+
(0, mcp_helpers_1.registerTool)(tasks_list_for_section_1.tasksListForSection, server, todoist);
|
|
62
|
+
(0, mcp_helpers_1.registerTool)(projects_delete_one_1.projectsDeleteOne, server, todoist);
|
|
63
|
+
(0, mcp_helpers_1.registerTool)(projects_search_1.projectsSearch, server, todoist);
|
|
64
|
+
(0, mcp_helpers_1.registerTool)(sections_delete_one_1.sectionsDeleteOne, server, todoist);
|
|
65
|
+
(0, mcp_helpers_1.registerTool)(sections_search_1.sectionsSearch, server, todoist);
|
|
66
|
+
(0, mcp_helpers_1.registerTool)(account_overview_1.accountOverview, server, todoist);
|
|
67
|
+
(0, mcp_helpers_1.registerTool)(project_overview_1.projectOverview, server, todoist);
|
|
67
68
|
return server;
|
|
68
69
|
}
|
package/dist/todoist-tool.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TodoistApi } from
|
|
2
|
-
import type { z } from
|
|
1
|
+
import type { TodoistApi } from '@doist/todoist-api-typescript';
|
|
2
|
+
import type { z } from 'zod';
|
|
3
3
|
/**
|
|
4
4
|
* A Todoist tool that can be used in an MCP server or other conversational AI interfaces.
|
|
5
5
|
*/
|
|
@@ -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,+BAA+B,
|
|
1
|
+
{"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B;;GAEG;AACH,KAAK,WAAW,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,IAAI;IAC7C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;;;;;;;OAQG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAAE,MAAM,EAAE,UAAU,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CACxF,CAAA;AAED,YAAY,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-overview.d.ts","sourceRoot":"","sources":["../../src/tools/account-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"account-overview.d.ts","sourceRoot":"","sources":["../../src/tools/account-overview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,+BAA+B,CAAA;AA6ExE,QAAA,MAAM,eAAe;;;;;CAsCqB,CAAA;AAE1C,OAAO,EAAE,eAAe,EAAE,CAAA"}
|