@todoist/mcp 19.1.5 → 19.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-lKsU1Uje.js → mcp-server-DYBahuLO.js} +1902 -1912
- package/dist/{require-valid-todoist-token-jFcYPRCy.js → require-valid-todoist-token-CX0Gexzt.js} +1 -1
- package/dist/skills/filter-queries.d.ts +2 -2
- package/dist/skills/filter-queries.d.ts.map +1 -1
- package/dist/skills/plan-my-day.d.ts +2 -2
- package/dist/skills/plan-my-day.d.ts.map +1 -1
- package/dist/skills/productivity-review.d.ts +2 -2
- package/dist/skills/productivity-review.d.ts.map +1 -1
- package/dist/skills/skills.d.ts +10 -7
- package/dist/skills/skills.d.ts.map +1 -1
- package/dist/skills/templates.d.ts +2 -2
- package/dist/skills/templates.d.ts.map +1 -1
- package/dist/tool-execution-error.d.ts +0 -5
- package/dist/tool-execution-error.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +23 -2
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tool-registry.d.ts +9 -0
- package/dist/tool-registry.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/find-sections.d.ts +11 -1
- package/dist/tools/find-sections.d.ts.map +1 -1
- package/dist/tools/import-into-project.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +0 -11
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/skills/todoist-skill.d.ts +0 -19
- package/dist/skills/todoist-skill.d.ts.map +0 -1
package/dist/{require-valid-todoist-token-jFcYPRCy.js → require-valid-todoist-token-CX0Gexzt.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { validateBearerToken as A, getValidationRateLimit as v, createTokenVerdictCache as k, buildBearerChallenge as f } from "@todoist/mcp-core/host";
|
|
2
|
-
import { a5 as p, a6 as g } from "./mcp-server-
|
|
2
|
+
import { a5 as p, a6 as g } from "./mcp-server-DYBahuLO.js";
|
|
3
3
|
const m = "https://api.todoist.com", E = (e, t) => A({
|
|
4
4
|
// Resolved the way the SDK resolves its own requests against a custom base URL. An empty
|
|
5
5
|
// base (`TODOIST_BASE_URL=`) means the default, as it does for the SDK client.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const filterQueries:
|
|
1
|
+
import { McpSkill } from '@todoist/mcp-core/skills';
|
|
2
|
+
export declare const filterQueries: McpSkill;
|
|
3
3
|
//# sourceMappingURL=filter-queries.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-queries.d.ts","sourceRoot":"","sources":["../../src/skills/filter-queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"filter-queries.d.ts","sourceRoot":"","sources":["../../src/skills/filter-queries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAExD,eAAO,MAAM,aAAa,EAAE,QA4F3B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const planMyDay:
|
|
1
|
+
import { McpSkill } from '@todoist/mcp-core/skills';
|
|
2
|
+
export declare const planMyDay: McpSkill;
|
|
3
3
|
//# sourceMappingURL=plan-my-day.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-my-day.d.ts","sourceRoot":"","sources":["../../src/skills/plan-my-day.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"plan-my-day.d.ts","sourceRoot":"","sources":["../../src/skills/plan-my-day.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAExD,eAAO,MAAM,SAAS,EAAE,QAuCvB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const productivityReview:
|
|
1
|
+
import { McpSkill } from '@todoist/mcp-core/skills';
|
|
2
|
+
export declare const productivityReview: McpSkill;
|
|
3
3
|
//# sourceMappingURL=productivity-review.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"productivity-review.d.ts","sourceRoot":"","sources":["../../src/skills/productivity-review.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"productivity-review.d.ts","sourceRoot":"","sources":["../../src/skills/productivity-review.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAExD,eAAO,MAAM,kBAAkB,EAAE,QAyChC,CAAA"}
|
package/dist/skills/skills.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { TodoistSkill } from './todoist-skill.js';
|
|
1
|
+
import { McpSkill } from '@todoist/mcp-core/skills';
|
|
3
2
|
/** Every skill the server serves. */
|
|
4
|
-
declare const registeredSkills: readonly
|
|
3
|
+
declare const registeredSkills: readonly McpSkill[];
|
|
5
4
|
/**
|
|
6
|
-
* Serve the skills on
|
|
7
|
-
* template for the files, and the extension in the server's capabilities.
|
|
8
|
-
*
|
|
5
|
+
* Serve the skills on a server: the `skills/list` and `skills/get` methods, a `skill://` resource
|
|
6
|
+
* template for the files, and the extension in the server's capabilities. Must run before the
|
|
7
|
+
* server connects.
|
|
8
|
+
*
|
|
9
|
+
* One registrar serves every server `getMcpServer` builds, including the one the HTTP transport
|
|
10
|
+
* builds per request, so the files are hashed once. The skills change only with a deploy, like
|
|
11
|
+
* the rest of the catalogue, so they share its cache hint.
|
|
9
12
|
*/
|
|
10
|
-
declare
|
|
13
|
+
declare const registerSkills: (server: import('@modelcontextprotocol/server').McpServer) => void;
|
|
11
14
|
export { registerSkills, registeredSkills };
|
|
12
15
|
//# sourceMappingURL=skills.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/skills/skills.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"skills.d.ts","sourceRoot":"","sources":["../../src/skills/skills.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAO/E,qCAAqC;AACrC,QAAA,MAAM,gBAAgB,EAAE,SAAS,QAAQ,EAKxC,CAAA;AAED;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc,oEAA+E,CAAA;AAEnG,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const templates:
|
|
1
|
+
import { McpSkill } from '@todoist/mcp-core/skills';
|
|
2
|
+
export declare const templates: McpSkill;
|
|
3
3
|
//# sourceMappingURL=templates.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/skills/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"templates.d.ts","sourceRoot":"","sources":["../../src/skills/templates.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAA;AAExD,eAAO,MAAM,SAAS,EAAE,QAsDvB,CAAA"}
|
|
@@ -63,11 +63,6 @@ export declare class ErrorWithContext extends Error {
|
|
|
63
63
|
* once: `partitionSettled` does, through {@link describeBatchItemError}.
|
|
64
64
|
*/
|
|
65
65
|
export declare function formatBatchItemError(error: unknown): string;
|
|
66
|
-
/**
|
|
67
|
-
* Handles a failed lookup made only to word a question, such as the name of what a tool is about
|
|
68
|
-
* to delete: logs it and leaves the name out, so the question names the item by its ID instead.
|
|
69
|
-
*/
|
|
70
|
-
export declare function logFailedLookup(tool: string, what: string, id: string): (error: unknown) => undefined;
|
|
71
66
|
/** One item's failure, with the explanation of its error tag kept apart. */
|
|
72
67
|
type BatchItemErrorDescription = {
|
|
73
68
|
/** The error with its API signals: `Message (HTTP 403, tag PREMIUM_ONLY)`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-execution-error.d.ts","sourceRoot":"","sources":["../src/tool-execution-error.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAYrD,oFAAoF;AACpF,wBAAgB,mBAAmB,CAC/B,KAAK,EAAE,OAAO,GACf;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAiBlE;AA4iBD,qBAAa,mBAAoB,SAAQ,KAAK;gBAC9B,OAAO,EAAE,MAAM;CAI9B;AAED;;;;;GAKG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI9B;AAED;;;;;GAKG;AACH,qBAAa,kBAAmB,SAAQ,KAAK;gBAC7B,OAAO,EAAE,MAAM;CAI9B;AAED,yDAAyD;AACzD,MAAM,MAAM,WAAW,GAAG;IACtB,sBAAsB;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAA;AAED;;;;;GAKG;AACH,qBAAa,sBAAuB,SAAQ,KAAK;IAC7C,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAA;gBAET,KAAK,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW;CAK9D;AAED;;;;GAIG;AACH,qBAAa,gBAAiB,SAAQ,KAAK;IACvC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,cAAc,CAAC,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GAUG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAG3D;AAED,4EAA4E;AAC5E,KAAK,yBAAyB,GAAG;IAC7B,8EAA8E;IAC9E,OAAO,EAAE,MAAM,CAAA;IACf,6EAA6E;IAC7E,IAAI,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;CACvC,CAAA;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,GAAG,yBAAyB,CAgChF;AAED;;;;;GAKG;AACH,wBAAgB,yBAAyB,CACrC,KAAK,EAAE,OAAO,EACd,EACI,WAAW,EACX,SAAS,EACT,YAAY,GACf,EAAE;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAAC,YAAY,CAAC,EAAE,MAAM,CAAA;CAAE,GACjF,MAAM,GAAG,SAAS,CAmCpB;AAED;;GAEG;AACH,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAuB/D"}
|
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -124,16 +124,37 @@ export declare function createProjectLookup(client: TodoistApi): (id: string) =>
|
|
|
124
124
|
*/
|
|
125
125
|
export declare function fetchAllArchivedProjects(client: TodoistApi): Promise<Project[]>;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Fetches every archived section of a project, most recently archived first.
|
|
128
|
+
*
|
|
129
|
+
* Like archived projects, archived sections have no server-side search, so
|
|
130
|
+
* callers that filter by name should filter client-side with
|
|
131
|
+
* {@link compileWildcardQuery}.
|
|
132
|
+
*/
|
|
133
|
+
export declare function fetchAllArchivedSections(client: TodoistApi, projectId: string): Promise<Section[]>;
|
|
134
|
+
/** A compiled search query, from {@link compileWildcardQuery}. */
|
|
135
|
+
export type WildcardMatcher = {
|
|
136
|
+
test(name: string): boolean;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* Compiles a search query into a case-insensitive matcher using the same wildcard
|
|
128
140
|
* semantics as server-side search (see {@link toWildcardQuery}): `*` matches any
|
|
129
141
|
* sequence, `\*` is a literal asterisk, and every other character (backslashes
|
|
130
142
|
* included) is matched literally. A query without an unescaped `*` matches as a
|
|
131
143
|
* substring; otherwise the whole name must match.
|
|
132
144
|
*
|
|
145
|
+
* Matching never backtracks: the literal parts between wildcards are found in
|
|
146
|
+
* order, each at its first place after the one before. A single regular
|
|
147
|
+
* expression with a `.*` per wildcard instead tries every way of splitting the
|
|
148
|
+
* name between them, which grows exponentially with the number of wildcards and
|
|
149
|
+
* blocks the server on a query such as `*a*a*a…b`. Each part is still matched by
|
|
150
|
+
* a case-insensitive Unicode regular expression of its literal text alone, so
|
|
151
|
+
* letters compare as they would under `/iu` (`σ`, `ς` and `Σ` are one letter),
|
|
152
|
+
* which lower-casing both sides would not give.
|
|
153
|
+
*
|
|
133
154
|
* Compile once and reuse the result when filtering many names (e.g. archived
|
|
134
155
|
* projects), rather than calling {@link matchesWildcardQuery} per item.
|
|
135
156
|
*/
|
|
136
|
-
export declare function compileWildcardQuery(query: string):
|
|
157
|
+
export declare function compileWildcardQuery(query: string): WildcardMatcher;
|
|
137
158
|
/**
|
|
138
159
|
* Tests whether a name matches a search query using the same wildcard semantics
|
|
139
160
|
* as server-side search. Used for client-side filtering where the API exposes no
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAOhB,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,gBAA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EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B;;;;;;;;;;;;;;;;;;;;;;GAkBA;AAqBD;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCtC;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE;;;EAM1D;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAO,GACV,CAAA"}
|
package/dist/tool-registry.d.ts
CHANGED
|
@@ -1739,6 +1739,11 @@ declare const toolRegistry: {
|
|
|
1739
1739
|
parameters: {
|
|
1740
1740
|
projectId: import('zod').ZodString;
|
|
1741
1741
|
searchText: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1742
|
+
archivedStatus: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
1743
|
+
all: "all";
|
|
1744
|
+
active: "active";
|
|
1745
|
+
archived: "archived";
|
|
1746
|
+
}>>;
|
|
1742
1747
|
};
|
|
1743
1748
|
outputSchema: {
|
|
1744
1749
|
sections: import('zod').ZodArray<import('zod').ZodObject<{
|
|
@@ -1746,6 +1751,7 @@ declare const toolRegistry: {
|
|
|
1746
1751
|
name: import('zod').ZodString;
|
|
1747
1752
|
sectionOrder: import('zod').ZodNumber;
|
|
1748
1753
|
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1754
|
+
isArchived: import('zod').ZodBoolean;
|
|
1749
1755
|
}, import('zod/v4/core').$strip>>;
|
|
1750
1756
|
totalCount: import('zod').ZodNumber;
|
|
1751
1757
|
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
@@ -1758,6 +1764,7 @@ declare const toolRegistry: {
|
|
|
1758
1764
|
execute(args: {
|
|
1759
1765
|
projectId: string;
|
|
1760
1766
|
searchText?: string | undefined;
|
|
1767
|
+
archivedStatus?: "all" | "active" | "archived" | undefined;
|
|
1761
1768
|
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
1762
1769
|
textContent: string;
|
|
1763
1770
|
structuredContent: {
|
|
@@ -1765,12 +1772,14 @@ declare const toolRegistry: {
|
|
|
1765
1772
|
id: string;
|
|
1766
1773
|
name: string;
|
|
1767
1774
|
sectionOrder: number;
|
|
1775
|
+
isArchived: boolean;
|
|
1768
1776
|
description?: string | undefined;
|
|
1769
1777
|
}[];
|
|
1770
1778
|
totalCount: number;
|
|
1771
1779
|
appliedFilters: {
|
|
1772
1780
|
projectId: string;
|
|
1773
1781
|
searchText?: string | undefined;
|
|
1782
|
+
archivedStatus?: "all" | "active" | "archived" | undefined;
|
|
1774
1783
|
};
|
|
1775
1784
|
};
|
|
1776
1785
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAwEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAwEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AACA,OAAO,EAAsB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkIvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TodoistApi } from '@todoist/sdk';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
declare const findSections: {
|
|
3
4
|
name: "find-sections";
|
|
@@ -5,6 +6,11 @@ declare const findSections: {
|
|
|
5
6
|
parameters: {
|
|
6
7
|
projectId: z.ZodString;
|
|
7
8
|
searchText: z.ZodOptional<z.ZodString>;
|
|
9
|
+
archivedStatus: z.ZodOptional<z.ZodEnum<{
|
|
10
|
+
all: "all";
|
|
11
|
+
active: "active";
|
|
12
|
+
archived: "archived";
|
|
13
|
+
}>>;
|
|
8
14
|
};
|
|
9
15
|
outputSchema: {
|
|
10
16
|
sections: z.ZodArray<z.ZodObject<{
|
|
@@ -12,6 +18,7 @@ declare const findSections: {
|
|
|
12
18
|
name: z.ZodString;
|
|
13
19
|
sectionOrder: z.ZodNumber;
|
|
14
20
|
description: z.ZodOptional<z.ZodString>;
|
|
21
|
+
isArchived: z.ZodBoolean;
|
|
15
22
|
}, z.core.$strip>>;
|
|
16
23
|
totalCount: z.ZodNumber;
|
|
17
24
|
appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -24,19 +31,22 @@ declare const findSections: {
|
|
|
24
31
|
execute(args: {
|
|
25
32
|
projectId: string;
|
|
26
33
|
searchText?: string | undefined;
|
|
27
|
-
|
|
34
|
+
archivedStatus?: "all" | "active" | "archived" | undefined;
|
|
35
|
+
}, client: TodoistApi): Promise<{
|
|
28
36
|
textContent: string;
|
|
29
37
|
structuredContent: {
|
|
30
38
|
sections: {
|
|
31
39
|
id: string;
|
|
32
40
|
name: string;
|
|
33
41
|
sectionOrder: number;
|
|
42
|
+
isArchived: boolean;
|
|
34
43
|
description?: string | undefined;
|
|
35
44
|
}[];
|
|
36
45
|
totalCount: number;
|
|
37
46
|
appliedFilters: {
|
|
38
47
|
projectId: string;
|
|
39
48
|
searchText?: string | undefined;
|
|
49
|
+
archivedStatus?: "all" | "active" | "archived" | undefined;
|
|
40
50
|
};
|
|
41
51
|
};
|
|
42
52
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-sections.d.ts","sourceRoot":"","sources":["../../src/tools/find-sections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAAE,MAAM,cAAc,CAAA;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiDvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgD6C,CAAA;AAsE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-into-project.d.ts","sourceRoot":"","sources":["../../src/tools/import-into-project.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"import-into-project.d.ts","sourceRoot":"","sources":["../../src/tools/import-into-project.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA0B,UAAU,EAAE,MAAM,cAAc,CAAA;AACtE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8HvB,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DwC,CAAA;AAE/D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { Confirmation, ToolRequest } from '@todoist/mcp-core';
|
|
2
1
|
import { CurrentUser, CustomFetchResponse, Filter, Folder, Label, PersonalProject, Section, SyncCommand, Task, Template, TodoistApi, Workspace, WorkspaceProject, WorkspaceProjectSummary } from '@todoist/sdk';
|
|
3
2
|
import { Mocked } from 'vitest';
|
|
4
3
|
import { z } from 'zod';
|
|
@@ -210,15 +209,5 @@ export declare const TODAY: "2025-08-17";
|
|
|
210
209
|
* Pass only the properties you want to override for your specific test.
|
|
211
210
|
*/
|
|
212
211
|
export declare function createMockUser(overrides?: Partial<CurrentUser>): CurrentUser;
|
|
213
|
-
/**
|
|
214
|
-
* A `ToolRequest` whose `confirm` answers `status`, standing in for the MCP call a tool serves.
|
|
215
|
-
* `questions` records each question it was asked to put to the user, with a lazy message built.
|
|
216
|
-
*/
|
|
217
|
-
export declare function createMockToolRequest(status: Confirmation['status']): ToolRequest & {
|
|
218
|
-
questions: {
|
|
219
|
-
key: string;
|
|
220
|
-
message: string;
|
|
221
|
-
}[];
|
|
222
|
-
};
|
|
223
212
|
export {};
|
|
224
213
|
//# sourceMappingURL=test-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WA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E,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,KAAK,CAUR;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAU5E;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,CAAC,EAAE,CAAC,GAAG,OAAO,EAC1C,KAAK,EAAE,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,CAAC,CAAA;CAAE,CAAC;UAAjC,MAAM;WAAS,CAAC;eAAa,CAAC;IAGtD;AAED;;GAEG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;CAeX,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todoist/mcp",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
69
|
"@modelcontextprotocol/ext-apps": "2.0.4",
|
|
70
|
-
"@todoist/mcp-core": "
|
|
71
|
-
"@todoist/sdk": "24.1
|
|
70
|
+
"@todoist/mcp-core": "2.0.0",
|
|
71
|
+
"@todoist/sdk": "24.2.1",
|
|
72
72
|
"date-fns": "4.4.0",
|
|
73
73
|
"dompurify": "3.5.0",
|
|
74
74
|
"dotenv": "17.4.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@modelcontextprotocol/server": "^2.4.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@anthropic-ai/sdk": "
|
|
84
|
+
"@anthropic-ai/sdk": "1.14.0",
|
|
85
85
|
"@modelcontextprotocol/client": "2.4.0",
|
|
86
86
|
"@modelcontextprotocol/inspector": "0.22.0",
|
|
87
87
|
"@semantic-release/changelog": "6.0.3",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@types/react": "19.3.1",
|
|
94
94
|
"@types/react-dom": "19.3.0",
|
|
95
95
|
"@vitejs/plugin-react": "5.2.0",
|
|
96
|
-
"concurrently": "
|
|
96
|
+
"concurrently": "10.0.7",
|
|
97
97
|
"conventional-changelog-conventionalcommits": "9.3.1",
|
|
98
98
|
"gpt-tokenizer": "3.4.0",
|
|
99
99
|
"lefthook": "2.2.2",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A skill served over MCP (the `io.modelcontextprotocol/skills` extension): instructions a client
|
|
3
|
-
* loads into the model's context only when a task calls for them, so a workflow can be spelled out
|
|
4
|
-
* in full without adding to every request.
|
|
5
|
-
*/
|
|
6
|
-
type TodoistSkill = {
|
|
7
|
-
/** The skill's folder name. Must equal the `name` in its `SKILL.md` frontmatter. */
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* The skill's files, keyed by their path inside the skill's folder. `SKILL.md` starts with
|
|
11
|
-
* YAML frontmatter carrying `name` and `description`: the description is all a model sees
|
|
12
|
-
* until it loads the skill, so it says what the skill does and when to reach for it.
|
|
13
|
-
*/
|
|
14
|
-
files: {
|
|
15
|
-
'SKILL.md': string;
|
|
16
|
-
} & Record<string, string>;
|
|
17
|
-
};
|
|
18
|
-
export type { TodoistSkill };
|
|
19
|
-
//# sourceMappingURL=todoist-skill.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"todoist-skill.d.ts","sourceRoot":"","sources":["../../src/skills/todoist-skill.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,KAAK,YAAY,GAAG;IAChB,oFAAoF;IACpF,IAAI,EAAE,MAAM,CAAA;IACZ;;;;OAIG;IACH,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACzD,CAAA;AAED,YAAY,EAAE,YAAY,EAAE,CAAA"}
|