@doist/todoist-mcp 13.3.0 → 13.3.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-YMuvKwk4.js";
2
- import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-YMuvKwk4.js";
3
- import { r as es, v as ts } from "./require-valid-todoist-token-DUkJJXkY.js";
1
+ import { t as s } from "./mcp-server-C6Knr-jz.js";
2
+ import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as g, m as k, n as u, o as v, p as P, q as h, r as b, s as S, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as w, E as H, G as I, H as W, I as q, J as z, K as B, L as D, M as N, N as U, O as V, P as G, Q as J, R as K, S as Q, T as X, U as Y, V as _, W as Z, X as $, Y as ss } from "./mcp-server-C6Knr-jz.js";
3
+ import { r as es, v as ts } from "./require-valid-todoist-token-YUONVoxk.js";
4
4
  const e = s;
5
5
  export {
6
6
  r as FEATURE_NAMES,
package/dist/main-http.js CHANGED
@@ -3,8 +3,8 @@ import { isIP as p } from "node:net";
3
3
  import O from "dotenv";
4
4
  import { NodeStreamableHTTPServerTransport as S } from "@modelcontextprotocol/node";
5
5
  import m from "express";
6
- import { g as v } from "./mcp-server-YMuvKwk4.js";
7
- import { r as w } from "./require-valid-todoist-token-DUkJJXkY.js";
6
+ import { g as v } from "./mcp-server-C6Knr-jz.js";
7
+ import { r as w } from "./require-valid-todoist-token-YUONVoxk.js";
8
8
  function f(t) {
9
9
  return t.startsWith("[") && t.endsWith("]") ? t.slice(1, -1) : t;
10
10
  }
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { StdioServerTransport as s } from "@modelcontextprotocol/server/stdio";
3
3
  import c from "dotenv";
4
- import { g as i } from "./mcp-server-YMuvKwk4.js";
4
+ import { g as i } from "./mcp-server-C6Knr-jz.js";
5
5
  function p() {
6
6
  const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
7
7
  if (!r)
@@ -371,7 +371,7 @@ function vr(e) {
371
371
  const t = rt(e);
372
372
  return t ? kr(t) : rs(e);
373
373
  }
374
- const Ir = "13.3.0", Sr = {
374
+ const Ir = "13.3.1", Sr = {
375
375
  version: Ir
376
376
  }, j = {
377
377
  /** Default limit for task listings */
@@ -5319,7 +5319,8 @@ const ec = {
5319
5319
  locale: o
5320
5320
  }) : await n.importTemplateIntoProject({
5321
5321
  projectId: e,
5322
- file: r ?? "",
5322
+ // The SDK treats strings as filesystem paths, not file content.
5323
+ file: new Blob([r ?? ""], { type: "text/csv" }),
5323
5324
  fileName: "template.csv"
5324
5325
  }), a = i.sections.map(Y), c = i.tasks.map(U), d = i.comments.map(we), u = i.projects.length + a.length + c.length + d.length;
5325
5326
  return {
@@ -1,4 +1,4 @@
1
- import { Z as A, _, $ as T } from "./mcp-server-YMuvKwk4.js";
1
+ import { Z as A, _, $ as T } from "./mcp-server-C6Knr-jz.js";
2
2
  const v = /* @__PURE__ */ new Set([401, 403]);
3
3
  function y(e) {
4
4
  const t = T(e);
@@ -1 +1 @@
1
- {"version":3,"file":"import-project-template.d.ts","sourceRoot":"","sources":["../../src/tools/import-project-template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB;;;;;;;GAOG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CA+BhD;AAwCD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CoC,CAAA;AAsB/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAA"}
1
+ {"version":3,"file":"import-project-template.d.ts","sourceRoot":"","sources":["../../src/tools/import-project-template.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB;;;;;;;GAOG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CA+BhD;AAwCD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CoC,CAAA;AAsB/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-mcp",
3
- "version": "13.3.0",
3
+ "version": "13.3.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -78,7 +78,7 @@
78
78
  "@modelcontextprotocol/server": "^2.0.0"
79
79
  },
80
80
  "devDependencies": {
81
- "@anthropic-ai/sdk": "0.115.0",
81
+ "@anthropic-ai/sdk": "0.126.0",
82
82
  "@modelcontextprotocol/client": "2.0.0",
83
83
  "@modelcontextprotocol/inspector": "0.22.0",
84
84
  "@semantic-release/changelog": "6.0.3",
@@ -87,7 +87,7 @@
87
87
  "@types/dompurify": "3.2.0",
88
88
  "@types/express": "5.0.6",
89
89
  "@types/morgan": "1.9.10",
90
- "@types/node": "22.20.1",
90
+ "@types/node": "22.20.3",
91
91
  "@types/react": "19.2.18",
92
92
  "@types/react-dom": "19.2.7",
93
93
  "@vitejs/plugin-react": "5.2.0",