@todoist/mcp 20.0.0 → 21.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 +18 -18
- package/dist/index.js +2 -2
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-CBCXlgTk.js → mcp-server-gTECUZ_6.js} +761 -781
- package/dist/mcp-server.d.ts +1 -1
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/{require-valid-todoist-token-A1f9GBWq.js → require-valid-todoist-token-CND9-m2b.js} +1 -1
- package/dist/tool-registry.d.ts +18 -18
- package/dist/tools/add-template.d.ts +9 -9
- package/dist/tools/fetch-object.d.ts +3 -3
- package/dist/tools/update-template.d.ts +6 -6
- package/dist/utils/template-content.d.ts +3 -3
- package/dist/utils/template-content.d.ts.map +1 -1
- package/package.json +1 -1
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\n\nManage Todoist:
|
|
4
|
+
export declare const instructions = "\n## Todoist\n\nManage Todoist: tasks (priorities, dates, durations, assignees, labels); projects, sections and folders, personal or in workspaces; comments and attachments, filters, reminders, templates, collaborators, user status, activity, overviews and productivity stats.\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 hide durations of 24 hours or more (\"36h\", \"3d\"): 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 share none of them, not that they do not exist.\n- Before assigning work, call **find-project-collaborators** again with the target projectId: an ID only proves they share *some* project with you, and assignment needs that one.\n- To check whether a task has subtasks, use **fetch-object** with includeChildren, not a speculative **find-tasks**.\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- Editing a comment cannot notify anyone; only adding one can.\n\n**Deleting and archiving**\n\n- **delete-object** removes every object type, \"reminder\" and \"location_reminder\" included; there is no per-type delete tool.\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- Use **find-templates** when the user names a template without its ID or URL. Start a project from one with **add-projects** and its templateId, or add one to an existing project with **import-into-project**; both write immediately and cannot be undone.\n- **add-template** saves a reusable template from a project (\"Save as template\"), CSV or scratch; **export-project** returns a CSV instead. Edit, move or share a saved template with **update-template**; to change its layout, sections or tasks, read it with **fetch-object** first, then send the edited content to **update-template**.\n\n**Project health**\n\n- Health data may be stale: if isStale is true, 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- Per-item `failures` from a batch tool don't undo the rest: never retry the whole batch, re-send only the failed items whose reason is fixable.\n\nFor a productivity review, call **get-productivity-stats**, then find what the user completed as described under \"Finding things\".\n\n**Other Todoist apps**\n\n- Todoist Automations (workflows on a schedule or trigger, such as a new project, that can ask the user questions; Pro and Business plans) and Comms (team chat) are separate MCP servers on the same Todoist account: https://ai.todoist.net/mcp/automations and https://ai.todoist.net/mcp/comms. Never say one has no MCP support: tell the user they can add it.\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;AAOzB,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;AAOzB,eAAO,MAAM,YAAY,ulIAiDxB,CAAA;AAUD;;;;;;GAMG;AAEH,iBAAS,YAAY,CAAC,EAClB,KAAK,EACL,OAAO,EACP,QAAa,GAChB,EAAE,gBAAgB,GAAG;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aAsDA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
|
package/dist/{require-valid-todoist-token-A1f9GBWq.js → require-valid-todoist-token-CND9-m2b.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ot as e, st as t } from "./mcp-server-
|
|
1
|
+
import { ot as e, st as t } from "./mcp-server-gTECUZ_6.js";
|
|
2
2
|
import { buildBearerChallenge as n, createTokenVerdictCache as r, getValidationRateLimit as i, validateBearerToken as a } from "@todoist/mcp-core/host";
|
|
3
3
|
// src/utils/validate-todoist-token.ts
|
|
4
4
|
var o = "https://api.todoist.com", s = (n, r) => a({
|
package/dist/tool-registry.d.ts
CHANGED
|
@@ -4090,15 +4090,15 @@ declare const toolRegistry: {
|
|
|
4090
4090
|
taskId: string;
|
|
4091
4091
|
postedUid?: string | undefined;
|
|
4092
4092
|
postedAt?: string | undefined;
|
|
4093
|
-
fileAttachment?: string | undefined;
|
|
4093
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4094
4094
|
}[];
|
|
4095
4095
|
projectComments: {
|
|
4096
4096
|
content: string;
|
|
4097
4097
|
postedUid?: string | undefined;
|
|
4098
4098
|
postedAt?: string | undefined;
|
|
4099
|
-
fileAttachment?: string | undefined;
|
|
4099
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4100
4100
|
}[];
|
|
4101
|
-
projectViewOptionsDefaults: string[];
|
|
4101
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4102
4102
|
} | undefined;
|
|
4103
4103
|
};
|
|
4104
4104
|
};
|
|
@@ -4682,16 +4682,16 @@ declare const toolRegistry: {
|
|
|
4682
4682
|
content: import('zod').ZodString;
|
|
4683
4683
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4684
4684
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4685
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
4685
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4686
4686
|
taskId: import('zod').ZodString;
|
|
4687
4687
|
}, import('zod/v4/core').$strip>>;
|
|
4688
4688
|
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
4689
4689
|
content: import('zod').ZodString;
|
|
4690
4690
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4691
4691
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4692
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
4692
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4693
4693
|
}, import('zod/v4/core').$strip>>;
|
|
4694
|
-
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString
|
|
4694
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
4695
4695
|
}, import('zod/v4/core').$strip>>;
|
|
4696
4696
|
name: import('zod').ZodOptional<import('zod').ZodString>;
|
|
4697
4697
|
description: import('zod').ZodOptional<import('zod').ZodString>;
|
|
@@ -4782,15 +4782,15 @@ declare const toolRegistry: {
|
|
|
4782
4782
|
taskId: string;
|
|
4783
4783
|
postedUid?: string | undefined;
|
|
4784
4784
|
postedAt?: string | undefined;
|
|
4785
|
-
fileAttachment?: string | undefined;
|
|
4785
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4786
4786
|
}[];
|
|
4787
4787
|
projectComments: {
|
|
4788
4788
|
content: string;
|
|
4789
4789
|
postedUid?: string | undefined;
|
|
4790
4790
|
postedAt?: string | undefined;
|
|
4791
|
-
fileAttachment?: string | undefined;
|
|
4791
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4792
4792
|
}[];
|
|
4793
|
-
projectViewOptionsDefaults: string[];
|
|
4793
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4794
4794
|
} | undefined;
|
|
4795
4795
|
name?: string | undefined;
|
|
4796
4796
|
description?: string | undefined;
|
|
@@ -4845,15 +4845,15 @@ declare const toolRegistry: {
|
|
|
4845
4845
|
taskId: string;
|
|
4846
4846
|
postedUid?: string | undefined;
|
|
4847
4847
|
postedAt?: string | undefined;
|
|
4848
|
-
fileAttachment?: string | undefined;
|
|
4848
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4849
4849
|
}[];
|
|
4850
4850
|
projectComments: {
|
|
4851
4851
|
content: string;
|
|
4852
4852
|
postedUid?: string | undefined;
|
|
4853
4853
|
postedAt?: string | undefined;
|
|
4854
|
-
fileAttachment?: string | undefined;
|
|
4854
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
4855
4855
|
}[];
|
|
4856
|
-
projectViewOptionsDefaults: string[];
|
|
4856
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
4857
4857
|
};
|
|
4858
4858
|
};
|
|
4859
4859
|
} | {
|
|
@@ -5006,16 +5006,16 @@ declare const toolRegistry: {
|
|
|
5006
5006
|
content: import('zod').ZodString;
|
|
5007
5007
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5008
5008
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5009
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
5009
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5010
5010
|
taskId: import('zod').ZodString;
|
|
5011
5011
|
}, import('zod/v4/core').$strip>>;
|
|
5012
5012
|
projectComments: import('zod').ZodArray<import('zod').ZodObject<{
|
|
5013
5013
|
content: import('zod').ZodString;
|
|
5014
5014
|
postedUid: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5015
5015
|
postedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5016
|
-
fileAttachment: import('zod').ZodOptional<import('zod').ZodString
|
|
5016
|
+
fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5017
5017
|
}, import('zod/v4/core').$strip>>;
|
|
5018
|
-
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString
|
|
5018
|
+
projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
|
|
5019
5019
|
}, import('zod/v4/core').$strip>>;
|
|
5020
5020
|
workspace: import('zod').ZodOptional<import('zod').ZodString>;
|
|
5021
5021
|
sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
@@ -5083,15 +5083,15 @@ declare const toolRegistry: {
|
|
|
5083
5083
|
taskId: string;
|
|
5084
5084
|
postedUid?: string | undefined;
|
|
5085
5085
|
postedAt?: string | undefined;
|
|
5086
|
-
fileAttachment?: string | undefined;
|
|
5086
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5087
5087
|
}[];
|
|
5088
5088
|
projectComments: {
|
|
5089
5089
|
content: string;
|
|
5090
5090
|
postedUid?: string | undefined;
|
|
5091
5091
|
postedAt?: string | undefined;
|
|
5092
|
-
fileAttachment?: string | undefined;
|
|
5092
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
5093
5093
|
}[];
|
|
5094
|
-
projectViewOptionsDefaults: string[];
|
|
5094
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
5095
5095
|
} | undefined;
|
|
5096
5096
|
workspace?: string | undefined;
|
|
5097
5097
|
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
@@ -64,16 +64,16 @@ declare const addTemplate: {
|
|
|
64
64
|
content: z.ZodString;
|
|
65
65
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
66
66
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
67
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
67
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
68
68
|
taskId: z.ZodString;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
70
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
71
71
|
content: z.ZodString;
|
|
72
72
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
73
73
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
74
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
74
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
75
|
}, z.core.$strip>>;
|
|
76
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
76
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
77
|
}, z.core.$strip>>;
|
|
78
78
|
name: z.ZodOptional<z.ZodString>;
|
|
79
79
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -164,15 +164,15 @@ declare const addTemplate: {
|
|
|
164
164
|
taskId: string;
|
|
165
165
|
postedUid?: string | undefined;
|
|
166
166
|
postedAt?: string | undefined;
|
|
167
|
-
fileAttachment?: string | undefined;
|
|
167
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
168
168
|
}[];
|
|
169
169
|
projectComments: {
|
|
170
170
|
content: string;
|
|
171
171
|
postedUid?: string | undefined;
|
|
172
172
|
postedAt?: string | undefined;
|
|
173
|
-
fileAttachment?: string | undefined;
|
|
173
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
174
174
|
}[];
|
|
175
|
-
projectViewOptionsDefaults: string[];
|
|
175
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
176
176
|
} | undefined;
|
|
177
177
|
name?: string | undefined;
|
|
178
178
|
description?: string | undefined;
|
|
@@ -227,15 +227,15 @@ declare const addTemplate: {
|
|
|
227
227
|
taskId: string;
|
|
228
228
|
postedUid?: string | undefined;
|
|
229
229
|
postedAt?: string | undefined;
|
|
230
|
-
fileAttachment?: string | undefined;
|
|
230
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
231
231
|
}[];
|
|
232
232
|
projectComments: {
|
|
233
233
|
content: string;
|
|
234
234
|
postedUid?: string | undefined;
|
|
235
235
|
postedAt?: string | undefined;
|
|
236
|
-
fileAttachment?: string | undefined;
|
|
236
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
237
237
|
}[];
|
|
238
|
-
projectViewOptionsDefaults: string[];
|
|
238
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
239
239
|
};
|
|
240
240
|
};
|
|
241
241
|
} | {
|
|
@@ -334,15 +334,15 @@ declare const fetchObject: {
|
|
|
334
334
|
taskId: string;
|
|
335
335
|
postedUid?: string | undefined;
|
|
336
336
|
postedAt?: string | undefined;
|
|
337
|
-
fileAttachment?: string | undefined;
|
|
337
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
338
338
|
}[];
|
|
339
339
|
projectComments: {
|
|
340
340
|
content: string;
|
|
341
341
|
postedUid?: string | undefined;
|
|
342
342
|
postedAt?: string | undefined;
|
|
343
|
-
fileAttachment?: string | undefined;
|
|
343
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
344
344
|
}[];
|
|
345
|
-
projectViewOptionsDefaults: string[];
|
|
345
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
346
346
|
} | undefined;
|
|
347
347
|
};
|
|
348
348
|
};
|
|
@@ -87,16 +87,16 @@ declare const updateTemplate: {
|
|
|
87
87
|
content: z.ZodString;
|
|
88
88
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
89
89
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
90
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
90
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
91
91
|
taskId: z.ZodString;
|
|
92
92
|
}, z.core.$strip>>;
|
|
93
93
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
94
94
|
content: z.ZodString;
|
|
95
95
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
96
96
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
97
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
97
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
98
98
|
}, z.core.$strip>>;
|
|
99
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
99
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
100
100
|
}, z.core.$strip>>;
|
|
101
101
|
workspace: z.ZodOptional<z.ZodString>;
|
|
102
102
|
sharedWithWorkspaceMembers: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -164,15 +164,15 @@ declare const updateTemplate: {
|
|
|
164
164
|
taskId: string;
|
|
165
165
|
postedUid?: string | undefined;
|
|
166
166
|
postedAt?: string | undefined;
|
|
167
|
-
fileAttachment?: string | undefined;
|
|
167
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
168
168
|
}[];
|
|
169
169
|
projectComments: {
|
|
170
170
|
content: string;
|
|
171
171
|
postedUid?: string | undefined;
|
|
172
172
|
postedAt?: string | undefined;
|
|
173
|
-
fileAttachment?: string | undefined;
|
|
173
|
+
fileAttachment?: Record<string, unknown> | undefined;
|
|
174
174
|
}[];
|
|
175
|
-
projectViewOptionsDefaults: string[];
|
|
175
|
+
projectViewOptionsDefaults: Record<string, unknown>[];
|
|
176
176
|
} | undefined;
|
|
177
177
|
workspace?: string | undefined;
|
|
178
178
|
sharedWithWorkspaceMembers?: boolean | undefined;
|
|
@@ -61,16 +61,16 @@ declare const TemplateContentSchema: z.ZodObject<{
|
|
|
61
61
|
content: z.ZodString;
|
|
62
62
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
63
63
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
64
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
64
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
65
65
|
taskId: z.ZodString;
|
|
66
66
|
}, z.core.$strip>>;
|
|
67
67
|
projectComments: z.ZodArray<z.ZodObject<{
|
|
68
68
|
content: z.ZodString;
|
|
69
69
|
postedUid: z.ZodOptional<z.ZodString>;
|
|
70
70
|
postedAt: z.ZodOptional<z.ZodString>;
|
|
71
|
-
fileAttachment: z.ZodOptional<z.ZodString
|
|
71
|
+
fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
72
72
|
}, z.core.$strip>>;
|
|
73
|
-
projectViewOptionsDefaults: z.ZodArray<z.ZodString
|
|
73
|
+
projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
74
74
|
}, z.core.$strip>;
|
|
75
75
|
type ToolTemplateContent = z.infer<typeof TemplateContentSchema>;
|
|
76
76
|
/** Turns the SDK's template content into the tools' shape: "p1"–"p4" priorities, no nulls. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CzB,CAAA;AAEF,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,8FAA8F;AAC9F,iBAAS,qBAAqB,CAAC,OAAO,EAAE,eAAe,GAAG,mBAAmB,CAkC5E;AAwBD,mEAAmE;AACnE,iBAAS,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,eAAe,CAQ3E;AAYD;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAStF;AAED;;;;GAIG;AACH,iBAAS,sBAAsB,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAOjG;AAID;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAoBpE;AAED,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,mBAAmB,GAC3B,CAAA"}
|