@jbctechsolutions/mcp-office365 2.5.1 → 4.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/README.md +66 -57
- package/dist/approval/hash.d.ts +8 -8
- package/dist/approval/token-manager.d.ts +37 -19
- package/dist/approval/token-manager.d.ts.map +1 -1
- package/dist/approval/token-manager.js +133 -37
- package/dist/approval/token-manager.js.map +1 -1
- package/dist/approval/types.d.ts +7 -3
- package/dist/approval/types.d.ts.map +1 -1
- package/dist/cli.d.ts +21 -0
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +100 -2
- package/dist/cli.js.map +1 -1
- package/dist/database/repository.d.ts +48 -48
- package/dist/database/repository.d.ts.map +1 -1
- package/dist/database/repository.js.map +1 -1
- package/dist/delta/mirror.d.ts +67 -0
- package/dist/delta/mirror.d.ts.map +1 -0
- package/dist/delta/mirror.js +183 -0
- package/dist/delta/mirror.js.map +1 -0
- package/dist/graph/auth/account-id.d.ts +19 -0
- package/dist/graph/auth/account-id.d.ts.map +1 -0
- package/dist/graph/auth/account-id.js +55 -0
- package/dist/graph/auth/account-id.js.map +1 -0
- package/dist/graph/auth/config.d.ts +1 -1
- package/dist/graph/auth/config.d.ts.map +1 -1
- package/dist/graph/auth/config.js +13 -1
- package/dist/graph/auth/config.js.map +1 -1
- package/dist/graph/auth/device-code-flow.d.ts +3 -1
- package/dist/graph/auth/device-code-flow.d.ts.map +1 -1
- package/dist/graph/auth/device-code-flow.js +42 -14
- package/dist/graph/auth/device-code-flow.js.map +1 -1
- package/dist/graph/auth/index.d.ts +1 -0
- package/dist/graph/auth/index.d.ts.map +1 -1
- package/dist/graph/auth/index.js +1 -0
- package/dist/graph/auth/index.js.map +1 -1
- package/dist/graph/auth/token-cache.js +2 -2
- package/dist/graph/auth/token-cache.js.map +1 -1
- package/dist/graph/client/graph-client.d.ts +141 -8
- package/dist/graph/client/graph-client.d.ts.map +1 -1
- package/dist/graph/client/graph-client.js +536 -48
- package/dist/graph/client/graph-client.js.map +1 -1
- package/dist/graph/client/immutable-id-middleware.d.ts +50 -0
- package/dist/graph/client/immutable-id-middleware.d.ts.map +1 -0
- package/dist/graph/client/immutable-id-middleware.js +137 -0
- package/dist/graph/client/immutable-id-middleware.js.map +1 -0
- package/dist/graph/content-readers.d.ts +0 -12
- package/dist/graph/content-readers.d.ts.map +1 -1
- package/dist/graph/content-readers.js +0 -21
- package/dist/graph/content-readers.js.map +1 -1
- package/dist/graph/index.d.ts +5 -6
- package/dist/graph/index.d.ts.map +1 -1
- package/dist/graph/index.js +5 -6
- package/dist/graph/index.js.map +1 -1
- package/dist/graph/mailbox-adapter.d.ts +15 -15
- package/dist/graph/mappers/contact-mapper.d.ts +4 -1
- package/dist/graph/mappers/contact-mapper.d.ts.map +1 -1
- package/dist/graph/mappers/contact-mapper.js +7 -3
- package/dist/graph/mappers/contact-mapper.js.map +1 -1
- package/dist/graph/mappers/email-mapper.d.ts.map +1 -1
- package/dist/graph/mappers/email-mapper.js +7 -4
- package/dist/graph/mappers/email-mapper.js.map +1 -1
- package/dist/graph/mappers/event-mapper.d.ts.map +1 -1
- package/dist/graph/mappers/event-mapper.js +6 -3
- package/dist/graph/mappers/event-mapper.js.map +1 -1
- package/dist/graph/mappers/folder-mapper.d.ts +0 -4
- package/dist/graph/mappers/folder-mapper.d.ts.map +1 -1
- package/dist/graph/mappers/folder-mapper.js +9 -19
- package/dist/graph/mappers/folder-mapper.js.map +1 -1
- package/dist/graph/mappers/index.d.ts +2 -2
- package/dist/graph/mappers/index.d.ts.map +1 -1
- package/dist/graph/mappers/index.js +2 -2
- package/dist/graph/mappers/index.js.map +1 -1
- package/dist/graph/mappers/task-mapper.d.ts +4 -2
- package/dist/graph/mappers/task-mapper.d.ts.map +1 -1
- package/dist/graph/mappers/task-mapper.js +7 -5
- package/dist/graph/mappers/task-mapper.js.map +1 -1
- package/dist/graph/mappers/utils.d.ts +0 -10
- package/dist/graph/mappers/utils.d.ts.map +1 -1
- package/dist/graph/mappers/utils.js +0 -19
- package/dist/graph/mappers/utils.js.map +1 -1
- package/dist/graph/repository.d.ts +409 -276
- package/dist/graph/repository.d.ts.map +1 -1
- package/dist/graph/repository.js +772 -1082
- package/dist/graph/repository.js.map +1 -1
- package/dist/ids/mint.d.ts +31 -0
- package/dist/ids/mint.d.ts.map +1 -0
- package/dist/ids/mint.js +36 -0
- package/dist/ids/mint.js.map +1 -0
- package/dist/ids/next-action.d.ts +29 -0
- package/dist/ids/next-action.d.ts.map +1 -0
- package/dist/ids/next-action.js +58 -0
- package/dist/ids/next-action.js.map +1 -0
- package/dist/ids/resolver.d.ts +31 -0
- package/dist/ids/resolver.d.ts.map +1 -0
- package/dist/ids/resolver.js +52 -0
- package/dist/ids/resolver.js.map +1 -0
- package/dist/ids/schema.d.ts +91 -0
- package/dist/ids/schema.d.ts.map +1 -0
- package/dist/ids/schema.js +131 -0
- package/dist/ids/schema.js.map +1 -0
- package/dist/ids/token.d.ts +62 -0
- package/dist/ids/token.d.ts.map +1 -0
- package/dist/ids/token.js +225 -0
- package/dist/ids/token.js.map +1 -0
- package/dist/index.d.ts +10 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +255 -5925
- package/dist/index.js.map +1 -1
- package/dist/parsers/index.d.ts +0 -1
- package/dist/parsers/index.d.ts.map +1 -1
- package/dist/parsers/index.js +0 -1
- package/dist/parsers/index.js.map +1 -1
- package/dist/registry/all-tools.d.ts +14 -0
- package/dist/registry/all-tools.d.ts.map +1 -0
- package/dist/registry/all-tools.js +68 -0
- package/dist/registry/all-tools.js.map +1 -0
- package/dist/registry/context.d.ts +19 -0
- package/dist/registry/context.d.ts.map +1 -0
- package/dist/registry/context.js +20 -0
- package/dist/registry/context.js.map +1 -0
- package/dist/registry/define-tool.d.ts +15 -0
- package/dist/registry/define-tool.d.ts.map +1 -0
- package/dist/registry/define-tool.js +8 -0
- package/dist/registry/define-tool.js.map +1 -0
- package/dist/registry/elicit-links.d.ts +35 -0
- package/dist/registry/elicit-links.d.ts.map +1 -0
- package/dist/registry/elicit-links.js +102 -0
- package/dist/registry/elicit-links.js.map +1 -0
- package/dist/registry/elicitor.d.ts +24 -0
- package/dist/registry/elicitor.d.ts.map +1 -0
- package/dist/registry/elicitor.js +51 -0
- package/dist/registry/elicitor.js.map +1 -0
- package/dist/registry/index.d.ts +13 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +8 -0
- package/dist/registry/index.js.map +1 -0
- package/dist/registry/registry.d.ts +73 -0
- package/dist/registry/registry.d.ts.map +1 -0
- package/dist/registry/registry.js +221 -0
- package/dist/registry/registry.js.map +1 -0
- package/dist/registry/types.d.ts +146 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/registry/types.js +6 -0
- package/dist/registry/types.js.map +1 -0
- package/dist/search/compiler.d.ts +49 -0
- package/dist/search/compiler.d.ts.map +1 -0
- package/dist/search/compiler.js +168 -0
- package/dist/search/compiler.js.map +1 -0
- package/dist/signature.js +2 -2
- package/dist/signature.js.map +1 -1
- package/dist/state/delta-store.d.ts +85 -0
- package/dist/state/delta-store.d.ts.map +1 -0
- package/dist/state/delta-store.js +124 -0
- package/dist/state/delta-store.js.map +1 -0
- package/dist/state/migrate.d.ts +23 -0
- package/dist/state/migrate.d.ts.map +1 -0
- package/dist/state/migrate.js +81 -0
- package/dist/state/migrate.js.map +1 -0
- package/dist/state/schema.d.ts +26 -0
- package/dist/state/schema.d.ts.map +1 -0
- package/dist/state/schema.js +77 -0
- package/dist/state/schema.js.map +1 -0
- package/dist/state/store.d.ts +155 -0
- package/dist/state/store.d.ts.map +1 -0
- package/dist/state/store.js +321 -0
- package/dist/state/store.js.map +1 -0
- package/dist/tools/calendar-graph.d.ts +41 -0
- package/dist/tools/calendar-graph.d.ts.map +1 -0
- package/dist/tools/calendar-graph.js +299 -0
- package/dist/tools/calendar-graph.js.map +1 -0
- package/dist/tools/calendar-permissions.d.ts +17 -7
- package/dist/tools/calendar-permissions.d.ts.map +1 -1
- package/dist/tools/calendar-permissions.js +60 -4
- package/dist/tools/calendar-permissions.js.map +1 -1
- package/dist/tools/calendar.d.ts +133 -82
- package/dist/tools/calendar.d.ts.map +1 -1
- package/dist/tools/calendar.js +249 -136
- package/dist/tools/calendar.js.map +1 -1
- package/dist/tools/categories.d.ts +14 -4
- package/dist/tools/categories.d.ts.map +1 -1
- package/dist/tools/categories.js +59 -2
- package/dist/tools/categories.js.map +1 -1
- package/dist/tools/checklist-items.d.ts +19 -9
- package/dist/tools/checklist-items.d.ts.map +1 -1
- package/dist/tools/checklist-items.js +71 -5
- package/dist/tools/checklist-items.js.map +1 -1
- package/dist/tools/contact-folders.d.ts +50 -0
- package/dist/tools/contact-folders.d.ts.map +1 -0
- package/dist/tools/contact-folders.js +136 -0
- package/dist/tools/contact-folders.js.map +1 -0
- package/dist/tools/contacts-graph.d.ts +45 -0
- package/dist/tools/contacts-graph.d.ts.map +1 -0
- package/dist/tools/contacts-graph.js +174 -0
- package/dist/tools/contacts-graph.js.map +1 -0
- package/dist/tools/contacts.d.ts +61 -30
- package/dist/tools/contacts.d.ts.map +1 -1
- package/dist/tools/contacts.js +150 -93
- package/dist/tools/contacts.js.map +1 -1
- package/dist/tools/excel.d.ts +20 -10
- package/dist/tools/excel.d.ts.map +1 -1
- package/dist/tools/excel.js +82 -6
- package/dist/tools/excel.js.map +1 -1
- package/dist/tools/focused-overrides.d.ts +14 -4
- package/dist/tools/focused-overrides.d.ts.map +1 -1
- package/dist/tools/focused-overrides.js +59 -2
- package/dist/tools/focused-overrides.js.map +1 -1
- package/dist/tools/index.d.ts +4 -5
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +4 -6
- package/dist/tools/index.js.map +1 -1
- package/dist/tools/linked-resources.d.ts +17 -7
- package/dist/tools/linked-resources.d.ts.map +1 -1
- package/dist/tools/linked-resources.js +60 -4
- package/dist/tools/linked-resources.js.map +1 -1
- package/dist/tools/mail-graph.d.ts +38 -0
- package/dist/tools/mail-graph.d.ts.map +1 -0
- package/dist/tools/mail-graph.js +187 -0
- package/dist/tools/mail-graph.js.map +1 -0
- package/dist/tools/mail-rules.d.ts +20 -8
- package/dist/tools/mail-rules.d.ts.map +1 -1
- package/dist/tools/mail-rules.js +63 -7
- package/dist/tools/mail-rules.js.map +1 -1
- package/dist/tools/mail-send.d.ts +39 -27
- package/dist/tools/mail-send.d.ts.map +1 -1
- package/dist/tools/mail-send.js +249 -24
- package/dist/tools/mail-send.js.map +1 -1
- package/dist/tools/mail.d.ts +91 -68
- package/dist/tools/mail.d.ts.map +1 -1
- package/dist/tools/mail.js +232 -243
- package/dist/tools/mail.js.map +1 -1
- package/dist/tools/mailbox-organization.d.ts +51 -34
- package/dist/tools/mailbox-organization.d.ts.map +1 -1
- package/dist/tools/mailbox-organization.js +318 -35
- package/dist/tools/mailbox-organization.js.map +1 -1
- package/dist/tools/mailbox-settings.d.ts +59 -0
- package/dist/tools/mailbox-settings.d.ts.map +1 -0
- package/dist/tools/mailbox-settings.js +136 -0
- package/dist/tools/mailbox-settings.js.map +1 -0
- package/dist/tools/meetings.d.ts +24 -14
- package/dist/tools/meetings.d.ts.map +1 -1
- package/dist/tools/meetings.js +82 -6
- package/dist/tools/meetings.js.map +1 -1
- package/dist/tools/onedrive.d.ts +26 -16
- package/dist/tools/onedrive.d.ts.map +1 -1
- package/dist/tools/onedrive.js +140 -11
- package/dist/tools/onedrive.js.map +1 -1
- package/dist/tools/onenote.d.ts +63 -0
- package/dist/tools/onenote.d.ts.map +1 -0
- package/dist/tools/onenote.js +221 -0
- package/dist/tools/onenote.js.map +1 -0
- package/dist/tools/people.d.ts +10 -0
- package/dist/tools/people.d.ts.map +1 -1
- package/dist/tools/people.js +94 -0
- package/dist/tools/people.js.map +1 -1
- package/dist/tools/planner-visualization.d.ts +15 -5
- package/dist/tools/planner-visualization.d.ts.map +1 -1
- package/dist/tools/planner-visualization.js +58 -4
- package/dist/tools/planner-visualization.js.map +1 -1
- package/dist/tools/planner.d.ts +69 -39
- package/dist/tools/planner.d.ts.map +1 -1
- package/dist/tools/planner.js +231 -23
- package/dist/tools/planner.js.map +1 -1
- package/dist/tools/scheduling.d.ts +12 -0
- package/dist/tools/scheduling.d.ts.map +1 -1
- package/dist/tools/scheduling.js +38 -0
- package/dist/tools/scheduling.js.map +1 -1
- package/dist/tools/shared-mailbox.d.ts +164 -0
- package/dist/tools/shared-mailbox.d.ts.map +1 -0
- package/dist/tools/shared-mailbox.js +318 -0
- package/dist/tools/shared-mailbox.js.map +1 -0
- package/dist/tools/sharepoint-lists.d.ts +131 -0
- package/dist/tools/sharepoint-lists.d.ts.map +1 -0
- package/dist/tools/sharepoint-lists.js +246 -0
- package/dist/tools/sharepoint-lists.js.map +1 -0
- package/dist/tools/sharepoint.d.ts +24 -14
- package/dist/tools/sharepoint.d.ts.map +1 -1
- package/dist/tools/sharepoint.js +85 -9
- package/dist/tools/sharepoint.js.map +1 -1
- package/dist/tools/task-attachments.d.ts +17 -7
- package/dist/tools/task-attachments.d.ts.map +1 -1
- package/dist/tools/task-attachments.js +60 -4
- package/dist/tools/task-attachments.js.map +1 -1
- package/dist/tools/task-lists.d.ts +56 -0
- package/dist/tools/task-lists.d.ts.map +1 -0
- package/dist/tools/task-lists.js +155 -0
- package/dist/tools/task-lists.js.map +1 -0
- package/dist/tools/tasks-graph.d.ts +49 -0
- package/dist/tools/tasks-graph.d.ts.map +1 -0
- package/dist/tools/tasks-graph.js +193 -0
- package/dist/tools/tasks-graph.js.map +1 -0
- package/dist/tools/tasks.d.ts +121 -29
- package/dist/tools/tasks.d.ts.map +1 -1
- package/dist/tools/tasks.js +136 -84
- package/dist/tools/tasks.js.map +1 -1
- package/dist/tools/teams.d.ts +57 -46
- package/dist/tools/teams.d.ts.map +1 -1
- package/dist/tools/teams.js +288 -26
- package/dist/tools/teams.js.map +1 -1
- package/dist/tools/what-changed.d.ts +48 -0
- package/dist/tools/what-changed.d.ts.map +1 -0
- package/dist/tools/what-changed.js +149 -0
- package/dist/tools/what-changed.js.map +1 -0
- package/dist/types/calendar.d.ts +1 -1
- package/dist/types/calendar.d.ts.map +1 -1
- package/dist/types/calendar.js.map +1 -1
- package/dist/types/contacts.d.ts +1 -1
- package/dist/types/contacts.d.ts.map +1 -1
- package/dist/types/contacts.js.map +1 -1
- package/dist/types/mail.d.ts +1 -1
- package/dist/types/mail.d.ts.map +1 -1
- package/dist/types/mail.js.map +1 -1
- package/dist/utils/errors.d.ts +110 -38
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +239 -56
- package/dist/utils/errors.js.map +1 -1
- package/dist/visualization/types.d.ts +4 -4
- package/package.json +2 -3
- package/dist/applescript/account-repository.d.ts +0 -30
- package/dist/applescript/account-repository.d.ts.map +0 -1
- package/dist/applescript/account-repository.js +0 -38
- package/dist/applescript/account-repository.js.map +0 -1
- package/dist/applescript/account-scripts.d.ts +0 -21
- package/dist/applescript/account-scripts.d.ts.map +0 -1
- package/dist/applescript/account-scripts.js +0 -180
- package/dist/applescript/account-scripts.js.map +0 -1
- package/dist/applescript/calendar-manager.d.ts +0 -44
- package/dist/applescript/calendar-manager.d.ts.map +0 -1
- package/dist/applescript/calendar-manager.js +0 -92
- package/dist/applescript/calendar-manager.js.map +0 -1
- package/dist/applescript/calendar-writer.d.ts +0 -36
- package/dist/applescript/calendar-writer.d.ts.map +0 -1
- package/dist/applescript/calendar-writer.js +0 -94
- package/dist/applescript/calendar-writer.js.map +0 -1
- package/dist/applescript/content-readers.d.ts +0 -114
- package/dist/applescript/content-readers.d.ts.map +0 -1
- package/dist/applescript/content-readers.js +0 -328
- package/dist/applescript/content-readers.js.map +0 -1
- package/dist/applescript/executor.d.ts +0 -60
- package/dist/applescript/executor.d.ts.map +0 -1
- package/dist/applescript/executor.js +0 -173
- package/dist/applescript/executor.js.map +0 -1
- package/dist/applescript/index.d.ts +0 -20
- package/dist/applescript/index.d.ts.map +0 -1
- package/dist/applescript/index.js +0 -29
- package/dist/applescript/index.js.map +0 -1
- package/dist/applescript/mail-sender.d.ts +0 -38
- package/dist/applescript/mail-sender.d.ts.map +0 -1
- package/dist/applescript/mail-sender.js +0 -67
- package/dist/applescript/mail-sender.js.map +0 -1
- package/dist/applescript/parser.d.ts +0 -235
- package/dist/applescript/parser.d.ts.map +0 -1
- package/dist/applescript/parser.js +0 -496
- package/dist/applescript/parser.js.map +0 -1
- package/dist/applescript/repository.d.ts +0 -64
- package/dist/applescript/repository.d.ts.map +0 -1
- package/dist/applescript/repository.js +0 -444
- package/dist/applescript/repository.js.map +0 -1
- package/dist/applescript/scripts.d.ts +0 -265
- package/dist/applescript/scripts.d.ts.map +0 -1
- package/dist/applescript/scripts.js +0 -1483
- package/dist/applescript/scripts.js.map +0 -1
- package/dist/parsers/olk15.d.ts +0 -87
- package/dist/parsers/olk15.d.ts.map +0 -1
- package/dist/parsers/olk15.js +0 -368
- package/dist/parsers/olk15.js.map +0 -1
- package/dist/tools/notes.d.ts +0 -74
- package/dist/tools/notes.d.ts.map +0 -1
- package/dist/tools/notes.js +0 -136
- package/dist/tools/notes.js.map +0 -1
package/dist/tools/tasks.d.ts
CHANGED
|
@@ -8,8 +8,13 @@
|
|
|
8
8
|
* Provides tools for listing, searching, and getting tasks.
|
|
9
9
|
*/
|
|
10
10
|
import { z } from 'zod';
|
|
11
|
-
import type {
|
|
12
|
-
import type {
|
|
11
|
+
import type { ToolDefinition } from '../registry/types.js';
|
|
12
|
+
import type { GraphTasksTools } from './tasks-graph.js';
|
|
13
|
+
declare module '../registry/types.js' {
|
|
14
|
+
interface GraphToolsets {
|
|
15
|
+
tasksGraph: GraphTasksTools;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
13
18
|
export declare const ListTasksInput: z.ZodObject<{
|
|
14
19
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
15
20
|
offset: z.ZodDefault<z.ZodNumber>;
|
|
@@ -20,11 +25,121 @@ export declare const SearchTasksInput: z.ZodObject<{
|
|
|
20
25
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
21
26
|
}, z.core.$strict>;
|
|
22
27
|
export declare const GetTaskInput: z.ZodObject<{
|
|
23
|
-
task_id: z.
|
|
28
|
+
task_id: z.ZodString;
|
|
29
|
+
}, z.core.$strict>;
|
|
30
|
+
export declare const CreateTaskInput: z.ZodObject<{
|
|
31
|
+
title: z.ZodString;
|
|
32
|
+
task_list_id: z.ZodString;
|
|
33
|
+
body: z.ZodOptional<z.ZodString>;
|
|
34
|
+
body_type: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
html: "html";
|
|
36
|
+
text: "text";
|
|
37
|
+
}>>;
|
|
38
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
39
|
+
importance: z.ZodOptional<z.ZodEnum<{
|
|
40
|
+
high: "high";
|
|
41
|
+
low: "low";
|
|
42
|
+
normal: "normal";
|
|
43
|
+
}>>;
|
|
44
|
+
reminder_date: z.ZodOptional<z.ZodString>;
|
|
45
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
pattern: z.ZodEnum<{
|
|
47
|
+
daily: "daily";
|
|
48
|
+
weekly: "weekly";
|
|
49
|
+
monthly: "monthly";
|
|
50
|
+
yearly: "yearly";
|
|
51
|
+
}>;
|
|
52
|
+
interval: z.ZodDefault<z.ZodNumber>;
|
|
53
|
+
days_of_week: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
54
|
+
sunday: "sunday";
|
|
55
|
+
monday: "monday";
|
|
56
|
+
tuesday: "tuesday";
|
|
57
|
+
wednesday: "wednesday";
|
|
58
|
+
thursday: "thursday";
|
|
59
|
+
friday: "friday";
|
|
60
|
+
saturday: "saturday";
|
|
61
|
+
}>>>;
|
|
62
|
+
day_of_month: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
range_type: z.ZodEnum<{
|
|
64
|
+
endDate: "endDate";
|
|
65
|
+
noEnd: "noEnd";
|
|
66
|
+
numbered: "numbered";
|
|
67
|
+
}>;
|
|
68
|
+
start_date: z.ZodString;
|
|
69
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
70
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
}, z.core.$strict>>;
|
|
72
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
export declare const UpdateTaskInput: z.ZodObject<{
|
|
75
|
+
task_id: z.ZodString;
|
|
76
|
+
title: z.ZodOptional<z.ZodString>;
|
|
77
|
+
body: z.ZodOptional<z.ZodString>;
|
|
78
|
+
body_type: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
html: "html";
|
|
80
|
+
text: "text";
|
|
81
|
+
}>>;
|
|
82
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
83
|
+
importance: z.ZodOptional<z.ZodEnum<{
|
|
84
|
+
high: "high";
|
|
85
|
+
low: "low";
|
|
86
|
+
normal: "normal";
|
|
87
|
+
}>>;
|
|
88
|
+
reminder_date: z.ZodOptional<z.ZodString>;
|
|
89
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
90
|
+
notStarted: "notStarted";
|
|
91
|
+
inProgress: "inProgress";
|
|
92
|
+
completed: "completed";
|
|
93
|
+
waitingOnOthers: "waitingOnOthers";
|
|
94
|
+
deferred: "deferred";
|
|
95
|
+
}>>;
|
|
96
|
+
recurrence: z.ZodOptional<z.ZodObject<{
|
|
97
|
+
pattern: z.ZodEnum<{
|
|
98
|
+
daily: "daily";
|
|
99
|
+
weekly: "weekly";
|
|
100
|
+
monthly: "monthly";
|
|
101
|
+
yearly: "yearly";
|
|
102
|
+
}>;
|
|
103
|
+
interval: z.ZodDefault<z.ZodNumber>;
|
|
104
|
+
days_of_week: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
105
|
+
sunday: "sunday";
|
|
106
|
+
monday: "monday";
|
|
107
|
+
tuesday: "tuesday";
|
|
108
|
+
wednesday: "wednesday";
|
|
109
|
+
thursday: "thursday";
|
|
110
|
+
friday: "friday";
|
|
111
|
+
saturday: "saturday";
|
|
112
|
+
}>>>;
|
|
113
|
+
day_of_month: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
range_type: z.ZodEnum<{
|
|
115
|
+
endDate: "endDate";
|
|
116
|
+
noEnd: "noEnd";
|
|
117
|
+
numbered: "numbered";
|
|
118
|
+
}>;
|
|
119
|
+
start_date: z.ZodString;
|
|
120
|
+
end_date: z.ZodOptional<z.ZodString>;
|
|
121
|
+
occurrences: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
}, z.core.$strict>>;
|
|
123
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
|
+
}, z.core.$strict>;
|
|
125
|
+
export declare const CompleteTaskInput: z.ZodObject<{
|
|
126
|
+
task_id: z.ZodString;
|
|
127
|
+
}, z.core.$strict>;
|
|
128
|
+
export declare const PrepareDeleteTaskInput: z.ZodObject<{
|
|
129
|
+
task_id: z.ZodString;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
export declare const ConfirmDeleteTaskInput: z.ZodObject<{
|
|
132
|
+
token_id: z.ZodUUID;
|
|
133
|
+
task_id: z.ZodString;
|
|
24
134
|
}, z.core.$strict>;
|
|
25
135
|
export type ListTasksParams = z.infer<typeof ListTasksInput>;
|
|
26
136
|
export type SearchTasksParams = z.infer<typeof SearchTasksInput>;
|
|
27
137
|
export type GetTaskParams = z.infer<typeof GetTaskInput>;
|
|
138
|
+
export type CreateTaskParams = z.infer<typeof CreateTaskInput>;
|
|
139
|
+
export type UpdateTaskParams = z.infer<typeof UpdateTaskInput>;
|
|
140
|
+
export type CompleteTaskParams = z.infer<typeof CompleteTaskInput>;
|
|
141
|
+
export type PrepareDeleteTaskParams = z.infer<typeof PrepareDeleteTaskInput>;
|
|
142
|
+
export type ConfirmDeleteTaskParams = z.infer<typeof ConfirmDeleteTaskInput>;
|
|
28
143
|
/**
|
|
29
144
|
* Interface for reading task content from data files.
|
|
30
145
|
*/
|
|
@@ -44,31 +159,8 @@ export interface TaskDetails {
|
|
|
44
159
|
readonly categories: readonly string[];
|
|
45
160
|
}
|
|
46
161
|
/**
|
|
47
|
-
*
|
|
48
|
-
|
|
49
|
-
export declare const nullTaskContentReader: ITaskContentReader;
|
|
50
|
-
/**
|
|
51
|
-
* Tasks tools implementation with dependency injection.
|
|
52
|
-
*/
|
|
53
|
-
export declare class TasksTools {
|
|
54
|
-
private readonly repository;
|
|
55
|
-
private readonly contentReader;
|
|
56
|
-
constructor(repository: IRepository, contentReader?: ITaskContentReader);
|
|
57
|
-
/**
|
|
58
|
-
* Lists tasks with pagination and filtering.
|
|
59
|
-
*/
|
|
60
|
-
listTasks(params: ListTasksParams): TaskSummary[];
|
|
61
|
-
/**
|
|
62
|
-
* Searches tasks by name.
|
|
63
|
-
*/
|
|
64
|
-
searchTasks(params: SearchTasksParams): TaskSummary[];
|
|
65
|
-
/**
|
|
66
|
-
* Gets a single task by ID.
|
|
67
|
-
*/
|
|
68
|
-
getTask(params: GetTaskParams): Task | null;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Creates tasks tools with the given repository.
|
|
162
|
+
* Registry tool definitions for the tasks domain. Each handler delegates to
|
|
163
|
+
* GraphTasksTools, which returns MCP content directly.
|
|
72
164
|
*/
|
|
73
|
-
export declare function
|
|
165
|
+
export declare function tasksToolDefinitions(): ToolDefinition[];
|
|
74
166
|
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,OAAO,KAA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AAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAM7E;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,eAAe,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;CAClE;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,UAAU,EAAE,SAAS,MAAM,EAAE,CAAC;CACxC;AAMD;;;GAGG;AACH,wBAAgB,oBAAoB,IAAI,cAAc,EAAE,CAoFvD"}
|
package/dist/tools/tasks.js
CHANGED
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
* Provides tools for listing, searching, and getting tasks.
|
|
9
9
|
*/
|
|
10
10
|
import { z } from 'zod';
|
|
11
|
-
import {
|
|
11
|
+
import { defineTool } from '../registry/define-tool.js';
|
|
12
|
+
import { tokenIdLink } from '../registry/elicit-links.js';
|
|
13
|
+
import { requireGraphToolset } from '../registry/context.js';
|
|
14
|
+
import { Id } from '../ids/schema.js';
|
|
12
15
|
// =============================================================================
|
|
13
16
|
// Input Schemas
|
|
14
17
|
// =============================================================================
|
|
@@ -34,93 +37,142 @@ export const SearchTasksInput = z.strictObject({
|
|
|
34
37
|
.describe('Maximum number of tasks to return (1-100)'),
|
|
35
38
|
});
|
|
36
39
|
export const GetTaskInput = z.strictObject({
|
|
37
|
-
task_id:
|
|
40
|
+
task_id: Id.task.describe('The task ID to retrieve — a `td_` token from list_tasks / search_tasks.'),
|
|
41
|
+
});
|
|
42
|
+
// Task write schemas (Graph API)
|
|
43
|
+
const RecurrenceSchema = z.strictObject({
|
|
44
|
+
pattern: z.enum(['daily', 'weekly', 'monthly', 'yearly']).describe('Recurrence pattern type'),
|
|
45
|
+
interval: z.number().int().min(1).default(1).describe('Interval between occurrences'),
|
|
46
|
+
days_of_week: z.array(z.enum(['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'])).optional().describe('Days of week (for weekly pattern)'),
|
|
47
|
+
day_of_month: z.number().int().min(1).max(31).optional().describe('Day of month (for monthly pattern)'),
|
|
48
|
+
range_type: z.enum(['endDate', 'noEnd', 'numbered']).describe('How the recurrence ends'),
|
|
49
|
+
start_date: z.string().describe('Start date (YYYY-MM-DD)'),
|
|
50
|
+
end_date: z.string().optional().describe('End date (YYYY-MM-DD, for endDate range)'),
|
|
51
|
+
occurrences: z.number().int().min(1).optional().describe('Number of occurrences (for numbered range)'),
|
|
52
|
+
}).optional().describe('Task recurrence settings');
|
|
53
|
+
export const CreateTaskInput = z.strictObject({
|
|
54
|
+
title: z.string().min(1),
|
|
55
|
+
task_list_id: Id.taskList,
|
|
56
|
+
body: z.string().optional(),
|
|
57
|
+
body_type: z.enum(['text', 'html']).optional(),
|
|
58
|
+
due_date: z.string().optional(),
|
|
59
|
+
importance: z.enum(['low', 'normal', 'high']).optional(),
|
|
60
|
+
reminder_date: z.string().optional(),
|
|
61
|
+
recurrence: RecurrenceSchema,
|
|
62
|
+
categories: z.array(z.string()).optional(),
|
|
63
|
+
});
|
|
64
|
+
export const UpdateTaskInput = z.strictObject({
|
|
65
|
+
task_id: Id.task,
|
|
66
|
+
title: z.string().optional(),
|
|
67
|
+
body: z.string().optional(),
|
|
68
|
+
body_type: z.enum(['text', 'html']).optional(),
|
|
69
|
+
due_date: z.string().optional(),
|
|
70
|
+
importance: z.enum(['low', 'normal', 'high']).optional(),
|
|
71
|
+
reminder_date: z.string().optional(),
|
|
72
|
+
status: z.enum(['notStarted', 'inProgress', 'completed', 'waitingOnOthers', 'deferred']).optional(),
|
|
73
|
+
recurrence: RecurrenceSchema,
|
|
74
|
+
categories: z.array(z.string()).optional(),
|
|
75
|
+
});
|
|
76
|
+
export const CompleteTaskInput = z.strictObject({
|
|
77
|
+
task_id: Id.task,
|
|
78
|
+
});
|
|
79
|
+
export const PrepareDeleteTaskInput = z.strictObject({
|
|
80
|
+
task_id: Id.task,
|
|
81
|
+
});
|
|
82
|
+
export const ConfirmDeleteTaskInput = z.strictObject({
|
|
83
|
+
token_id: z.uuid(),
|
|
84
|
+
task_id: Id.task,
|
|
38
85
|
});
|
|
39
|
-
/**
|
|
40
|
-
* Default task content reader that returns null.
|
|
41
|
-
*/
|
|
42
|
-
export const nullTaskContentReader = {
|
|
43
|
-
readTaskDetails: () => null,
|
|
44
|
-
};
|
|
45
|
-
// =============================================================================
|
|
46
|
-
// Transformers
|
|
47
|
-
// =============================================================================
|
|
48
|
-
/**
|
|
49
|
-
* Transforms a database task row to TaskSummary.
|
|
50
|
-
*/
|
|
51
|
-
function transformTaskSummary(row) {
|
|
52
|
-
return {
|
|
53
|
-
id: row.id,
|
|
54
|
-
folderId: row.folderId,
|
|
55
|
-
name: row.name,
|
|
56
|
-
isCompleted: row.isCompleted === 1,
|
|
57
|
-
dueDate: appleTimestampToIso(row.dueDate),
|
|
58
|
-
priority: row.priority,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Transforms a database task row to full Task.
|
|
63
|
-
*/
|
|
64
|
-
function transformTask(row, details) {
|
|
65
|
-
const summary = transformTaskSummary(row);
|
|
66
|
-
return {
|
|
67
|
-
...summary,
|
|
68
|
-
startDate: appleTimestampToIso(row.startDate),
|
|
69
|
-
completedDate: details?.completedDate ?? null,
|
|
70
|
-
hasReminder: row.hasReminder === 1,
|
|
71
|
-
reminderDate: details?.reminderDate ?? null,
|
|
72
|
-
body: details?.body ?? null,
|
|
73
|
-
categories: details?.categories ?? [],
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
86
|
// =============================================================================
|
|
77
|
-
//
|
|
87
|
+
// Registry Definitions (v3 registry-driven architecture)
|
|
78
88
|
// =============================================================================
|
|
79
89
|
/**
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
export class TasksTools {
|
|
83
|
-
repository;
|
|
84
|
-
contentReader;
|
|
85
|
-
constructor(repository, contentReader = nullTaskContentReader) {
|
|
86
|
-
this.repository = repository;
|
|
87
|
-
this.contentReader = contentReader;
|
|
88
|
-
}
|
|
89
|
-
/**
|
|
90
|
-
* Lists tasks with pagination and filtering.
|
|
91
|
-
*/
|
|
92
|
-
listTasks(params) {
|
|
93
|
-
const { limit, offset, include_completed } = params;
|
|
94
|
-
const rows = include_completed
|
|
95
|
-
? this.repository.listTasks(limit, offset)
|
|
96
|
-
: this.repository.listIncompleteTasks(limit, offset);
|
|
97
|
-
return rows.map(transformTaskSummary);
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Searches tasks by name.
|
|
101
|
-
*/
|
|
102
|
-
searchTasks(params) {
|
|
103
|
-
const { query, limit } = params;
|
|
104
|
-
const rows = this.repository.searchTasks(query, limit);
|
|
105
|
-
return rows.map(transformTaskSummary);
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Gets a single task by ID.
|
|
109
|
-
*/
|
|
110
|
-
getTask(params) {
|
|
111
|
-
const { task_id } = params;
|
|
112
|
-
const row = this.repository.getTask(task_id);
|
|
113
|
-
if (row == null) {
|
|
114
|
-
return null;
|
|
115
|
-
}
|
|
116
|
-
const details = this.contentReader.readTaskDetails(row.dataFilePath);
|
|
117
|
-
return transformTask(row, details);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
/**
|
|
121
|
-
* Creates tasks tools with the given repository.
|
|
90
|
+
* Registry tool definitions for the tasks domain. Each handler delegates to
|
|
91
|
+
* GraphTasksTools, which returns MCP content directly.
|
|
122
92
|
*/
|
|
123
|
-
export function
|
|
124
|
-
return
|
|
93
|
+
export function tasksToolDefinitions() {
|
|
94
|
+
return [
|
|
95
|
+
defineTool({
|
|
96
|
+
name: 'list_tasks',
|
|
97
|
+
description: 'List tasks with pagination and filtering',
|
|
98
|
+
input: ListTasksInput,
|
|
99
|
+
annotations: { readOnlyHint: true },
|
|
100
|
+
destructive: false,
|
|
101
|
+
presets: ['tasks'],
|
|
102
|
+
backends: ['graph'],
|
|
103
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').listTasks(params),
|
|
104
|
+
}),
|
|
105
|
+
defineTool({
|
|
106
|
+
name: 'search_tasks',
|
|
107
|
+
description: 'Search tasks by name',
|
|
108
|
+
input: SearchTasksInput,
|
|
109
|
+
annotations: { readOnlyHint: true },
|
|
110
|
+
destructive: false,
|
|
111
|
+
presets: ['tasks'],
|
|
112
|
+
backends: ['graph'],
|
|
113
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').searchTasks(params),
|
|
114
|
+
}),
|
|
115
|
+
defineTool({
|
|
116
|
+
name: 'get_task',
|
|
117
|
+
description: 'Get task details',
|
|
118
|
+
input: GetTaskInput,
|
|
119
|
+
annotations: { readOnlyHint: true },
|
|
120
|
+
destructive: false,
|
|
121
|
+
presets: ['tasks'],
|
|
122
|
+
backends: ['graph'],
|
|
123
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').getTask(params),
|
|
124
|
+
}),
|
|
125
|
+
defineTool({
|
|
126
|
+
name: 'create_task',
|
|
127
|
+
description: 'Create a new task in a task list. Supports optional recurrence settings for repeating tasks.',
|
|
128
|
+
input: CreateTaskInput,
|
|
129
|
+
annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
130
|
+
destructive: false,
|
|
131
|
+
presets: ['tasks'],
|
|
132
|
+
backends: ['graph'],
|
|
133
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').createTask(params),
|
|
134
|
+
}),
|
|
135
|
+
defineTool({
|
|
136
|
+
name: 'update_task',
|
|
137
|
+
description: 'Update an existing task. Only specified fields will be updated. Supports optional recurrence settings for repeating tasks.',
|
|
138
|
+
input: UpdateTaskInput,
|
|
139
|
+
annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
140
|
+
destructive: false,
|
|
141
|
+
presets: ['tasks'],
|
|
142
|
+
backends: ['graph'],
|
|
143
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').updateTask(params),
|
|
144
|
+
}),
|
|
145
|
+
defineTool({
|
|
146
|
+
name: 'complete_task',
|
|
147
|
+
description: 'Mark a task as completed',
|
|
148
|
+
input: CompleteTaskInput,
|
|
149
|
+
annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
150
|
+
destructive: false,
|
|
151
|
+
presets: ['tasks'],
|
|
152
|
+
backends: ['graph'],
|
|
153
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').completeTask(params),
|
|
154
|
+
}),
|
|
155
|
+
defineTool({
|
|
156
|
+
name: 'prepare_delete_task',
|
|
157
|
+
description: 'Prepare to delete a task. Returns a preview and approval token. Call confirm_delete_task to execute.',
|
|
158
|
+
input: PrepareDeleteTaskInput,
|
|
159
|
+
annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: true },
|
|
160
|
+
destructive: true,
|
|
161
|
+
presets: ['tasks'],
|
|
162
|
+
backends: ['graph'],
|
|
163
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').prepareDeleteTask(params),
|
|
164
|
+
onElicit: tokenIdLink('confirm_delete_task', ['task_id']),
|
|
165
|
+
}),
|
|
166
|
+
defineTool({
|
|
167
|
+
name: 'confirm_delete_task',
|
|
168
|
+
description: 'Confirm deletion of a task using a token from prepare_delete_task',
|
|
169
|
+
input: ConfirmDeleteTaskInput,
|
|
170
|
+
annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: true },
|
|
171
|
+
destructive: true,
|
|
172
|
+
presets: ['tasks'],
|
|
173
|
+
backends: ['graph'],
|
|
174
|
+
handler: (ctx, params) => requireGraphToolset(ctx, 'tasksGraph').confirmDeleteTask(params),
|
|
175
|
+
}),
|
|
176
|
+
];
|
|
125
177
|
}
|
|
126
178
|
//# sourceMappingURL=tasks.js.map
|
package/dist/tools/tasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/tools/tasks.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;GAIG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,EAAE,EAAE,MAAM,kBAAkB,CAAC;AAWtC,gFAAgF;AAChF,gBAAgB;AAChB,gFAAgF;AAEhF,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,YAAY,CAAC;IAC3C,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,GAAG,EAAE;SACL,GAAG,CAAC,CAAC,CAAC;SACN,GAAG,CAAC,GAAG,CAAC;SACR,OAAO,CAAC,EAAE,CAAC;SACX,QAAQ,CAAC,2CAA2C,CAAC;IACxD,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC;IAC9E,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,yBAAyB,CAAC;CACjF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,YAAY,CAAC;IAC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