@lyrra/mcp-server 1.0.1 → 1.1.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/Dockerfile +16 -0
- package/README.md +95 -16
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +5 -5
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +1 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -0
- package/dist/config.js.map +1 -1
- package/dist/http-server.d.ts +8 -0
- package/dist/http-server.d.ts.map +1 -0
- package/dist/http-server.js +466 -0
- package/dist/http-server.js.map +1 -0
- package/dist/index.js +3 -69
- package/dist/index.js.map +1 -1
- package/dist/server-factory.d.ts +8 -0
- package/dist/server-factory.d.ts.map +1 -0
- package/dist/server-factory.js +82 -0
- package/dist/server-factory.js.map +1 -0
- package/dist/tools/admin.d.ts +132 -0
- package/dist/tools/admin.d.ts.map +1 -1
- package/dist/tools/admin.js +105 -101
- package/dist/tools/admin.js.map +1 -1
- package/dist/tools/ai-designer.d.ts +148 -0
- package/dist/tools/ai-designer.d.ts.map +1 -1
- package/dist/tools/ai-designer.js +80 -76
- package/dist/tools/ai-designer.js.map +1 -1
- package/dist/tools/analytics.d.ts +47 -0
- package/dist/tools/analytics.d.ts.map +1 -1
- package/dist/tools/analytics.js +38 -34
- package/dist/tools/analytics.js.map +1 -1
- package/dist/tools/auth.d.ts +30 -0
- package/dist/tools/auth.d.ts.map +1 -1
- package/dist/tools/auth.js +31 -27
- package/dist/tools/auth.js.map +1 -1
- package/dist/tools/blocks.d.ts +200 -0
- package/dist/tools/blocks.d.ts.map +1 -1
- package/dist/tools/blocks.js +154 -150
- package/dist/tools/blocks.js.map +1 -1
- package/dist/tools/connections.d.ts +86 -0
- package/dist/tools/connections.d.ts.map +1 -1
- package/dist/tools/connections.js +70 -66
- package/dist/tools/connections.js.map +1 -1
- package/dist/tools/eduflow.d.ts +223 -0
- package/dist/tools/eduflow.d.ts.map +1 -1
- package/dist/tools/eduflow.js +114 -93
- package/dist/tools/eduflow.js.map +1 -1
- package/dist/tools/participants.d.ts +110 -0
- package/dist/tools/participants.d.ts.map +1 -1
- package/dist/tools/participants.js +62 -58
- package/dist/tools/participants.js.map +1 -1
- package/dist/tools/presentation.d.ts +116 -0
- package/dist/tools/presentation.d.ts.map +1 -1
- package/dist/tools/presentation.js +51 -47
- package/dist/tools/presentation.js.map +1 -1
- package/dist/tools/projects.d.ts +65 -0
- package/dist/tools/projects.d.ts.map +1 -1
- package/dist/tools/projects.js +48 -44
- package/dist/tools/projects.js.map +1 -1
- package/dist/tools/resources.d.ts +46 -0
- package/dist/tools/resources.d.ts.map +1 -1
- package/dist/tools/resources.js +32 -28
- package/dist/tools/resources.js.map +1 -1
- package/dist/tools/store.d.ts +62 -0
- package/dist/tools/store.d.ts.map +1 -1
- package/dist/tools/store.js +59 -55
- package/dist/tools/store.js.map +1 -1
- package/mcp-config.example.json +4 -5
- package/package.json +7 -2
- package/src/client.ts +12 -5
- package/src/config.ts +1 -0
- package/src/http-server.ts +573 -0
- package/src/index.ts +3 -94
- package/src/server-factory.ts +109 -0
- package/src/tools/admin.ts +20 -14
- package/src/tools/ai-designer.ts +16 -10
- package/src/tools/analytics.ts +13 -7
- package/src/tools/auth.ts +32 -26
- package/src/tools/blocks.ts +18 -12
- package/src/tools/connections.ts +14 -8
- package/src/tools/eduflow.ts +36 -12
- package/src/tools/participants.ts +15 -9
- package/src/tools/presentation.ts +12 -6
- package/src/tools/projects.ts +14 -8
- package/src/tools/resources.ts +12 -6
- package/src/tools/store.ts +14 -8
package/dist/tools/blocks.d.ts
CHANGED
|
@@ -1,4 +1,204 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { LyrraClient } from '../client.js';
|
|
3
|
+
export declare function createBlocksTools(c: LyrraClient): {
|
|
4
|
+
block_list_types: {
|
|
5
|
+
description: string;
|
|
6
|
+
inputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
7
|
+
handler: () => Promise<{
|
|
8
|
+
types: {
|
|
9
|
+
type: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
}[];
|
|
13
|
+
}>;
|
|
14
|
+
};
|
|
15
|
+
block_get: {
|
|
16
|
+
description: string;
|
|
17
|
+
inputSchema: z.ZodObject<{
|
|
18
|
+
flowId: z.ZodString;
|
|
19
|
+
blockId: z.ZodString;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
flowId: string;
|
|
22
|
+
blockId: string;
|
|
23
|
+
}, {
|
|
24
|
+
flowId: string;
|
|
25
|
+
blockId: string;
|
|
26
|
+
}>;
|
|
27
|
+
handler: ({ flowId, blockId }: {
|
|
28
|
+
flowId: string;
|
|
29
|
+
blockId: string;
|
|
30
|
+
}) => Promise<any>;
|
|
31
|
+
};
|
|
32
|
+
block_create: {
|
|
33
|
+
description: string;
|
|
34
|
+
inputSchema: z.ZodObject<{
|
|
35
|
+
flowId: z.ZodString;
|
|
36
|
+
type: z.ZodEnum<["text", "audio", "quiz", "video", "pdf", "image", "loop", "evaluation", "split", "merge", "timer", "start", "end", "chart", "timeline", "dys_reader", "dys_image_zones", "dys_reading_practice", "dys_clock", "glossary", "subflow", "mindmap", "form", "certification", "email", "voice_assessment", "presentation", "browser", "self_assessment"]>;
|
|
37
|
+
title: z.ZodString;
|
|
38
|
+
content: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
39
|
+
positionX: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
positionY: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
type: "email" | "text" | "audio" | "quiz" | "video" | "pdf" | "image" | "loop" | "evaluation" | "split" | "merge" | "timer" | "start" | "end" | "chart" | "timeline" | "dys_reader" | "dys_image_zones" | "dys_reading_practice" | "dys_clock" | "glossary" | "subflow" | "mindmap" | "form" | "certification" | "voice_assessment" | "presentation" | "browser" | "self_assessment";
|
|
44
|
+
flowId: string;
|
|
45
|
+
title: string;
|
|
46
|
+
content: Record<string, any>;
|
|
47
|
+
positionX?: number | undefined;
|
|
48
|
+
positionY?: number | undefined;
|
|
49
|
+
order?: number | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
type: "email" | "text" | "audio" | "quiz" | "video" | "pdf" | "image" | "loop" | "evaluation" | "split" | "merge" | "timer" | "start" | "end" | "chart" | "timeline" | "dys_reader" | "dys_image_zones" | "dys_reading_practice" | "dys_clock" | "glossary" | "subflow" | "mindmap" | "form" | "certification" | "voice_assessment" | "presentation" | "browser" | "self_assessment";
|
|
52
|
+
flowId: string;
|
|
53
|
+
title: string;
|
|
54
|
+
content: Record<string, any>;
|
|
55
|
+
positionX?: number | undefined;
|
|
56
|
+
positionY?: number | undefined;
|
|
57
|
+
order?: number | undefined;
|
|
58
|
+
}>;
|
|
59
|
+
handler: ({ flowId, ...blockData }: any) => Promise<{
|
|
60
|
+
success: boolean;
|
|
61
|
+
block: any;
|
|
62
|
+
}>;
|
|
63
|
+
};
|
|
64
|
+
block_update: {
|
|
65
|
+
description: string;
|
|
66
|
+
inputSchema: z.ZodObject<{
|
|
67
|
+
flowId: z.ZodString;
|
|
68
|
+
blockId: z.ZodString;
|
|
69
|
+
title: z.ZodOptional<z.ZodString>;
|
|
70
|
+
content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
71
|
+
positionX: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
positionY: z.ZodOptional<z.ZodNumber>;
|
|
73
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
conditions: z.ZodOptional<z.ZodAny>;
|
|
75
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, "strip", z.ZodTypeAny, {
|
|
77
|
+
flowId: string;
|
|
78
|
+
blockId: string;
|
|
79
|
+
title?: string | undefined;
|
|
80
|
+
content?: Record<string, any> | undefined;
|
|
81
|
+
positionX?: number | undefined;
|
|
82
|
+
positionY?: number | undefined;
|
|
83
|
+
order?: number | undefined;
|
|
84
|
+
conditions?: any;
|
|
85
|
+
comment?: string | undefined;
|
|
86
|
+
}, {
|
|
87
|
+
flowId: string;
|
|
88
|
+
blockId: string;
|
|
89
|
+
title?: string | undefined;
|
|
90
|
+
content?: Record<string, any> | undefined;
|
|
91
|
+
positionX?: number | undefined;
|
|
92
|
+
positionY?: number | undefined;
|
|
93
|
+
order?: number | undefined;
|
|
94
|
+
conditions?: any;
|
|
95
|
+
comment?: string | undefined;
|
|
96
|
+
}>;
|
|
97
|
+
handler: ({ flowId, blockId, ...data }: any) => Promise<any>;
|
|
98
|
+
};
|
|
99
|
+
block_batch_update: {
|
|
100
|
+
description: string;
|
|
101
|
+
inputSchema: z.ZodObject<{
|
|
102
|
+
flowId: z.ZodString;
|
|
103
|
+
blocks: z.ZodArray<z.ZodObject<{
|
|
104
|
+
id: z.ZodString;
|
|
105
|
+
type: z.ZodString;
|
|
106
|
+
title: z.ZodString;
|
|
107
|
+
content: z.ZodAny;
|
|
108
|
+
positionX: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
positionY: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
order: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
conditions: z.ZodOptional<z.ZodAny>;
|
|
112
|
+
comment: z.ZodOptional<z.ZodString>;
|
|
113
|
+
}, "strip", z.ZodTypeAny, {
|
|
114
|
+
type: string;
|
|
115
|
+
title: string;
|
|
116
|
+
id: string;
|
|
117
|
+
content?: any;
|
|
118
|
+
positionX?: number | undefined;
|
|
119
|
+
positionY?: number | undefined;
|
|
120
|
+
order?: number | undefined;
|
|
121
|
+
conditions?: any;
|
|
122
|
+
comment?: string | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
type: string;
|
|
125
|
+
title: string;
|
|
126
|
+
id: string;
|
|
127
|
+
content?: any;
|
|
128
|
+
positionX?: number | undefined;
|
|
129
|
+
positionY?: number | undefined;
|
|
130
|
+
order?: number | undefined;
|
|
131
|
+
conditions?: any;
|
|
132
|
+
comment?: string | undefined;
|
|
133
|
+
}>, "many">;
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
135
|
+
flowId: string;
|
|
136
|
+
blocks: {
|
|
137
|
+
type: string;
|
|
138
|
+
title: string;
|
|
139
|
+
id: string;
|
|
140
|
+
content?: any;
|
|
141
|
+
positionX?: number | undefined;
|
|
142
|
+
positionY?: number | undefined;
|
|
143
|
+
order?: number | undefined;
|
|
144
|
+
conditions?: any;
|
|
145
|
+
comment?: string | undefined;
|
|
146
|
+
}[];
|
|
147
|
+
}, {
|
|
148
|
+
flowId: string;
|
|
149
|
+
blocks: {
|
|
150
|
+
type: string;
|
|
151
|
+
title: string;
|
|
152
|
+
id: string;
|
|
153
|
+
content?: any;
|
|
154
|
+
positionX?: number | undefined;
|
|
155
|
+
positionY?: number | undefined;
|
|
156
|
+
order?: number | undefined;
|
|
157
|
+
conditions?: any;
|
|
158
|
+
comment?: string | undefined;
|
|
159
|
+
}[];
|
|
160
|
+
}>;
|
|
161
|
+
handler: ({ flowId, blocks }: any) => Promise<any>;
|
|
162
|
+
};
|
|
163
|
+
block_delete: {
|
|
164
|
+
description: string;
|
|
165
|
+
inputSchema: z.ZodObject<{
|
|
166
|
+
flowId: z.ZodString;
|
|
167
|
+
blockId: z.ZodString;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
flowId: string;
|
|
170
|
+
blockId: string;
|
|
171
|
+
}, {
|
|
172
|
+
flowId: string;
|
|
173
|
+
blockId: string;
|
|
174
|
+
}>;
|
|
175
|
+
handler: ({ flowId, blockId }: {
|
|
176
|
+
flowId: string;
|
|
177
|
+
blockId: string;
|
|
178
|
+
}) => Promise<{
|
|
179
|
+
success: boolean;
|
|
180
|
+
remainingBlocks: any;
|
|
181
|
+
remainingEdges: any;
|
|
182
|
+
}>;
|
|
183
|
+
};
|
|
184
|
+
block_generate_tts: {
|
|
185
|
+
description: string;
|
|
186
|
+
inputSchema: z.ZodObject<{
|
|
187
|
+
flowId: z.ZodString;
|
|
188
|
+
blockId: z.ZodString;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
flowId: string;
|
|
191
|
+
blockId: string;
|
|
192
|
+
}, {
|
|
193
|
+
flowId: string;
|
|
194
|
+
blockId: string;
|
|
195
|
+
}>;
|
|
196
|
+
handler: ({ flowId, blockId }: {
|
|
197
|
+
flowId: string;
|
|
198
|
+
blockId: string;
|
|
199
|
+
}) => Promise<any>;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
2
202
|
export declare const blocksTools: {
|
|
3
203
|
block_list_types: {
|
|
4
204
|
description: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/tools/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"blocks.d.ts","sourceRoot":"","sources":["../../src/tools/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAO3C,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;uCAkDP;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAuB9B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAkCC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAqBb,GAAG;;;;;;;;;;;;;;uCAWF;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;uCAwBnC;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;EAK3E;AAGD,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;uCAzHiB;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAuB9B,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDAkCC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCAqBb,GAAG;;;;;;;;;;;;;;uCAWF;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;;;;;;;;;;;;;;;;;uCAwBnC;YAAE,MAAM,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE;;CAQjB,CAAC"}
|
package/dist/tools/blocks.js
CHANGED
|
@@ -1,163 +1,167 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { client } from '../client.js';
|
|
2
|
+
import { client as defaultClient } from '../client.js';
|
|
3
3
|
const blockContentSchema = z.record(z.any()).describe('Contenu du bloc (structure variable selon le type). Utiliser la resource lyrra://block-types pour connaître la structure attendue.');
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export function createBlocksTools(c) {
|
|
5
|
+
return {
|
|
6
|
+
block_list_types: {
|
|
7
|
+
description: `Lister tous les types de blocs disponibles avec leur documentation complète.
|
|
7
8
|
Types disponibles : text, audio, quiz, video, pdf, image, loop, evaluation, split, merge, timer, start, end, chart, timeline, dys_reader, dys_image_zones, dys_reading_practice, dys_clock, glossary, subflow, mindmap, form, certification, email, voice_assessment, presentation, browser, self_assessment.
|
|
8
9
|
Utiliser plutôt la resource lyrra://block-types pour la documentation complète.`,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
10
|
+
inputSchema: z.object({}),
|
|
11
|
+
handler: async () => {
|
|
12
|
+
return {
|
|
13
|
+
types: [
|
|
14
|
+
{ type: 'start', name: 'Début', description: 'Point de départ du parcours. Un seul par flux.' },
|
|
15
|
+
{ type: 'end', name: 'Fin', description: 'Point de fin du parcours. Peut avoir plusieurs fins.' },
|
|
16
|
+
{ type: 'text', name: 'Texte', description: 'Contenu textuel/HTML enrichi. TOUJOURS utiliser format: "html".' },
|
|
17
|
+
{ type: 'audio', name: 'Audio', description: 'Intègre un projet audio LYRRA avec texte synchronisé.' },
|
|
18
|
+
{ type: 'video', name: 'Vidéo', description: 'Intègre une vidéo (URL YouTube/Vimeo ou fichier uploadé).' },
|
|
19
|
+
{ type: 'pdf', name: 'PDF', description: 'Affiche un document PDF intégré.' },
|
|
20
|
+
{ type: 'image', name: 'Image', description: 'Affiche une image avec légende optionnelle.' },
|
|
21
|
+
{ type: 'quiz', name: 'Quiz', description: 'Question QCM/vrai-faux/ordonnancement avec branchement conditionnel.' },
|
|
22
|
+
{ type: 'evaluation', name: 'Évaluation', description: 'Évaluation complète avec plusieurs questions et scoring.' },
|
|
23
|
+
{ type: 'form', name: 'Formulaire', description: 'Formulaire avec champs personnalisés et logique conditionnelle.' },
|
|
24
|
+
{ type: 'chart', name: 'Graphique', description: 'Graphique interactif (bar, line, pie, scatter, radar, area, doughnut).' },
|
|
25
|
+
{ type: 'timeline', name: 'Frise chronologique', description: 'Frise avec événements datés.' },
|
|
26
|
+
{ type: 'mindmap', name: 'Carte mentale', description: 'Carte mentale interactive avec nœuds et liens.' },
|
|
27
|
+
{ type: 'glossary', name: 'Glossaire', description: 'Liste de termes et définitions.' },
|
|
28
|
+
{ type: 'split', name: 'Embranchement', description: 'Sépare le flux en branches parallèles.' },
|
|
29
|
+
{ type: 'merge', name: 'Fusion', description: 'Rejoint les branches parallèles.' },
|
|
30
|
+
{ type: 'loop', name: 'Boucle', description: 'Permet de répéter une séquence de blocs.' },
|
|
31
|
+
{ type: 'timer', name: 'Minuteur', description: 'Bloc avec temps limité, pause, rappel ou expiration.' },
|
|
32
|
+
{ type: 'subflow', name: 'Sous-parcours', description: 'Intègre un autre parcours EduFlow comme bloc.' },
|
|
33
|
+
{ type: 'certification', name: 'Certification', description: 'Génère un certificat PDF personnalisé.' },
|
|
34
|
+
{ type: 'email', name: 'Email', description: 'Envoie un email automatique (certification, rappel).' },
|
|
35
|
+
{ type: 'voice_assessment', name: 'Évaluation vocale', description: 'Enregistrement et évaluation de la voix de l\'étudiant.' },
|
|
36
|
+
{ type: 'self_assessment', name: 'Auto-évaluation', description: 'L\'étudiant s\'évalue lui-même sur des critères définis.' },
|
|
37
|
+
{ type: 'presentation', name: 'Présentation', description: 'Diaporama avec slides.' },
|
|
38
|
+
{ type: 'browser', name: 'Navigateur', description: 'Intègre une page web dans un iframe.' },
|
|
39
|
+
{ type: 'dys_reader', name: 'Lecteur DYS', description: 'Texte adapté pour la dyslexie avec police et espacement spéciaux.' },
|
|
40
|
+
{ type: 'dys_image_zones', name: 'Zones d\'image DYS', description: 'Image avec zones cliquables pour la dyslexie.' },
|
|
41
|
+
{ type: 'dys_reading_practice', name: 'Pratique lecture DYS', description: 'Exercice de lecture adapté dyslexie.' },
|
|
42
|
+
{ type: 'dys_clock', name: 'Horloge DYS', description: 'Exercice de lecture de l\'heure pour la dyscalculie.' },
|
|
43
|
+
],
|
|
44
|
+
};
|
|
45
|
+
},
|
|
44
46
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
47
|
+
block_get: {
|
|
48
|
+
description: 'Récupérer les détails complets d\'un bloc (type, contenu, position, conditions, commentaire).',
|
|
49
|
+
inputSchema: z.object({
|
|
50
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
51
|
+
blockId: z.string().uuid().describe('ID du bloc'),
|
|
52
|
+
}),
|
|
53
|
+
handler: async ({ flowId, blockId }) => {
|
|
54
|
+
return c.get(`/flows/${flowId}/blocks/${blockId}`, 'eduflow');
|
|
55
|
+
},
|
|
54
56
|
},
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
description: `Créer un nouveau bloc dans un parcours EduFlow. Le bloc est ajouté mais pas encore connecté (utiliser connection_add ensuite).
|
|
57
|
+
block_create: {
|
|
58
|
+
description: `Créer un nouveau bloc dans un parcours EduFlow. Le bloc est ajouté mais pas encore connecté (utiliser connection_add ensuite).
|
|
58
59
|
IMPORTANT pour le type "text" : toujours utiliser content.format = "html" et du HTML dans content.text (pas de Markdown).`,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
60
|
+
inputSchema: z.object({
|
|
61
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
62
|
+
type: z.enum([
|
|
63
|
+
'text', 'audio', 'quiz', 'video', 'pdf', 'image', 'loop', 'evaluation',
|
|
64
|
+
'split', 'merge', 'timer', 'start', 'end', 'chart', 'timeline',
|
|
65
|
+
'dys_reader', 'dys_image_zones', 'dys_reading_practice', 'dys_clock',
|
|
66
|
+
'glossary', 'subflow', 'mindmap', 'form', 'certification', 'email',
|
|
67
|
+
'voice_assessment', 'presentation', 'browser', 'self_assessment',
|
|
68
|
+
]).describe('Type de bloc à créer'),
|
|
69
|
+
title: z.string().describe('Titre du bloc'),
|
|
70
|
+
content: blockContentSchema,
|
|
71
|
+
positionX: z.number().optional().describe('Position X dans l\'éditeur visuel (défaut: 0)'),
|
|
72
|
+
positionY: z.number().optional().describe('Position Y dans l\'éditeur visuel (défaut: 0)'),
|
|
73
|
+
order: z.number().optional().describe('Ordre d\'affichage'),
|
|
74
|
+
}),
|
|
75
|
+
handler: async ({ flowId, ...blockData }) => {
|
|
76
|
+
// Use batch update to add a single block
|
|
77
|
+
const flow = await c.get(`/flows/${flowId}`, 'eduflow');
|
|
78
|
+
const existingBlocks = flow.blocks || [];
|
|
79
|
+
const newBlock = {
|
|
80
|
+
id: crypto.randomUUID(),
|
|
81
|
+
...blockData,
|
|
82
|
+
positionX: blockData.positionX ?? (existingBlocks.length * 300),
|
|
83
|
+
positionY: blockData.positionY ?? 200,
|
|
84
|
+
order: blockData.order ?? existingBlocks.length,
|
|
85
|
+
};
|
|
86
|
+
const allBlocks = [...existingBlocks.map((b) => ({
|
|
87
|
+
id: b.id, type: b.type, title: b.title,
|
|
88
|
+
content: b.content, positionX: b.positionX, positionY: b.positionY,
|
|
89
|
+
order: b.order, conditions: b.conditions, comment: b.comment,
|
|
90
|
+
})), newBlock];
|
|
91
|
+
await c.put(`/flows/${flowId}/blocks`, allBlocks, 'eduflow');
|
|
92
|
+
return { success: true, block: newBlock };
|
|
93
|
+
},
|
|
92
94
|
},
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
95
|
+
block_update: {
|
|
96
|
+
description: 'Mettre à jour un bloc existant (titre, contenu, position, conditions).',
|
|
97
|
+
inputSchema: z.object({
|
|
98
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
99
|
+
blockId: z.string().uuid().describe('ID du bloc à modifier'),
|
|
100
|
+
title: z.string().optional().describe('Nouveau titre'),
|
|
101
|
+
content: blockContentSchema.optional(),
|
|
102
|
+
positionX: z.number().optional().describe('Nouvelle position X'),
|
|
103
|
+
positionY: z.number().optional().describe('Nouvelle position Y'),
|
|
104
|
+
order: z.number().optional().describe('Nouvel ordre'),
|
|
105
|
+
conditions: z.any().optional().describe('Conditions de branchement'),
|
|
106
|
+
comment: z.string().optional().describe('Commentaire créateur'),
|
|
107
|
+
}),
|
|
108
|
+
handler: async ({ flowId, blockId, ...data }) => {
|
|
109
|
+
return c.put(`/flows/${flowId}/blocks/${blockId}`, data, 'eduflow');
|
|
110
|
+
},
|
|
109
111
|
},
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
})
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
112
|
+
block_batch_update: {
|
|
113
|
+
description: 'Mettre à jour plusieurs blocs en une seule opération. Utile pour repositionner ou réorganiser tous les blocs.',
|
|
114
|
+
inputSchema: z.object({
|
|
115
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
116
|
+
blocks: z.array(z.object({
|
|
117
|
+
id: z.string().describe('ID du bloc'),
|
|
118
|
+
type: z.string().describe('Type du bloc'),
|
|
119
|
+
title: z.string().describe('Titre'),
|
|
120
|
+
content: z.any().describe('Contenu'),
|
|
121
|
+
positionX: z.number().optional(),
|
|
122
|
+
positionY: z.number().optional(),
|
|
123
|
+
order: z.number().optional(),
|
|
124
|
+
conditions: z.any().optional(),
|
|
125
|
+
comment: z.string().optional(),
|
|
126
|
+
})).describe('Liste complète des blocs (REMPLACE tous les blocs existants)'),
|
|
127
|
+
}),
|
|
128
|
+
handler: async ({ flowId, blocks }) => {
|
|
129
|
+
return c.put(`/flows/${flowId}/blocks`, blocks, 'eduflow');
|
|
130
|
+
},
|
|
129
131
|
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
132
|
+
block_delete: {
|
|
133
|
+
description: 'Supprimer un bloc d\'un parcours. Les connexions liées sont automatiquement supprimées.',
|
|
134
|
+
inputSchema: z.object({
|
|
135
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
136
|
+
blockId: z.string().uuid().describe('ID du bloc à supprimer'),
|
|
137
|
+
}),
|
|
138
|
+
handler: async ({ flowId, blockId }) => {
|
|
139
|
+
// Get current flow, remove block, remove related edges, batch update
|
|
140
|
+
const flow = await c.get(`/flows/${flowId}`, 'eduflow');
|
|
141
|
+
const blocks = (flow.blocks || []).filter((b) => b.id !== blockId);
|
|
142
|
+
const edges = (flow.edges || []).filter((e) => e.source !== blockId && e.target !== blockId);
|
|
143
|
+
const mappedBlocks = blocks.map((b) => ({
|
|
144
|
+
id: b.id, type: b.type, title: b.title,
|
|
145
|
+
content: b.content, positionX: b.positionX, positionY: b.positionY,
|
|
146
|
+
order: b.order, conditions: b.conditions, comment: b.comment,
|
|
147
|
+
}));
|
|
148
|
+
await c.put(`/flows/${flowId}/blocks`, mappedBlocks, 'eduflow');
|
|
149
|
+
await c.put(`/flows/${flowId}`, { edges }, 'eduflow');
|
|
150
|
+
return { success: true, remainingBlocks: blocks.length, remainingEdges: edges.length };
|
|
151
|
+
},
|
|
150
152
|
},
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
153
|
+
block_generate_tts: {
|
|
154
|
+
description: 'Générer l\'audio TTS (text-to-speech) pour un bloc texte. L\'audio est attaché au bloc.',
|
|
155
|
+
inputSchema: z.object({
|
|
156
|
+
flowId: z.string().uuid().describe('ID du parcours'),
|
|
157
|
+
blockId: z.string().uuid().describe('ID du bloc'),
|
|
158
|
+
}),
|
|
159
|
+
handler: async ({ flowId, blockId }) => {
|
|
160
|
+
return c.post(`/blocks/${blockId}/generate-tts`, { flowId }, 'eduflow');
|
|
161
|
+
},
|
|
160
162
|
},
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
// Backward compatibility for stdio mode
|
|
166
|
+
export const blocksTools = createBlocksTools(defaultClient);
|
|
163
167
|
//# sourceMappingURL=blocks.js.map
|
package/dist/tools/blocks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../src/tools/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"blocks.js","sourceRoot":"","sources":["../../src/tools/blocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,MAAM,IAAI,aAAa,EAAE,MAAM,cAAc,CAAC;AAEvD,MAAM,kBAAkB,G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