@todoist/mcp 15.2.1 → 16.1.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 +6 -6
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-CLrhTqvZ.js → mcp-server-ByH-_lOO.js} +1584 -1556
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-BznH7HWr.js → require-valid-todoist-token-D29OXQZl.js} +1 -1
- package/dist/tool-registry.d.ts +6 -6
- package/dist/tools/add-comments.d.ts.map +1 -1
- package/dist/tools/add-filters.d.ts.map +1 -1
- package/dist/tools/add-labels.d.ts.map +1 -1
- package/dist/tools/add-projects.d.ts.map +1 -1
- package/dist/tools/add-sections.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts.map +1 -1
- package/dist/tools/complete-tasks.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +2 -2
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/get-user-status.d.ts +2 -2
- package/dist/tools/get-workspace-insights.d.ts.map +1 -1
- package/dist/tools/import-project-template.d.ts.map +1 -1
- package/dist/tools/manage-assignments.d.ts.map +1 -1
- package/dist/tools/reorder-objects.d.ts.map +1 -1
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/set-user-status.d.ts +2 -2
- package/dist/tools/set-user-status.d.ts.map +1 -1
- package/dist/tools/uncomplete-tasks.d.ts.map +1 -1
- package/dist/tools/update-comments.d.ts.map +1 -1
- package/dist/tools/update-filters.d.ts.map +1 -1
- package/dist/tools/update-labels.d.ts.map +1 -1
- package/dist/tools/update-projects.d.ts.map +1 -1
- package/dist/tools/update-sections.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/tools/view-attachment.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +14 -0
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/labels.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +7 -0
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/user-status.d.ts +2 -2
- package/dist/utils/user-status.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/mcp-server.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/server';
|
|
2
2
|
import { McpServerOptions } from '@todoist/mcp-core/host';
|
|
3
3
|
import { FEATURE_NAMES, Feature, FeatureName, Features } from './mcp-helpers.js';
|
|
4
|
-
export declare const instructions = "\n## Todoist Task and Project Management Tools\n\nYou have access to comprehensive Todoist management tools for personal productivity and team collaboration. Use these tools to help users manage tasks, projects, sections, comments, and assignments effectively.\n\n### Core Capabilities:\n- Create, update, complete, and search tasks with rich metadata (priorities, due dates, durations, assignments)\n- Manage projects and sections with flexible organization\n- Handle comments and collaboration features\n- Bulk assignment operations for team workflows\n- Get overviews and insights about workload and progress\n\n### Choosing between tools\n\nWhat each tool does and how to fill its parameters is in the tool's own description and input schema. This section covers only what those cannot: which tool to reach for, and how tools relate to each other.\n\n**Dates**\n\n- To move a task to a different date or time use **reschedule-tasks**, never **update-tasks**. It also sets duration, for time-blocking. update-tasks replaces the whole due string, so it refuses a dueString on a recurring task unless replaceRecurrence is true.\n- Never send a task's existing projectId, sectionId or parentId back to **update-tasks** \u2014 those fields are treated as a move.\n- All dates respect the user's timezone.\n- Todoist apps only display task durations under 24 hours. A longer one (\"36h\") or a day-based one (\"3d\") is stored and reported faithfully, but the apps show the task as having no duration \u2014 only set one when the user explicitly asks for it.\n\n**Finding things**\n\n- For \"what did I complete?\", call **user-info** for the asker's user ID, then **find-activity** with objectType=\"task\", eventType=\"completed\", initiatorId, and dateFrom/dateTo. Without initiatorId the answer covers every collaborator. find-activity reports completion events, including each occurrence of a recurring task; **find-completed-tasks** lists completed tasks, which is not the same question.\n- To resolve a person's name or email to a user ID, or to answer \"who is X?\", use **find-project-collaborators** with just a searchTerm. It covers every shared project you can access plus yourself, so an empty result means they collaborate on none of them \u2014 not that they do not exist.\n- Before assigning work to someone, call **find-project-collaborators** again with the target projectId. Resolving an ID only proves they collaborate on *some* project you can see; assignment fails unless they collaborate on that one.\n- To find out whether a task hides subtasks, use **fetch-object** with includeChildren rather than a speculative **find-tasks** call.\n- Filter tasks by label **name**. Label IDs are only for **delete-object** and **update-labels**. Shared labels can be renamed but not recoloured, reordered or favourited.\n\n**Comments**\n\n- Comments notify only the people **add-comments** is handed. When a comment mentions someone, name them in `notifyUsers` \u2014 writing \"@Ana\" in the text notifies nobody. Omit `notifyUsers` to notify whoever the Todoist apps would, or pass `[\"none\"]` to stay silent.\n- Notification cannot be sent when editing a comment, only when adding one.\n\n**Deleting and archiving**\n\n- **delete-object** removes every object type; there is no per-type delete tool. Reminders use type \"reminder\", location reminders \"location_reminder\".\n- A workspace project must be archived with **project-management** before it can be deleted. A personal project can be deleted directly.\n\n**Templates**\n\n- Templates cannot be listed through this server, so only use an ID or URL the user gave you. To start a new project from one, call **add-projects** first and import into it. Imports write immediately and cannot be undone.\n\n**Project health**\n\n- Health data may be stale \u2014 check the isStale flag, and call **analyze-project-health** to refresh it before reading again.\n\n**Batches**\n\n- Prefer a batch tool over one call per item.\n- Where a batch tool returns per-item `failures` alongside successes, one failure does not undo the rest: never retry the whole batch, re-send only the items whose failure reason is fixable. **reschedule-tasks** is the exception \u2014 it has no per-item failures and throws if any task fails, so retry it as a whole.\n\
|
|
4
|
+
export declare const instructions = "\n## Todoist Task and Project Management Tools\n\nYou have access to comprehensive Todoist management tools for personal productivity and team collaboration. Use these tools to help users manage tasks, projects, sections, comments, and assignments effectively.\n\n### Core Capabilities:\n- Create, update, complete, and search tasks with rich metadata (priorities, due dates, durations, assignments)\n- Manage projects and sections with flexible organization\n- Handle comments and collaboration features\n- Bulk assignment operations for team workflows\n- Get overviews and insights about workload and progress\n\n### Choosing between tools\n\nWhat each tool does and how to fill its parameters is in the tool's own description and input schema. This section covers only what those cannot: which tool to reach for, and how tools relate to each other.\n\n**Dates**\n\n- To move a task to a different date or time use **reschedule-tasks**, never **update-tasks**. It also sets duration, for time-blocking. update-tasks replaces the whole due string, so it refuses a dueString on a recurring task unless replaceRecurrence is true.\n- Never send a task's existing projectId, sectionId or parentId back to **update-tasks** \u2014 those fields are treated as a move.\n- All dates respect the user's timezone.\n- Todoist apps only display task durations under 24 hours. A longer one (\"36h\") or a day-based one (\"3d\") is stored and reported faithfully, but the apps show the task as having no duration \u2014 only set one when the user explicitly asks for it.\n\n**Finding things**\n\n- For \"what did I complete?\", call **user-info** for the asker's user ID, then **find-activity** with objectType=\"task\", eventType=\"completed\", initiatorId, and dateFrom/dateTo. Without initiatorId the answer covers every collaborator. find-activity reports completion events, including each occurrence of a recurring task; **find-completed-tasks** lists completed tasks, which is not the same question.\n- To resolve a person's name or email to a user ID, or to answer \"who is X?\", use **find-project-collaborators** with just a searchTerm. It covers every shared project you can access plus yourself, so an empty result means they collaborate on none of them \u2014 not that they do not exist.\n- Before assigning work to someone, call **find-project-collaborators** again with the target projectId. Resolving an ID only proves they collaborate on *some* project you can see; assignment fails unless they collaborate on that one.\n- To find out whether a task hides subtasks, use **fetch-object** with includeChildren rather than a speculative **find-tasks** call.\n- Filter tasks by label **name**. Label IDs are only for **delete-object** and **update-labels**. Shared labels can be renamed but not recoloured, reordered or favourited.\n\n**Comments**\n\n- Comments notify only the people **add-comments** is handed. When a comment mentions someone, name them in `notifyUsers` \u2014 writing \"@Ana\" in the text notifies nobody. Omit `notifyUsers` to notify whoever the Todoist apps would, or pass `[\"none\"]` to stay silent.\n- Notification cannot be sent when editing a comment, only when adding one.\n\n**Deleting and archiving**\n\n- **delete-object** removes every object type; there is no per-type delete tool. Reminders use type \"reminder\", location reminders \"location_reminder\".\n- A workspace project must be archived with **project-management** before it can be deleted. A personal project can be deleted directly.\n\n**Templates**\n\n- Templates cannot be listed through this server, so only use an ID or URL the user gave you. To start a new project from one, call **add-projects** first and import into it. Imports write immediately and cannot be undone.\n\n**Project health**\n\n- Health data may be stale \u2014 check the isStale flag, and call **analyze-project-health** to refresh it before reading again.\n\n**Batches**\n\n- Prefer a batch tool over one call per item.\n- Where a batch tool returns per-item `failures` alongside successes, one failure does not undo the rest: never retry the whole batch, re-send only the items whose failure reason is fixable. **reschedule-tasks** is the exception \u2014 it has no per-item failures and throws if any task fails, so retry it as a whole.\n\nFor a productivity review, call **get-productivity-stats**, then find what the user completed as described under \"Finding things\".\n\nAlways provide clear, actionable task titles and descriptions. Use the overview tools to give users context about their workload and project status.\n";
|
|
5
5
|
/**
|
|
6
6
|
* Create the MCP server.
|
|
7
7
|
* @param token - The user's Todoist API token.
|
package/dist/mcp-server.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAMzB,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AACxD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAMzB,eAAO,MAAM,YAAY,y/IAyDxB,CAAA;AAgBD;;;;;;GAMG;AAEH,iBAAS,YAAY,CAAC,EAClB,KAAK,EACL,OAAO,EACP,QAAa,GAChB,EAAE,gBAAgB,GAAG;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aA+CA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/{require-valid-todoist-token-BznH7HWr.js → require-valid-todoist-token-D29OXQZl.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { validateBearerToken as _, createTokenVerdictCache as p, buildBearerChallenge as u } from "@todoist/mcp-core/host";
|
|
2
|
-
import { $ as v, a0 as A } from "./mcp-server-
|
|
2
|
+
import { $ as v, a0 as A } from "./mcp-server-ByH-_lOO.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/dist/tool-registry.d.ts
CHANGED
|
@@ -675,8 +675,8 @@ declare const toolRegistry: {
|
|
|
675
675
|
due: "due";
|
|
676
676
|
completion: "completion";
|
|
677
677
|
}>>;
|
|
678
|
-
since: import('zod').ZodOptional<import('zod').
|
|
679
|
-
until: import('zod').ZodOptional<import('zod').
|
|
678
|
+
since: import('zod').ZodOptional<import('zod').ZodISODate>;
|
|
679
|
+
until: import('zod').ZodOptional<import('zod').ZodISODate>;
|
|
680
680
|
workspaceId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
681
681
|
projectId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
682
682
|
sectionId: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -3801,7 +3801,7 @@ declare const toolRegistry: {
|
|
|
3801
3801
|
outputSchema: {
|
|
3802
3802
|
hasStatus: import('zod').ZodBoolean;
|
|
3803
3803
|
status: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
3804
|
-
message: import('zod').ZodString
|
|
3804
|
+
message: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3805
3805
|
emoji: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3806
3806
|
activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3807
3807
|
pauseNotifications: import('zod').ZodBoolean;
|
|
@@ -3818,9 +3818,9 @@ declare const toolRegistry: {
|
|
|
3818
3818
|
structuredContent: {
|
|
3819
3819
|
hasStatus: boolean;
|
|
3820
3820
|
status?: {
|
|
3821
|
-
message: string;
|
|
3822
3821
|
pauseNotifications: boolean;
|
|
3823
3822
|
pauseActivity: boolean;
|
|
3823
|
+
message?: string | undefined;
|
|
3824
3824
|
emoji?: string | undefined;
|
|
3825
3825
|
activeUntil?: string | undefined;
|
|
3826
3826
|
};
|
|
@@ -3841,7 +3841,7 @@ declare const toolRegistry: {
|
|
|
3841
3841
|
outputSchema: {
|
|
3842
3842
|
hasStatus: import('zod').ZodBoolean;
|
|
3843
3843
|
status: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
3844
|
-
message: import('zod').ZodString
|
|
3844
|
+
message: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3845
3845
|
emoji: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3846
3846
|
activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3847
3847
|
pauseNotifications: import('zod').ZodBoolean;
|
|
@@ -3866,9 +3866,9 @@ declare const toolRegistry: {
|
|
|
3866
3866
|
structuredContent: {
|
|
3867
3867
|
hasStatus: boolean;
|
|
3868
3868
|
status?: {
|
|
3869
|
-
message: string;
|
|
3870
3869
|
pauseNotifications: boolean;
|
|
3871
3870
|
pauseActivity: boolean;
|
|
3871
|
+
message?: string | undefined;
|
|
3872
3872
|
emoji?: string | undefined;
|
|
3873
3873
|
activeUntil?: string | undefined;
|
|
3874
3874
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,UAAU,EAAE,MAAM,cAAc,CAAA;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,UAAU,EAAE,MAAM,cAAc,CAAA;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8DvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyFqB,MAAM;uBAAS,MAAM;;;;;;;CAqCI,CAAA;AAmG/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-filters.d.ts","sourceRoot":"","sources":["../../src/tools/add-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-filters.d.ts","sourceRoot":"","sources":["../../src/tools/add-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiDvB,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCsB,MAAM;uBAAS,MAAM;;;;;;;CAqDI,CAAA;AAE/D,OAAO,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-labels.d.ts","sourceRoot":"","sources":["../../src/tools/add-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-labels.d.ts","sourceRoot":"","sources":["../../src/tools/add-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwCvB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAeuB,MAAM;uBAAS,MAAM;;;;;;;CA6BI,CAAA;AAkB/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmEvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkDqB,MAAM;uBAAS,MAAM;;;;;;;CA8BI,CAAA;AA2E/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-sections.d.ts","sourceRoot":"","sources":["../../src/tools/add-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"add-sections.d.ts","sourceRoot":"","sources":["../../src/tools/add-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgDvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCqB,MAAM;uBAAS,MAAM;;;;;;;CA6BI,CAAA;AAsB/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwBvB,QAAA,MAAM,uBAAuB,IAAkC,CAAA;
|
|
1
|
+
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,cAAc,CAAA;AACjE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwBvB,QAAA,MAAM,uBAAuB,IAAkC,CAAA;AAgE/D,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA+DwB,MAAM;uBAAS,MAAM;;;;;;;CAyCI,CAAA;AA0L/D,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAQmB,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;CAoCX,CAAA;AAoB/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -12,8 +12,8 @@ declare const findCompletedTasks: {
|
|
|
12
12
|
due: "due";
|
|
13
13
|
completion: "completion";
|
|
14
14
|
}>>;
|
|
15
|
-
since: z.ZodOptional<z.
|
|
16
|
-
until: z.ZodOptional<z.
|
|
15
|
+
since: z.ZodOptional<z.ZodISODate>;
|
|
16
|
+
until: z.ZodOptional<z.ZodISODate>;
|
|
17
17
|
workspaceId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
projectId: z.ZodOptional<z.ZodString>;
|
|
19
19
|
sectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4GvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgHuC,CAAA;AAgG/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -5,7 +5,7 @@ declare const getUserStatus: {
|
|
|
5
5
|
outputSchema: {
|
|
6
6
|
hasStatus: import('zod').ZodBoolean;
|
|
7
7
|
status: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
8
|
-
message: import('zod').ZodString
|
|
8
|
+
message: import('zod').ZodOptional<import('zod').ZodString>;
|
|
9
9
|
emoji: import('zod').ZodOptional<import('zod').ZodString>;
|
|
10
10
|
activeUntil: import('zod').ZodOptional<import('zod').ZodString>;
|
|
11
11
|
pauseNotifications: import('zod').ZodBoolean;
|
|
@@ -22,9 +22,9 @@ declare const getUserStatus: {
|
|
|
22
22
|
structuredContent: {
|
|
23
23
|
hasStatus: boolean;
|
|
24
24
|
status?: {
|
|
25
|
-
message: string;
|
|
26
25
|
pauseNotifications: boolean;
|
|
27
26
|
pauseActivity: boolean;
|
|
27
|
+
message?: string | undefined;
|
|
28
28
|
emoji?: string | undefined;
|
|
29
29
|
activeUntil?: string | undefined;
|
|
30
30
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace-insights.d.ts","sourceRoot":"","sources":["../../src/tools/get-workspace-insights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"get-workspace-insights.d.ts","sourceRoot":"","sources":["../../src/tools/get-workspace-insights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmDvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDqC,CAAA;AAE/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -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;
|
|
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;AAiED,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8CoC,CAAA;AAsB/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"manage-assignments.d.ts","sourceRoot":"","sources":["../../src/tools/manage-assignments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4CvB,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAA;AA+BD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0RwC,CAAA;AAuF/D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reorder-objects.d.ts","sourceRoot":"","sources":["../../src/tools/reorder-objects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,UAAU,EAAE,MAAM,cAAc,CAAA;AAE7E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"reorder-objects.d.ts","sourceRoot":"","sources":["../../src/tools/reorder-objects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiC,UAAU,EAAE,MAAM,cAAc,CAAA;AAE7E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA6DvB,KAAK,OAAO,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAM9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE2C,CAAA;AAiR/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,IAAI,EAAkB,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,IAAI,EAAkB,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+G0C,CAAA;AA4B/D,iBAAS,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAU7F;AAED,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -13,7 +13,7 @@ declare const setUserStatus: {
|
|
|
13
13
|
outputSchema: {
|
|
14
14
|
hasStatus: z.ZodBoolean;
|
|
15
15
|
status: z.ZodOptional<z.ZodObject<{
|
|
16
|
-
message: z.ZodString
|
|
16
|
+
message: z.ZodOptional<z.ZodString>;
|
|
17
17
|
emoji: z.ZodOptional<z.ZodString>;
|
|
18
18
|
activeUntil: z.ZodOptional<z.ZodString>;
|
|
19
19
|
pauseNotifications: z.ZodBoolean;
|
|
@@ -38,9 +38,9 @@ declare const setUserStatus: {
|
|
|
38
38
|
structuredContent: {
|
|
39
39
|
hasStatus: boolean;
|
|
40
40
|
status?: {
|
|
41
|
-
message: string;
|
|
42
41
|
pauseNotifications: boolean;
|
|
43
42
|
pauseActivity: boolean;
|
|
43
|
+
message?: string | undefined;
|
|
44
44
|
emoji?: string | undefined;
|
|
45
45
|
activeUntil?: string | undefined;
|
|
46
46
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-user-status.d.ts","sourceRoot":"","sources":["../../src/tools/set-user-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"set-user-status.d.ts","sourceRoot":"","sources":["../../src/tools/set-user-status.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqKvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDsD,CAAA;AAEzE,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uncomplete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/uncomplete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"uncomplete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/uncomplete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyBvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAQiB,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;CAoCX,CAAA;AAqB/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuCvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAoBkB,MAAM;uBAAS,MAAM;;;;;;;;CAkCI,CAAA;AAqB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-filters.d.ts","sourceRoot":"","sources":["../../src/tools/update-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-filters.d.ts","sourceRoot":"","sources":["../../src/tools/update-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsEvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqDmB,MAAM;uBAAS,MAAM;;;;;;;;;CA8DI,CAAA;AAqD/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-labels.d.ts","sourceRoot":"","sources":["../../src/tools/update-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-labels.d.ts","sourceRoot":"","sources":["../../src/tools/update-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8EvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqCoB,MAAM;uBAAS,MAAM;;;;;;;;;;CAkEI,CAAA;AAiD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-projects.d.ts","sourceRoot":"","sources":["../../src/tools/update-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-projects.d.ts","sourceRoot":"","sources":["../../src/tools/update-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4DvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCkB,MAAM;uBAAS,MAAM;;;;;;;;;CA8CI,CAAA;AA4C/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sections.d.ts","sourceRoot":"","sources":["../../src/tools/update-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-sections.d.ts","sourceRoot":"","sources":["../../src/tools/update-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0DvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA2BkB,MAAM;uBAAS,MAAM;;;;;;;;CAkCI,CAAA;AAsB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoC,UAAU,EAAkB,MAAM,cAAc,CAAA;AAChG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAoC,UAAU,EAAkB,MAAM,cAAc,CAAA;AAChG,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkMvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAiOW,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;;;;CARD,CAAA;AA0f/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-attachment.d.ts","sourceRoot":"","sources":["../../src/tools/view-attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"view-attachment.d.ts","sourceRoot":"","sources":["../../src/tools/view-attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiGvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAuEsB,CAAA;AAE1C,OAAO,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -45,6 +45,8 @@ export declare const ApiLimits: {
|
|
|
45
45
|
readonly REMINDERS_DEFAULT: 50;
|
|
46
46
|
/** Maximum limit for reminder search operations */
|
|
47
47
|
readonly REMINDERS_MAX: 200;
|
|
48
|
+
/** Maximum values in one list-valued filter parameter, such as labels or project IDs */
|
|
49
|
+
readonly FILTER_VALUES_MAX: 50;
|
|
48
50
|
};
|
|
49
51
|
export declare const DisplayLimits: {
|
|
50
52
|
/** Maximum number of failures to show in detailed error messages */
|
|
@@ -59,6 +61,18 @@ export declare const LogLimits: {
|
|
|
59
61
|
export declare const BatchLimits: {
|
|
60
62
|
/** Maximum tasks accepted by one task create or update operation */
|
|
61
63
|
readonly TASKS_PER_OPERATION: 25;
|
|
64
|
+
/** Maximum projects, sections, comments, labels or filters created or updated by one call */
|
|
65
|
+
readonly ITEMS_PER_OPERATION: 25;
|
|
66
|
+
/**
|
|
67
|
+
* Maximum existing objects one bulk action takes by ID, such as completing,
|
|
68
|
+
* rescheduling, reordering or assigning. A sync-backed reschedule sends one
|
|
69
|
+
* command per task, which keeps it under the Sync API's 100 commands per
|
|
70
|
+
* request. A reorder is not bounded that way: it can rekey every sibling of
|
|
71
|
+
* the objects it moves, so its command count depends on the sibling list.
|
|
72
|
+
*/
|
|
73
|
+
readonly BULK_ACTIONS_PER_OPERATION: 50;
|
|
74
|
+
/** Maximum labels set on one task by one call */
|
|
75
|
+
readonly LABELS_PER_TASK: 50;
|
|
62
76
|
};
|
|
63
77
|
export declare const ConcurrencyLimits: {
|
|
64
78
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,gCAAgC;AAChC,eAAO,MAAM,WAAW,QAAiB,CAAA;AACzC,2CAA2C;AAC3C,eAAO,MAAM,WAAW,QAAyB,CAAA;AAGjD,eAAO,MAAM,SAAS;IAClB,sCAAsC;;IAEtC,wDAAwD;;IAExD,wCAAwC;;IAExC,wCAAwC;;IAExC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,qDAAqD;;IAErD,iGAAiG;;IAEjG,yCAAyC;;IAEzC,2DAA2D;;IAE3D,0DAA0D;;IAE1D,8CAA8C;;IAE9C,gEAAgE;;IAEhE,uCAAuC;;IAEvC,uCAAuC;;IAEvC,0CAA0C;;IAE1C,mDAAmD;;
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,gCAAgC;AAChC,eAAO,MAAM,WAAW,QAAiB,CAAA;AACzC,2CAA2C;AAC3C,eAAO,MAAM,WAAW,QAAyB,CAAA;AAGjD,eAAO,MAAM,SAAS;IAClB,sCAAsC;;IAEtC,wDAAwD;;IAExD,wCAAwC;;IAExC,wCAAwC;;IAExC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,qDAAqD;;IAErD,iGAAiG;;IAEjG,yCAAyC;;IAEzC,2DAA2D;;IAE3D,0DAA0D;;IAE1D,8CAA8C;;IAE9C,gEAAgE;;IAEhE,uCAAuC;;IAEvC,uCAAuC;;IAEvC,0CAA0C;;IAE1C,mDAAmD;;IAEnD,wFAAwF;;CAElF,CAAA;AAGV,eAAO,MAAM,aAAa;IACtB,oEAAoE;;IAEpE,gDAAgD;;CAE1C,CAAA;AAGV,eAAO,MAAM,SAAS;IAClB,2DAA2D;;CAErD,CAAA;AAGV,eAAO,MAAM,WAAW;IACpB,oEAAoE;;IAEpE,6FAA6F;;IAE7F;;;;;;OAMG;;IAEH,iDAAiD;;CAE3C,CAAA;AAYV,eAAO,MAAM,iBAAiB;IAC1B;;;;;;;;;OASG;;IAEH,kEAAkE;;IAElE;;;;;;;OAOG;;CAEG,CAAA;AAGV,eAAO,MAAM,cAAc;IACvB,oDAAoD;;IAEpD,mCAAmC;;CAE7B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"labels.d.ts","sourceRoot":"","sources":["../../src/utils/labels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,QAAA,MAAM,gBAAgB,wBAAyB,CAAA;AAC/C,KAAK,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAA;AAEvD,eAAO,MAAM,YAAY;;;;;;CAaxB,CAAA;AAED,wBAAgB,oBAAoB,CAAC,MAAM,GAAE,MAAM,EAAO,EAAE,cAAc,GAAE,cAAqB,UAOhG"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CurrentUser, Filter, Label, PersonalProject, Section, SyncCommand, Task, TodoistApi, Workspace, WorkspaceProject, WorkspaceProjectSummary } from '@todoist/sdk';
|
|
2
2
|
import { Mocked } from 'vitest';
|
|
3
|
+
import { z } from 'zod';
|
|
3
4
|
import { MappedTask } from '../tool-helpers';
|
|
4
5
|
import { Priority } from './priorities';
|
|
5
6
|
type TaskWithUserFacingPriority = Omit<Task, 'priority'> & {
|
|
@@ -69,6 +70,12 @@ export declare function createMappedTask(overrides?: Partial<MappedTask>): Mappe
|
|
|
69
70
|
/**
|
|
70
71
|
* Common error messages used across tests.
|
|
71
72
|
*/
|
|
73
|
+
/**
|
|
74
|
+
* The `pattern` a tool advertises for one of its string parameters, as a
|
|
75
|
+
* client reads it from the JSON Schema. Throws when the parameter has none, so
|
|
76
|
+
* a test that relies on the pattern cannot pass by matching everything.
|
|
77
|
+
*/
|
|
78
|
+
export declare function getAdvertisedPattern(parameters: z.ZodRawShape, property: string): RegExp;
|
|
72
79
|
export declare const TEST_ERRORS: {
|
|
73
80
|
readonly API_RATE_LIMIT: "API Error: Rate limit exceeded";
|
|
74
81
|
readonly API_UNAUTHORIZED: "API Error: Unauthorized";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,MAAM,EACN,KAAK,EACL,eAAe,EACf,OAAO,EACP,WAAW,EACX,IAAI,EACJ,UAAU,EACV,SAAS,EACT,gBAAgB,EAChB,uBAAuB,EAC1B,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAA2B,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAErE,KAAK,0BAA0B,GAAG,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG;IACvD,QAAQ,EAAE,QAAQ,CAAA;CACrB,CAAA;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,EAC3B,QAAe,EACf,GAAG,SAAS,EACf,GAAE,OAAO,CAAC,0BAA0B,CAAM,GAAG,IAAI,CA6BjD;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,OAAO,CAAC,OAAO,CAAM,GAAG,OAAO,CAiB3E;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,GAAE,OAAO,CAAC,eAAe,CAAM,GAAG,eAAe,CAuB3F;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACtC,SAAS,GAAE,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
|
3
3
|
declare const StatusOutputSchema: z.ZodObject<{
|
|
4
|
-
message: z.ZodString
|
|
4
|
+
message: z.ZodOptional<z.ZodString>;
|
|
5
5
|
emoji: z.ZodOptional<z.ZodString>;
|
|
6
6
|
activeUntil: z.ZodOptional<z.ZodString>;
|
|
7
7
|
pauseNotifications: z.ZodBoolean;
|
|
@@ -10,7 +10,7 @@ declare const StatusOutputSchema: z.ZodObject<{
|
|
|
10
10
|
declare const UserStatusOutputSchema: {
|
|
11
11
|
hasStatus: z.ZodBoolean;
|
|
12
12
|
status: z.ZodOptional<z.ZodObject<{
|
|
13
|
-
message: z.ZodString
|
|
13
|
+
message: z.ZodOptional<z.ZodString>;
|
|
14
14
|
emoji: z.ZodOptional<z.ZodString>;
|
|
15
15
|
activeUntil: z.ZodOptional<z.ZodString>;
|
|
16
16
|
pauseNotifications: z.ZodBoolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user-status.d.ts","sourceRoot":"","sources":["../../src/utils/user-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,QAAA,MAAM,kBAAkB;;;;;;iBAMtB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;CAG3B,CAAA;AAED,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEtD,KAAK,oBAAoB,GAAG;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;CACxB,CAAA;AAUD,gFAAgF;AAChF,iBAAe,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAK7E;AAaD,iBAAS,qBAAqB,CAC1B,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,OAAO,EAAE,MAAM,GAChB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,oBAAoB,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"user-status.d.ts","sourceRoot":"","sources":["../../src/utils/user-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgB,UAAU,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACxE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAGvB,QAAA,MAAM,kBAAkB;;;;;;iBAMtB,CAAA;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;;CAG3B,CAAA;AAED,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEtD,KAAK,oBAAoB,GAAG;IACxB,SAAS,EAAE,OAAO,CAAA;IAClB,MAAM,CAAC,EAAE,YAAY,CAAA;CACxB,CAAA;AAUD,gFAAgF;AAChF,iBAAe,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CAK7E;AAaD,iBAAS,qBAAqB,CAC1B,MAAM,EAAE,UAAU,GAAG,IAAI,EACzB,OAAO,EAAE,MAAM,GAChB;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,iBAAiB,EAAE,oBAAoB,CAAA;CAAE,CAwBlE;AAED,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,sBAAsB,EAAE,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todoist/mcp",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.1.0",
|
|
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": "
|
|
71
|
+
"@todoist/sdk": "21.1.0",
|
|
72
72
|
"date-fns": "4.1.0",
|
|
73
73
|
"dompurify": "3.3.3",
|
|
74
74
|
"dotenv": "17.3.1",
|