@todoist/mcp 17.2.0 → 17.2.1

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-CNobTT0E.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-CNobTT0E.js";
3
- import { r as is, v as ns } from "./require-valid-todoist-token-Cld2Dviy.js";
1
+ import { t as s } from "./mcp-server-D_hvg5Wa.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-D_hvg5Wa.js";
3
+ import { r as is, v as ns } from "./require-valid-todoist-token-CTCya5bQ.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-CNobTT0E.js";
8
- import { r as g } from "./require-valid-todoist-token-Cld2Dviy.js";
7
+ import { g as I } from "./mcp-server-D_hvg5Wa.js";
8
+ import { r as g } from "./require-valid-todoist-token-CTCya5bQ.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-CNobTT0E.js";
4
+ import { g as s } from "./mcp-server-D_hvg5Wa.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.0", Pr = {
464
+ const _r = "17.2.1", 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.exportTemplateAsFile({ projectId: e, useRelativeDates: o }), a = n.split(`
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.importTemplateIntoProject({
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" }),
@@ -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-CNobTT0E.js";
2
+ import { a2 as v, a3 as A } from "./mcp-server-D_hvg5Wa.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.0",
3
+ "version": "17.2.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -68,7 +68,7 @@
68
68
  "dependencies": {
69
69
  "@modelcontextprotocol/ext-apps": "2.0.4",
70
70
  "@todoist/mcp-core": "1.0.0",
71
- "@todoist/sdk": "21.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",