archdraw-mcp-server 1.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.
Files changed (109) hide show
  1. package/dist/index.d.ts +3 -0
  2. package/dist/index.d.ts.map +1 -0
  3. package/dist/index.js +757 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/lib/__tests__/constants.test.d.ts +2 -0
  6. package/dist/lib/__tests__/constants.test.d.ts.map +1 -0
  7. package/dist/lib/__tests__/constants.test.js +47 -0
  8. package/dist/lib/__tests__/constants.test.js.map +1 -0
  9. package/dist/lib/__tests__/diagram-state.test.d.ts +2 -0
  10. package/dist/lib/__tests__/diagram-state.test.d.ts.map +1 -0
  11. package/dist/lib/__tests__/diagram-state.test.js +75 -0
  12. package/dist/lib/__tests__/diagram-state.test.js.map +1 -0
  13. package/dist/lib/__tests__/elk-runner.test.d.ts +2 -0
  14. package/dist/lib/__tests__/elk-runner.test.d.ts.map +1 -0
  15. package/dist/lib/__tests__/elk-runner.test.js +87 -0
  16. package/dist/lib/__tests__/elk-runner.test.js.map +1 -0
  17. package/dist/lib/checkpoints.d.ts +48 -0
  18. package/dist/lib/checkpoints.d.ts.map +1 -0
  19. package/dist/lib/checkpoints.js +58 -0
  20. package/dist/lib/checkpoints.js.map +1 -0
  21. package/dist/lib/constants.d.ts +29 -0
  22. package/dist/lib/constants.d.ts.map +1 -0
  23. package/dist/lib/constants.js +62 -0
  24. package/dist/lib/constants.js.map +1 -0
  25. package/dist/lib/diagram-state.d.ts +18 -0
  26. package/dist/lib/diagram-state.d.ts.map +1 -0
  27. package/dist/lib/diagram-state.js +55 -0
  28. package/dist/lib/diagram-state.js.map +1 -0
  29. package/dist/lib/elk-runner.d.ts +29 -0
  30. package/dist/lib/elk-runner.d.ts.map +1 -0
  31. package/dist/lib/elk-runner.js +532 -0
  32. package/dist/lib/elk-runner.js.map +1 -0
  33. package/dist/lib/http.d.ts +3 -0
  34. package/dist/lib/http.d.ts.map +1 -0
  35. package/dist/lib/http.js +13 -0
  36. package/dist/lib/http.js.map +1 -0
  37. package/dist/lib/node-catalog.d.ts +10 -0
  38. package/dist/lib/node-catalog.d.ts.map +1 -0
  39. package/dist/lib/node-catalog.js +122 -0
  40. package/dist/lib/node-catalog.js.map +1 -0
  41. package/dist/lib/parse-prompt.d.ts +26 -0
  42. package/dist/lib/parse-prompt.d.ts.map +1 -0
  43. package/dist/lib/parse-prompt.js +289 -0
  44. package/dist/lib/parse-prompt.js.map +1 -0
  45. package/dist/lib/prompt-builder.d.ts +14 -0
  46. package/dist/lib/prompt-builder.d.ts.map +1 -0
  47. package/dist/lib/prompt-builder.js +133 -0
  48. package/dist/lib/prompt-builder.js.map +1 -0
  49. package/dist/lib/schema.d.ts +1231 -0
  50. package/dist/lib/schema.d.ts.map +1 -0
  51. package/dist/lib/schema.js +258 -0
  52. package/dist/lib/schema.js.map +1 -0
  53. package/dist/server.d.ts +36 -0
  54. package/dist/server.d.ts.map +1 -0
  55. package/dist/server.js +287 -0
  56. package/dist/server.js.map +1 -0
  57. package/dist/tools/__tests__/export-diagram.test.d.ts +2 -0
  58. package/dist/tools/__tests__/export-diagram.test.d.ts.map +1 -0
  59. package/dist/tools/__tests__/export-diagram.test.js +40 -0
  60. package/dist/tools/__tests__/export-diagram.test.js.map +1 -0
  61. package/dist/tools/__tests__/update-diagram.test.d.ts +2 -0
  62. package/dist/tools/__tests__/update-diagram.test.d.ts.map +1 -0
  63. package/dist/tools/__tests__/update-diagram.test.js +90 -0
  64. package/dist/tools/__tests__/update-diagram.test.js.map +1 -0
  65. package/dist/tools/apply-template.d.ts +28 -0
  66. package/dist/tools/apply-template.d.ts.map +1 -0
  67. package/dist/tools/apply-template.js +388 -0
  68. package/dist/tools/apply-template.js.map +1 -0
  69. package/dist/tools/export-diagram.d.ts +36 -0
  70. package/dist/tools/export-diagram.d.ts.map +1 -0
  71. package/dist/tools/export-diagram.js +65 -0
  72. package/dist/tools/export-diagram.js.map +1 -0
  73. package/dist/tools/fix-layout.d.ts +19 -0
  74. package/dist/tools/fix-layout.d.ts.map +1 -0
  75. package/dist/tools/fix-layout.js +100 -0
  76. package/dist/tools/fix-layout.js.map +1 -0
  77. package/dist/tools/generate-diagram.d.ts +31 -0
  78. package/dist/tools/generate-diagram.d.ts.map +1 -0
  79. package/dist/tools/generate-diagram.js +385 -0
  80. package/dist/tools/generate-diagram.js.map +1 -0
  81. package/dist/tools/list-nodes.d.ts +18 -0
  82. package/dist/tools/list-nodes.d.ts.map +1 -0
  83. package/dist/tools/list-nodes.js +48 -0
  84. package/dist/tools/list-nodes.js.map +1 -0
  85. package/dist/tools/load-checkpoint.d.ts +18 -0
  86. package/dist/tools/load-checkpoint.d.ts.map +1 -0
  87. package/dist/tools/load-checkpoint.js +24 -0
  88. package/dist/tools/load-checkpoint.js.map +1 -0
  89. package/dist/tools/read-me.d.ts +2 -0
  90. package/dist/tools/read-me.d.ts.map +1 -0
  91. package/dist/tools/read-me.js +326 -0
  92. package/dist/tools/read-me.js.map +1 -0
  93. package/dist/tools/save-checkpoint.d.ts +11 -0
  94. package/dist/tools/save-checkpoint.d.ts.map +1 -0
  95. package/dist/tools/save-checkpoint.js +17 -0
  96. package/dist/tools/save-checkpoint.js.map +1 -0
  97. package/dist/tools/update-diagram.d.ts +20 -0
  98. package/dist/tools/update-diagram.d.ts.map +1 -0
  99. package/dist/tools/update-diagram.js +189 -0
  100. package/dist/tools/update-diagram.js.map +1 -0
  101. package/dist/tools/validate-diagram.d.ts +14 -0
  102. package/dist/tools/validate-diagram.d.ts.map +1 -0
  103. package/dist/tools/validate-diagram.js +181 -0
  104. package/dist/tools/validate-diagram.js.map +1 -0
  105. package/dist/types/index.d.ts +218 -0
  106. package/dist/types/index.d.ts.map +1 -0
  107. package/dist/types/index.js +2 -0
  108. package/dist/types/index.js.map +1 -0
  109. package/package.json +50 -0
@@ -0,0 +1,1231 @@
1
+ import { z } from 'zod';
2
+ export declare const NodeInputSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ label: z.ZodString;
5
+ tier: z.ZodString;
6
+ layer: z.ZodOptional<z.ZodString>;
7
+ subtitle: z.ZodString;
8
+ icon: z.ZodOptional<z.ZodString>;
9
+ tierColor: z.ZodOptional<z.ZodString>;
10
+ accentColor: z.ZodOptional<z.ZodString>;
11
+ width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
12
+ height: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
13
+ serviceType: z.ZodOptional<z.ZodString>;
14
+ isGroup: z.ZodOptional<z.ZodBoolean>;
15
+ parentId: z.ZodOptional<z.ZodString>;
16
+ groupColor: z.ZodOptional<z.ZodString>;
17
+ status: z.ZodOptional<z.ZodEnum<["healthy", "warning", "error", "unknown"]>>;
18
+ shape: z.ZodOptional<z.ZodEnum<["rectangle", "diamond", "ellipse", "hexagon"]>>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id: string;
21
+ label: string;
22
+ tier: string;
23
+ subtitle: string;
24
+ width: number;
25
+ height: number;
26
+ layer?: string | undefined;
27
+ icon?: string | undefined;
28
+ tierColor?: string | undefined;
29
+ accentColor?: string | undefined;
30
+ serviceType?: string | undefined;
31
+ isGroup?: boolean | undefined;
32
+ parentId?: string | undefined;
33
+ groupColor?: string | undefined;
34
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
35
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
36
+ }, {
37
+ id: string;
38
+ label: string;
39
+ tier: string;
40
+ subtitle: string;
41
+ layer?: string | undefined;
42
+ icon?: string | undefined;
43
+ tierColor?: string | undefined;
44
+ accentColor?: string | undefined;
45
+ width?: number | undefined;
46
+ height?: number | undefined;
47
+ serviceType?: string | undefined;
48
+ isGroup?: boolean | undefined;
49
+ parentId?: string | undefined;
50
+ groupColor?: string | undefined;
51
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
52
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
53
+ }>;
54
+ export declare const EdgeInputSchema: z.ZodObject<{
55
+ id: z.ZodOptional<z.ZodString>;
56
+ source: z.ZodString;
57
+ target: z.ZodString;
58
+ communicationType: z.ZodDefault<z.ZodEnum<["sync", "async", "stream", "event", "dep"]>>;
59
+ pathType: z.ZodDefault<z.ZodEnum<["smooth", "Smoothstep", "bezier", "step", "straight"]>>;
60
+ label: z.ZodString;
61
+ animated: z.ZodOptional<z.ZodBoolean>;
62
+ }, "strip", z.ZodTypeAny, {
63
+ label: string;
64
+ source: string;
65
+ target: string;
66
+ communicationType: "async" | "sync" | "stream" | "event" | "dep";
67
+ pathType: "smooth" | "bezier" | "step" | "straight" | "Smoothstep";
68
+ id?: string | undefined;
69
+ animated?: boolean | undefined;
70
+ }, {
71
+ label: string;
72
+ source: string;
73
+ target: string;
74
+ id?: string | undefined;
75
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
76
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
77
+ animated?: boolean | undefined;
78
+ }>;
79
+ export declare const GenerateDiagramInputSchema: z.ZodObject<{
80
+ mermaid: z.ZodOptional<z.ZodString>;
81
+ nodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
82
+ id: z.ZodString;
83
+ label: z.ZodString;
84
+ tier: z.ZodString;
85
+ layer: z.ZodOptional<z.ZodString>;
86
+ subtitle: z.ZodString;
87
+ icon: z.ZodOptional<z.ZodString>;
88
+ tierColor: z.ZodOptional<z.ZodString>;
89
+ accentColor: z.ZodOptional<z.ZodString>;
90
+ width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
91
+ height: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
92
+ serviceType: z.ZodOptional<z.ZodString>;
93
+ isGroup: z.ZodOptional<z.ZodBoolean>;
94
+ parentId: z.ZodOptional<z.ZodString>;
95
+ groupColor: z.ZodOptional<z.ZodString>;
96
+ status: z.ZodOptional<z.ZodEnum<["healthy", "warning", "error", "unknown"]>>;
97
+ shape: z.ZodOptional<z.ZodEnum<["rectangle", "diamond", "ellipse", "hexagon"]>>;
98
+ }, "strip", z.ZodTypeAny, {
99
+ id: string;
100
+ label: string;
101
+ tier: string;
102
+ subtitle: string;
103
+ width: number;
104
+ height: number;
105
+ layer?: string | undefined;
106
+ icon?: string | undefined;
107
+ tierColor?: string | undefined;
108
+ accentColor?: string | undefined;
109
+ serviceType?: string | undefined;
110
+ isGroup?: boolean | undefined;
111
+ parentId?: string | undefined;
112
+ groupColor?: string | undefined;
113
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
114
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
115
+ }, {
116
+ id: string;
117
+ label: string;
118
+ tier: string;
119
+ subtitle: string;
120
+ layer?: string | undefined;
121
+ icon?: string | undefined;
122
+ tierColor?: string | undefined;
123
+ accentColor?: string | undefined;
124
+ width?: number | undefined;
125
+ height?: number | undefined;
126
+ serviceType?: string | undefined;
127
+ isGroup?: boolean | undefined;
128
+ parentId?: string | undefined;
129
+ groupColor?: string | undefined;
130
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
131
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
132
+ }>, "many">>;
133
+ edges: z.ZodOptional<z.ZodArray<z.ZodObject<{
134
+ id: z.ZodOptional<z.ZodString>;
135
+ source: z.ZodString;
136
+ target: z.ZodString;
137
+ communicationType: z.ZodDefault<z.ZodEnum<["sync", "async", "stream", "event", "dep"]>>;
138
+ pathType: z.ZodDefault<z.ZodEnum<["smooth", "Smoothstep", "bezier", "step", "straight"]>>;
139
+ label: z.ZodString;
140
+ animated: z.ZodOptional<z.ZodBoolean>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ label: string;
143
+ source: string;
144
+ target: string;
145
+ communicationType: "async" | "sync" | "stream" | "event" | "dep";
146
+ pathType: "smooth" | "bezier" | "step" | "straight" | "Smoothstep";
147
+ id?: string | undefined;
148
+ animated?: boolean | undefined;
149
+ }, {
150
+ label: string;
151
+ source: string;
152
+ target: string;
153
+ id?: string | undefined;
154
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
155
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
156
+ animated?: boolean | undefined;
157
+ }>, "many">>;
158
+ direction: z.ZodDefault<z.ZodEnum<["RIGHT", "DOWN", "LEFT", "UP"]>>;
159
+ label: z.ZodOptional<z.ZodString>;
160
+ diagramDescription: z.ZodOptional<z.ZodString>;
161
+ userPrompt: z.ZodOptional<z.ZodString>;
162
+ techStack: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
163
+ customFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ direction: "RIGHT" | "DOWN" | "LEFT" | "UP";
166
+ edges?: {
167
+ label: string;
168
+ source: string;
169
+ target: string;
170
+ communicationType: "async" | "sync" | "stream" | "event" | "dep";
171
+ pathType: "smooth" | "bezier" | "step" | "straight" | "Smoothstep";
172
+ id?: string | undefined;
173
+ animated?: boolean | undefined;
174
+ }[] | undefined;
175
+ label?: string | undefined;
176
+ mermaid?: string | undefined;
177
+ nodes?: {
178
+ id: string;
179
+ label: string;
180
+ tier: string;
181
+ subtitle: string;
182
+ width: number;
183
+ height: number;
184
+ layer?: string | undefined;
185
+ icon?: string | undefined;
186
+ tierColor?: string | undefined;
187
+ accentColor?: string | undefined;
188
+ serviceType?: string | undefined;
189
+ isGroup?: boolean | undefined;
190
+ parentId?: string | undefined;
191
+ groupColor?: string | undefined;
192
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
193
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
194
+ }[] | undefined;
195
+ diagramDescription?: string | undefined;
196
+ userPrompt?: string | undefined;
197
+ techStack?: string[] | undefined;
198
+ customFeatures?: string[] | undefined;
199
+ }, {
200
+ edges?: {
201
+ label: string;
202
+ source: string;
203
+ target: string;
204
+ id?: string | undefined;
205
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
206
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
207
+ animated?: boolean | undefined;
208
+ }[] | undefined;
209
+ label?: string | undefined;
210
+ mermaid?: string | undefined;
211
+ nodes?: {
212
+ id: string;
213
+ label: string;
214
+ tier: string;
215
+ subtitle: string;
216
+ layer?: string | undefined;
217
+ icon?: string | undefined;
218
+ tierColor?: string | undefined;
219
+ accentColor?: string | undefined;
220
+ width?: number | undefined;
221
+ height?: number | undefined;
222
+ serviceType?: string | undefined;
223
+ isGroup?: boolean | undefined;
224
+ parentId?: string | undefined;
225
+ groupColor?: string | undefined;
226
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
227
+ shape?: "rectangle" | "diamond" | "ellipse" | "hexagon" | undefined;
228
+ }[] | undefined;
229
+ direction?: "RIGHT" | "DOWN" | "LEFT" | "UP" | undefined;
230
+ diagramDescription?: string | undefined;
231
+ userPrompt?: string | undefined;
232
+ techStack?: string[] | undefined;
233
+ customFeatures?: string[] | undefined;
234
+ }>;
235
+ export declare const FixLayoutInputSchema: z.ZodObject<{
236
+ nodes: z.ZodArray<z.ZodObject<{
237
+ id: z.ZodString;
238
+ label: z.ZodString;
239
+ layer: z.ZodString;
240
+ width: z.ZodDefault<z.ZodNumber>;
241
+ height: z.ZodDefault<z.ZodNumber>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ id: string;
244
+ label: string;
245
+ layer: string;
246
+ width: number;
247
+ height: number;
248
+ }, {
249
+ id: string;
250
+ label: string;
251
+ layer: string;
252
+ width?: number | undefined;
253
+ height?: number | undefined;
254
+ }>, "many">;
255
+ edges: z.ZodArray<z.ZodObject<{
256
+ id: z.ZodString;
257
+ source: z.ZodString;
258
+ target: z.ZodString;
259
+ communicationType: z.ZodDefault<z.ZodEnum<["sync", "async", "stream", "event", "dep"]>>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ id: string;
262
+ source: string;
263
+ target: string;
264
+ communicationType: "async" | "sync" | "stream" | "event" | "dep";
265
+ }, {
266
+ id: string;
267
+ source: string;
268
+ target: string;
269
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
270
+ }>, "many">;
271
+ direction: z.ZodDefault<z.ZodEnum<["RIGHT", "DOWN", "LEFT", "UP"]>>;
272
+ }, "strip", z.ZodTypeAny, {
273
+ edges: {
274
+ id: string;
275
+ source: string;
276
+ target: string;
277
+ communicationType: "async" | "sync" | "stream" | "event" | "dep";
278
+ }[];
279
+ nodes: {
280
+ id: string;
281
+ label: string;
282
+ layer: string;
283
+ width: number;
284
+ height: number;
285
+ }[];
286
+ direction: "RIGHT" | "DOWN" | "LEFT" | "UP";
287
+ }, {
288
+ edges: {
289
+ id: string;
290
+ source: string;
291
+ target: string;
292
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
293
+ }[];
294
+ nodes: {
295
+ id: string;
296
+ label: string;
297
+ layer: string;
298
+ width?: number | undefined;
299
+ height?: number | undefined;
300
+ }[];
301
+ direction?: "RIGHT" | "DOWN" | "LEFT" | "UP" | undefined;
302
+ }>;
303
+ export declare const ListNodeTypesInputSchema: z.ZodObject<{
304
+ category: z.ZodOptional<z.ZodString>;
305
+ search: z.ZodOptional<z.ZodString>;
306
+ limit: z.ZodDefault<z.ZodNumber>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ limit: number;
309
+ category?: string | undefined;
310
+ search?: string | undefined;
311
+ }, {
312
+ category?: string | undefined;
313
+ search?: string | undefined;
314
+ limit?: number | undefined;
315
+ }>;
316
+ export declare const ApplyTemplateInputSchema: z.ZodObject<{
317
+ templateId: z.ZodString;
318
+ customizations: z.ZodOptional<z.ZodObject<{
319
+ renameNodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
320
+ addNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
321
+ id: z.ZodString;
322
+ label: z.ZodString;
323
+ category: z.ZodString;
324
+ color: z.ZodString;
325
+ icon: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
327
+ id: string;
328
+ label: string;
329
+ icon: string;
330
+ category: string;
331
+ color: string;
332
+ }, {
333
+ id: string;
334
+ label: string;
335
+ icon: string;
336
+ category: string;
337
+ color: string;
338
+ }>, "many">>;
339
+ }, "strip", z.ZodTypeAny, {
340
+ renameNodes?: Record<string, string> | undefined;
341
+ addNodes?: {
342
+ id: string;
343
+ label: string;
344
+ icon: string;
345
+ category: string;
346
+ color: string;
347
+ }[] | undefined;
348
+ }, {
349
+ renameNodes?: Record<string, string> | undefined;
350
+ addNodes?: {
351
+ id: string;
352
+ label: string;
353
+ icon: string;
354
+ category: string;
355
+ color: string;
356
+ }[] | undefined;
357
+ }>>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ templateId: string;
360
+ customizations?: {
361
+ renameNodes?: Record<string, string> | undefined;
362
+ addNodes?: {
363
+ id: string;
364
+ label: string;
365
+ icon: string;
366
+ category: string;
367
+ color: string;
368
+ }[] | undefined;
369
+ } | undefined;
370
+ }, {
371
+ templateId: string;
372
+ customizations?: {
373
+ renameNodes?: Record<string, string> | undefined;
374
+ addNodes?: {
375
+ id: string;
376
+ label: string;
377
+ icon: string;
378
+ category: string;
379
+ color: string;
380
+ }[] | undefined;
381
+ } | undefined;
382
+ }>;
383
+ export type GenerateDiagramInput = z.infer<typeof GenerateDiagramInputSchema>;
384
+ export type FixLayoutInput = z.infer<typeof FixLayoutInputSchema>;
385
+ export type ListNodeTypesInput = z.infer<typeof ListNodeTypesInputSchema>;
386
+ export type ApplyTemplateInput = z.infer<typeof ApplyTemplateInputSchema>;
387
+ export declare const UpdateDiagramInputSchema: z.ZodObject<{
388
+ addNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
389
+ id: z.ZodString;
390
+ label: z.ZodString;
391
+ tier: z.ZodString;
392
+ subtitle: z.ZodOptional<z.ZodString>;
393
+ icon: z.ZodOptional<z.ZodString>;
394
+ tierColor: z.ZodOptional<z.ZodString>;
395
+ accentColor: z.ZodOptional<z.ZodString>;
396
+ status: z.ZodOptional<z.ZodEnum<["healthy", "warning", "error", "unknown"]>>;
397
+ isGroup: z.ZodOptional<z.ZodBoolean>;
398
+ parentId: z.ZodOptional<z.ZodString>;
399
+ groupColor: z.ZodOptional<z.ZodString>;
400
+ width: z.ZodOptional<z.ZodNumber>;
401
+ height: z.ZodOptional<z.ZodNumber>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ id: string;
404
+ label: string;
405
+ tier: string;
406
+ subtitle?: string | undefined;
407
+ icon?: string | undefined;
408
+ tierColor?: string | undefined;
409
+ accentColor?: string | undefined;
410
+ width?: number | undefined;
411
+ height?: number | undefined;
412
+ isGroup?: boolean | undefined;
413
+ parentId?: string | undefined;
414
+ groupColor?: string | undefined;
415
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
416
+ }, {
417
+ id: string;
418
+ label: string;
419
+ tier: string;
420
+ subtitle?: string | undefined;
421
+ icon?: string | undefined;
422
+ tierColor?: string | undefined;
423
+ accentColor?: string | undefined;
424
+ width?: number | undefined;
425
+ height?: number | undefined;
426
+ isGroup?: boolean | undefined;
427
+ parentId?: string | undefined;
428
+ groupColor?: string | undefined;
429
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
430
+ }>, "many">>;
431
+ removeNodeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
432
+ addEdges: z.ZodOptional<z.ZodArray<z.ZodObject<{
433
+ source: z.ZodString;
434
+ target: z.ZodString;
435
+ communicationType: z.ZodOptional<z.ZodEnum<["sync", "async", "stream", "event", "dep"]>>;
436
+ label: z.ZodOptional<z.ZodString>;
437
+ pathType: z.ZodOptional<z.ZodEnum<["smooth", "Smoothstep", "bezier", "step", "straight"]>>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ source: string;
440
+ target: string;
441
+ label?: string | undefined;
442
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
443
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
444
+ }, {
445
+ source: string;
446
+ target: string;
447
+ label?: string | undefined;
448
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
449
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
450
+ }>, "many">>;
451
+ removeEdgeIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
452
+ updateNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
453
+ id: z.ZodString;
454
+ label: z.ZodOptional<z.ZodString>;
455
+ subtitle: z.ZodOptional<z.ZodString>;
456
+ tier: z.ZodOptional<z.ZodString>;
457
+ tierColor: z.ZodOptional<z.ZodString>;
458
+ accentColor: z.ZodOptional<z.ZodString>;
459
+ icon: z.ZodOptional<z.ZodString>;
460
+ status: z.ZodOptional<z.ZodEnum<["healthy", "warning", "error", "unknown"]>>;
461
+ }, "strip", z.ZodTypeAny, {
462
+ id: string;
463
+ label?: string | undefined;
464
+ tier?: string | undefined;
465
+ subtitle?: string | undefined;
466
+ icon?: string | undefined;
467
+ tierColor?: string | undefined;
468
+ accentColor?: string | undefined;
469
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
470
+ }, {
471
+ id: string;
472
+ label?: string | undefined;
473
+ tier?: string | undefined;
474
+ subtitle?: string | undefined;
475
+ icon?: string | undefined;
476
+ tierColor?: string | undefined;
477
+ accentColor?: string | undefined;
478
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
479
+ }>, "many">>;
480
+ }, "strip", z.ZodTypeAny, {
481
+ addNodes?: {
482
+ id: string;
483
+ label: string;
484
+ tier: string;
485
+ subtitle?: string | undefined;
486
+ icon?: string | undefined;
487
+ tierColor?: string | undefined;
488
+ accentColor?: string | undefined;
489
+ width?: number | undefined;
490
+ height?: number | undefined;
491
+ isGroup?: boolean | undefined;
492
+ parentId?: string | undefined;
493
+ groupColor?: string | undefined;
494
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
495
+ }[] | undefined;
496
+ removeNodeIds?: string[] | undefined;
497
+ addEdges?: {
498
+ source: string;
499
+ target: string;
500
+ label?: string | undefined;
501
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
502
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
503
+ }[] | undefined;
504
+ removeEdgeIds?: string[] | undefined;
505
+ updateNodes?: {
506
+ id: string;
507
+ label?: string | undefined;
508
+ tier?: string | undefined;
509
+ subtitle?: string | undefined;
510
+ icon?: string | undefined;
511
+ tierColor?: string | undefined;
512
+ accentColor?: string | undefined;
513
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
514
+ }[] | undefined;
515
+ }, {
516
+ addNodes?: {
517
+ id: string;
518
+ label: string;
519
+ tier: string;
520
+ subtitle?: string | undefined;
521
+ icon?: string | undefined;
522
+ tierColor?: string | undefined;
523
+ accentColor?: string | undefined;
524
+ width?: number | undefined;
525
+ height?: number | undefined;
526
+ isGroup?: boolean | undefined;
527
+ parentId?: string | undefined;
528
+ groupColor?: string | undefined;
529
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
530
+ }[] | undefined;
531
+ removeNodeIds?: string[] | undefined;
532
+ addEdges?: {
533
+ source: string;
534
+ target: string;
535
+ label?: string | undefined;
536
+ communicationType?: "async" | "sync" | "stream" | "event" | "dep" | undefined;
537
+ pathType?: "smooth" | "bezier" | "step" | "straight" | "Smoothstep" | undefined;
538
+ }[] | undefined;
539
+ removeEdgeIds?: string[] | undefined;
540
+ updateNodes?: {
541
+ id: string;
542
+ label?: string | undefined;
543
+ tier?: string | undefined;
544
+ subtitle?: string | undefined;
545
+ icon?: string | undefined;
546
+ tierColor?: string | undefined;
547
+ accentColor?: string | undefined;
548
+ status?: "healthy" | "warning" | "error" | "unknown" | undefined;
549
+ }[] | undefined;
550
+ }>;
551
+ export declare const SaveCheckpointInputSchema: z.ZodObject<{
552
+ name: z.ZodString;
553
+ description: z.ZodOptional<z.ZodString>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ name: string;
556
+ description?: string | undefined;
557
+ }, {
558
+ name: string;
559
+ description?: string | undefined;
560
+ }>;
561
+ export declare const LoadCheckpointInputSchema: z.ZodObject<{
562
+ name: z.ZodString;
563
+ listAvailable: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
564
+ }, "strip", z.ZodTypeAny, {
565
+ name: string;
566
+ listAvailable: boolean;
567
+ }, {
568
+ name: string;
569
+ listAvailable?: boolean | undefined;
570
+ }>;
571
+ export type UpdateDiagramInput = z.infer<typeof UpdateDiagramInputSchema>;
572
+ export type SaveCheckpointInput = z.infer<typeof SaveCheckpointInputSchema>;
573
+ export type LoadCheckpointInput = z.infer<typeof LoadCheckpointInputSchema>;
574
+ export declare const ExportDiagramInputSchema: z.ZodObject<{
575
+ sessionId: z.ZodOptional<z.ZodString>;
576
+ format: z.ZodDefault<z.ZodEnum<["json", "png", "svg"]>>;
577
+ }, "strip", z.ZodTypeAny, {
578
+ format: "json" | "png" | "svg";
579
+ sessionId?: string | undefined;
580
+ }, {
581
+ sessionId?: string | undefined;
582
+ format?: "json" | "png" | "svg" | undefined;
583
+ }>;
584
+ export type ExportDiagramInput = z.infer<typeof ExportDiagramInputSchema>;
585
+ export declare const GenerateDiagramOutputSchema: z.ZodObject<{
586
+ success: z.ZodBoolean;
587
+ nodes: z.ZodArray<z.ZodObject<{
588
+ id: z.ZodString;
589
+ type: z.ZodString;
590
+ position: z.ZodObject<{
591
+ x: z.ZodNumber;
592
+ y: z.ZodNumber;
593
+ }, "strip", z.ZodTypeAny, {
594
+ x: number;
595
+ y: number;
596
+ }, {
597
+ x: number;
598
+ y: number;
599
+ }>;
600
+ data: z.ZodObject<{
601
+ label: z.ZodString;
602
+ icon: z.ZodString;
603
+ layer: z.ZodString;
604
+ tier: z.ZodOptional<z.ZodString>;
605
+ tierColor: z.ZodOptional<z.ZodString>;
606
+ accentColor: z.ZodOptional<z.ZodString>;
607
+ subtitle: z.ZodOptional<z.ZodString>;
608
+ status: z.ZodOptional<z.ZodString>;
609
+ isGroup: z.ZodOptional<z.ZodBoolean>;
610
+ }, "strip", z.ZodTypeAny, {
611
+ label: string;
612
+ layer: string;
613
+ icon: string;
614
+ tier?: string | undefined;
615
+ subtitle?: string | undefined;
616
+ tierColor?: string | undefined;
617
+ accentColor?: string | undefined;
618
+ isGroup?: boolean | undefined;
619
+ status?: string | undefined;
620
+ }, {
621
+ label: string;
622
+ layer: string;
623
+ icon: string;
624
+ tier?: string | undefined;
625
+ subtitle?: string | undefined;
626
+ tierColor?: string | undefined;
627
+ accentColor?: string | undefined;
628
+ isGroup?: boolean | undefined;
629
+ status?: string | undefined;
630
+ }>;
631
+ width: z.ZodOptional<z.ZodNumber>;
632
+ height: z.ZodOptional<z.ZodNumber>;
633
+ parentNode: z.ZodOptional<z.ZodString>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ data: {
636
+ label: string;
637
+ layer: string;
638
+ icon: string;
639
+ tier?: string | undefined;
640
+ subtitle?: string | undefined;
641
+ tierColor?: string | undefined;
642
+ accentColor?: string | undefined;
643
+ isGroup?: boolean | undefined;
644
+ status?: string | undefined;
645
+ };
646
+ id: string;
647
+ type: string;
648
+ position: {
649
+ x: number;
650
+ y: number;
651
+ };
652
+ width?: number | undefined;
653
+ height?: number | undefined;
654
+ parentNode?: string | undefined;
655
+ }, {
656
+ data: {
657
+ label: string;
658
+ layer: string;
659
+ icon: string;
660
+ tier?: string | undefined;
661
+ subtitle?: string | undefined;
662
+ tierColor?: string | undefined;
663
+ accentColor?: string | undefined;
664
+ isGroup?: boolean | undefined;
665
+ status?: string | undefined;
666
+ };
667
+ id: string;
668
+ type: string;
669
+ position: {
670
+ x: number;
671
+ y: number;
672
+ };
673
+ width?: number | undefined;
674
+ height?: number | undefined;
675
+ parentNode?: string | undefined;
676
+ }>, "many">;
677
+ edges: z.ZodArray<z.ZodObject<{
678
+ id: z.ZodString;
679
+ source: z.ZodString;
680
+ target: z.ZodString;
681
+ sourceHandle: z.ZodString;
682
+ targetHandle: z.ZodString;
683
+ type: z.ZodString;
684
+ animated: z.ZodBoolean;
685
+ label: z.ZodString;
686
+ data: z.ZodObject<{
687
+ communicationType: z.ZodString;
688
+ pathType: z.ZodString;
689
+ }, "strip", z.ZodTypeAny, {
690
+ communicationType: string;
691
+ pathType: string;
692
+ }, {
693
+ communicationType: string;
694
+ pathType: string;
695
+ }>;
696
+ }, "strip", z.ZodTypeAny, {
697
+ data: {
698
+ communicationType: string;
699
+ pathType: string;
700
+ };
701
+ id: string;
702
+ label: string;
703
+ type: string;
704
+ source: string;
705
+ target: string;
706
+ animated: boolean;
707
+ sourceHandle: string;
708
+ targetHandle: string;
709
+ }, {
710
+ data: {
711
+ communicationType: string;
712
+ pathType: string;
713
+ };
714
+ id: string;
715
+ label: string;
716
+ type: string;
717
+ source: string;
718
+ target: string;
719
+ animated: boolean;
720
+ sourceHandle: string;
721
+ targetHandle: string;
722
+ }>, "many">;
723
+ elkPositions: z.ZodArray<z.ZodObject<{
724
+ id: z.ZodString;
725
+ x: z.ZodNumber;
726
+ y: z.ZodNumber;
727
+ width: z.ZodNumber;
728
+ height: z.ZodNumber;
729
+ }, "strip", z.ZodTypeAny, {
730
+ id: string;
731
+ width: number;
732
+ height: number;
733
+ x: number;
734
+ y: number;
735
+ }, {
736
+ id: string;
737
+ width: number;
738
+ height: number;
739
+ x: number;
740
+ y: number;
741
+ }>, "many">;
742
+ metadata: z.ZodObject<{
743
+ nodeCount: z.ZodNumber;
744
+ edgeCount: z.ZodNumber;
745
+ layoutAlgorithm: z.ZodString;
746
+ direction: z.ZodString;
747
+ }, "strip", z.ZodTypeAny, {
748
+ direction: string;
749
+ nodeCount: number;
750
+ edgeCount: number;
751
+ layoutAlgorithm: string;
752
+ }, {
753
+ direction: string;
754
+ nodeCount: number;
755
+ edgeCount: number;
756
+ layoutAlgorithm: string;
757
+ }>;
758
+ diagramUrl: z.ZodOptional<z.ZodString>;
759
+ sessionId: z.ZodOptional<z.ZodString>;
760
+ embeddedDiagram: z.ZodOptional<z.ZodObject<{
761
+ nodes: z.ZodArray<z.ZodUnknown, "many">;
762
+ edges: z.ZodArray<z.ZodUnknown, "many">;
763
+ }, "strip", z.ZodTypeAny, {
764
+ edges: unknown[];
765
+ nodes: unknown[];
766
+ }, {
767
+ edges: unknown[];
768
+ nodes: unknown[];
769
+ }>>;
770
+ message: z.ZodOptional<z.ZodString>;
771
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
772
+ }, "strip", z.ZodTypeAny, {
773
+ edges: {
774
+ data: {
775
+ communicationType: string;
776
+ pathType: string;
777
+ };
778
+ id: string;
779
+ label: string;
780
+ type: string;
781
+ source: string;
782
+ target: string;
783
+ animated: boolean;
784
+ sourceHandle: string;
785
+ targetHandle: string;
786
+ }[];
787
+ nodes: {
788
+ data: {
789
+ label: string;
790
+ layer: string;
791
+ icon: string;
792
+ tier?: string | undefined;
793
+ subtitle?: string | undefined;
794
+ tierColor?: string | undefined;
795
+ accentColor?: string | undefined;
796
+ isGroup?: boolean | undefined;
797
+ status?: string | undefined;
798
+ };
799
+ id: string;
800
+ type: string;
801
+ position: {
802
+ x: number;
803
+ y: number;
804
+ };
805
+ width?: number | undefined;
806
+ height?: number | undefined;
807
+ parentNode?: string | undefined;
808
+ }[];
809
+ success: boolean;
810
+ elkPositions: {
811
+ id: string;
812
+ width: number;
813
+ height: number;
814
+ x: number;
815
+ y: number;
816
+ }[];
817
+ metadata: {
818
+ direction: string;
819
+ nodeCount: number;
820
+ edgeCount: number;
821
+ layoutAlgorithm: string;
822
+ };
823
+ message?: string | undefined;
824
+ sessionId?: string | undefined;
825
+ diagramUrl?: string | undefined;
826
+ embeddedDiagram?: {
827
+ edges: unknown[];
828
+ nodes: unknown[];
829
+ } | undefined;
830
+ errors?: string[] | undefined;
831
+ }, {
832
+ edges: {
833
+ data: {
834
+ communicationType: string;
835
+ pathType: string;
836
+ };
837
+ id: string;
838
+ label: string;
839
+ type: string;
840
+ source: string;
841
+ target: string;
842
+ animated: boolean;
843
+ sourceHandle: string;
844
+ targetHandle: string;
845
+ }[];
846
+ nodes: {
847
+ data: {
848
+ label: string;
849
+ layer: string;
850
+ icon: string;
851
+ tier?: string | undefined;
852
+ subtitle?: string | undefined;
853
+ tierColor?: string | undefined;
854
+ accentColor?: string | undefined;
855
+ isGroup?: boolean | undefined;
856
+ status?: string | undefined;
857
+ };
858
+ id: string;
859
+ type: string;
860
+ position: {
861
+ x: number;
862
+ y: number;
863
+ };
864
+ width?: number | undefined;
865
+ height?: number | undefined;
866
+ parentNode?: string | undefined;
867
+ }[];
868
+ success: boolean;
869
+ elkPositions: {
870
+ id: string;
871
+ width: number;
872
+ height: number;
873
+ x: number;
874
+ y: number;
875
+ }[];
876
+ metadata: {
877
+ direction: string;
878
+ nodeCount: number;
879
+ edgeCount: number;
880
+ layoutAlgorithm: string;
881
+ };
882
+ message?: string | undefined;
883
+ sessionId?: string | undefined;
884
+ diagramUrl?: string | undefined;
885
+ embeddedDiagram?: {
886
+ edges: unknown[];
887
+ nodes: unknown[];
888
+ } | undefined;
889
+ errors?: string[] | undefined;
890
+ }>;
891
+ export declare const FixLayoutOutputSchema: z.ZodObject<{
892
+ success: z.ZodBoolean;
893
+ elkPositions: z.ZodArray<z.ZodObject<{
894
+ id: z.ZodString;
895
+ x: z.ZodNumber;
896
+ y: z.ZodNumber;
897
+ width: z.ZodNumber;
898
+ height: z.ZodNumber;
899
+ }, "strip", z.ZodTypeAny, {
900
+ id: string;
901
+ width: number;
902
+ height: number;
903
+ x: number;
904
+ y: number;
905
+ }, {
906
+ id: string;
907
+ width: number;
908
+ height: number;
909
+ x: number;
910
+ y: number;
911
+ }>, "many">;
912
+ metadata: z.ZodObject<{
913
+ nodeCount: z.ZodNumber;
914
+ edgeCount: z.ZodNumber;
915
+ layoutAlgorithm: z.ZodString;
916
+ direction: z.ZodString;
917
+ }, "strip", z.ZodTypeAny, {
918
+ direction: string;
919
+ nodeCount: number;
920
+ edgeCount: number;
921
+ layoutAlgorithm: string;
922
+ }, {
923
+ direction: string;
924
+ nodeCount: number;
925
+ edgeCount: number;
926
+ layoutAlgorithm: string;
927
+ }>;
928
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
929
+ }, "strip", z.ZodTypeAny, {
930
+ success: boolean;
931
+ elkPositions: {
932
+ id: string;
933
+ width: number;
934
+ height: number;
935
+ x: number;
936
+ y: number;
937
+ }[];
938
+ metadata: {
939
+ direction: string;
940
+ nodeCount: number;
941
+ edgeCount: number;
942
+ layoutAlgorithm: string;
943
+ };
944
+ errors?: string[] | undefined;
945
+ }, {
946
+ success: boolean;
947
+ elkPositions: {
948
+ id: string;
949
+ width: number;
950
+ height: number;
951
+ x: number;
952
+ y: number;
953
+ }[];
954
+ metadata: {
955
+ direction: string;
956
+ nodeCount: number;
957
+ edgeCount: number;
958
+ layoutAlgorithm: string;
959
+ };
960
+ errors?: string[] | undefined;
961
+ }>;
962
+ export declare const ListNodeTypesOutputSchema: z.ZodObject<{
963
+ categories: z.ZodArray<z.ZodObject<{
964
+ name: z.ZodString;
965
+ count: z.ZodNumber;
966
+ nodes: z.ZodArray<z.ZodObject<{
967
+ id: z.ZodString;
968
+ label: z.ZodString;
969
+ icon: z.ZodString;
970
+ description: z.ZodString;
971
+ }, "strip", z.ZodTypeAny, {
972
+ id: string;
973
+ label: string;
974
+ icon: string;
975
+ description: string;
976
+ }, {
977
+ id: string;
978
+ label: string;
979
+ icon: string;
980
+ description: string;
981
+ }>, "many">;
982
+ }, "strip", z.ZodTypeAny, {
983
+ nodes: {
984
+ id: string;
985
+ label: string;
986
+ icon: string;
987
+ description: string;
988
+ }[];
989
+ name: string;
990
+ count: number;
991
+ }, {
992
+ nodes: {
993
+ id: string;
994
+ label: string;
995
+ icon: string;
996
+ description: string;
997
+ }[];
998
+ name: string;
999
+ count: number;
1000
+ }>, "many">;
1001
+ totalCount: z.ZodNumber;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ categories: {
1004
+ nodes: {
1005
+ id: string;
1006
+ label: string;
1007
+ icon: string;
1008
+ description: string;
1009
+ }[];
1010
+ name: string;
1011
+ count: number;
1012
+ }[];
1013
+ totalCount: number;
1014
+ }, {
1015
+ categories: {
1016
+ nodes: {
1017
+ id: string;
1018
+ label: string;
1019
+ icon: string;
1020
+ description: string;
1021
+ }[];
1022
+ name: string;
1023
+ count: number;
1024
+ }[];
1025
+ totalCount: number;
1026
+ }>;
1027
+ export declare const ApplyTemplateOutputSchema: z.ZodObject<{
1028
+ success: z.ZodBoolean;
1029
+ nodes: z.ZodArray<z.ZodObject<{
1030
+ id: z.ZodString;
1031
+ type: z.ZodString;
1032
+ position: z.ZodObject<{
1033
+ x: z.ZodNumber;
1034
+ y: z.ZodNumber;
1035
+ }, "strip", z.ZodTypeAny, {
1036
+ x: number;
1037
+ y: number;
1038
+ }, {
1039
+ x: number;
1040
+ y: number;
1041
+ }>;
1042
+ data: z.ZodObject<{
1043
+ label: z.ZodString;
1044
+ icon: z.ZodString;
1045
+ layer: z.ZodString;
1046
+ tier: z.ZodOptional<z.ZodString>;
1047
+ tierColor: z.ZodOptional<z.ZodString>;
1048
+ category: z.ZodOptional<z.ZodString>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ label: string;
1051
+ layer: string;
1052
+ icon: string;
1053
+ tier?: string | undefined;
1054
+ tierColor?: string | undefined;
1055
+ category?: string | undefined;
1056
+ }, {
1057
+ label: string;
1058
+ layer: string;
1059
+ icon: string;
1060
+ tier?: string | undefined;
1061
+ tierColor?: string | undefined;
1062
+ category?: string | undefined;
1063
+ }>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ data: {
1066
+ label: string;
1067
+ layer: string;
1068
+ icon: string;
1069
+ tier?: string | undefined;
1070
+ tierColor?: string | undefined;
1071
+ category?: string | undefined;
1072
+ };
1073
+ id: string;
1074
+ type: string;
1075
+ position: {
1076
+ x: number;
1077
+ y: number;
1078
+ };
1079
+ }, {
1080
+ data: {
1081
+ label: string;
1082
+ layer: string;
1083
+ icon: string;
1084
+ tier?: string | undefined;
1085
+ tierColor?: string | undefined;
1086
+ category?: string | undefined;
1087
+ };
1088
+ id: string;
1089
+ type: string;
1090
+ position: {
1091
+ x: number;
1092
+ y: number;
1093
+ };
1094
+ }>, "many">;
1095
+ edges: z.ZodArray<z.ZodObject<{
1096
+ id: z.ZodString;
1097
+ source: z.ZodString;
1098
+ target: z.ZodString;
1099
+ sourceHandle: z.ZodString;
1100
+ targetHandle: z.ZodString;
1101
+ type: z.ZodString;
1102
+ data: z.ZodObject<{
1103
+ communicationType: z.ZodString;
1104
+ pathType: z.ZodString;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ communicationType: string;
1107
+ pathType: string;
1108
+ }, {
1109
+ communicationType: string;
1110
+ pathType: string;
1111
+ }>;
1112
+ }, "strip", z.ZodTypeAny, {
1113
+ data: {
1114
+ communicationType: string;
1115
+ pathType: string;
1116
+ };
1117
+ id: string;
1118
+ type: string;
1119
+ source: string;
1120
+ target: string;
1121
+ sourceHandle: string;
1122
+ targetHandle: string;
1123
+ }, {
1124
+ data: {
1125
+ communicationType: string;
1126
+ pathType: string;
1127
+ };
1128
+ id: string;
1129
+ type: string;
1130
+ source: string;
1131
+ target: string;
1132
+ sourceHandle: string;
1133
+ targetHandle: string;
1134
+ }>, "many">;
1135
+ metadata: z.ZodObject<{
1136
+ templateName: z.ZodString;
1137
+ nodeCount: z.ZodNumber;
1138
+ edgeCount: z.ZodNumber;
1139
+ }, "strip", z.ZodTypeAny, {
1140
+ nodeCount: number;
1141
+ edgeCount: number;
1142
+ templateName: string;
1143
+ }, {
1144
+ nodeCount: number;
1145
+ edgeCount: number;
1146
+ templateName: string;
1147
+ }>;
1148
+ diagramUrl: z.ZodOptional<z.ZodString>;
1149
+ sessionId: z.ZodOptional<z.ZodString>;
1150
+ message: z.ZodOptional<z.ZodString>;
1151
+ errors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1152
+ }, "strip", z.ZodTypeAny, {
1153
+ edges: {
1154
+ data: {
1155
+ communicationType: string;
1156
+ pathType: string;
1157
+ };
1158
+ id: string;
1159
+ type: string;
1160
+ source: string;
1161
+ target: string;
1162
+ sourceHandle: string;
1163
+ targetHandle: string;
1164
+ }[];
1165
+ nodes: {
1166
+ data: {
1167
+ label: string;
1168
+ layer: string;
1169
+ icon: string;
1170
+ tier?: string | undefined;
1171
+ tierColor?: string | undefined;
1172
+ category?: string | undefined;
1173
+ };
1174
+ id: string;
1175
+ type: string;
1176
+ position: {
1177
+ x: number;
1178
+ y: number;
1179
+ };
1180
+ }[];
1181
+ success: boolean;
1182
+ metadata: {
1183
+ nodeCount: number;
1184
+ edgeCount: number;
1185
+ templateName: string;
1186
+ };
1187
+ message?: string | undefined;
1188
+ sessionId?: string | undefined;
1189
+ diagramUrl?: string | undefined;
1190
+ errors?: string[] | undefined;
1191
+ }, {
1192
+ edges: {
1193
+ data: {
1194
+ communicationType: string;
1195
+ pathType: string;
1196
+ };
1197
+ id: string;
1198
+ type: string;
1199
+ source: string;
1200
+ target: string;
1201
+ sourceHandle: string;
1202
+ targetHandle: string;
1203
+ }[];
1204
+ nodes: {
1205
+ data: {
1206
+ label: string;
1207
+ layer: string;
1208
+ icon: string;
1209
+ tier?: string | undefined;
1210
+ tierColor?: string | undefined;
1211
+ category?: string | undefined;
1212
+ };
1213
+ id: string;
1214
+ type: string;
1215
+ position: {
1216
+ x: number;
1217
+ y: number;
1218
+ };
1219
+ }[];
1220
+ success: boolean;
1221
+ metadata: {
1222
+ nodeCount: number;
1223
+ edgeCount: number;
1224
+ templateName: string;
1225
+ };
1226
+ message?: string | undefined;
1227
+ sessionId?: string | undefined;
1228
+ diagramUrl?: string | undefined;
1229
+ errors?: string[] | undefined;
1230
+ }>;
1231
+ //# sourceMappingURL=schema.d.ts.map