@jbctechsolutions/mcp-office365 2.5.1
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/LICENSE +21 -0
- package/README.md +667 -0
- package/dist/applescript/account-repository.d.ts +30 -0
- package/dist/applescript/account-repository.d.ts.map +1 -0
- package/dist/applescript/account-repository.js +38 -0
- package/dist/applescript/account-repository.js.map +1 -0
- package/dist/applescript/account-scripts.d.ts +21 -0
- package/dist/applescript/account-scripts.d.ts.map +1 -0
- package/dist/applescript/account-scripts.js +180 -0
- package/dist/applescript/account-scripts.js.map +1 -0
- package/dist/applescript/calendar-manager.d.ts +44 -0
- package/dist/applescript/calendar-manager.d.ts.map +1 -0
- package/dist/applescript/calendar-manager.js +92 -0
- package/dist/applescript/calendar-manager.js.map +1 -0
- package/dist/applescript/calendar-writer.d.ts +36 -0
- package/dist/applescript/calendar-writer.d.ts.map +1 -0
- package/dist/applescript/calendar-writer.js +94 -0
- package/dist/applescript/calendar-writer.js.map +1 -0
- package/dist/applescript/content-readers.d.ts +114 -0
- package/dist/applescript/content-readers.d.ts.map +1 -0
- package/dist/applescript/content-readers.js +328 -0
- package/dist/applescript/content-readers.js.map +1 -0
- package/dist/applescript/executor.d.ts +60 -0
- package/dist/applescript/executor.d.ts.map +1 -0
- package/dist/applescript/executor.js +173 -0
- package/dist/applescript/executor.js.map +1 -0
- package/dist/applescript/index.d.ts +20 -0
- package/dist/applescript/index.d.ts.map +1 -0
- package/dist/applescript/index.js +29 -0
- package/dist/applescript/index.js.map +1 -0
- package/dist/applescript/mail-sender.d.ts +38 -0
- package/dist/applescript/mail-sender.d.ts.map +1 -0
- package/dist/applescript/mail-sender.js +67 -0
- package/dist/applescript/mail-sender.js.map +1 -0
- package/dist/applescript/parser.d.ts +235 -0
- package/dist/applescript/parser.d.ts.map +1 -0
- package/dist/applescript/parser.js +496 -0
- package/dist/applescript/parser.js.map +1 -0
- package/dist/applescript/repository.d.ts +64 -0
- package/dist/applescript/repository.d.ts.map +1 -0
- package/dist/applescript/repository.js +444 -0
- package/dist/applescript/repository.js.map +1 -0
- package/dist/applescript/scripts.d.ts +265 -0
- package/dist/applescript/scripts.d.ts.map +1 -0
- package/dist/applescript/scripts.js +1483 -0
- package/dist/applescript/scripts.js.map +1 -0
- package/dist/approval/hash.d.ts +87 -0
- package/dist/approval/hash.d.ts.map +1 -0
- package/dist/approval/hash.js +102 -0
- package/dist/approval/hash.js.map +1 -0
- package/dist/approval/index.d.ts +13 -0
- package/dist/approval/index.d.ts.map +1 -0
- package/dist/approval/index.js +7 -0
- package/dist/approval/index.js.map +1 -0
- package/dist/approval/token-manager.d.ts +51 -0
- package/dist/approval/token-manager.d.ts.map +1 -0
- package/dist/approval/token-manager.js +111 -0
- package/dist/approval/token-manager.js.map +1 -0
- package/dist/approval/types.d.ts +44 -0
- package/dist/approval/types.d.ts.map +1 -0
- package/dist/approval/types.js +6 -0
- package/dist/approval/types.js.map +1 -0
- package/dist/cli.d.ts +30 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +143 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +27 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +42 -0
- package/dist/config.js.map +1 -0
- package/dist/database/connection.d.ts +77 -0
- package/dist/database/connection.d.ts.map +1 -0
- package/dist/database/connection.js +130 -0
- package/dist/database/connection.js.map +1 -0
- package/dist/database/index.d.ts +11 -0
- package/dist/database/index.d.ts.map +1 -0
- package/dist/database/index.js +11 -0
- package/dist/database/index.js.map +1 -0
- package/dist/database/queries.d.ts +93 -0
- package/dist/database/queries.d.ts.map +1 -0
- package/dist/database/queries.js +430 -0
- package/dist/database/queries.js.map +1 -0
- package/dist/database/repository.d.ts +198 -0
- package/dist/database/repository.d.ts.map +1 -0
- package/dist/database/repository.js +199 -0
- package/dist/database/repository.js.map +1 -0
- package/dist/graph/attachments.d.ts +72 -0
- package/dist/graph/attachments.d.ts.map +1 -0
- package/dist/graph/attachments.js +207 -0
- package/dist/graph/attachments.js.map +1 -0
- package/dist/graph/auth/config.d.ts +34 -0
- package/dist/graph/auth/config.d.ts.map +1 -0
- package/dist/graph/auth/config.js +78 -0
- package/dist/graph/auth/config.js.map +1 -0
- package/dist/graph/auth/device-code-flow.d.ts +55 -0
- package/dist/graph/auth/device-code-flow.d.ts.map +1 -0
- package/dist/graph/auth/device-code-flow.js +180 -0
- package/dist/graph/auth/device-code-flow.js.map +1 -0
- package/dist/graph/auth/index.d.ts +13 -0
- package/dist/graph/auth/index.d.ts.map +1 -0
- package/dist/graph/auth/index.js +13 -0
- package/dist/graph/auth/index.js.map +1 -0
- package/dist/graph/auth/token-cache.d.ts +41 -0
- package/dist/graph/auth/token-cache.d.ts.map +1 -0
- package/dist/graph/auth/token-cache.js +105 -0
- package/dist/graph/auth/token-cache.js.map +1 -0
- package/dist/graph/client/batch.d.ts +38 -0
- package/dist/graph/client/batch.d.ts.map +1 -0
- package/dist/graph/client/batch.js +33 -0
- package/dist/graph/client/batch.js.map +1 -0
- package/dist/graph/client/cache.d.ts +64 -0
- package/dist/graph/client/cache.d.ts.map +1 -0
- package/dist/graph/client/cache.js +108 -0
- package/dist/graph/client/cache.js.map +1 -0
- package/dist/graph/client/graph-client.d.ts +630 -0
- package/dist/graph/client/graph-client.d.ts.map +1 -0
- package/dist/graph/client/graph-client.js +1771 -0
- package/dist/graph/client/graph-client.js.map +1 -0
- package/dist/graph/client/index.d.ts +12 -0
- package/dist/graph/client/index.d.ts.map +1 -0
- package/dist/graph/client/index.js +12 -0
- package/dist/graph/client/index.js.map +1 -0
- package/dist/graph/content-readers.d.ts +106 -0
- package/dist/graph/content-readers.d.ts.map +1 -0
- package/dist/graph/content-readers.js +321 -0
- package/dist/graph/content-readers.js.map +1 -0
- package/dist/graph/index.d.ts +18 -0
- package/dist/graph/index.d.ts.map +1 -0
- package/dist/graph/index.js +23 -0
- package/dist/graph/index.js.map +1 -0
- package/dist/graph/mailbox-adapter.d.ts +30 -0
- package/dist/graph/mailbox-adapter.d.ts.map +1 -0
- package/dist/graph/mailbox-adapter.js +59 -0
- package/dist/graph/mailbox-adapter.js.map +1 -0
- package/dist/graph/mappers/contact-mapper.d.ts +14 -0
- package/dist/graph/mappers/contact-mapper.d.ts.map +1 -0
- package/dist/graph/mappers/contact-mapper.js +20 -0
- package/dist/graph/mappers/contact-mapper.js.map +1 -0
- package/dist/graph/mappers/email-mapper.d.ts +14 -0
- package/dist/graph/mappers/email-mapper.d.ts.map +1 -0
- package/dist/graph/mappers/email-mapper.js +44 -0
- package/dist/graph/mappers/email-mapper.js.map +1 -0
- package/dist/graph/mappers/event-mapper.d.ts +14 -0
- package/dist/graph/mappers/event-mapper.d.ts.map +1 -0
- package/dist/graph/mappers/event-mapper.js +31 -0
- package/dist/graph/mappers/event-mapper.js.map +1 -0
- package/dist/graph/mappers/folder-mapper.d.ts +22 -0
- package/dist/graph/mappers/folder-mapper.d.ts.map +1 -0
- package/dist/graph/mappers/folder-mapper.js +51 -0
- package/dist/graph/mappers/folder-mapper.js.map +1 -0
- package/dist/graph/mappers/index.d.ts +16 -0
- package/dist/graph/mappers/index.d.ts.map +1 -0
- package/dist/graph/mappers/index.js +16 -0
- package/dist/graph/mappers/index.js.map +1 -0
- package/dist/graph/mappers/task-mapper.d.ts +20 -0
- package/dist/graph/mappers/task-mapper.d.ts.map +1 -0
- package/dist/graph/mappers/task-mapper.js +27 -0
- package/dist/graph/mappers/task-mapper.js.map +1 -0
- package/dist/graph/mappers/utils.d.ts +97 -0
- package/dist/graph/mappers/utils.d.ts.map +1 -0
- package/dist/graph/mappers/utils.js +186 -0
- package/dist/graph/mappers/utils.js.map +1 -0
- package/dist/graph/repository.d.ts +1104 -0
- package/dist/graph/repository.d.ts.map +1 -0
- package/dist/graph/repository.js +2999 -0
- package/dist/graph/repository.js.map +1 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +6052 -0
- package/dist/index.js.map +1 -0
- package/dist/parsers/html-stripper.d.ts +41 -0
- package/dist/parsers/html-stripper.d.ts.map +1 -0
- package/dist/parsers/html-stripper.js +179 -0
- package/dist/parsers/html-stripper.js.map +1 -0
- package/dist/parsers/index.d.ts +12 -0
- package/dist/parsers/index.d.ts.map +1 -0
- package/dist/parsers/index.js +12 -0
- package/dist/parsers/index.js.map +1 -0
- package/dist/parsers/olk15.d.ts +87 -0
- package/dist/parsers/olk15.d.ts.map +1 -0
- package/dist/parsers/olk15.js +368 -0
- package/dist/parsers/olk15.js.map +1 -0
- package/dist/signature.d.ts +22 -0
- package/dist/signature.d.ts.map +1 -0
- package/dist/signature.js +89 -0
- package/dist/signature.js.map +1 -0
- package/dist/tools/calendar-permissions.d.ts +79 -0
- package/dist/tools/calendar-permissions.d.ts.map +1 -0
- package/dist/tools/calendar-permissions.js +121 -0
- package/dist/tools/calendar-permissions.js.map +1 -0
- package/dist/tools/calendar.d.ts +208 -0
- package/dist/tools/calendar.d.ts.map +1 -0
- package/dist/tools/calendar.js +247 -0
- package/dist/tools/calendar.js.map +1 -0
- package/dist/tools/categories.d.ts +94 -0
- package/dist/tools/categories.d.ts.map +1 -0
- package/dist/tools/categories.js +117 -0
- package/dist/tools/categories.js.map +1 -0
- package/dist/tools/checklist-items.d.ts +89 -0
- package/dist/tools/checklist-items.d.ts.map +1 -0
- package/dist/tools/checklist-items.js +140 -0
- package/dist/tools/checklist-items.js.map +1 -0
- package/dist/tools/contacts.d.ts +94 -0
- package/dist/tools/contacts.d.ts.map +1 -0
- package/dist/tools/contacts.js +134 -0
- package/dist/tools/contacts.js.map +1 -0
- package/dist/tools/excel.d.ts +96 -0
- package/dist/tools/excel.d.ts.map +1 -0
- package/dist/tools/excel.js +165 -0
- package/dist/tools/excel.js.map +1 -0
- package/dist/tools/focused-overrides.d.ts +70 -0
- package/dist/tools/focused-overrides.d.ts.map +1 -0
- package/dist/tools/focused-overrides.js +117 -0
- package/dist/tools/focused-overrides.js.map +1 -0
- package/dist/tools/index.d.ts +22 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +34 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/linked-resources.d.ts +74 -0
- package/dist/tools/linked-resources.d.ts.map +1 -0
- package/dist/tools/linked-resources.js +122 -0
- package/dist/tools/linked-resources.js.map +1 -0
- package/dist/tools/mail-rules.d.ts +98 -0
- package/dist/tools/mail-rules.d.ts.map +1 -0
- package/dist/tools/mail-rules.js +169 -0
- package/dist/tools/mail-rules.js.map +1 -0
- package/dist/tools/mail-send.d.ts +314 -0
- package/dist/tools/mail-send.d.ts.map +1 -0
- package/dist/tools/mail-send.js +555 -0
- package/dist/tools/mail-send.js.map +1 -0
- package/dist/tools/mail.d.ts +127 -0
- package/dist/tools/mail.d.ts.map +1 -0
- package/dist/tools/mail.js +311 -0
- package/dist/tools/mail.js.map +1 -0
- package/dist/tools/mailbox-organization.d.ts +301 -0
- package/dist/tools/mailbox-organization.d.ts.map +1 -0
- package/dist/tools/mailbox-organization.js +541 -0
- package/dist/tools/mailbox-organization.js.map +1 -0
- package/dist/tools/meetings.d.ts +114 -0
- package/dist/tools/meetings.d.ts.map +1 -0
- package/dist/tools/meetings.js +110 -0
- package/dist/tools/meetings.js.map +1 -0
- package/dist/tools/notes.d.ts +74 -0
- package/dist/tools/notes.d.ts.map +1 -0
- package/dist/tools/notes.js +136 -0
- package/dist/tools/notes.js.map +1 -0
- package/dist/tools/onedrive.d.ts +194 -0
- package/dist/tools/onedrive.d.ts.map +1 -0
- package/dist/tools/onedrive.js +257 -0
- package/dist/tools/onedrive.js.map +1 -0
- package/dist/tools/people.d.ts +129 -0
- package/dist/tools/people.d.ts.map +1 -0
- package/dist/tools/people.js +195 -0
- package/dist/tools/people.js.map +1 -0
- package/dist/tools/planner-visualization.d.ts +91 -0
- package/dist/tools/planner-visualization.d.ts.map +1 -0
- package/dist/tools/planner-visualization.js +192 -0
- package/dist/tools/planner-visualization.js.map +1 -0
- package/dist/tools/planner.d.ts +288 -0
- package/dist/tools/planner.d.ts.map +1 -0
- package/dist/tools/planner.js +368 -0
- package/dist/tools/planner.js.map +1 -0
- package/dist/tools/scheduling.d.ts +49 -0
- package/dist/tools/scheduling.d.ts.map +1 -0
- package/dist/tools/scheduling.js +115 -0
- package/dist/tools/scheduling.js.map +1 -0
- package/dist/tools/sharepoint.d.ts +115 -0
- package/dist/tools/sharepoint.d.ts.map +1 -0
- package/dist/tools/sharepoint.js +99 -0
- package/dist/tools/sharepoint.js.map +1 -0
- package/dist/tools/task-attachments.d.ts +74 -0
- package/dist/tools/task-attachments.d.ts.map +1 -0
- package/dist/tools/task-attachments.js +122 -0
- package/dist/tools/task-attachments.js.map +1 -0
- package/dist/tools/tasks.d.ts +74 -0
- package/dist/tools/tasks.d.ts.map +1 -0
- package/dist/tools/tasks.js +126 -0
- package/dist/tools/tasks.js.map +1 -0
- package/dist/tools/teams.d.ts +389 -0
- package/dist/tools/teams.d.ts.map +1 -0
- package/dist/tools/teams.js +546 -0
- package/dist/tools/teams.js.map +1 -0
- package/dist/types/calendar.d.ts +60 -0
- package/dist/types/calendar.d.ts.map +1 -0
- package/dist/types/calendar.js +15 -0
- package/dist/types/calendar.js.map +1 -0
- package/dist/types/contacts.d.ts +96 -0
- package/dist/types/contacts.d.ts.map +1 -0
- package/dist/types/contacts.js +41 -0
- package/dist/types/contacts.js.map +1 -0
- package/dist/types/index.d.ts +15 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +16 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/mail.d.ts +108 -0
- package/dist/types/mail.d.ts.map +1 -0
- package/dist/types/mail.js +40 -0
- package/dist/types/mail.js.map +1 -0
- package/dist/types/notes.d.ts +26 -0
- package/dist/types/notes.d.ts.map +1 -0
- package/dist/types/notes.js +6 -0
- package/dist/types/notes.js.map +1 -0
- package/dist/types/tasks.d.ts +31 -0
- package/dist/types/tasks.d.ts.map +1 -0
- package/dist/types/tasks.js +6 -0
- package/dist/types/tasks.js.map +1 -0
- package/dist/utils/dates.d.ts +66 -0
- package/dist/utils/dates.d.ts.map +1 -0
- package/dist/utils/dates.js +94 -0
- package/dist/utils/dates.js.map +1 -0
- package/dist/utils/errors.d.ts +218 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +306 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/index.d.ts +10 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +10 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/visualization/html.d.ts +26 -0
- package/dist/visualization/html.d.ts.map +1 -0
- package/dist/visualization/html.js +306 -0
- package/dist/visualization/html.js.map +1 -0
- package/dist/visualization/markdown.d.ts +25 -0
- package/dist/visualization/markdown.d.ts.map +1 -0
- package/dist/visualization/markdown.js +186 -0
- package/dist/visualization/markdown.js.map +1 -0
- package/dist/visualization/mermaid.d.ts +25 -0
- package/dist/visualization/mermaid.d.ts.map +1 -0
- package/dist/visualization/mermaid.js +158 -0
- package/dist/visualization/mermaid.js.map +1 -0
- package/dist/visualization/svg.d.ts +25 -0
- package/dist/visualization/svg.d.ts.map +1 -0
- package/dist/visualization/svg.js +282 -0
- package/dist/visualization/svg.js.map +1 -0
- package/dist/visualization/types.d.ts +43 -0
- package/dist/visualization/types.d.ts.map +1 -0
- package/dist/visualization/types.js +34 -0
- package/dist/visualization/types.js.map +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 JBC Tech Solutions, LLC
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Planner visualization MCP tools.
|
|
7
|
+
*
|
|
8
|
+
* Provides tools for generating visual representations of Planner plans:
|
|
9
|
+
* Kanban boards, Gantt charts, plan summaries, and burndown charts.
|
|
10
|
+
*/
|
|
11
|
+
import { z } from 'zod';
|
|
12
|
+
import type { PlanVisualizationData } from '../visualization/types.js';
|
|
13
|
+
export declare const GenerateKanbanBoardInput: z.ZodObject<{
|
|
14
|
+
plan_id: z.ZodNumber;
|
|
15
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
16
|
+
html: "html";
|
|
17
|
+
svg: "svg";
|
|
18
|
+
markdown: "markdown";
|
|
19
|
+
mermaid: "mermaid";
|
|
20
|
+
}>>;
|
|
21
|
+
output_path: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, z.core.$strict>;
|
|
23
|
+
export declare const GenerateGanttChartInput: z.ZodObject<{
|
|
24
|
+
plan_id: z.ZodNumber;
|
|
25
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
26
|
+
html: "html";
|
|
27
|
+
svg: "svg";
|
|
28
|
+
markdown: "markdown";
|
|
29
|
+
mermaid: "mermaid";
|
|
30
|
+
}>>;
|
|
31
|
+
output_path: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
export declare const GeneratePlanSummaryInput: z.ZodObject<{
|
|
34
|
+
plan_id: z.ZodNumber;
|
|
35
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
36
|
+
html: "html";
|
|
37
|
+
svg: "svg";
|
|
38
|
+
markdown: "markdown";
|
|
39
|
+
mermaid: "mermaid";
|
|
40
|
+
}>>;
|
|
41
|
+
output_path: z.ZodOptional<z.ZodString>;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export declare const GenerateBurndownChartInput: z.ZodObject<{
|
|
44
|
+
plan_id: z.ZodNumber;
|
|
45
|
+
format: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
html: "html";
|
|
47
|
+
svg: "svg";
|
|
48
|
+
markdown: "markdown";
|
|
49
|
+
mermaid: "mermaid";
|
|
50
|
+
}>>;
|
|
51
|
+
output_path: z.ZodOptional<z.ZodString>;
|
|
52
|
+
}, z.core.$strict>;
|
|
53
|
+
export type GenerateKanbanBoardParams = z.infer<typeof GenerateKanbanBoardInput>;
|
|
54
|
+
export type GenerateGanttChartParams = z.infer<typeof GenerateGanttChartInput>;
|
|
55
|
+
export type GeneratePlanSummaryParams = z.infer<typeof GeneratePlanSummaryInput>;
|
|
56
|
+
export type GenerateBurndownChartParams = z.infer<typeof GenerateBurndownChartInput>;
|
|
57
|
+
export interface IPlannerVisualizationRepository {
|
|
58
|
+
getPlanVisualizationDataAsync(planId: number): Promise<PlanVisualizationData>;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Tools for generating visual representations of Planner plans.
|
|
62
|
+
*/
|
|
63
|
+
export declare class PlannerVisualizationTools {
|
|
64
|
+
private readonly repo;
|
|
65
|
+
constructor(repo: IPlannerVisualizationRepository);
|
|
66
|
+
generateKanbanBoard(params: GenerateKanbanBoardParams): Promise<{
|
|
67
|
+
content: Array<{
|
|
68
|
+
type: 'text';
|
|
69
|
+
text: string;
|
|
70
|
+
}>;
|
|
71
|
+
}>;
|
|
72
|
+
generateGanttChart(params: GenerateGanttChartParams): Promise<{
|
|
73
|
+
content: Array<{
|
|
74
|
+
type: 'text';
|
|
75
|
+
text: string;
|
|
76
|
+
}>;
|
|
77
|
+
}>;
|
|
78
|
+
generatePlanSummary(params: GeneratePlanSummaryParams): Promise<{
|
|
79
|
+
content: Array<{
|
|
80
|
+
type: 'text';
|
|
81
|
+
text: string;
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
generateBurndownChart(params: GenerateBurndownChartParams): Promise<{
|
|
85
|
+
content: Array<{
|
|
86
|
+
type: 'text';
|
|
87
|
+
text: string;
|
|
88
|
+
}>;
|
|
89
|
+
}>;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=planner-visualization.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner-visualization.d.ts","sourceRoot":"","sources":["../../src/tools/planner-visualization.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,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AAO,CAAC;QACpE,OAAO,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAChD,CAAC;IAyBI,qBAAqB,CAAC,MAAM,EAAE,2BAA2B,GAAG,OAAO,CAAC;QACxE,OAAO,EAAE,KAAK,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;KAChD,CAAC;CAwBH"}
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 JBC Tech Solutions, LLC
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Planner visualization MCP tools.
|
|
7
|
+
*
|
|
8
|
+
* Provides tools for generating visual representations of Planner plans:
|
|
9
|
+
* Kanban boards, Gantt charts, plan summaries, and burndown charts.
|
|
10
|
+
*/
|
|
11
|
+
import { z } from 'zod';
|
|
12
|
+
import * as fs from 'fs';
|
|
13
|
+
import * as os from 'os';
|
|
14
|
+
import * as path from 'path';
|
|
15
|
+
import { renderKanbanMarkdown, renderGanttMarkdown, renderSummaryMarkdown, renderBurndownMarkdown } from '../visualization/markdown.js';
|
|
16
|
+
import { renderKanbanMermaid, renderGanttMermaid, renderSummaryMermaid, renderBurndownMermaid } from '../visualization/mermaid.js';
|
|
17
|
+
import { renderKanbanHtml, renderGanttHtml, renderSummaryHtml, renderBurndownHtml } from '../visualization/html.js';
|
|
18
|
+
import { renderKanbanSvg, renderGanttSvg, renderSummarySvg, renderBurndownSvg } from '../visualization/svg.js';
|
|
19
|
+
// =============================================================================
|
|
20
|
+
// Input Schemas
|
|
21
|
+
// =============================================================================
|
|
22
|
+
export const GenerateKanbanBoardInput = z.strictObject({
|
|
23
|
+
plan_id: z.number().int().positive().describe('Plan ID from list_plans'),
|
|
24
|
+
format: z.enum(['html', 'svg', 'markdown', 'mermaid']).default('html').describe('Output format'),
|
|
25
|
+
output_path: z.string().optional().describe('Custom file path for output (default: temp directory)'),
|
|
26
|
+
});
|
|
27
|
+
export const GenerateGanttChartInput = z.strictObject({
|
|
28
|
+
plan_id: z.number().int().positive().describe('Plan ID from list_plans'),
|
|
29
|
+
format: z.enum(['html', 'svg', 'markdown', 'mermaid']).default('html').describe('Output format'),
|
|
30
|
+
output_path: z.string().optional().describe('Custom file path for output (default: temp directory)'),
|
|
31
|
+
});
|
|
32
|
+
export const GeneratePlanSummaryInput = z.strictObject({
|
|
33
|
+
plan_id: z.number().int().positive().describe('Plan ID from list_plans'),
|
|
34
|
+
format: z.enum(['html', 'svg', 'markdown', 'mermaid']).default('html').describe('Output format'),
|
|
35
|
+
output_path: z.string().optional().describe('Custom file path for output (default: temp directory)'),
|
|
36
|
+
});
|
|
37
|
+
export const GenerateBurndownChartInput = z.strictObject({
|
|
38
|
+
plan_id: z.number().int().positive().describe('Plan ID from list_plans'),
|
|
39
|
+
format: z.enum(['html', 'svg', 'markdown', 'mermaid']).default('html').describe('Output format'),
|
|
40
|
+
output_path: z.string().optional().describe('Custom file path for output (default: temp directory)'),
|
|
41
|
+
});
|
|
42
|
+
// =============================================================================
|
|
43
|
+
// Helpers
|
|
44
|
+
// =============================================================================
|
|
45
|
+
const FORMAT_EXTENSIONS = {
|
|
46
|
+
html: '.html',
|
|
47
|
+
svg: '.svg',
|
|
48
|
+
markdown: '.md',
|
|
49
|
+
mermaid: '.md',
|
|
50
|
+
};
|
|
51
|
+
function writeOutput(content, format, baseName, outputPath) {
|
|
52
|
+
const ext = FORMAT_EXTENSIONS[format];
|
|
53
|
+
const filePath = outputPath ?? path.join(os.tmpdir(), `${baseName}-${Date.now()}${ext}`);
|
|
54
|
+
fs.writeFileSync(filePath, content, 'utf-8');
|
|
55
|
+
return filePath;
|
|
56
|
+
}
|
|
57
|
+
function getPreview(content, maxLength = 500) {
|
|
58
|
+
return content.length > maxLength ? content.slice(0, maxLength) + '...' : content;
|
|
59
|
+
}
|
|
60
|
+
// =============================================================================
|
|
61
|
+
// Planner Visualization Tools
|
|
62
|
+
// =============================================================================
|
|
63
|
+
/**
|
|
64
|
+
* Tools for generating visual representations of Planner plans.
|
|
65
|
+
*/
|
|
66
|
+
export class PlannerVisualizationTools {
|
|
67
|
+
repo;
|
|
68
|
+
constructor(repo) {
|
|
69
|
+
this.repo = repo;
|
|
70
|
+
}
|
|
71
|
+
async generateKanbanBoard(params) {
|
|
72
|
+
const data = await this.repo.getPlanVisualizationDataAsync(params.plan_id);
|
|
73
|
+
const format = params.format;
|
|
74
|
+
let content;
|
|
75
|
+
switch (format) {
|
|
76
|
+
case 'html':
|
|
77
|
+
content = renderKanbanHtml(data);
|
|
78
|
+
break;
|
|
79
|
+
case 'svg':
|
|
80
|
+
content = renderKanbanSvg(data);
|
|
81
|
+
break;
|
|
82
|
+
case 'markdown':
|
|
83
|
+
content = renderKanbanMarkdown(data);
|
|
84
|
+
break;
|
|
85
|
+
case 'mermaid':
|
|
86
|
+
content = renderKanbanMermaid(data);
|
|
87
|
+
break;
|
|
88
|
+
}
|
|
89
|
+
const filePath = writeOutput(content, format, 'kanban', params.output_path);
|
|
90
|
+
return {
|
|
91
|
+
content: [{
|
|
92
|
+
type: 'text',
|
|
93
|
+
text: JSON.stringify({
|
|
94
|
+
file_path: filePath,
|
|
95
|
+
format,
|
|
96
|
+
preview: getPreview(content),
|
|
97
|
+
}, null, 2),
|
|
98
|
+
}],
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
async generateGanttChart(params) {
|
|
102
|
+
const data = await this.repo.getPlanVisualizationDataAsync(params.plan_id);
|
|
103
|
+
const format = params.format;
|
|
104
|
+
let content;
|
|
105
|
+
switch (format) {
|
|
106
|
+
case 'html':
|
|
107
|
+
content = renderGanttHtml(data);
|
|
108
|
+
break;
|
|
109
|
+
case 'svg':
|
|
110
|
+
content = renderGanttSvg(data);
|
|
111
|
+
break;
|
|
112
|
+
case 'markdown':
|
|
113
|
+
content = renderGanttMarkdown(data);
|
|
114
|
+
break;
|
|
115
|
+
case 'mermaid':
|
|
116
|
+
content = renderGanttMermaid(data);
|
|
117
|
+
break;
|
|
118
|
+
}
|
|
119
|
+
const filePath = writeOutput(content, format, 'gantt', params.output_path);
|
|
120
|
+
return {
|
|
121
|
+
content: [{
|
|
122
|
+
type: 'text',
|
|
123
|
+
text: JSON.stringify({
|
|
124
|
+
file_path: filePath,
|
|
125
|
+
format,
|
|
126
|
+
preview: getPreview(content),
|
|
127
|
+
}, null, 2),
|
|
128
|
+
}],
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
async generatePlanSummary(params) {
|
|
132
|
+
const data = await this.repo.getPlanVisualizationDataAsync(params.plan_id);
|
|
133
|
+
const format = params.format;
|
|
134
|
+
let content;
|
|
135
|
+
switch (format) {
|
|
136
|
+
case 'html':
|
|
137
|
+
content = renderSummaryHtml(data);
|
|
138
|
+
break;
|
|
139
|
+
case 'svg':
|
|
140
|
+
content = renderSummarySvg(data);
|
|
141
|
+
break;
|
|
142
|
+
case 'markdown':
|
|
143
|
+
content = renderSummaryMarkdown(data);
|
|
144
|
+
break;
|
|
145
|
+
case 'mermaid':
|
|
146
|
+
content = renderSummaryMermaid(data);
|
|
147
|
+
break;
|
|
148
|
+
}
|
|
149
|
+
const filePath = writeOutput(content, format, 'summary', params.output_path);
|
|
150
|
+
return {
|
|
151
|
+
content: [{
|
|
152
|
+
type: 'text',
|
|
153
|
+
text: JSON.stringify({
|
|
154
|
+
file_path: filePath,
|
|
155
|
+
format,
|
|
156
|
+
preview: getPreview(content),
|
|
157
|
+
}, null, 2),
|
|
158
|
+
}],
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
async generateBurndownChart(params) {
|
|
162
|
+
const data = await this.repo.getPlanVisualizationDataAsync(params.plan_id);
|
|
163
|
+
const format = params.format;
|
|
164
|
+
let content;
|
|
165
|
+
switch (format) {
|
|
166
|
+
case 'html':
|
|
167
|
+
content = renderBurndownHtml(data);
|
|
168
|
+
break;
|
|
169
|
+
case 'svg':
|
|
170
|
+
content = renderBurndownSvg(data);
|
|
171
|
+
break;
|
|
172
|
+
case 'markdown':
|
|
173
|
+
content = renderBurndownMarkdown(data);
|
|
174
|
+
break;
|
|
175
|
+
case 'mermaid':
|
|
176
|
+
content = renderBurndownMermaid(data);
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
const filePath = writeOutput(content, format, 'burndown', params.output_path);
|
|
180
|
+
return {
|
|
181
|
+
content: [{
|
|
182
|
+
type: 'text',
|
|
183
|
+
text: JSON.stringify({
|
|
184
|
+
file_path: filePath,
|
|
185
|
+
format,
|
|
186
|
+
preview: getPreview(content),
|
|
187
|
+
}, null, 2),
|
|
188
|
+
}],
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
//# sourceMappingURL=planner-visualization.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner-visualization.js","sourceRoot":"","sources":["../../src/tools/planner-visualization.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,EAAE,MAAM,IAAI,CAAC;AACzB,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAE7B,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACxI,OAAO,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACnI,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACpH,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,gBAAgB,EAAE,iBAA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gBAAC,MAAM;YAC/D,KAAK,SAAS;gBAAE,OAAO,GAAG,qBAAqB,CAAC,IAAI,CAAC,CAAC;gBAAC,MAAM;QAC/D,CAAC;QAED,MAAM,QAAQ,GAAG,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC;QAC9E,OAAO;YACL,OAAO,EAAE,CAAC;oBACR,IAAI,EAAE,MAAe;oBACrB,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC;wBACnB,SAAS,EAAE,QAAQ;wBACnB,MAAM;wBACN,OAAO,EAAE,UAAU,CAAC,OAAO,CAAC;qBAC7B,EAAE,IAAI,EAAE,CAAC,CAAC;iBACZ,CAAC;SACH,CAAC;IACJ,CAAC;CACF"}
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2026 JBC Tech Solutions, LLC
|
|
3
|
+
* Licensed under the MIT License. See LICENSE file in the project root.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Microsoft Planner Plans and Buckets MCP tools.
|
|
7
|
+
*
|
|
8
|
+
* Provides tools for managing Planner plans and buckets with ETag caching
|
|
9
|
+
* for optimistic concurrency control, and two-phase approval for destructive
|
|
10
|
+
* delete operations.
|
|
11
|
+
*/
|
|
12
|
+
import { z } from 'zod';
|
|
13
|
+
import type { ApprovalTokenManager } from '../approval/index.js';
|
|
14
|
+
export declare const ListPlansInput: z.ZodObject<{}, z.core.$strict>;
|
|
15
|
+
export declare const GetPlanInput: z.ZodObject<{
|
|
16
|
+
plan_id: z.ZodNumber;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
export declare const CreatePlanInput: z.ZodObject<{
|
|
19
|
+
title: z.ZodString;
|
|
20
|
+
group_id: z.ZodString;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export declare const UpdatePlanInput: z.ZodObject<{
|
|
23
|
+
plan_id: z.ZodNumber;
|
|
24
|
+
title: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
export declare const ListBucketsInput: z.ZodObject<{
|
|
27
|
+
plan_id: z.ZodNumber;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const CreateBucketInput: z.ZodObject<{
|
|
30
|
+
plan_id: z.ZodNumber;
|
|
31
|
+
name: z.ZodString;
|
|
32
|
+
}, z.core.$strict>;
|
|
33
|
+
export declare const UpdateBucketInput: z.ZodObject<{
|
|
34
|
+
bucket_id: z.ZodNumber;
|
|
35
|
+
name: z.ZodOptional<z.ZodString>;
|
|
36
|
+
}, z.core.$strict>;
|
|
37
|
+
export declare const PrepareDeleteBucketInput: z.ZodObject<{
|
|
38
|
+
bucket_id: z.ZodNumber;
|
|
39
|
+
}, z.core.$strict>;
|
|
40
|
+
export declare const ConfirmDeleteBucketInput: z.ZodObject<{
|
|
41
|
+
approval_token: z.ZodString;
|
|
42
|
+
}, z.core.$strict>;
|
|
43
|
+
export declare const ListPlannerTasksInput: z.ZodObject<{
|
|
44
|
+
plan_id: z.ZodNumber;
|
|
45
|
+
}, z.core.$strict>;
|
|
46
|
+
export declare const GetPlannerTaskInput: z.ZodObject<{
|
|
47
|
+
task_id: z.ZodNumber;
|
|
48
|
+
}, z.core.$strict>;
|
|
49
|
+
export declare const CreatePlannerTaskInput: z.ZodObject<{
|
|
50
|
+
plan_id: z.ZodNumber;
|
|
51
|
+
title: z.ZodString;
|
|
52
|
+
bucket_id: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
assignments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, z.core.$loose>>>;
|
|
54
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
56
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strict>;
|
|
58
|
+
export declare const UpdatePlannerTaskInput: z.ZodObject<{
|
|
59
|
+
task_id: z.ZodNumber;
|
|
60
|
+
title: z.ZodOptional<z.ZodString>;
|
|
61
|
+
bucket_id: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
percent_complete: z.ZodOptional<z.ZodNumber>;
|
|
63
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
64
|
+
start_date: z.ZodOptional<z.ZodString>;
|
|
65
|
+
due_date: z.ZodOptional<z.ZodString>;
|
|
66
|
+
assignments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, z.core.$loose>>>;
|
|
67
|
+
}, z.core.$strict>;
|
|
68
|
+
export declare const PrepareDeletePlannerTaskInput: z.ZodObject<{
|
|
69
|
+
task_id: z.ZodNumber;
|
|
70
|
+
}, z.core.$strict>;
|
|
71
|
+
export declare const ConfirmDeletePlannerTaskInput: z.ZodObject<{
|
|
72
|
+
approval_token: z.ZodString;
|
|
73
|
+
}, z.core.$strict>;
|
|
74
|
+
export declare const GetPlannerTaskDetailsInput: z.ZodObject<{
|
|
75
|
+
task_id: z.ZodNumber;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
export declare const UpdatePlannerTaskDetailsInput: z.ZodObject<{
|
|
78
|
+
task_id: z.ZodNumber;
|
|
79
|
+
description: z.ZodOptional<z.ZodString>;
|
|
80
|
+
checklist: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, z.core.$loose>>>;
|
|
81
|
+
references: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{}, z.core.$loose>>>;
|
|
82
|
+
}, z.core.$strict>;
|
|
83
|
+
export type ListPlansParams = z.infer<typeof ListPlansInput>;
|
|
84
|
+
export type GetPlanParams = z.infer<typeof GetPlanInput>;
|
|
85
|
+
export type CreatePlanParams = z.infer<typeof CreatePlanInput>;
|
|
86
|
+
export type UpdatePlanParams = z.infer<typeof UpdatePlanInput>;
|
|
87
|
+
export type ListBucketsParams = z.infer<typeof ListBucketsInput>;
|
|
88
|
+
export type CreateBucketParams = z.infer<typeof CreateBucketInput>;
|
|
89
|
+
export type UpdateBucketParams = z.infer<typeof UpdateBucketInput>;
|
|
90
|
+
export type PrepareDeleteBucketParams = z.infer<typeof PrepareDeleteBucketInput>;
|
|
91
|
+
export type ConfirmDeleteBucketParams = z.infer<typeof ConfirmDeleteBucketInput>;
|
|
92
|
+
export type ListPlannerTasksParams = z.infer<typeof ListPlannerTasksInput>;
|
|
93
|
+
export type GetPlannerTaskParams = z.infer<typeof GetPlannerTaskInput>;
|
|
94
|
+
export type CreatePlannerTaskParams = z.infer<typeof CreatePlannerTaskInput>;
|
|
95
|
+
export type UpdatePlannerTaskParams = z.infer<typeof UpdatePlannerTaskInput>;
|
|
96
|
+
export type PrepareDeletePlannerTaskParams = z.infer<typeof PrepareDeletePlannerTaskInput>;
|
|
97
|
+
export type ConfirmDeletePlannerTaskParams = z.infer<typeof ConfirmDeletePlannerTaskInput>;
|
|
98
|
+
export type GetPlannerTaskDetailsParams = z.infer<typeof GetPlannerTaskDetailsInput>;
|
|
99
|
+
export type UpdatePlannerTaskDetailsParams = z.infer<typeof UpdatePlannerTaskDetailsInput>;
|
|
100
|
+
export interface IPlannerRepository {
|
|
101
|
+
listPlansAsync(): Promise<Array<{
|
|
102
|
+
id: number;
|
|
103
|
+
title: string;
|
|
104
|
+
owner: string;
|
|
105
|
+
createdDateTime: string;
|
|
106
|
+
}>>;
|
|
107
|
+
getPlanAsync(planId: number): Promise<{
|
|
108
|
+
id: number;
|
|
109
|
+
title: string;
|
|
110
|
+
owner: string;
|
|
111
|
+
createdDateTime: string;
|
|
112
|
+
etag: string;
|
|
113
|
+
}>;
|
|
114
|
+
createPlanAsync(title: string, groupId: string): Promise<number>;
|
|
115
|
+
updatePlanAsync(planId: number, updates: {
|
|
116
|
+
title?: string;
|
|
117
|
+
}): Promise<void>;
|
|
118
|
+
listBucketsAsync(planId: number): Promise<Array<{
|
|
119
|
+
id: number;
|
|
120
|
+
name: string;
|
|
121
|
+
planId: number;
|
|
122
|
+
orderHint: string;
|
|
123
|
+
}>>;
|
|
124
|
+
createBucketAsync(planId: number, name: string): Promise<number>;
|
|
125
|
+
updateBucketAsync(bucketId: number, updates: {
|
|
126
|
+
name?: string;
|
|
127
|
+
}): Promise<void>;
|
|
128
|
+
deleteBucketAsync(bucketId: number): Promise<void>;
|
|
129
|
+
listPlannerTasksAsync(planId: number): Promise<Array<{
|
|
130
|
+
id: number;
|
|
131
|
+
title: string;
|
|
132
|
+
bucketId: number | null;
|
|
133
|
+
assignees: string[];
|
|
134
|
+
percentComplete: number;
|
|
135
|
+
priority: number;
|
|
136
|
+
startDateTime: string;
|
|
137
|
+
dueDateTime: string;
|
|
138
|
+
createdDateTime: string;
|
|
139
|
+
}>>;
|
|
140
|
+
getPlannerTaskAsync(taskId: number): Promise<{
|
|
141
|
+
id: number;
|
|
142
|
+
title: string;
|
|
143
|
+
bucketId: number | null;
|
|
144
|
+
assignees: string[];
|
|
145
|
+
percentComplete: number;
|
|
146
|
+
priority: number;
|
|
147
|
+
startDateTime: string;
|
|
148
|
+
dueDateTime: string;
|
|
149
|
+
createdDateTime: string;
|
|
150
|
+
conversationThreadId: string;
|
|
151
|
+
orderHint: string;
|
|
152
|
+
etag: string;
|
|
153
|
+
}>;
|
|
154
|
+
createPlannerTaskAsync(planId: number, title: string, bucketId?: number, assignments?: Record<string, object>, priority?: number, startDate?: string, dueDate?: string): Promise<number>;
|
|
155
|
+
updatePlannerTaskAsync(taskId: number, updates: {
|
|
156
|
+
title?: string;
|
|
157
|
+
bucketId?: number;
|
|
158
|
+
percentComplete?: number;
|
|
159
|
+
priority?: number;
|
|
160
|
+
startDate?: string;
|
|
161
|
+
dueDate?: string;
|
|
162
|
+
assignments?: Record<string, object>;
|
|
163
|
+
}): Promise<void>;
|
|
164
|
+
deletePlannerTaskAsync(taskId: number): Promise<void>;
|
|
165
|
+
getPlannerTaskDetailsAsync(taskId: number): Promise<{
|
|
166
|
+
id: number;
|
|
167
|
+
description: string;
|
|
168
|
+
checklist: Record<string, unknown>;
|
|
169
|
+
references: Record<string, unknown>;
|
|
170
|
+
etag: string;
|
|
171
|
+
}>;
|
|
172
|
+
updatePlannerTaskDetailsAsync(taskId: number, updates: {
|
|
173
|
+
description?: string;
|
|
174
|
+
checklist?: Record<string, object>;
|
|
175
|
+
references?: Record<string, object>;
|
|
176
|
+
}): Promise<void>;
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Microsoft Planner tools with ETag caching and two-phase delete approval.
|
|
180
|
+
*/
|
|
181
|
+
export declare class PlannerTools {
|
|
182
|
+
private readonly repo;
|
|
183
|
+
private readonly tokenManager;
|
|
184
|
+
constructor(repo: IPlannerRepository, tokenManager: ApprovalTokenManager);
|
|
185
|
+
listPlans(): Promise<{
|
|
186
|
+
content: Array<{
|
|
187
|
+
type: 'text';
|
|
188
|
+
text: string;
|
|
189
|
+
}>;
|
|
190
|
+
}>;
|
|
191
|
+
getPlan(params: GetPlanParams): Promise<{
|
|
192
|
+
content: Array<{
|
|
193
|
+
type: 'text';
|
|
194
|
+
text: string;
|
|
195
|
+
}>;
|
|
196
|
+
}>;
|
|
197
|
+
createPlan(params: CreatePlanParams): Promise<{
|
|
198
|
+
content: Array<{
|
|
199
|
+
type: 'text';
|
|
200
|
+
text: string;
|
|
201
|
+
}>;
|
|
202
|
+
}>;
|
|
203
|
+
updatePlan(params: UpdatePlanParams): Promise<{
|
|
204
|
+
content: Array<{
|
|
205
|
+
type: 'text';
|
|
206
|
+
text: string;
|
|
207
|
+
}>;
|
|
208
|
+
}>;
|
|
209
|
+
listBuckets(params: ListBucketsParams): Promise<{
|
|
210
|
+
content: Array<{
|
|
211
|
+
type: 'text';
|
|
212
|
+
text: string;
|
|
213
|
+
}>;
|
|
214
|
+
}>;
|
|
215
|
+
createBucket(params: CreateBucketParams): Promise<{
|
|
216
|
+
content: Array<{
|
|
217
|
+
type: 'text';
|
|
218
|
+
text: string;
|
|
219
|
+
}>;
|
|
220
|
+
}>;
|
|
221
|
+
updateBucket(params: UpdateBucketParams): Promise<{
|
|
222
|
+
content: Array<{
|
|
223
|
+
type: 'text';
|
|
224
|
+
text: string;
|
|
225
|
+
}>;
|
|
226
|
+
}>;
|
|
227
|
+
prepareDeleteBucket(params: PrepareDeleteBucketParams): {
|
|
228
|
+
content: Array<{
|
|
229
|
+
type: 'text';
|
|
230
|
+
text: string;
|
|
231
|
+
}>;
|
|
232
|
+
};
|
|
233
|
+
confirmDeleteBucket(params: ConfirmDeleteBucketParams): Promise<{
|
|
234
|
+
content: Array<{
|
|
235
|
+
type: 'text';
|
|
236
|
+
text: string;
|
|
237
|
+
}>;
|
|
238
|
+
}>;
|
|
239
|
+
listPlannerTasks(params: ListPlannerTasksParams): Promise<{
|
|
240
|
+
content: Array<{
|
|
241
|
+
type: 'text';
|
|
242
|
+
text: string;
|
|
243
|
+
}>;
|
|
244
|
+
}>;
|
|
245
|
+
getPlannerTask(params: GetPlannerTaskParams): Promise<{
|
|
246
|
+
content: Array<{
|
|
247
|
+
type: 'text';
|
|
248
|
+
text: string;
|
|
249
|
+
}>;
|
|
250
|
+
}>;
|
|
251
|
+
createPlannerTask(params: CreatePlannerTaskParams): Promise<{
|
|
252
|
+
content: Array<{
|
|
253
|
+
type: 'text';
|
|
254
|
+
text: string;
|
|
255
|
+
}>;
|
|
256
|
+
}>;
|
|
257
|
+
updatePlannerTask(params: UpdatePlannerTaskParams): Promise<{
|
|
258
|
+
content: Array<{
|
|
259
|
+
type: 'text';
|
|
260
|
+
text: string;
|
|
261
|
+
}>;
|
|
262
|
+
}>;
|
|
263
|
+
prepareDeletePlannerTask(params: PrepareDeletePlannerTaskParams): {
|
|
264
|
+
content: Array<{
|
|
265
|
+
type: 'text';
|
|
266
|
+
text: string;
|
|
267
|
+
}>;
|
|
268
|
+
};
|
|
269
|
+
confirmDeletePlannerTask(params: ConfirmDeletePlannerTaskParams): Promise<{
|
|
270
|
+
content: Array<{
|
|
271
|
+
type: 'text';
|
|
272
|
+
text: string;
|
|
273
|
+
}>;
|
|
274
|
+
}>;
|
|
275
|
+
getPlannerTaskDetails(params: GetPlannerTaskDetailsParams): Promise<{
|
|
276
|
+
content: Array<{
|
|
277
|
+
type: 'text';
|
|
278
|
+
text: string;
|
|
279
|
+
}>;
|
|
280
|
+
}>;
|
|
281
|
+
updatePlannerTaskDetails(params: UpdatePlannerTaskDetailsParams): Promise<{
|
|
282
|
+
content: Array<{
|
|
283
|
+
type: 'text';
|
|
284
|
+
text: string;
|
|
285
|
+
}>;
|
|
286
|
+
}>;
|
|
287
|
+
}
|
|
288
|
+
//# sourceMappingURL=planner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"planner.d.ts","sourceRoot":"","sources":["../../src/tools/planner.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;GAMG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAMjE,eAAO,MAAM,cAAc,iCAAqB,CAAC;AAEjD,eAAO,MAAM,YAAY;;kBAEvB,CAAC;AAEH,eAAO,MAAM,eAAe;;;kBAG1B,CAAC;AAEH,eAAO,MAAM,eAAe;;;kBAG1B,CAAC;AAEH,eAAO,MAAM,gBAAgB;;kBAE3B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;kBAG5B,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;kBAG5B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;kBAEnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;kBAEnC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;kBAEhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;kBAE9B,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;kBAQjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;kBASjC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;kBAExC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;kBAExC,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