@doist/todoist-ai 8.11.1 → 8.12.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 +4 -4
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-apps/index.html +2 -2
- package/dist/mcp-helpers.d.ts.map +1 -1
- package/dist/{mcp-server-mgPWVnTW.js → mcp-server-xPpLc1fl.js} +951 -814
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/require-valid-todoist-token-BEclFTYu.js +72 -0
- package/dist/tools/delete-object.d.ts +4 -4
- package/dist/tools/project-move.d.ts +2 -2
- package/dist/usage-tracking.d.ts +27 -0
- package/dist/usage-tracking.d.ts.map +1 -0
- package/dist/utils/validate-todoist-token.d.ts.map +1 -1
- package/package.json +4 -4
- package/scripts/run-tool.ts +9 -2
- package/dist/require-valid-todoist-token-DlP0RT-l.js +0 -73
package/dist/index.d.ts
CHANGED
|
@@ -2591,13 +2591,13 @@ declare const tools: {
|
|
|
2591
2591
|
description: string;
|
|
2592
2592
|
parameters: {
|
|
2593
2593
|
type: import('zod').ZodEnum<{
|
|
2594
|
+
label: "label";
|
|
2594
2595
|
filter: "filter";
|
|
2595
2596
|
comment: "comment";
|
|
2596
2597
|
reminder: "reminder";
|
|
2597
2598
|
task: "task";
|
|
2598
2599
|
project: "project";
|
|
2599
2600
|
section: "section";
|
|
2600
|
-
label: "label";
|
|
2601
2601
|
location_reminder: "location_reminder";
|
|
2602
2602
|
}>;
|
|
2603
2603
|
id: import('zod').ZodString;
|
|
@@ -2605,13 +2605,13 @@ declare const tools: {
|
|
|
2605
2605
|
outputSchema: {
|
|
2606
2606
|
deletedEntity: import('zod').ZodObject<{
|
|
2607
2607
|
type: import('zod').ZodEnum<{
|
|
2608
|
+
label: "label";
|
|
2608
2609
|
filter: "filter";
|
|
2609
2610
|
comment: "comment";
|
|
2610
2611
|
reminder: "reminder";
|
|
2611
2612
|
task: "task";
|
|
2612
2613
|
project: "project";
|
|
2613
2614
|
section: "section";
|
|
2614
|
-
label: "label";
|
|
2615
2615
|
location_reminder: "location_reminder";
|
|
2616
2616
|
}>;
|
|
2617
2617
|
id: import('zod').ZodString;
|
|
@@ -2624,13 +2624,13 @@ declare const tools: {
|
|
|
2624
2624
|
idempotentHint: true;
|
|
2625
2625
|
};
|
|
2626
2626
|
execute(args: {
|
|
2627
|
-
type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
2627
|
+
type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
2628
2628
|
id: string;
|
|
2629
2629
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2630
2630
|
textContent: string;
|
|
2631
2631
|
structuredContent: {
|
|
2632
2632
|
deletedEntity: {
|
|
2633
|
-
type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
2633
|
+
type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
2634
2634
|
id: string;
|
|
2635
2635
|
};
|
|
2636
2636
|
success: true;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as s, s as a, l as e, m as t, a as o, u as d, r, d as i, b as n, c, e as l, h as m, i as p, j as f, k, n as T, o as u, p as g, q as j, t as v, v as h, w as P, x as b, y as A, z as S, A as y, B as C, C as F, D as x, E, F as L, G as O, H as w, I as H, J as I, K as M, L as q, M as z, N as B } from "./mcp-server-
|
|
2
|
-
import { O as J, g as K } from "./mcp-server-
|
|
3
|
-
import { r as U, v as V } from "./require-valid-todoist-token-
|
|
1
|
+
import { f as s, s as a, l as e, m as t, a as o, u as d, r, d as i, b as n, c, e as l, h as m, i as p, j as f, k, n as T, o as u, p as g, q as j, t as v, v as h, w as P, x as b, y as A, z as S, A as y, B as C, C as F, D as x, E, F as L, G as O, H as w, I as H, J as I, K as M, L as q, M as z, N as B } from "./mcp-server-xPpLc1fl.js";
|
|
2
|
+
import { O as J, g as K } from "./mcp-server-xPpLc1fl.js";
|
|
3
|
+
import { r as U, v as V } from "./require-valid-todoist-token-BEclFTYu.js";
|
|
4
4
|
const N = {
|
|
5
5
|
// Task management tools
|
|
6
6
|
addTasks: B,
|
package/dist/main-http.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { StreamableHTTPServerTransport as i } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
3
3
|
import p from "dotenv";
|
|
4
4
|
import c from "express";
|
|
5
|
-
import { g as l } from "./mcp-server-
|
|
6
|
-
import { r as d } from "./require-valid-todoist-token-
|
|
5
|
+
import { g as l } from "./mcp-server-xPpLc1fl.js";
|
|
6
|
+
import { r as d } from "./require-valid-todoist-token-BEclFTYu.js";
|
|
7
7
|
p.config({ quiet: !0 });
|
|
8
8
|
const s = Number.parseInt(process.env.PORT || "3000", 10);
|
|
9
9
|
function m() {
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { StdioServerTransport as s } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import c from "dotenv";
|
|
4
|
-
import { g as i } from "./mcp-server-
|
|
4
|
+
import { g as i } from "./mcp-server-xPpLc1fl.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|