@hiabhee/archdraw-mcp-server 1.0.2

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