@doist/todoist-mcp 10.4.2 → 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 +15 -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-Q106qiDw.js → mcp-server-D08HTKn7.js} +1836 -2169
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-CgDIhI0W.js → require-valid-todoist-token-Dzd0ow_h.js} +7 -7
- package/dist/tool-helpers.d.ts +4 -23
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-tasks.d.ts +2 -0
- package/dist/tools/add-tasks.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 +3 -39
- package/dist/tools/fetch-object.d.ts.map +1 -1
- package/dist/tools/find-completed-tasks.d.ts +2 -0
- package/dist/tools/find-completed-tasks.d.ts.map +1 -1
- package/dist/tools/find-tasks-by-date.d.ts +2 -0
- package/dist/tools/find-tasks-by-date.d.ts.map +1 -1
- package/dist/tools/find-tasks.d.ts +2 -0
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/reschedule-tasks.d.ts +2 -0
- package/dist/tools/reschedule-tasks.d.ts.map +1 -1
- package/dist/tools/update-tasks.d.ts +2 -0
- package/dist/tools/update-tasks.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 +2 -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/mcp-server.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
2
2
|
import { FEATURE_NAMES, Feature, FeatureName, Features } from './mcp-helpers.js';
|
|
3
|
-
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### Tool Usage Guidelines:\n\n**Task Management:**\n- **add-tasks**: Create tasks (max 25 per call) with content, description, priority (`p1`, `p2`, `p3`, `p4` strings only; `p1` highest and `p4` lowest/default; integers are not accepted), dueString (natural language like \"tomorrow\", \"next Friday\", \"2024-12-25\"), deadlineDate (ISO 8601 format like \"2025-12-31\" for immovable constraints), duration (formats like \"2h\", \"90m\", \"2h30m\"), and assignments to project collaborators\n- **update-tasks**: Modify existing tasks - get task IDs from search results first, only include fields that need changes. Supports priority updates using `p1`/`p2`/`p3`/`p4` string values (`p1` highest, `p4` lowest/default; integers are not accepted), due date updates via dueString and due date removal via \"dueString: remove\", plus deadlineDate (ISO 8601 format like \"2025-12-31\") updates and removals via \"deadlineDate: remove\". **IMPORTANT: Do NOT use update-tasks to reschedule/move task dates \u2014 use reschedule-tasks instead.** update-tasks replaces the entire due string which destroys recurrence patterns on recurring tasks.\n- **reschedule-tasks**: **Always use this tool when moving/rescheduling task due dates to a different date.** This tool preserves recurring schedules and existing time-of-day. Accepts YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Works for both recurring and non-recurring tasks. Do NOT use update-tasks for rescheduling.\n- **complete-tasks**: Mark tasks as done using task IDs\n- **uncomplete-tasks**: Reopen completed tasks using task IDs\n- **find-tasks**: Search by text, project/section/parent container, responsible user, labels, a raw Todoist `filter` string (e.g. \"today\", \"p1\", \"##Work\", \"(today | overdue) & p1\"), or a saved filter by ID or name (`filterIdOrName`). Requires at least one search parameter. `filter`/`filterIdOrName` cannot be combined with projectId/sectionId/parentId, and `filter` and `filterIdOrName` are mutually exclusive.\n- **find-tasks-by-date**: Get tasks by date range (startDate: YYYY-MM-DD or 'today' which includes overdue tasks) or specific day counts\n- **find-completed-tasks**: View completed tasks by completion date or original due date; if since/until are omitted, defaults to the last 7 days (returns all collaborators unless filtered)\n\n**Project & Organization:**\n- **add-projects/update-projects/find-projects**: Manage project lifecycle with names, descriptions (Markdown), favorites, view styles (list/board/calendar), and workspace assignment for new projects (by name or ID). find-projects returns active projects by default; pass archivedStatus ('archived' or 'all') to include archived projects. Every returned project includes an isArchived field\n- **project-management**: Archive or unarchive projects by ID\n- To delete a project (active or archived), use **delete-object** with type \"project\". Note: workspace projects must be archived first; personal projects can be deleted regardless\n- **project-move**: Move projects between personal and workspace contexts\n- **add-sections/update-sections/find-sections**: Organize tasks within projects using sections\n- **find-goals/add-goals/update-goals**: Manage goals (personal or workspace). Goals track progress via linked tasks\n- **complete-goals**: Complete or uncomplete goals by ID\n- **link-goal-tasks**: Link or unlink tasks to/from a goal\n- **get-overview**: Get comprehensive Markdown overview of entire account or specific project with task hierarchies. Project data includes parentId (sub-projects), folderId (workspace folder membership), and childOrder (sibling ordering)\n- **list-workspaces**: Get all workspaces for the user with details like plan type, role, and settings\n\n**Reminders:**\n- **add-reminders**: Create reminders for tasks. Three types: \"relative\" (minutes before due), \"absolute\" (specific date/time), or \"location\" (geofence-triggered). Each reminder must specify a taskId.\n- **find-reminders**: Find reminders by task ID (returns both time-based and location reminders), or get a specific reminder by ID (use reminderId for time-based, locationReminderId for location-based).\n- **update-reminders**: Update existing reminders. Must specify the reminder type (\"relative\", \"absolute\", or \"location\") and ID.\n- Relative and absolute reminders support an **isUrgent** flag to mark a reminder as urgent.\n- Reminders can be deleted using **delete-object** with type \"reminder\" (time-based) or \"location_reminder\" (location-based).\n\n**Collaboration & Comments:**\n- **add-comments/update-comments/find-comments**: Manage task and project discussions\n- **view-attachment**: View file attachments from comments. Pass the fileUrl from a comment's fileAttachment. Returns images inline, text files as text, and binary files as embedded resources.\n- **find-project-collaborators**: Look up Todoist users (collaborators, teammates) by name or email to get their user ID \u2014 use for \"find/who is X\" questions or any time you need to resolve a person's name to an ID. By default searches collaborators of every shared project the authenticated user can access (plus the authenticated user themselves). An empty result means the person is not a collaborator on any shared project, not that they do not exist. Pass projectId to scope to a single project\n- **manage-assignments**: Bulk assign/unassign/reassign up to 50 tasks with atomic operations and dry-run validation\n\n**Filters:**\n- **find-filters**: List all personal filters or search by name; filters are saved task views using query syntax\n- **add-filters**: Create personal filters with name, query (e.g. \"today & p1\"), color, and favorite flag\n- **update-filters**: Modify existing filters' name, query, color, or favorite status\n\n**Activity & Audit:**\n- **find-activity**: Retrieve recent activity logs to monitor and audit changes. Shows events from all users by default; use initiatorId to filter by specific user. Filter by object type (task/project/comment), event type (added/updated/deleted/completed/uncompleted/archived/unarchived/shared/left), and specific objects (objectId, projectId, taskId). Useful for tracking who did what and when. Note: Date-based filtering is not supported.\n- **get-productivity-stats**: Get comprehensive productivity statistics including daily/weekly completion breakdowns, goal streaks (current, last, max), karma score and trends, and historical karma data. No parameters required.\n\n**Project Health & Insights:**\n- **get-project-health**: Get comprehensive health assessment for a project including completion progress (completed/active counts, percentage), health status (EXCELLENT/ON_TRACK/AT_RISK/CRITICAL), description, and task-level recommendations. Use includeContext=true for detailed metrics (overdue tasks, weekly activity, avg completion time) and full task data. Health data may be stale \u2014 check isStale flag.\n- **get-project-activity-stats**: Get daily and optional weekly activity statistics for a project over a configurable time window (1-12 weeks). Useful for identifying activity trends.\n- **analyze-project-health**: Trigger a new health analysis for a project. Use when health data is stale. The analysis may take time \u2014 use get-project-health afterward to see updated results.\n- **get-workspace-insights**: Get aggregated health and progress insights across all projects in a workspace. Accepts workspace name or ID, with optional project ID filtering.\n\n**General Operations:**\n- **delete-object**: Remove projects, sections, tasks, comments, labels, filters, reminders, or location reminders by type and ID. Deletes both active and archived projects (workspace projects must be archived first; use find-projects with archivedStatus to locate archived projects)\n- **fetch-object**: Fetch a single task, project, comment, or section by its ID\n- **reorder-objects**: Reorder sibling projects or sections, and optionally move projects to a new parent. For projects: set order to reorder siblings, and/or set parentId to move under a new parent (use \"root\" for top level). For sections: set order to reorder within a project\n- **user-info**: Get user details including timezone, goals, and plan information\n\n### Best Practices:\n\n1. **Task Creation**: Write clear, actionable task titles. Use natural language for due dates (\"tomorrow\", \"next Monday\"). Set appropriate priorities and include detailed descriptions when needed.\n\n2. **Search Strategy**: Use specific search queries combining multiple filters for precise results. When searching for tasks, start with broader queries and narrow down as needed.\n\n3. **Assignments & user lookup**: Always validate project collaborators exist before assigning tasks. Use find-project-collaborators to verify user access. Also use find-project-collaborators (with just a searchTerm and no projectId) to resolve a user's ID whenever the user references a person by name or email \u2014 it searches collaborators of all shared projects you can access, plus yourself.\n\n4. **Bulk Operations**: When working with multiple items, prefer bulk tools (complete-tasks, manage-assignments) over individual operations for better performance.\n\n5. **Date Handling**: All dates respect user timezone settings. Use 'today' keyword for dynamic date filtering (includes overdue tasks). **When rescheduling/moving tasks to a different date, always use reschedule-tasks** \u2014 never update-tasks with dueString, as that destroys recurrence on recurring tasks.\n\n6. **Labels**: Use label filtering with AND/OR operators for advanced task organization. Most search tools support labels parameter. Use **find-labels** to discover personal and shared labels \u2014 use label **names** (not IDs) when filtering tasks, and use label **IDs** only with **delete-object** and **update-labels** (for personal label updates). Use **add-labels** to create new personal labels. Use **update-labels** to rename or recolor personal labels (by ID), or to rename shared labels (by name) \u2014 note that shared labels support renaming only, not color/order/favorite changes.\n\n7. **Pagination**: Large result sets use cursor-based pagination. Use limit parameter to control result size (default varies by tool).\n\n8. **Error Handling**: All tools provide detailed error messages and next-step suggestions. Pay attention to validation feedback for corrective actions.\n\n### Common Workflows:\n\n- **Daily Planning**: Use find-tasks-by-date with 'today' and get-overview for project status\n- **Team Assignment**: find-project-collaborators \u2192 add-tasks with responsibleUser \u2192 manage-assignments for bulk changes\n- **User Lookup**: find-project-collaborators with just a searchTerm (no projectId) to resolve a name or email to a Todoist user ID across all shared-project collaborators you can access\n- **Task Search**: find-tasks with multiple filters \u2192 update-tasks or complete-tasks based on results\n- **Project Organization**: add-projects \u2192 add-sections \u2192 add-tasks with projectId and sectionId\n- **Progress Reviews**: find-completed-tasks (defaults to last 7 days; optionally use explicit date ranges) \u2192 get-overview for project summaries\n- **Activity Auditing**: find-activity with event/object filters to track changes, monitor team activity, or investigate specific actions\n- **Productivity Analysis**: Use the productivity-analysis prompt for comprehensive analysis combining user-info, get-productivity-stats, and find-completed-tasks data into actionable insights\n- **Project Health Reviews**: get-project-health \u2192 analyze-project-health if stale \u2192 get-project-health with includeContext=true for detailed metrics \u2192 get-workspace-insights for cross-project overview\n\nAlways provide clear, actionable task titles and descriptions. Use the overview tools to give users context about their workload and project status.\n";
|
|
3
|
+
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### Tool Usage Guidelines:\n\n**Task Management:**\n- **add-tasks**: Create tasks (max 25 per call) with content, description, priority (`p1`, `p2`, `p3`, `p4` strings only; `p1` highest and `p4` lowest/default; integers are not accepted), dueString (natural language like \"tomorrow\", \"next Friday\", \"2024-12-25\"), deadlineDate (ISO 8601 format like \"2025-12-31\" for immovable constraints), duration (formats like \"2h\", \"90m\", \"2h30m\"), and assignments to project collaborators\n- **update-tasks**: Modify existing tasks - get task IDs from search results first, only include fields that need changes. Supports priority updates using `p1`/`p2`/`p3`/`p4` string values (`p1` highest, `p4` lowest/default; integers are not accepted), due date updates via dueString and due date removal via \"dueString: remove\", plus deadlineDate (ISO 8601 format like \"2025-12-31\") updates and removals via \"deadlineDate: remove\". **IMPORTANT: Do NOT use update-tasks to reschedule/move task dates \u2014 use reschedule-tasks instead.** update-tasks replaces the entire due string which destroys recurrence patterns on recurring tasks.\n- **reschedule-tasks**: **Always use this tool when moving/rescheduling task due dates to a different date.** This tool preserves recurring schedules and existing time-of-day. Accepts YYYY-MM-DD or YYYY-MM-DDTHH:MM:SS. Works for both recurring and non-recurring tasks. Do NOT use update-tasks for rescheduling.\n- **complete-tasks**: Mark tasks as done using task IDs\n- **uncomplete-tasks**: Reopen completed tasks using task IDs\n- **find-tasks**: Search by text, project/section/parent container, responsible user, labels, a raw Todoist `filter` string (e.g. \"today\", \"p1\", \"##Work\", \"(today | overdue) & p1\"), or a saved filter by ID or name (`filterIdOrName`). Requires at least one search parameter. `filter`/`filterIdOrName` cannot be combined with projectId/sectionId/parentId, and `filter` and `filterIdOrName` are mutually exclusive.\n- **find-tasks-by-date**: Get tasks by date range (startDate: YYYY-MM-DD or 'today' which includes overdue tasks) or specific day counts\n- **find-completed-tasks**: View completed tasks by completion date or original due date; if since/until are omitted, defaults to the last 7 days (returns all collaborators unless filtered)\n\n**Project & Organization:**\n- **add-projects/update-projects/find-projects**: Manage project lifecycle with names, descriptions (Markdown), favorites, view styles (list/board/calendar), and workspace assignment for new projects (by name or ID). find-projects returns active projects by default; pass archivedStatus ('archived' or 'all') to include archived projects. Every returned project includes an isArchived field\n- **project-management**: Archive or unarchive projects by ID\n- To delete a project (active or archived), use **delete-object** with type \"project\". Note: workspace projects must be archived first; personal projects can be deleted regardless\n- **project-move**: Move projects between personal and workspace contexts\n- **add-sections/update-sections/find-sections**: Organize tasks within projects using sections\n- **get-overview**: Get comprehensive Markdown overview of entire account or specific project with task hierarchies. Project data includes parentId (sub-projects), folderId (workspace folder membership), and childOrder (sibling ordering)\n- **list-workspaces**: Get all workspaces for the user with details like plan type, role, and settings\n\n**Reminders:**\n- **add-reminders**: Create reminders for tasks. Three types: \"relative\" (minutes before due), \"absolute\" (specific date/time), or \"location\" (geofence-triggered). Each reminder must specify a taskId.\n- **find-reminders**: Find reminders by task ID (returns both time-based and location reminders), or get a specific reminder by ID (use reminderId for time-based, locationReminderId for location-based).\n- **update-reminders**: Update existing reminders. Must specify the reminder type (\"relative\", \"absolute\", or \"location\") and ID.\n- Relative and absolute reminders support an **isUrgent** flag to mark a reminder as urgent.\n- Reminders can be deleted using **delete-object** with type \"reminder\" (time-based) or \"location_reminder\" (location-based).\n\n**Collaboration & Comments:**\n- **add-comments/update-comments/find-comments**: Manage task and project discussions\n- **view-attachment**: View file attachments from comments. Pass the fileUrl from a comment's fileAttachment. Returns images inline, text files as text, and binary files as embedded resources.\n- **find-project-collaborators**: Look up Todoist users (collaborators, teammates) by name or email to get their user ID \u2014 use for \"find/who is X\" questions or any time you need to resolve a person's name to an ID. By default searches collaborators of every shared project the authenticated user can access (plus the authenticated user themselves). An empty result means the person is not a collaborator on any shared project, not that they do not exist. Pass projectId to scope to a single project\n- **manage-assignments**: Bulk assign/unassign/reassign up to 50 tasks with atomic operations and dry-run validation\n\n**Filters:**\n- **find-filters**: List all personal filters or search by name; filters are saved task views using query syntax\n- **add-filters**: Create personal filters with name, query (e.g. \"today & p1\"), color, and favorite flag\n- **update-filters**: Modify existing filters' name, query, color, or favorite status\n\n**Activity & Audit:**\n- **find-activity**: Retrieve recent activity logs to monitor and audit changes. Shows events from all users by default; use initiatorId to filter by specific user. Filter by object type (task/project/comment), event type (added/updated/deleted/completed/uncompleted/archived/unarchived/shared/left), and specific objects (objectId, projectId, taskId). Useful for tracking who did what and when. Note: Date-based filtering is not supported.\n- **get-productivity-stats**: Get comprehensive productivity statistics including daily/weekly completion breakdowns, goal streaks (current, last, max), karma score and trends, and historical karma data. No parameters required.\n\n**Project Health & Insights:**\n- **get-project-health**: Get comprehensive health assessment for a project including completion progress (completed/active counts, percentage), health status (EXCELLENT/ON_TRACK/AT_RISK/CRITICAL), description, and task-level recommendations. Use includeContext=true for detailed metrics (overdue tasks, weekly activity, avg completion time) and full task data. Health data may be stale \u2014 check isStale flag.\n- **get-project-activity-stats**: Get daily and optional weekly activity statistics for a project over a configurable time window (1-12 weeks). Useful for identifying activity trends.\n- **analyze-project-health**: Trigger a new health analysis for a project. Use when health data is stale. The analysis may take time \u2014 use get-project-health afterward to see updated results.\n- **get-workspace-insights**: Get aggregated health and progress insights across all projects in a workspace. Accepts workspace name or ID, with optional project ID filtering.\n\n**General Operations:**\n- **delete-object**: Remove projects, sections, tasks, comments, labels, filters, reminders, or location reminders by type and ID. Deletes both active and archived projects (workspace projects must be archived first; use find-projects with archivedStatus to locate archived projects)\n- **fetch-object**: Fetch a single task, project, comment, or section by its ID\n- **reorder-objects**: Reorder sibling projects or sections, and optionally move projects to a new parent. For projects: set order to reorder siblings, and/or set parentId to move under a new parent (use \"root\" for top level). For sections: set order to reorder within a project\n- **user-info**: Get user details including timezone, goals, and plan information\n\n### Best Practices:\n\n1. **Task Creation**: Write clear, actionable task titles. Use natural language for due dates (\"tomorrow\", \"next Monday\"). Set appropriate priorities and include detailed descriptions when needed.\n\n2. **Search Strategy**: Use specific search queries combining multiple filters for precise results. When searching for tasks, start with broader queries and narrow down as needed.\n\n3. **Assignments & user lookup**: Always validate project collaborators exist before assigning tasks. Use find-project-collaborators to verify user access. Also use find-project-collaborators (with just a searchTerm and no projectId) to resolve a user's ID whenever the user references a person by name or email \u2014 it searches collaborators of all shared projects you can access, plus yourself.\n\n4. **Bulk Operations**: When working with multiple items, prefer bulk tools (complete-tasks, manage-assignments) over individual operations for better performance.\n\n5. **Date Handling**: All dates respect user timezone settings. Use 'today' keyword for dynamic date filtering (includes overdue tasks). **When rescheduling/moving tasks to a different date, always use reschedule-tasks** \u2014 never update-tasks with dueString, as that destroys recurrence on recurring tasks.\n\n6. **Labels**: Use label filtering with AND/OR operators for advanced task organization. Most search tools support labels parameter. Use **find-labels** to discover personal and shared labels \u2014 use label **names** (not IDs) when filtering tasks, and use label **IDs** only with **delete-object** and **update-labels** (for personal label updates). Use **add-labels** to create new personal labels. Use **update-labels** to rename or recolor personal labels (by ID), or to rename shared labels (by name) \u2014 note that shared labels support renaming only, not color/order/favorite changes.\n\n7. **Pagination**: Large result sets use cursor-based pagination. Use limit parameter to control result size (default varies by tool).\n\n8. **Error Handling**: All tools provide detailed error messages and next-step suggestions. Pay attention to validation feedback for corrective actions.\n\n### Common Workflows:\n\n- **Daily Planning**: Use find-tasks-by-date with 'today' and get-overview for project status\n- **Team Assignment**: find-project-collaborators \u2192 add-tasks with responsibleUser \u2192 manage-assignments for bulk changes\n- **User Lookup**: find-project-collaborators with just a searchTerm (no projectId) to resolve a name or email to a Todoist user ID across all shared-project collaborators you can access\n- **Task Search**: find-tasks with multiple filters \u2192 update-tasks or complete-tasks based on results\n- **Project Organization**: add-projects \u2192 add-sections \u2192 add-tasks with projectId and sectionId\n- **Progress Reviews**: find-completed-tasks (defaults to last 7 days; optionally use explicit date ranges) \u2192 get-overview for project summaries\n- **Activity Auditing**: find-activity with event/object filters to track changes, monitor team activity, or investigate specific actions\n- **Productivity Analysis**: Use the productivity-analysis prompt for comprehensive analysis combining user-info, get-productivity-stats, and find-completed-tasks data into actionable insights\n- **Project Health Reviews**: get-project-health \u2192 analyze-project-health if stale \u2192 get-project-health with includeContext=true for detailed metrics \u2192 get-workspace-insights for cross-project overview\n\nAlways provide clear, actionable task titles and descriptions. Use the overview tools to give users context about their workload and project status.\n";
|
|
4
4
|
/**
|
|
5
5
|
* Create the MCP server.
|
|
6
6
|
* @param todoistApiKey - The API key for the todoist account.
|
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,yCAAyC,CAAA;AAGnE,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AAGnE,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAiDzB,eAAO,MAAM,YAAY,sjYAkGxB,CAAA;AAED;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,EAClB,aAAa,EACb,OAAO,EACP,QAAa,GAChB,EAAE;IACC,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aAwHA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/{require-valid-todoist-token-CgDIhI0W.js → require-valid-todoist-token-Dzd0ow_h.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { P as A, Q as v, R as T } from "./mcp-server-D08HTKn7.js";
|
|
2
2
|
const y = /* @__PURE__ */ new Set([401, 403]);
|
|
3
3
|
function C(e) {
|
|
4
4
|
const t = T(e);
|
|
@@ -33,19 +33,19 @@ function S(e) {
|
|
|
33
33
|
return t.valid;
|
|
34
34
|
t && n.delete(e);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function g(e, t, r) {
|
|
37
37
|
n.size >= h && E(), n.size >= h && n.clear(), n.set(e, { valid: t, expiresAt: Date.now() + r });
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function x(e) {
|
|
40
40
|
return e ? `Bearer resource_metadata="${e}"` : "Bearer";
|
|
41
41
|
}
|
|
42
42
|
function d(e, t) {
|
|
43
|
-
e.status(401).set("WWW-Authenticate",
|
|
43
|
+
e.status(401).set("WWW-Authenticate", x(t)).json({
|
|
44
44
|
error: "invalid_token",
|
|
45
45
|
error_description: "Todoist API token is invalid or expired"
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function M(e) {
|
|
49
49
|
const t = e.type === "static" ? p : w, r = e.cacheTtlMs ?? t, { resourceMetadataUrl: i } = e;
|
|
50
50
|
return async (a, s, c) => {
|
|
51
51
|
const u = e.type === "static" ? e.apiKey : e.getApiKey(a);
|
|
@@ -60,13 +60,13 @@ function D(e) {
|
|
|
60
60
|
}
|
|
61
61
|
try {
|
|
62
62
|
const o = await _(u, e.baseUrl);
|
|
63
|
-
|
|
63
|
+
g(f, o, r), o ? c() : d(s, i);
|
|
64
64
|
} catch (o) {
|
|
65
65
|
console.warn("[Token validation] Transient error, proceeding:", o), c();
|
|
66
66
|
}
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
export {
|
|
70
|
-
|
|
70
|
+
M as r,
|
|
71
71
|
_ as v
|
|
72
72
|
};
|
package/dist/tool-helpers.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { isPersonalProject, isWorkspaceProject, ActivityEvent, ColorKey, Comment, CurrentUser,
|
|
1
|
+
import { isPersonalProject, isWorkspaceProject, ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-sdk';
|
|
2
2
|
export { appendToQuery, buildResponsibleUserQueryFilter, filterTasksByResponsibleUser, RESPONSIBLE_USER_FILTERING, type ResponsibleUserFiltering, resolveResponsibleUser, } from './filter-helpers.js';
|
|
3
3
|
export type Project = PersonalProject | WorkspaceProject;
|
|
4
4
|
export { isPersonalProject, isWorkspaceProject };
|
|
@@ -157,6 +157,7 @@ declare function mapTask(task: Task): {
|
|
|
157
157
|
assignedByUid: string | undefined;
|
|
158
158
|
checked: boolean;
|
|
159
159
|
completedAt: string | undefined;
|
|
160
|
+
addedAt: string | undefined;
|
|
160
161
|
};
|
|
161
162
|
type MappedTask = ReturnType<typeof mapTask>;
|
|
162
163
|
/**
|
|
@@ -206,27 +207,6 @@ declare function mapComment(comment: Comment): {
|
|
|
206
207
|
imageHeight: number | undefined;
|
|
207
208
|
} | undefined;
|
|
208
209
|
};
|
|
209
|
-
/**
|
|
210
|
-
* Map a single Todoist goal to a more structured format, for LLM consumption.
|
|
211
|
-
* Drops `null` values so the output matches `GoalSchema` (which makes nullable
|
|
212
|
-
* fields optional — `registerTool` strips nulls from `structuredContent`).
|
|
213
|
-
*/
|
|
214
|
-
declare function mapGoal(goal: Goal): {
|
|
215
|
-
id: string;
|
|
216
|
-
name: string;
|
|
217
|
-
ownerType: "USER" | "WORKSPACE";
|
|
218
|
-
ownerId: string;
|
|
219
|
-
description: string | undefined;
|
|
220
|
-
deadline: string | undefined;
|
|
221
|
-
responsibleUid: string | undefined;
|
|
222
|
-
isCompleted: boolean;
|
|
223
|
-
progress: {
|
|
224
|
-
[x: string]: unknown;
|
|
225
|
-
totalTaskCount: number;
|
|
226
|
-
completedTaskCount: number;
|
|
227
|
-
percentage: number;
|
|
228
|
-
} | undefined;
|
|
229
|
-
};
|
|
230
210
|
/**
|
|
231
211
|
* Map a single Todoist activity event to a more structured format, for LLM consumption.
|
|
232
212
|
* @param event - The activity event to map.
|
|
@@ -266,6 +246,7 @@ declare function getTasksByFilter({ client, query, limit, cursor, }: {
|
|
|
266
246
|
assignedByUid: string | undefined;
|
|
267
247
|
checked: boolean;
|
|
268
248
|
completedAt: string | undefined;
|
|
249
|
+
addedAt: string | undefined;
|
|
269
250
|
}[];
|
|
270
251
|
nextCursor: string | null;
|
|
271
252
|
}>;
|
|
@@ -320,5 +301,5 @@ declare function countRemindersByType(reminders: {
|
|
|
320
301
|
locationCount: number;
|
|
321
302
|
};
|
|
322
303
|
export type { MappedTask };
|
|
323
|
-
export { countRemindersByType, getTasksByFilter, mapActivityEvent, mapComment,
|
|
304
|
+
export { countRemindersByType, getTasksByFilter, mapActivityEvent, mapComment, mapProject, mapReminder, mapTask, };
|
|
324
305
|
//# sourceMappingURL=tool-helpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,
|
|
1
|
+
{"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAA;AAO3B,OAAO,EACH,aAAa,EACb,+BAA+B,EAC/B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,sBAAsB,GAC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;;;;;;;;;;;;;;;;;EAyBnC;AAED;;;;GAIG;AACH,iBAAS,gBAAgB,CAAC,KAAK,EAAE,aAAa;;;;;;;;;;EAY7C;AAWD,iBAAe,gBAAgB,CAAC,EAC5B,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,GACT,EAAE;IACC,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B;;;;;;;;;;;;;;;;;;;;;GAkBA;AAqBD;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BtC;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE;;;EAM1D;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAO,GACV,CAAA"}
|
|
@@ -50,6 +50,7 @@ declare const addTasks: {
|
|
|
50
50
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
51
51
|
checked: z.ZodBoolean;
|
|
52
52
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
53
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
53
54
|
}, z.core.$strip>>;
|
|
54
55
|
totalCount: z.ZodNumber;
|
|
55
56
|
failures: z.ZodArray<z.ZodObject<{
|
|
@@ -102,6 +103,7 @@ declare const addTasks: {
|
|
|
102
103
|
assignedByUid: string | undefined;
|
|
103
104
|
checked: boolean;
|
|
104
105
|
completedAt: string | undefined;
|
|
106
|
+
addedAt: string | undefined;
|
|
105
107
|
}[];
|
|
106
108
|
totalCount: number;
|
|
107
109
|
failures: {
|
|
@@ -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,oBAAoB,CAAA;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiBvB,QAAA,MAAM,uBAAuB,KAAK,CAAA;AA0DlC,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"add-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/add-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiBvB,QAAA,MAAM,uBAAuB,KAAK,CAAA;AA0DlC,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAmDwB,MAAM;uBAAS,MAAM;;;;;;;CA0CI,CAAA;AAkL/D,OAAO,EAAE,QAAQ,EAAE,uBAAuB,EAAE,CAAA"}
|
|
@@ -11,7 +11,6 @@ declare const deleteObject: {
|
|
|
11
11
|
task: "task";
|
|
12
12
|
project: "project";
|
|
13
13
|
section: "section";
|
|
14
|
-
goal: "goal";
|
|
15
14
|
location_reminder: "location_reminder";
|
|
16
15
|
}>;
|
|
17
16
|
id: z.ZodString;
|
|
@@ -26,7 +25,6 @@ declare const deleteObject: {
|
|
|
26
25
|
task: "task";
|
|
27
26
|
project: "project";
|
|
28
27
|
section: "section";
|
|
29
|
-
goal: "goal";
|
|
30
28
|
location_reminder: "location_reminder";
|
|
31
29
|
}>;
|
|
32
30
|
id: z.ZodString;
|
|
@@ -39,13 +37,13 @@ declare const deleteObject: {
|
|
|
39
37
|
idempotentHint: true;
|
|
40
38
|
};
|
|
41
39
|
execute(args: {
|
|
42
|
-
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
40
|
+
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
43
41
|
id: string;
|
|
44
42
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
45
43
|
textContent: string;
|
|
46
44
|
structuredContent: {
|
|
47
45
|
deletedEntity: {
|
|
48
|
-
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "
|
|
46
|
+
type: "filter" | "label" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
|
|
49
47
|
id: string;
|
|
50
48
|
};
|
|
51
49
|
success: true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -8,7 +8,6 @@ declare const fetchObject: {
|
|
|
8
8
|
task: "task";
|
|
9
9
|
project: "project";
|
|
10
10
|
section: "section";
|
|
11
|
-
goal: "goal";
|
|
12
11
|
}>;
|
|
13
12
|
id: z.ZodString;
|
|
14
13
|
};
|
|
@@ -18,7 +17,6 @@ declare const fetchObject: {
|
|
|
18
17
|
task: "task";
|
|
19
18
|
project: "project";
|
|
20
19
|
section: "section";
|
|
21
|
-
goal: "goal";
|
|
22
20
|
}>;
|
|
23
21
|
id: z.ZodString;
|
|
24
22
|
object: z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -44,6 +42,7 @@ declare const fetchObject: {
|
|
|
44
42
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
45
43
|
checked: z.ZodBoolean;
|
|
46
44
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
45
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
47
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
48
47
|
id: z.ZodString;
|
|
49
48
|
name: z.ZodString;
|
|
@@ -107,20 +106,6 @@ declare const fetchObject: {
|
|
|
107
106
|
id: z.ZodString;
|
|
108
107
|
name: z.ZodString;
|
|
109
108
|
description: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
111
|
-
id: z.ZodString;
|
|
112
|
-
name: z.ZodString;
|
|
113
|
-
ownerType: z.ZodString;
|
|
114
|
-
ownerId: z.ZodString;
|
|
115
|
-
description: z.ZodOptional<z.ZodString>;
|
|
116
|
-
deadline: z.ZodOptional<z.ZodString>;
|
|
117
|
-
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
118
|
-
isCompleted: z.ZodBoolean;
|
|
119
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
120
|
-
totalTaskCount: z.ZodNumber;
|
|
121
|
-
completedTaskCount: z.ZodNumber;
|
|
122
|
-
percentage: z.ZodNumber;
|
|
123
|
-
}, z.core.$strip>>;
|
|
124
109
|
}, z.core.$strip>]>;
|
|
125
110
|
};
|
|
126
111
|
annotations: {
|
|
@@ -129,7 +114,7 @@ declare const fetchObject: {
|
|
|
129
114
|
idempotentHint: true;
|
|
130
115
|
};
|
|
131
116
|
execute(args: {
|
|
132
|
-
type: "comment" | "task" | "project" | "section"
|
|
117
|
+
type: "comment" | "task" | "project" | "section";
|
|
133
118
|
id: string;
|
|
134
119
|
}, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
|
|
135
120
|
textContent: string;
|
|
@@ -153,6 +138,7 @@ declare const fetchObject: {
|
|
|
153
138
|
assignedByUid: string | undefined;
|
|
154
139
|
checked: boolean;
|
|
155
140
|
completedAt: string | undefined;
|
|
141
|
+
addedAt: string | undefined;
|
|
156
142
|
};
|
|
157
143
|
};
|
|
158
144
|
} | {
|
|
@@ -215,28 +201,6 @@ declare const fetchObject: {
|
|
|
215
201
|
description?: string | undefined;
|
|
216
202
|
};
|
|
217
203
|
};
|
|
218
|
-
} | {
|
|
219
|
-
textContent: string;
|
|
220
|
-
structuredContent: {
|
|
221
|
-
type: "goal";
|
|
222
|
-
id: string;
|
|
223
|
-
object: {
|
|
224
|
-
id: string;
|
|
225
|
-
name: string;
|
|
226
|
-
ownerType: "USER" | "WORKSPACE";
|
|
227
|
-
ownerId: string;
|
|
228
|
-
description: string | undefined;
|
|
229
|
-
deadline: string | undefined;
|
|
230
|
-
responsibleUid: string | undefined;
|
|
231
|
-
isCompleted: boolean;
|
|
232
|
-
progress: {
|
|
233
|
-
[x: string]: unknown;
|
|
234
|
-
totalTaskCount: number;
|
|
235
|
-
completedTaskCount: number;
|
|
236
|
-
percentage: number;
|
|
237
|
-
} | undefined;
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
204
|
}>;
|
|
241
205
|
};
|
|
242
206
|
export { fetchObject };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2BvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4E8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -46,6 +46,7 @@ declare const findCompletedTasks: {
|
|
|
46
46
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
47
47
|
checked: z.ZodBoolean;
|
|
48
48
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
49
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
49
50
|
}, z.core.$strip>>;
|
|
50
51
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
51
52
|
totalCount: z.ZodNumber;
|
|
@@ -90,6 +91,7 @@ declare const findCompletedTasks: {
|
|
|
90
91
|
assignedByUid: string | undefined;
|
|
91
92
|
checked: boolean;
|
|
92
93
|
completedAt: string | undefined;
|
|
94
|
+
addedAt: string | undefined;
|
|
93
95
|
}[];
|
|
94
96
|
nextCursor: string | undefined;
|
|
95
97
|
totalCount: number;
|
|
@@ -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;AAgHvB,QAAA,MAAM,kBAAkB
|
|
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;AAgHvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGuC,CAAA;AAkE/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}
|
|
@@ -70,6 +70,7 @@ declare const findTasksByDate: {
|
|
|
70
70
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
71
71
|
checked: z.ZodBoolean;
|
|
72
72
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
73
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
73
74
|
}, z.core.$strip>>;
|
|
74
75
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
75
76
|
totalCount: z.ZodNumber;
|
|
@@ -111,6 +112,7 @@ declare const findTasksByDate: {
|
|
|
111
112
|
assignedByUid: string | undefined;
|
|
112
113
|
checked: boolean;
|
|
113
114
|
completedAt: string | undefined;
|
|
115
|
+
addedAt: string | undefined;
|
|
114
116
|
}[];
|
|
115
117
|
nextCursor: string | undefined;
|
|
116
118
|
totalCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CA+CtB,CAAA;AAYD,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"find-tasks-by-date.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks-by-date.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsBvB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;CA+CtB,CAAA;AAYD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqF0C,CAAA;AAyF/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -47,6 +47,7 @@ declare const findTasks: {
|
|
|
47
47
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
48
48
|
checked: z.ZodBoolean;
|
|
49
49
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
50
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
50
51
|
}, z.core.$strip>>;
|
|
51
52
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
52
53
|
totalCount: z.ZodNumber;
|
|
@@ -91,6 +92,7 @@ declare const findTasks: {
|
|
|
91
92
|
assignedByUid: string | undefined;
|
|
92
93
|
checked: boolean;
|
|
93
94
|
completedAt: string | undefined;
|
|
95
|
+
addedAt: string | undefined;
|
|
94
96
|
}[];
|
|
95
97
|
nextCursor: string | undefined;
|
|
96
98
|
totalCount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAoFvB,QAAA,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"find-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAoFvB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwNgD,CAAA;AA2K/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -33,6 +33,7 @@ declare const rescheduleTasks: {
|
|
|
33
33
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
34
34
|
checked: z.ZodBoolean;
|
|
35
35
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
36
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
36
37
|
}, z.core.$strip>>;
|
|
37
38
|
totalCount: z.ZodNumber;
|
|
38
39
|
rescheduledTaskIds: z.ZodArray<z.ZodString>;
|
|
@@ -67,6 +68,7 @@ declare const rescheduleTasks: {
|
|
|
67
68
|
assignedByUid: string | undefined;
|
|
68
69
|
checked: boolean;
|
|
69
70
|
completedAt: string | undefined;
|
|
71
|
+
addedAt: string | undefined;
|
|
70
72
|
}[];
|
|
71
73
|
totalCount: number;
|
|
72
74
|
rescheduledTaskIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAE9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+BvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuE0C,CAAA;AAE/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"}
|
|
@@ -49,6 +49,7 @@ declare const updateTasks: {
|
|
|
49
49
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
50
50
|
checked: z.ZodBoolean;
|
|
51
51
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
52
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
52
53
|
}, z.core.$strip>>;
|
|
53
54
|
totalCount: z.ZodNumber;
|
|
54
55
|
updatedTaskIds: z.ZodArray<z.ZodString>;
|
|
@@ -99,6 +100,7 @@ declare const updateTasks: {
|
|
|
99
100
|
assignedByUid: string | undefined;
|
|
100
101
|
checked: boolean;
|
|
101
102
|
completedAt: string | undefined;
|
|
103
|
+
addedAt: string | undefined;
|
|
102
104
|
}[];
|
|
103
105
|
totalCount: number;
|
|
104
106
|
updatedTaskIds: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0GvB,QAAA,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"update-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/update-tasks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0GvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJ8C,CAAA;AAiD/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
|
|
@@ -37,10 +37,6 @@ export declare const ApiLimits: {
|
|
|
37
37
|
readonly REMINDERS_DEFAULT: 50;
|
|
38
38
|
/** Maximum limit for reminder search operations */
|
|
39
39
|
readonly REMINDERS_MAX: 200;
|
|
40
|
-
/** Default limit for goal listings */
|
|
41
|
-
readonly GOALS_DEFAULT: 50;
|
|
42
|
-
/** Maximum limit for goal search and list operations */
|
|
43
|
-
readonly GOALS_MAX: 200;
|
|
44
40
|
};
|
|
45
41
|
export declare const DisplayLimits: {
|
|
46
42
|
/** Maximum number of failures to show in detailed error messages */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,eAAO,MAAM,SAAS;IAClB,sCAAsC;;IAEtC,wDAAwD;;IAExD,wCAAwC;;IAExC,wCAAwC;;IAExC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,qDAAqD;;IAErD,yCAAyC;;IAEzC,2DAA2D;;IAE3D,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,eAAO,MAAM,SAAS;IAClB,sCAAsC;;IAEtC,wDAAwD;;IAExD,wCAAwC;;IAExC,wCAAwC;;IAExC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;IAEzC,qDAAqD;;IAErD,yCAAyC;;IAEzC,2DAA2D;;IAE3D,8CAA8C;;IAE9C,gEAAgE;;IAEhE,uCAAuC;;IAEvC,uCAAuC;;IAEvC,0CAA0C;;IAE1C,mDAAmD;;CAE7C,CAAA;AAGV,eAAO,MAAM,aAAa;IACtB,oEAAoE;;IAEpE,gDAAgD;;CAE1C,CAAA;AAGV,eAAO,MAAM,cAAc;IACvB,oDAAoD;;IAEpD,mCAAmC;;CAE7B,CAAA"}
|
|
@@ -26,6 +26,7 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
26
26
|
assignedByUid: z.ZodOptional<z.ZodString>;
|
|
27
27
|
checked: z.ZodBoolean;
|
|
28
28
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
addedAt: z.ZodOptional<z.ZodString>;
|
|
29
30
|
}, z.core.$strip>;
|
|
30
31
|
/**
|
|
31
32
|
* Schema for a mapped project object returned by tools
|
|
@@ -192,24 +193,6 @@ declare const ReminderSchema: z.ZodObject<{
|
|
|
192
193
|
radius: z.ZodOptional<z.ZodNumber>;
|
|
193
194
|
isUrgent: z.ZodOptional<z.ZodBoolean>;
|
|
194
195
|
}, z.core.$strip>;
|
|
195
|
-
/**
|
|
196
|
-
* Schema for a goal object returned by tools
|
|
197
|
-
*/
|
|
198
|
-
declare const GoalSchema: z.ZodObject<{
|
|
199
|
-
id: z.ZodString;
|
|
200
|
-
name: z.ZodString;
|
|
201
|
-
ownerType: z.ZodString;
|
|
202
|
-
ownerId: z.ZodString;
|
|
203
|
-
description: z.ZodOptional<z.ZodString>;
|
|
204
|
-
deadline: z.ZodOptional<z.ZodString>;
|
|
205
|
-
responsibleUid: z.ZodOptional<z.ZodString>;
|
|
206
|
-
isCompleted: z.ZodBoolean;
|
|
207
|
-
progress: z.ZodOptional<z.ZodObject<{
|
|
208
|
-
totalTaskCount: z.ZodNumber;
|
|
209
|
-
completedTaskCount: z.ZodNumber;
|
|
210
|
-
percentage: z.ZodNumber;
|
|
211
|
-
}, z.core.$strip>>;
|
|
212
|
-
}, z.core.$strip>;
|
|
213
196
|
/**
|
|
214
197
|
* Schema for batch operation failure
|
|
215
198
|
*/
|
|
@@ -218,5 +201,5 @@ declare const FailureSchema: z.ZodObject<{
|
|
|
218
201
|
error: z.ZodString;
|
|
219
202
|
code: z.ZodOptional<z.ZodString>;
|
|
220
203
|
}, z.core.$strip>;
|
|
221
|
-
export { ActivityEventSchema, CollaboratorSchema, CommentSchema, FailureSchema,
|
|
204
|
+
export { ActivityEventSchema, CollaboratorSchema, CommentSchema, FailureSchema, LabelSchema, ProjectSchema, ReminderSchema, SectionSchema, type SectionSummary, TaskSchema, toSectionSummary, };
|
|
222
205
|
//# sourceMappingURL=output-schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output-schemas.d.ts","sourceRoot":"","sources":["../../src/utils/output-schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AACpF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvB;;GAEG;AACH,QAAA,MAAM,UAA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entUser,
|
|
1
|
+
import { CurrentUser, Label, PersonalProject, Section, Task, WorkspaceProject } from '@doist/todoist-sdk';
|
|
2
2
|
import { MappedTask } from '../tool-helpers';
|
|
3
3
|
import { Priority } from './priorities';
|
|
4
4
|
type TaskWithUserFacingPriority = Omit<Task, 'priority'> & {
|
|
@@ -29,11 +29,6 @@ export declare function createMockWorkspaceProject(overrides?: Partial<Workspace
|
|
|
29
29
|
* Pass only the properties you want to override for your specific test.
|
|
30
30
|
*/
|
|
31
31
|
export declare function createMockLabel(overrides?: Partial<Label>): Label;
|
|
32
|
-
/**
|
|
33
|
-
* Creates a mock Goal with all required properties and sensible defaults.
|
|
34
|
-
* Pass only the properties you want to override for your specific test.
|
|
35
|
-
*/
|
|
36
|
-
export declare function createMockGoal(overrides?: Partial<Goal>): Goal;
|
|
37
32
|
/**
|
|
38
33
|
* Creates a mock API response object with results and nextCursor.
|
|
39
34
|
*/
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"test-helpers.d.ts","sourceRoot":"","sources":["../../src/utils/test-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,KAAK,EACL,eAAe,EACf,OAAO,EACP,IAAI,EACJ,gBAAgB,EACnB,MAAM,oBAAoB,CAAA;AAC3B,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,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AAG,WAAW,CAoChF"}
|
|
@@ -22,11 +22,6 @@ export declare const ToolNames: {
|
|
|
22
22
|
readonly ADD_SECTIONS: "add-sections";
|
|
23
23
|
readonly UPDATE_SECTIONS: "update-sections";
|
|
24
24
|
readonly FIND_SECTIONS: "find-sections";
|
|
25
|
-
readonly FIND_GOALS: "find-goals";
|
|
26
|
-
readonly ADD_GOALS: "add-goals";
|
|
27
|
-
readonly UPDATE_GOALS: "update-goals";
|
|
28
|
-
readonly COMPLETE_GOALS: "complete-goals";
|
|
29
|
-
readonly LINK_GOAL_TASKS: "link-goal-tasks";
|
|
30
25
|
readonly ADD_COMMENTS: "add-comments";
|
|
31
26
|
readonly UPDATE_COMMENTS: "update-comments";
|
|
32
27
|
readonly FIND_COMMENTS: "find-comments";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-names.d.ts","sourceRoot":"","sources":["../../src/utils/tool-names.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"tool-names.d.ts","sourceRoot":"","sources":["../../src/utils/tool-names.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyEZ,CAAA;AAGV,MAAM,MAAM,QAAQ,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAA"}
|