@todoist/mcp 17.2.0 → 17.2.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.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, h as m, i as f, j as T, k as u, l as j, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as F, v as y, w as A, x as C, y as R, z as x, A as M, B as O, g 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-CjezKXji.js";
|
|
2
|
+
import { F as d, a as r, b as i, c as n, d as c, e as l, f as p, h as m, i as f, j as T, k as u, l as j, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as F, v as y, w as A, x as C, y as R, z as x, A as M, B as O, g 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-CjezKXji.js";
|
|
3
|
+
import { r as is, v as ns } from "./require-valid-todoist-token-ClhBp_ma.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 { g as I } from "./mcp-server-
|
|
8
|
-
import { r as g } from "./require-valid-todoist-token-
|
|
7
|
+
import { g as I } from "./mcp-server-CjezKXji.js";
|
|
8
|
+
import { r as g } from "./require-valid-todoist-token-ClhBp_ma.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 { g as s } from "./mcp-server-
|
|
4
|
+
import { g as s } from "./mcp-server-CjezKXji.js";
|
|
5
5
|
function i() {
|
|
6
6
|
const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|
|
@@ -461,7 +461,7 @@ function Or(e) {
|
|
|
461
461
|
const t = kt(e);
|
|
462
462
|
return t ? Dr(t) : Go(e);
|
|
463
463
|
}
|
|
464
|
-
const _r = "17.2.
|
|
464
|
+
const _r = "17.2.2", Pr = {
|
|
465
465
|
version: _r
|
|
466
466
|
};
|
|
467
467
|
function Jt(e, { queueTimeoutMs: t = st.QUEUE_WAIT_MS } = {}) {
|
|
@@ -3680,7 +3680,7 @@ ${c}`,
|
|
|
3680
3680
|
structuredContent: { format: t, fileName: i, fileUrl: c }
|
|
3681
3681
|
};
|
|
3682
3682
|
}
|
|
3683
|
-
const n = await r.
|
|
3683
|
+
const n = await r.exportProjectAsCsv({ projectId: e, useRelativeDates: o }), a = n.split(`
|
|
3684
3684
|
`).filter((i) => i.trim().length > 0);
|
|
3685
3685
|
return {
|
|
3686
3686
|
// The full CSV already ships in structuredContent; a preview here keeps a large
|
|
@@ -6056,7 +6056,7 @@ const Nd = new RegExp(
|
|
|
6056
6056
|
projectId: e,
|
|
6057
6057
|
templateId: Rd(t),
|
|
6058
6058
|
locale: r
|
|
6059
|
-
}) : await n.
|
|
6059
|
+
}) : await n.importCsvIntoProject({
|
|
6060
6060
|
projectId: e,
|
|
6061
6061
|
// The SDK treats strings as filesystem paths, not file content.
|
|
6062
6062
|
file: new Blob([o ?? ""], { type: "text/csv" }),
|
package/dist/{require-valid-todoist-token-Cld2Dviy.js → require-valid-todoist-token-ClhBp_ma.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { validateBearerToken as _, createTokenVerdictCache as p, buildBearerChallenge as u } from "@todoist/mcp-core/host";
|
|
2
|
-
import { a2 as v, a3 as A } from "./mcp-server-
|
|
2
|
+
import { a2 as v, a3 as A } from "./mcp-server-CjezKXji.js";
|
|
3
3
|
const k = "https://api.todoist.com", U = (e, t) => _({
|
|
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.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todoist/mcp",
|
|
3
|
-
"version": "17.2.
|
|
3
|
+
"version": "17.2.2",
|
|
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": "1.
|
|
71
|
-
"@todoist/sdk": "
|
|
70
|
+
"@todoist/mcp-core": "1.1.0",
|
|
71
|
+
"@todoist/sdk": "24.0.1",
|
|
72
72
|
"date-fns": "4.1.0",
|
|
73
73
|
"dompurify": "3.3.3",
|
|
74
74
|
"dotenv": "17.3.1",
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
"oxlint": "1.70.0",
|
|
105
105
|
"react": "19.2.8",
|
|
106
106
|
"react-dom": "19.2.8",
|
|
107
|
-
"rimraf": "6.1.
|
|
107
|
+
"rimraf": "6.1.4",
|
|
108
108
|
"semantic-release": "25.0.9",
|
|
109
109
|
"snarkdown": "2.0.0",
|
|
110
110
|
"tsx": "4.22.4",
|