@doist/todoist-mcp 10.5.0 → 11.0.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 +3 -327
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +59 -70
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/mcp-apps/index.html +1 -1
- package/dist/{mcp-server-D4lt4A-e.js → mcp-server-D08HTKn7.js} +1832 -2167
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-Czo9Y3Dn.js → require-valid-todoist-token-Dzd0ow_h.js} +7 -7
- package/dist/tool-helpers.d.ts +2 -23
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/delete-object.d.ts +2 -4
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch-object.d.ts +1 -39
- package/dist/tools/fetch-object.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +0 -4
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +1 -19
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +1 -6
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/tool-names.d.ts +0 -5
- package/dist/utils/tool-names.d.ts.map +1 -1
- package/package.json +1 -1
- package/scripts/run-tool.ts +0 -10
- package/dist/tools/add-goals.d.ts +0 -70
- package/dist/tools/add-goals.d.ts.map +0 -1
- package/dist/tools/complete-goals.d.ts +0 -48
- package/dist/tools/complete-goals.d.ts.map +0 -1
- package/dist/tools/find-goals.d.ts +0 -77
- package/dist/tools/find-goals.d.ts.map +0 -1
- package/dist/tools/link-goal-tasks.d.ts +0 -50
- package/dist/tools/link-goal-tasks.d.ts.map +0 -1
- package/dist/tools/update-goals.d.ts +0 -91
- package/dist/tools/update-goals.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,13 +3,11 @@ import { getMcpServer } from './mcp-server.js';
|
|
|
3
3
|
import { requireValidTodoistToken, RequireValidTodoistTokenOptions } from './middleware/require-valid-todoist-token.js';
|
|
4
4
|
import { addComments } from './tools/add-comments.js';
|
|
5
5
|
import { addFilters } from './tools/add-filters.js';
|
|
6
|
-
import { addGoals } from './tools/add-goals.js';
|
|
7
6
|
import { addLabels } from './tools/add-labels.js';
|
|
8
7
|
import { addProjects } from './tools/add-projects.js';
|
|
9
8
|
import { addSections } from './tools/add-sections.js';
|
|
10
9
|
import { addTasks } from './tools/add-tasks.js';
|
|
11
10
|
import { analyzeProjectHealth } from './tools/analyze-project-health.js';
|
|
12
|
-
import { completeGoals } from './tools/complete-goals.js';
|
|
13
11
|
import { completeTasks } from './tools/complete-tasks.js';
|
|
14
12
|
import { deleteObject } from './tools/delete-object.js';
|
|
15
13
|
import { fetch } from './tools/fetch.js';
|
|
@@ -17,7 +15,6 @@ import { findActivity } from './tools/find-activity.js';
|
|
|
17
15
|
import { findComments } from './tools/find-comments.js';
|
|
18
16
|
import { findCompletedTasks } from './tools/find-completed-tasks.js';
|
|
19
17
|
import { findFilters } from './tools/find-filters.js';
|
|
20
|
-
import { findGoals } from './tools/find-goals.js';
|
|
21
18
|
import { findLabels } from './tools/find-labels.js';
|
|
22
19
|
import { findProjectCollaborators } from './tools/find-project-collaborators.js';
|
|
23
20
|
import { findProjects } from './tools/find-projects.js';
|
|
@@ -29,7 +26,6 @@ import { getProductivityStats } from './tools/get-productivity-stats.js';
|
|
|
29
26
|
import { getProjectActivityStats } from './tools/get-project-activity-stats.js';
|
|
30
27
|
import { getProjectHealth } from './tools/get-project-health.js';
|
|
31
28
|
import { getWorkspaceInsights } from './tools/get-workspace-insights.js';
|
|
32
|
-
import { linkGoalTasks } from './tools/link-goal-tasks.js';
|
|
33
29
|
import { listWorkspaces } from './tools/list-workspaces.js';
|
|
34
30
|
import { manageAssignments } from './tools/manage-assignments.js';
|
|
35
31
|
import { reorderObjects } from './tools/reorder-objects.js';
|
|
@@ -38,7 +34,6 @@ import { search } from './tools/search.js';
|
|
|
38
34
|
import { uncompleteTasks } from './tools/uncomplete-tasks.js';
|
|
39
35
|
import { updateComments } from './tools/update-comments.js';
|
|
40
36
|
import { updateFilters } from './tools/update-filters.js';
|
|
41
|
-
import { updateGoals } from './tools/update-goals.js';
|
|
42
37
|
import { updateLabels } from './tools/update-labels.js';
|
|
43
38
|
import { updateProjects } from './tools/update-projects.js';
|
|
44
39
|
import { updateSections } from './tools/update-sections.js';
|
|
@@ -1223,323 +1218,6 @@ declare const tools: {
|
|
|
1223
1218
|
};
|
|
1224
1219
|
}>;
|
|
1225
1220
|
};
|
|
1226
|
-
findGoals: {
|
|
1227
|
-
name: "find-goals";
|
|
1228
|
-
description: string;
|
|
1229
|
-
parameters: {
|
|
1230
|
-
searchText: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1231
|
-
ownerType: import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
1232
|
-
USER: "USER";
|
|
1233
|
-
WORKSPACE: "WORKSPACE";
|
|
1234
|
-
}>>;
|
|
1235
|
-
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
1236
|
-
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1237
|
-
};
|
|
1238
|
-
outputSchema: {
|
|
1239
|
-
goals: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1240
|
-
id: import('zod').ZodString;
|
|
1241
|
-
name: import('zod').ZodString;
|
|
1242
|
-
ownerType: import('zod').ZodString;
|
|
1243
|
-
ownerId: import('zod').ZodString;
|
|
1244
|
-
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1245
|
-
deadline: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1246
|
-
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1247
|
-
isCompleted: import('zod').ZodBoolean;
|
|
1248
|
-
progress: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1249
|
-
totalTaskCount: import('zod').ZodNumber;
|
|
1250
|
-
completedTaskCount: import('zod').ZodNumber;
|
|
1251
|
-
percentage: import('zod').ZodNumber;
|
|
1252
|
-
}, import('zod/v4/core').$strip>>;
|
|
1253
|
-
}, import('zod/v4/core').$strip>>;
|
|
1254
|
-
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1255
|
-
hasMore: import('zod').ZodBoolean;
|
|
1256
|
-
totalCount: import('zod').ZodNumber;
|
|
1257
|
-
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
1258
|
-
};
|
|
1259
|
-
annotations: {
|
|
1260
|
-
readOnlyHint: true;
|
|
1261
|
-
destructiveHint: false;
|
|
1262
|
-
idempotentHint: true;
|
|
1263
|
-
};
|
|
1264
|
-
execute(args: {
|
|
1265
|
-
limit: number;
|
|
1266
|
-
searchText?: string | undefined;
|
|
1267
|
-
ownerType?: "USER" | "WORKSPACE" | undefined;
|
|
1268
|
-
cursor?: string | undefined;
|
|
1269
|
-
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1270
|
-
textContent: string;
|
|
1271
|
-
structuredContent: {
|
|
1272
|
-
goals: {
|
|
1273
|
-
id: string;
|
|
1274
|
-
name: string;
|
|
1275
|
-
ownerType: "USER" | "WORKSPACE";
|
|
1276
|
-
ownerId: string;
|
|
1277
|
-
description: string | undefined;
|
|
1278
|
-
deadline: string | undefined;
|
|
1279
|
-
responsibleUid: string | undefined;
|
|
1280
|
-
isCompleted: boolean;
|
|
1281
|
-
progress: {
|
|
1282
|
-
[x: string]: unknown;
|
|
1283
|
-
totalTaskCount: number;
|
|
1284
|
-
completedTaskCount: number;
|
|
1285
|
-
percentage: number;
|
|
1286
|
-
} | undefined;
|
|
1287
|
-
}[];
|
|
1288
|
-
nextCursor: string | undefined;
|
|
1289
|
-
hasMore: boolean;
|
|
1290
|
-
totalCount: number;
|
|
1291
|
-
appliedFilters: {
|
|
1292
|
-
limit: number;
|
|
1293
|
-
searchText?: string | undefined;
|
|
1294
|
-
ownerType?: "USER" | "WORKSPACE" | undefined;
|
|
1295
|
-
cursor?: string | undefined;
|
|
1296
|
-
};
|
|
1297
|
-
};
|
|
1298
|
-
}>;
|
|
1299
|
-
};
|
|
1300
|
-
addGoals: {
|
|
1301
|
-
name: "add-goals";
|
|
1302
|
-
description: string;
|
|
1303
|
-
parameters: {
|
|
1304
|
-
goals: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1305
|
-
name: import('zod').ZodString;
|
|
1306
|
-
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1307
|
-
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1308
|
-
deadline: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1309
|
-
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1310
|
-
}, import('zod/v4/core').$strip>>;
|
|
1311
|
-
};
|
|
1312
|
-
outputSchema: {
|
|
1313
|
-
goals: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1314
|
-
id: import('zod').ZodString;
|
|
1315
|
-
name: import('zod').ZodString;
|
|
1316
|
-
ownerType: import('zod').ZodString;
|
|
1317
|
-
ownerId: import('zod').ZodString;
|
|
1318
|
-
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1319
|
-
deadline: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1320
|
-
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1321
|
-
isCompleted: import('zod').ZodBoolean;
|
|
1322
|
-
progress: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1323
|
-
totalTaskCount: import('zod').ZodNumber;
|
|
1324
|
-
completedTaskCount: import('zod').ZodNumber;
|
|
1325
|
-
percentage: import('zod').ZodNumber;
|
|
1326
|
-
}, import('zod/v4/core').$strip>>;
|
|
1327
|
-
}, import('zod/v4/core').$strip>>;
|
|
1328
|
-
totalCount: import('zod').ZodNumber;
|
|
1329
|
-
};
|
|
1330
|
-
annotations: {
|
|
1331
|
-
readOnlyHint: false;
|
|
1332
|
-
destructiveHint: false;
|
|
1333
|
-
idempotentHint: false;
|
|
1334
|
-
};
|
|
1335
|
-
execute({ goals }: {
|
|
1336
|
-
goals: {
|
|
1337
|
-
name: string;
|
|
1338
|
-
workspaceId?: string | undefined;
|
|
1339
|
-
description?: string | undefined;
|
|
1340
|
-
deadline?: string | undefined;
|
|
1341
|
-
responsibleUid?: string | undefined;
|
|
1342
|
-
}[];
|
|
1343
|
-
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1344
|
-
textContent: string;
|
|
1345
|
-
structuredContent: {
|
|
1346
|
-
goals: {
|
|
1347
|
-
id: string;
|
|
1348
|
-
name: string;
|
|
1349
|
-
ownerType: "USER" | "WORKSPACE";
|
|
1350
|
-
ownerId: string;
|
|
1351
|
-
description: string | undefined;
|
|
1352
|
-
deadline: string | undefined;
|
|
1353
|
-
responsibleUid: string | undefined;
|
|
1354
|
-
isCompleted: boolean;
|
|
1355
|
-
progress: {
|
|
1356
|
-
[x: string]: unknown;
|
|
1357
|
-
totalTaskCount: number;
|
|
1358
|
-
completedTaskCount: number;
|
|
1359
|
-
percentage: number;
|
|
1360
|
-
} | undefined;
|
|
1361
|
-
}[];
|
|
1362
|
-
totalCount: number;
|
|
1363
|
-
};
|
|
1364
|
-
}>;
|
|
1365
|
-
};
|
|
1366
|
-
updateGoals: {
|
|
1367
|
-
name: "update-goals";
|
|
1368
|
-
description: string;
|
|
1369
|
-
parameters: {
|
|
1370
|
-
goals: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1371
|
-
id: import('zod').ZodString;
|
|
1372
|
-
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1373
|
-
description: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodString>>;
|
|
1374
|
-
deadline: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodString>>;
|
|
1375
|
-
responsibleUid: import('zod').ZodOptional<import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodString>>;
|
|
1376
|
-
}, import('zod/v4/core').$strip>>;
|
|
1377
|
-
};
|
|
1378
|
-
outputSchema: {
|
|
1379
|
-
goals: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1380
|
-
id: import('zod').ZodString;
|
|
1381
|
-
name: import('zod').ZodString;
|
|
1382
|
-
ownerType: import('zod').ZodString;
|
|
1383
|
-
ownerId: import('zod').ZodString;
|
|
1384
|
-
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1385
|
-
deadline: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1386
|
-
responsibleUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1387
|
-
isCompleted: import('zod').ZodBoolean;
|
|
1388
|
-
progress: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
1389
|
-
totalTaskCount: import('zod').ZodNumber;
|
|
1390
|
-
completedTaskCount: import('zod').ZodNumber;
|
|
1391
|
-
percentage: import('zod').ZodNumber;
|
|
1392
|
-
}, import('zod/v4/core').$strip>>;
|
|
1393
|
-
}, import('zod/v4/core').$strip>>;
|
|
1394
|
-
totalCount: import('zod').ZodNumber;
|
|
1395
|
-
updatedGoalIds: import('zod').ZodArray<import('zod').ZodString>;
|
|
1396
|
-
appliedOperations: import('zod').ZodObject<{
|
|
1397
|
-
updateCount: import('zod').ZodNumber;
|
|
1398
|
-
skippedCount: import('zod').ZodNumber;
|
|
1399
|
-
skipped: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1400
|
-
id: import('zod').ZodString;
|
|
1401
|
-
reason: import('zod').ZodEnum<{
|
|
1402
|
-
"no-fields": "no-fields";
|
|
1403
|
-
"no-valid-values": "no-valid-values";
|
|
1404
|
-
}>;
|
|
1405
|
-
}, import('zod/v4/core').$strip>>;
|
|
1406
|
-
}, import('zod/v4/core').$strip>;
|
|
1407
|
-
};
|
|
1408
|
-
annotations: {
|
|
1409
|
-
readOnlyHint: false;
|
|
1410
|
-
destructiveHint: false;
|
|
1411
|
-
idempotentHint: true;
|
|
1412
|
-
};
|
|
1413
|
-
execute({ goals }: {
|
|
1414
|
-
goals: {
|
|
1415
|
-
id: string;
|
|
1416
|
-
name?: string | undefined;
|
|
1417
|
-
description?: string | undefined;
|
|
1418
|
-
deadline?: string | undefined;
|
|
1419
|
-
responsibleUid?: string | undefined;
|
|
1420
|
-
}[];
|
|
1421
|
-
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1422
|
-
textContent: string;
|
|
1423
|
-
structuredContent: {
|
|
1424
|
-
goals: {
|
|
1425
|
-
id: string;
|
|
1426
|
-
name: string;
|
|
1427
|
-
ownerType: "USER" | "WORKSPACE";
|
|
1428
|
-
ownerId: string;
|
|
1429
|
-
description: string | undefined;
|
|
1430
|
-
deadline: string | undefined;
|
|
1431
|
-
responsibleUid: string | undefined;
|
|
1432
|
-
isCompleted: boolean;
|
|
1433
|
-
progress: {
|
|
1434
|
-
[x: string]: unknown;
|
|
1435
|
-
totalTaskCount: number;
|
|
1436
|
-
completedTaskCount: number;
|
|
1437
|
-
percentage: number;
|
|
1438
|
-
} | undefined;
|
|
1439
|
-
}[];
|
|
1440
|
-
totalCount: number;
|
|
1441
|
-
updatedGoalIds: string[];
|
|
1442
|
-
appliedOperations: {
|
|
1443
|
-
updateCount: number;
|
|
1444
|
-
skippedCount: number;
|
|
1445
|
-
skipped: {
|
|
1446
|
-
id: string;
|
|
1447
|
-
reason: "no-fields" | "no-valid-values";
|
|
1448
|
-
}[];
|
|
1449
|
-
};
|
|
1450
|
-
};
|
|
1451
|
-
}>;
|
|
1452
|
-
};
|
|
1453
|
-
completeGoals: {
|
|
1454
|
-
name: "complete-goals";
|
|
1455
|
-
description: string;
|
|
1456
|
-
parameters: {
|
|
1457
|
-
ids: import('zod').ZodArray<import('zod').ZodString>;
|
|
1458
|
-
action: import('zod').ZodEnum<{
|
|
1459
|
-
complete: "complete";
|
|
1460
|
-
uncomplete: "uncomplete";
|
|
1461
|
-
}>;
|
|
1462
|
-
};
|
|
1463
|
-
outputSchema: {
|
|
1464
|
-
processed: import('zod').ZodArray<import('zod').ZodString>;
|
|
1465
|
-
failures: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1466
|
-
item: import('zod').ZodString;
|
|
1467
|
-
error: import('zod').ZodString;
|
|
1468
|
-
code: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1469
|
-
}, import('zod/v4/core').$strip>>;
|
|
1470
|
-
totalRequested: import('zod').ZodNumber;
|
|
1471
|
-
successCount: import('zod').ZodNumber;
|
|
1472
|
-
failureCount: import('zod').ZodNumber;
|
|
1473
|
-
};
|
|
1474
|
-
annotations: {
|
|
1475
|
-
readOnlyHint: false;
|
|
1476
|
-
destructiveHint: true;
|
|
1477
|
-
idempotentHint: false;
|
|
1478
|
-
};
|
|
1479
|
-
execute(args: {
|
|
1480
|
-
ids: string[];
|
|
1481
|
-
action: "complete" | "uncomplete";
|
|
1482
|
-
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1483
|
-
textContent: string;
|
|
1484
|
-
structuredContent: {
|
|
1485
|
-
processed: string[];
|
|
1486
|
-
failures: {
|
|
1487
|
-
item: string;
|
|
1488
|
-
error: string;
|
|
1489
|
-
code?: string;
|
|
1490
|
-
}[];
|
|
1491
|
-
totalRequested: number;
|
|
1492
|
-
successCount: number;
|
|
1493
|
-
failureCount: number;
|
|
1494
|
-
};
|
|
1495
|
-
}>;
|
|
1496
|
-
};
|
|
1497
|
-
linkGoalTasks: {
|
|
1498
|
-
name: "link-goal-tasks";
|
|
1499
|
-
description: string;
|
|
1500
|
-
parameters: {
|
|
1501
|
-
goalId: import('zod').ZodString;
|
|
1502
|
-
taskIds: import('zod').ZodArray<import('zod').ZodString>;
|
|
1503
|
-
action: import('zod').ZodEnum<{
|
|
1504
|
-
link: "link";
|
|
1505
|
-
unlink: "unlink";
|
|
1506
|
-
}>;
|
|
1507
|
-
};
|
|
1508
|
-
outputSchema: {
|
|
1509
|
-
processed: import('zod').ZodArray<import('zod').ZodString>;
|
|
1510
|
-
failures: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1511
|
-
item: import('zod').ZodString;
|
|
1512
|
-
error: import('zod').ZodString;
|
|
1513
|
-
code: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1514
|
-
}, import('zod/v4/core').$strip>>;
|
|
1515
|
-
totalRequested: import('zod').ZodNumber;
|
|
1516
|
-
successCount: import('zod').ZodNumber;
|
|
1517
|
-
failureCount: import('zod').ZodNumber;
|
|
1518
|
-
};
|
|
1519
|
-
annotations: {
|
|
1520
|
-
readOnlyHint: false;
|
|
1521
|
-
destructiveHint: false;
|
|
1522
|
-
idempotentHint: true;
|
|
1523
|
-
};
|
|
1524
|
-
execute(args: {
|
|
1525
|
-
goalId: string;
|
|
1526
|
-
taskIds: string[];
|
|
1527
|
-
action: "link" | "unlink";
|
|
1528
|
-
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
1529
|
-
textContent: string;
|
|
1530
|
-
structuredContent: {
|
|
1531
|
-
processed: string[];
|
|
1532
|
-
failures: {
|
|
1533
|
-
item: string;
|
|
1534
|
-
error: string;
|
|
1535
|
-
code?: string;
|
|
1536
|
-
}[];
|
|
1537
|
-
totalRequested: number;
|
|
1538
|
-
successCount: number;
|
|
1539
|
-
failureCount: number;
|
|
1540
|
-
};
|
|
1541
|
-
}>;
|
|
1542
|
-
};
|
|
1543
1221
|
addComments: {
|
|
1544
1222
|
name: "add-comments";
|
|
1545
1223
|
description: string;
|
|
@@ -2947,7 +2625,6 @@ declare const tools: {
|
|
|
2947
2625
|
task: "task";
|
|
2948
2626
|
project: "project";
|
|
2949
2627
|
section: "section";
|
|
2950
|
-
goal: "goal";
|
|
2951
2628
|
location_reminder: "location_reminder";
|
|
2952
2629
|
}>;
|
|
2953
2630
|
id: import('zod').ZodString;
|
|
@@ -2962,7 +2639,6 @@ declare const tools: {
|
|
|
2962
2639
|
task: "task";
|
|
2963
2640
|
project: "project";
|
|
2964
2641
|
section: "section";
|
|
2965
|
-
goal: "goal";
|
|
2966
2642
|
location_reminder: "location_reminder";
|
|
2967
2643
|
}>;
|
|
2968
2644
|
id: import('zod').ZodString;
|
|
@@ -2975,13 +2651,13 @@ declare const tools: {
|
|
|
2975
2651
|
idempotentHint: true;
|
|
2976
2652
|
};
|
|
2977
2653
|
execute(args: {
|
|
2978
|
-
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
2654
|
+
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
2979
2655
|
id: string;
|
|
2980
2656
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
2981
2657
|
textContent: string;
|
|
2982
2658
|
structuredContent: {
|
|
2983
2659
|
deletedEntity: {
|
|
2984
|
-
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
2660
|
+
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
2985
2661
|
id: string;
|
|
2986
2662
|
};
|
|
2987
2663
|
success: true;
|
|
@@ -3321,5 +2997,5 @@ declare const tools: {
|
|
|
3321
2997
|
}>;
|
|
3322
2998
|
};
|
|
3323
2999
|
};
|
|
3324
|
-
export { addTasks, completeTasks, findTasks, findTasksByDate, findCompletedTasks, rescheduleTasks, addProjects, findProjects, analyzeProjectHealth, addSections, findSections,
|
|
3000
|
+
export { addTasks, completeTasks, findTasks, findTasksByDate, findCompletedTasks, rescheduleTasks, addProjects, findProjects, analyzeProjectHealth, addSections, findSections, addComments, findComments, addLabels, findLabels, updateLabels, addFilters, findFilters, findActivity, getProductivityStats, getProjectHealth, getProjectActivityStats, getWorkspaceInsights, findProjectCollaborators, manageAssignments, listWorkspaces, viewAttachment, deleteObject, getOverview, reorderObjects, userInfo, uncompleteTasks, updateComments, updateFilters, updateProjects, updateSections, updateTasks, search, fetch, getMcpServer, tools, FEATURE_NAMES, type Feature, type FeatureName, type Features, requireValidTodoistToken, type RequireValidTodoistTokenOptions, validateTodoistToken, };
|
|
3325
3001
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EACH,wBAAwB,EACxB,KAAK,+BAA+B,EACvC,MAAM,6CAA6C,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,EACH,wBAAwB,EACxB,KAAK,+BAA+B,EACvC,MAAM,6CAA6C,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDV,CAAA;AAED,OAAO,EAEH,QAAQ,EACR,aAAa,EACb,SAAS,EACT,eAAe,EACf,kBAAkB,EAClB,eAAe,EAEf,WAAW,EACX,YAAY,EACZ,oBAAoB,EAEpB,WAAW,EACX,YAAY,EAEZ,WAAW,EACX,YAAY,EAEZ,SAAS,EACT,UAAU,EACV,YAAY,EAEZ,UAAU,EACV,WAAW,EAEX,YAAY,EACZ,oBAAoB,EAEpB,gBAAgB,EAChB,uBAAuB,EACvB,oBAAoB,EAEpB,wBAAwB,EACxB,iBAAiB,EAEjB,cAAc,EAEd,cAAc,EAEd,YAAY,EACZ,WAAW,EACX,cAAc,EACd,QAAQ,EACR,eAAe,EACf,cAAc,EACd,aAAa,EACb,cAAc,EACd,cAAc,EACd,WAAW,EAEX,MAAM,EACN,KAAK,EAEL,YAAY,EACZ,KAAK,EACL,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEb,wBAAwB,EACxB,KAAK,+BAA+B,EAEpC,oBAAoB,GACvB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,38 +1,32 @@
|
|
|
1
|
-
import { f as s, s as a, l as e, m as t, a as o, u as d, r
|
|
2
|
-
import {
|
|
3
|
-
import { r as
|
|
4
|
-
const
|
|
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-D08HTKn7.js";
|
|
2
|
+
import { O as J, g as K } from "./mcp-server-D08HTKn7.js";
|
|
3
|
+
import { r as U, v as V } from "./require-valid-todoist-token-Dzd0ow_h.js";
|
|
4
|
+
const N = {
|
|
5
5
|
// Task management tools
|
|
6
|
-
addTasks:
|
|
7
|
-
completeTasks:
|
|
8
|
-
uncompleteTasks:
|
|
9
|
-
updateTasks:
|
|
10
|
-
findTasks:
|
|
11
|
-
findTasksByDate:
|
|
12
|
-
findCompletedTasks:
|
|
13
|
-
rescheduleTasks:
|
|
6
|
+
addTasks: B,
|
|
7
|
+
completeTasks: z,
|
|
8
|
+
uncompleteTasks: q,
|
|
9
|
+
updateTasks: M,
|
|
10
|
+
findTasks: I,
|
|
11
|
+
findTasksByDate: H,
|
|
12
|
+
findCompletedTasks: w,
|
|
13
|
+
rescheduleTasks: O,
|
|
14
14
|
// Project management tools
|
|
15
|
-
addProjects:
|
|
16
|
-
updateProjects:
|
|
17
|
-
findProjects:
|
|
15
|
+
addProjects: L,
|
|
16
|
+
updateProjects: E,
|
|
17
|
+
findProjects: x,
|
|
18
18
|
// Section management tools
|
|
19
|
-
addSections:
|
|
20
|
-
updateSections:
|
|
21
|
-
findSections:
|
|
22
|
-
// Goal management tools
|
|
23
|
-
findGoals: x,
|
|
24
|
-
addGoals: F,
|
|
25
|
-
updateGoals: G,
|
|
26
|
-
completeGoals: C,
|
|
27
|
-
linkGoalTasks: y,
|
|
19
|
+
addSections: F,
|
|
20
|
+
updateSections: C,
|
|
21
|
+
findSections: y,
|
|
28
22
|
// Comment management tools
|
|
29
|
-
addComments:
|
|
30
|
-
updateComments:
|
|
31
|
-
findComments:
|
|
23
|
+
addComments: S,
|
|
24
|
+
updateComments: A,
|
|
25
|
+
findComments: b,
|
|
32
26
|
// Attachment tools
|
|
33
|
-
viewAttachment:
|
|
27
|
+
viewAttachment: P,
|
|
34
28
|
// Label management tools
|
|
35
|
-
addLabels:
|
|
29
|
+
addLabels: h,
|
|
36
30
|
updateLabels: v,
|
|
37
31
|
findLabels: j,
|
|
38
32
|
// Filter management tools
|
|
@@ -43,14 +37,14 @@ const K = {
|
|
|
43
37
|
findActivity: k,
|
|
44
38
|
getProductivityStats: f,
|
|
45
39
|
// Health and insights tools
|
|
46
|
-
getProjectHealth:
|
|
47
|
-
getProjectActivityStats:
|
|
48
|
-
analyzeProjectHealth:
|
|
49
|
-
getWorkspaceInsights:
|
|
40
|
+
getProjectHealth: p,
|
|
41
|
+
getProjectActivityStats: m,
|
|
42
|
+
analyzeProjectHealth: l,
|
|
43
|
+
getWorkspaceInsights: c,
|
|
50
44
|
// General tools
|
|
51
45
|
getOverview: n,
|
|
52
|
-
deleteObject:
|
|
53
|
-
reorderObjects:
|
|
46
|
+
deleteObject: i,
|
|
47
|
+
reorderObjects: r,
|
|
54
48
|
userInfo: d,
|
|
55
49
|
// Assignment and collaboration tools
|
|
56
50
|
findProjectCollaborators: o,
|
|
@@ -62,53 +56,48 @@ const K = {
|
|
|
62
56
|
fetch: s
|
|
63
57
|
};
|
|
64
58
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
J as FEATURE_NAMES,
|
|
60
|
+
S as addComments,
|
|
67
61
|
u as addFilters,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
R as completeTasks,
|
|
76
|
-
r as deleteObject,
|
|
62
|
+
h as addLabels,
|
|
63
|
+
L as addProjects,
|
|
64
|
+
F as addSections,
|
|
65
|
+
B as addTasks,
|
|
66
|
+
l as analyzeProjectHealth,
|
|
67
|
+
z as completeTasks,
|
|
68
|
+
i as deleteObject,
|
|
77
69
|
s as fetch,
|
|
78
70
|
k as findActivity,
|
|
79
|
-
|
|
80
|
-
|
|
71
|
+
b as findComments,
|
|
72
|
+
w as findCompletedTasks,
|
|
81
73
|
g as findFilters,
|
|
82
|
-
x as findGoals,
|
|
83
74
|
j as findLabels,
|
|
84
75
|
o as findProjectCollaborators,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
x as findProjects,
|
|
77
|
+
y as findSections,
|
|
78
|
+
I as findTasks,
|
|
79
|
+
H as findTasksByDate,
|
|
80
|
+
K as getMcpServer,
|
|
90
81
|
n as getOverview,
|
|
91
82
|
f as getProductivityStats,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
y as linkGoalTasks,
|
|
83
|
+
m as getProjectActivityStats,
|
|
84
|
+
p as getProjectHealth,
|
|
85
|
+
c as getWorkspaceInsights,
|
|
96
86
|
e as listWorkspaces,
|
|
97
87
|
t as manageAssignments,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
88
|
+
r as reorderObjects,
|
|
89
|
+
U as requireValidTodoistToken,
|
|
90
|
+
O as rescheduleTasks,
|
|
101
91
|
a as search,
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
92
|
+
N as tools,
|
|
93
|
+
q as uncompleteTasks,
|
|
94
|
+
A as updateComments,
|
|
105
95
|
T as updateFilters,
|
|
106
|
-
G as updateGoals,
|
|
107
96
|
v as updateLabels,
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
97
|
+
E as updateProjects,
|
|
98
|
+
C as updateSections,
|
|
99
|
+
M as updateTasks,
|
|
111
100
|
d as userInfo,
|
|
112
|
-
|
|
113
|
-
|
|
101
|
+
V as validateTodoistToken,
|
|
102
|
+
P as viewAttachment
|
|
114
103
|
};
|
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 { StreamableHTTPServerTransport as S } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
5
5
|
import m from "express";
|
|
6
|
-
import { g as v } from "./mcp-server-
|
|
7
|
-
import { r as w } from "./require-valid-todoist-token-
|
|
6
|
+
import { g as v } from "./mcp-server-D08HTKn7.js";
|
|
7
|
+
import { r as w } from "./require-valid-todoist-token-Dzd0ow_h.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/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-D08HTKn7.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|