@todoist/mcp 17.3.10 → 17.3.12
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 +18 -18
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-C-rRrxdI.js → mcp-server-CKDyBnNG.js} +1851 -1775
- package/dist/{require-valid-todoist-token-CI1b833m.js → require-valid-todoist-token-CgCTORYp.js} +1 -1
- package/dist/tool-execution-error.d.ts +9 -0
- package/dist/tool-execution-error.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +3 -3
- package/dist/tool-registry.d.ts +18 -18
- package/dist/tools/add-reminders.d.ts +5 -5
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/fetch-object.d.ts +3 -3
- package/dist/tools/find-reminders.d.ts +5 -5
- package/dist/tools/update-reminders.d.ts +5 -5
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/utils/assignment-validator.d.ts +1 -0
- package/dist/utils/assignment-validator.d.ts.map +1 -1
- package/dist/utils/batch-failures.d.ts +2 -0
- package/dist/utils/batch-failures.d.ts.map +1 -1
- package/dist/utils/children.d.ts +4 -4
- package/dist/utils/output-schemas.d.ts +2 -2
- package/dist/utils/user-resolver.d.ts +3 -0
- package/dist/utils/user-resolver.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2134,9 +2134,9 @@ declare const tools: {
|
|
|
2134
2134
|
id: import('zod').ZodString;
|
|
2135
2135
|
taskId: import('zod').ZodString;
|
|
2136
2136
|
type: import('zod').ZodEnum<{
|
|
2137
|
-
location: "location";
|
|
2138
|
-
absolute: "absolute";
|
|
2139
2137
|
relative: "relative";
|
|
2138
|
+
absolute: "absolute";
|
|
2139
|
+
location: "location";
|
|
2140
2140
|
}>;
|
|
2141
2141
|
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2142
2142
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -2219,7 +2219,7 @@ declare const tools: {
|
|
|
2219
2219
|
isUrgent: boolean | undefined;
|
|
2220
2220
|
id: string;
|
|
2221
2221
|
taskId: string;
|
|
2222
|
-
type: "
|
|
2222
|
+
type: "relative" | "absolute" | "location";
|
|
2223
2223
|
notifyUid: string;
|
|
2224
2224
|
} | {
|
|
2225
2225
|
due: {
|
|
@@ -2232,7 +2232,7 @@ declare const tools: {
|
|
|
2232
2232
|
isUrgent: boolean | undefined;
|
|
2233
2233
|
id: string;
|
|
2234
2234
|
taskId: string;
|
|
2235
|
-
type: "
|
|
2235
|
+
type: "relative" | "absolute" | "location";
|
|
2236
2236
|
notifyUid: string;
|
|
2237
2237
|
} | {
|
|
2238
2238
|
name: string;
|
|
@@ -2242,7 +2242,7 @@ declare const tools: {
|
|
|
2242
2242
|
radius: number;
|
|
2243
2243
|
id: string;
|
|
2244
2244
|
taskId: string;
|
|
2245
|
-
type: "
|
|
2245
|
+
type: "relative" | "absolute" | "location";
|
|
2246
2246
|
notifyUid: string;
|
|
2247
2247
|
})[];
|
|
2248
2248
|
totalCount: number;
|
|
@@ -2271,9 +2271,9 @@ declare const tools: {
|
|
|
2271
2271
|
id: import('zod').ZodString;
|
|
2272
2272
|
taskId: import('zod').ZodString;
|
|
2273
2273
|
type: import('zod').ZodEnum<{
|
|
2274
|
-
location: "location";
|
|
2275
|
-
absolute: "absolute";
|
|
2276
2274
|
relative: "relative";
|
|
2275
|
+
absolute: "absolute";
|
|
2276
|
+
location: "location";
|
|
2277
2277
|
}>;
|
|
2278
2278
|
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2279
2279
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -2322,7 +2322,7 @@ declare const tools: {
|
|
|
2322
2322
|
isUrgent: boolean | undefined;
|
|
2323
2323
|
id: string;
|
|
2324
2324
|
taskId: string;
|
|
2325
|
-
type: "
|
|
2325
|
+
type: "relative" | "absolute" | "location";
|
|
2326
2326
|
notifyUid: string;
|
|
2327
2327
|
} | {
|
|
2328
2328
|
due: {
|
|
@@ -2335,7 +2335,7 @@ declare const tools: {
|
|
|
2335
2335
|
isUrgent: boolean | undefined;
|
|
2336
2336
|
id: string;
|
|
2337
2337
|
taskId: string;
|
|
2338
|
-
type: "
|
|
2338
|
+
type: "relative" | "absolute" | "location";
|
|
2339
2339
|
notifyUid: string;
|
|
2340
2340
|
} | {
|
|
2341
2341
|
name: string;
|
|
@@ -2345,7 +2345,7 @@ declare const tools: {
|
|
|
2345
2345
|
radius: number;
|
|
2346
2346
|
id: string;
|
|
2347
2347
|
taskId: string;
|
|
2348
|
-
type: "
|
|
2348
|
+
type: "relative" | "absolute" | "location";
|
|
2349
2349
|
notifyUid: string;
|
|
2350
2350
|
})[];
|
|
2351
2351
|
searchType: string;
|
|
@@ -2402,9 +2402,9 @@ declare const tools: {
|
|
|
2402
2402
|
id: import('zod').ZodString;
|
|
2403
2403
|
taskId: import('zod').ZodString;
|
|
2404
2404
|
type: import('zod').ZodEnum<{
|
|
2405
|
-
location: "location";
|
|
2406
|
-
absolute: "absolute";
|
|
2407
2405
|
relative: "relative";
|
|
2406
|
+
absolute: "absolute";
|
|
2407
|
+
location: "location";
|
|
2408
2408
|
}>;
|
|
2409
2409
|
notifyUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
2410
2410
|
minuteOffset: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
@@ -2488,7 +2488,7 @@ declare const tools: {
|
|
|
2488
2488
|
isUrgent: boolean | undefined;
|
|
2489
2489
|
id: string;
|
|
2490
2490
|
taskId: string;
|
|
2491
|
-
type: "
|
|
2491
|
+
type: "relative" | "absolute" | "location";
|
|
2492
2492
|
notifyUid: string;
|
|
2493
2493
|
} | {
|
|
2494
2494
|
due: {
|
|
@@ -2501,7 +2501,7 @@ declare const tools: {
|
|
|
2501
2501
|
isUrgent: boolean | undefined;
|
|
2502
2502
|
id: string;
|
|
2503
2503
|
taskId: string;
|
|
2504
|
-
type: "
|
|
2504
|
+
type: "relative" | "absolute" | "location";
|
|
2505
2505
|
notifyUid: string;
|
|
2506
2506
|
} | {
|
|
2507
2507
|
name: string;
|
|
@@ -2511,7 +2511,7 @@ declare const tools: {
|
|
|
2511
2511
|
radius: number;
|
|
2512
2512
|
id: string;
|
|
2513
2513
|
taskId: string;
|
|
2514
|
-
type: "
|
|
2514
|
+
type: "relative" | "absolute" | "location";
|
|
2515
2515
|
notifyUid: string;
|
|
2516
2516
|
})[];
|
|
2517
2517
|
totalCount: number;
|
|
@@ -3759,10 +3759,10 @@ declare const tools: {
|
|
|
3759
3759
|
outputSchema: {
|
|
3760
3760
|
childCount: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
3761
3761
|
children: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodUnion<readonly [import('zod').ZodObject<{
|
|
3762
|
-
content: import('zod').ZodString;
|
|
3763
3762
|
id: import('zod').ZodString;
|
|
3764
|
-
|
|
3763
|
+
content: import('zod').ZodString;
|
|
3765
3764
|
dueDate: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3765
|
+
checked: import('zod').ZodBoolean;
|
|
3766
3766
|
hasChildren: import('zod').ZodBoolean;
|
|
3767
3767
|
}, import('zod/v4/core').$strip>, import('zod').ZodObject<{
|
|
3768
3768
|
name: import('zod').ZodString;
|
|
@@ -3911,8 +3911,8 @@ declare const tools: {
|
|
|
3911
3911
|
structuredContent: {
|
|
3912
3912
|
childCount?: number;
|
|
3913
3913
|
children?: ({
|
|
3914
|
-
content: string;
|
|
3915
3914
|
id: string;
|
|
3915
|
+
content: string;
|
|
3916
3916
|
checked: boolean;
|
|
3917
3917
|
hasChildren: boolean;
|
|
3918
3918
|
dueDate?: string | undefined;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as s } from "./mcp-server-
|
|
2
|
-
import { F as d, a as r, b as i, c as n, d as c, e as l, f as p, g as m, h as f, i as T, j as u, k as j, l as g, m as k, n as v, o as P, p as S, q as h, r as b, s as F, u as y, v as A, w as C, x as R, y as x, z as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es, $ as ts, a0 as os, a1 as ds } from "./mcp-server-
|
|
3
|
-
import { r as is, v as ns } from "./require-valid-todoist-token-
|
|
1
|
+
import { t as s } from "./mcp-server-CKDyBnNG.js";
|
|
2
|
+
import { F as d, a as r, b as i, c as n, d as c, e as l, f as p, g as m, h as f, i as T, j as u, k as j, l as g, m as k, n as v, o as P, p as S, q as h, r as b, s as F, u as y, v as A, w as C, x as R, y as x, z as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es, $ as ts, a0 as os, a1 as ds } from "./mcp-server-CKDyBnNG.js";
|
|
3
|
+
import { r as is, v as ns } from "./require-valid-todoist-token-CgCTORYp.js";
|
|
4
4
|
const e = s;
|
|
5
5
|
export {
|
|
6
6
|
d as FEATURE_NAMES,
|
package/dist/main-http.js
CHANGED
|
@@ -4,8 +4,8 @@ import S from "dotenv";
|
|
|
4
4
|
import { toNodeHandler as w } from "@modelcontextprotocol/node";
|
|
5
5
|
import { createMcpHandler as v } from "@modelcontextprotocol/server";
|
|
6
6
|
import h from "express";
|
|
7
|
-
import { B as I } from "./mcp-server-
|
|
8
|
-
import { r as g } from "./require-valid-todoist-token-
|
|
7
|
+
import { B as I } from "./mcp-server-CKDyBnNG.js";
|
|
8
|
+
import { r as g } from "./require-valid-todoist-token-CgCTORYp.js";
|
|
9
9
|
function p(e) {
|
|
10
10
|
return e.startsWith("[") && e.endsWith("]") ? e.slice(1, -1) : e;
|
|
11
11
|
}
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { serveStdio as t } from "@modelcontextprotocol/server/stdio";
|
|
3
3
|
import n from "dotenv";
|
|
4
|
-
import { B as s } from "./mcp-server-
|
|
4
|
+
import { B as s } from "./mcp-server-CKDyBnNG.js";
|
|
5
5
|
function i() {
|
|
6
6
|
const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAOvD;;;;;;;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;AAgEzB;;;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;AAMD;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,EACnB,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAa,GAChB,EAAE;IACC,KAAK,EAAE,SAAS,cAAc,EAAE,CAAA;IAChC,MAAM,EAAE,SAAS,CAAA;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,QAiCA;AAED,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,GACtB,CAAA"}
|