@pinepaper.studio/mcp-server 1.4.2 → 1.4.3

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 (152) hide show
  1. package/README.md +99 -18
  2. package/dist/i18n/locales/ar.d.ts.map +1 -1
  3. package/dist/i18n/locales/ar.js +37 -0
  4. package/dist/i18n/locales/ar.js.map +1 -1
  5. package/dist/i18n/locales/base.d.ts.map +1 -1
  6. package/dist/i18n/locales/base.js +49 -0
  7. package/dist/i18n/locales/base.js.map +1 -1
  8. package/dist/i18n/locales/bn.d.ts.map +1 -1
  9. package/dist/i18n/locales/bn.js +10 -0
  10. package/dist/i18n/locales/bn.js.map +1 -1
  11. package/dist/i18n/locales/cs.d.ts.map +1 -1
  12. package/dist/i18n/locales/cs.js +10 -0
  13. package/dist/i18n/locales/cs.js.map +1 -1
  14. package/dist/i18n/locales/da.d.ts.map +1 -1
  15. package/dist/i18n/locales/da.js +10 -0
  16. package/dist/i18n/locales/da.js.map +1 -1
  17. package/dist/i18n/locales/de.d.ts.map +1 -1
  18. package/dist/i18n/locales/de.js +107 -0
  19. package/dist/i18n/locales/de.js.map +1 -1
  20. package/dist/i18n/locales/el.d.ts.map +1 -1
  21. package/dist/i18n/locales/el.js +10 -0
  22. package/dist/i18n/locales/el.js.map +1 -1
  23. package/dist/i18n/locales/en.d.ts.map +1 -1
  24. package/dist/i18n/locales/en.js +162 -0
  25. package/dist/i18n/locales/en.js.map +1 -1
  26. package/dist/i18n/locales/es.d.ts.map +1 -1
  27. package/dist/i18n/locales/es.js +106 -0
  28. package/dist/i18n/locales/es.js.map +1 -1
  29. package/dist/i18n/locales/fa.d.ts.map +1 -1
  30. package/dist/i18n/locales/fa.js +10 -0
  31. package/dist/i18n/locales/fa.js.map +1 -1
  32. package/dist/i18n/locales/fi.d.ts.map +1 -1
  33. package/dist/i18n/locales/fi.js +10 -0
  34. package/dist/i18n/locales/fi.js.map +1 -1
  35. package/dist/i18n/locales/fil.d.ts.map +1 -1
  36. package/dist/i18n/locales/fil.js +10 -0
  37. package/dist/i18n/locales/fil.js.map +1 -1
  38. package/dist/i18n/locales/fr.d.ts.map +1 -1
  39. package/dist/i18n/locales/fr.js +37 -0
  40. package/dist/i18n/locales/fr.js.map +1 -1
  41. package/dist/i18n/locales/gu.d.ts.map +1 -1
  42. package/dist/i18n/locales/gu.js +10 -0
  43. package/dist/i18n/locales/gu.js.map +1 -1
  44. package/dist/i18n/locales/he.d.ts.map +1 -1
  45. package/dist/i18n/locales/he.js +10 -0
  46. package/dist/i18n/locales/he.js.map +1 -1
  47. package/dist/i18n/locales/hi.d.ts.map +1 -1
  48. package/dist/i18n/locales/hi.js +37 -0
  49. package/dist/i18n/locales/hi.js.map +1 -1
  50. package/dist/i18n/locales/hu.d.ts.map +1 -1
  51. package/dist/i18n/locales/hu.js +10 -0
  52. package/dist/i18n/locales/hu.js.map +1 -1
  53. package/dist/i18n/locales/id.d.ts.map +1 -1
  54. package/dist/i18n/locales/id.js +108 -0
  55. package/dist/i18n/locales/id.js.map +1 -1
  56. package/dist/i18n/locales/is.d.ts.map +1 -1
  57. package/dist/i18n/locales/is.js +10 -0
  58. package/dist/i18n/locales/is.js.map +1 -1
  59. package/dist/i18n/locales/it.d.ts.map +1 -1
  60. package/dist/i18n/locales/it.js +108 -0
  61. package/dist/i18n/locales/it.js.map +1 -1
  62. package/dist/i18n/locales/ja.d.ts.map +1 -1
  63. package/dist/i18n/locales/ja.js +108 -0
  64. package/dist/i18n/locales/ja.js.map +1 -1
  65. package/dist/i18n/locales/kn.d.ts.map +1 -1
  66. package/dist/i18n/locales/kn.js +10 -0
  67. package/dist/i18n/locales/kn.js.map +1 -1
  68. package/dist/i18n/locales/ko.d.ts.map +1 -1
  69. package/dist/i18n/locales/ko.js +37 -0
  70. package/dist/i18n/locales/ko.js.map +1 -1
  71. package/dist/i18n/locales/ml.d.ts.map +1 -1
  72. package/dist/i18n/locales/ml.js +10 -0
  73. package/dist/i18n/locales/ml.js.map +1 -1
  74. package/dist/i18n/locales/mr.d.ts.map +1 -1
  75. package/dist/i18n/locales/mr.js +10 -0
  76. package/dist/i18n/locales/mr.js.map +1 -1
  77. package/dist/i18n/locales/ms.d.ts.map +1 -1
  78. package/dist/i18n/locales/ms.js +10 -0
  79. package/dist/i18n/locales/ms.js.map +1 -1
  80. package/dist/i18n/locales/nl.d.ts.map +1 -1
  81. package/dist/i18n/locales/nl.js +108 -0
  82. package/dist/i18n/locales/nl.js.map +1 -1
  83. package/dist/i18n/locales/no.d.ts.map +1 -1
  84. package/dist/i18n/locales/no.js +10 -0
  85. package/dist/i18n/locales/no.js.map +1 -1
  86. package/dist/i18n/locales/pa.d.ts.map +1 -1
  87. package/dist/i18n/locales/pa.js +10 -0
  88. package/dist/i18n/locales/pa.js.map +1 -1
  89. package/dist/i18n/locales/pl.d.ts.map +1 -1
  90. package/dist/i18n/locales/pl.js +108 -0
  91. package/dist/i18n/locales/pl.js.map +1 -1
  92. package/dist/i18n/locales/pt-BR.d.ts.map +1 -1
  93. package/dist/i18n/locales/pt-BR.js +108 -0
  94. package/dist/i18n/locales/pt-BR.js.map +1 -1
  95. package/dist/i18n/locales/pt.d.ts.map +1 -1
  96. package/dist/i18n/locales/pt.js +10 -0
  97. package/dist/i18n/locales/pt.js.map +1 -1
  98. package/dist/i18n/locales/ro.d.ts.map +1 -1
  99. package/dist/i18n/locales/ro.js +10 -0
  100. package/dist/i18n/locales/ro.js.map +1 -1
  101. package/dist/i18n/locales/ru.d.ts.map +1 -1
  102. package/dist/i18n/locales/ru.js +108 -0
  103. package/dist/i18n/locales/ru.js.map +1 -1
  104. package/dist/i18n/locales/sv.d.ts.map +1 -1
  105. package/dist/i18n/locales/sv.js +10 -0
  106. package/dist/i18n/locales/sv.js.map +1 -1
  107. package/dist/i18n/locales/ta.d.ts.map +1 -1
  108. package/dist/i18n/locales/ta.js +10 -0
  109. package/dist/i18n/locales/ta.js.map +1 -1
  110. package/dist/i18n/locales/te.d.ts.map +1 -1
  111. package/dist/i18n/locales/te.js +10 -0
  112. package/dist/i18n/locales/te.js.map +1 -1
  113. package/dist/i18n/locales/th.d.ts.map +1 -1
  114. package/dist/i18n/locales/th.js +108 -0
  115. package/dist/i18n/locales/th.js.map +1 -1
  116. package/dist/i18n/locales/tl.d.ts.map +1 -1
  117. package/dist/i18n/locales/tl.js +10 -0
  118. package/dist/i18n/locales/tl.js.map +1 -1
  119. package/dist/i18n/locales/tr.d.ts.map +1 -1
  120. package/dist/i18n/locales/tr.js +108 -0
  121. package/dist/i18n/locales/tr.js.map +1 -1
  122. package/dist/i18n/locales/uk.d.ts.map +1 -1
  123. package/dist/i18n/locales/uk.js +108 -0
  124. package/dist/i18n/locales/uk.js.map +1 -1
  125. package/dist/i18n/locales/ur.d.ts.map +1 -1
  126. package/dist/i18n/locales/ur.js +10 -0
  127. package/dist/i18n/locales/ur.js.map +1 -1
  128. package/dist/i18n/locales/vi.d.ts.map +1 -1
  129. package/dist/i18n/locales/vi.js +108 -0
  130. package/dist/i18n/locales/vi.js.map +1 -1
  131. package/dist/i18n/locales/zh-CN.d.ts.map +1 -1
  132. package/dist/i18n/locales/zh-CN.js +108 -0
  133. package/dist/i18n/locales/zh-CN.js.map +1 -1
  134. package/dist/i18n/locales/zh-TW.d.ts.map +1 -1
  135. package/dist/i18n/locales/zh-TW.js +108 -0
  136. package/dist/i18n/locales/zh-TW.js.map +1 -1
  137. package/dist/tools/definitions.d.ts.map +1 -1
  138. package/dist/tools/definitions.js +680 -1
  139. package/dist/tools/definitions.js.map +1 -1
  140. package/dist/tools/handlers.d.ts.map +1 -1
  141. package/dist/tools/handlers.js +71 -1
  142. package/dist/tools/handlers.js.map +1 -1
  143. package/dist/types/code-generator.d.ts +37 -1
  144. package/dist/types/code-generator.d.ts.map +1 -1
  145. package/dist/types/code-generator.js +241 -1
  146. package/dist/types/code-generator.js.map +1 -1
  147. package/dist/types/schemas.d.ts +497 -24
  148. package/dist/types/schemas.d.ts.map +1 -1
  149. package/dist/types/schemas.js +249 -0
  150. package/dist/types/schemas.js.map +1 -1
  151. package/manifest.json +38 -2
  152. package/package.json +2 -2
@@ -1052,11 +1052,11 @@ export declare const MirrorsParamsSchema: z.ZodObject<{
1052
1052
  axis: z.ZodDefault<z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "both"]>>>;
1053
1053
  center: z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>;
1054
1054
  }, "strip", z.ZodTypeAny, {
1055
- axis: "vertical" | "horizontal" | "both";
1055
+ axis: "both" | "vertical" | "horizontal";
1056
1056
  center?: [number, number] | undefined;
1057
1057
  }, {
1058
- axis?: "vertical" | "horizontal" | "both" | undefined;
1059
1058
  center?: [number, number] | undefined;
1059
+ axis?: "both" | "vertical" | "horizontal" | undefined;
1060
1060
  }>;
1061
1061
  export declare const ParallaxParamsSchema: z.ZodObject<{
1062
1062
  depth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -1288,7 +1288,7 @@ export declare const GridParamsSchema: z.ZodObject<{
1288
1288
  }>]>>>;
1289
1289
  lineWidth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1290
1290
  }, "strip", z.ZodTypeAny, {
1291
- bgColor: string | {
1291
+ lineColor: string | {
1292
1292
  type: "linear" | "radial";
1293
1293
  stops: {
1294
1294
  color: string;
@@ -1297,9 +1297,8 @@ export declare const GridParamsSchema: z.ZodObject<{
1297
1297
  origin?: [number, number] | undefined;
1298
1298
  destination?: [number, number] | undefined;
1299
1299
  };
1300
- gridType: "lines" | "dots" | "squares";
1301
- spacing: number;
1302
- lineColor: string | {
1300
+ lineWidth: number;
1301
+ bgColor: string | {
1303
1302
  type: "linear" | "radial";
1304
1303
  stops: {
1305
1304
  color: string;
@@ -1308,9 +1307,10 @@ export declare const GridParamsSchema: z.ZodObject<{
1308
1307
  origin?: [number, number] | undefined;
1309
1308
  destination?: [number, number] | undefined;
1310
1309
  };
1311
- lineWidth: number;
1310
+ gridType: "lines" | "dots" | "squares";
1311
+ spacing: number;
1312
1312
  }, {
1313
- bgColor?: string | {
1313
+ lineColor?: string | {
1314
1314
  type: "linear" | "radial";
1315
1315
  stops: {
1316
1316
  color: string;
@@ -1319,9 +1319,8 @@ export declare const GridParamsSchema: z.ZodObject<{
1319
1319
  origin?: [number, number] | undefined;
1320
1320
  destination?: [number, number] | undefined;
1321
1321
  } | undefined;
1322
- gridType?: "lines" | "dots" | "squares" | undefined;
1323
- spacing?: number | undefined;
1324
- lineColor?: string | {
1322
+ lineWidth?: number | undefined;
1323
+ bgColor?: string | {
1325
1324
  type: "linear" | "radial";
1326
1325
  stops: {
1327
1326
  color: string;
@@ -1330,7 +1329,8 @@ export declare const GridParamsSchema: z.ZodObject<{
1330
1329
  origin?: [number, number] | undefined;
1331
1330
  destination?: [number, number] | undefined;
1332
1331
  } | undefined;
1333
- lineWidth?: number | undefined;
1332
+ gridType?: "lines" | "dots" | "squares" | undefined;
1333
+ spacing?: number | undefined;
1334
1334
  }>;
1335
1335
  export declare const WavesParamsSchema: z.ZodObject<{
1336
1336
  waveCount: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -1575,7 +1575,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1575
1575
  }>]>>>;
1576
1576
  }, "strip", z.ZodTypeAny, {
1577
1577
  animated: boolean;
1578
- bgColor: string | {
1578
+ lineColor: string | {
1579
1579
  type: "linear" | "radial";
1580
1580
  stops: {
1581
1581
  color: string;
@@ -1584,7 +1584,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1584
1584
  origin?: [number, number] | undefined;
1585
1585
  destination?: [number, number] | undefined;
1586
1586
  };
1587
- lineColor: string | {
1587
+ boltColor: string | {
1588
1588
  type: "linear" | "radial";
1589
1589
  stops: {
1590
1590
  color: string;
@@ -1593,7 +1593,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1593
1593
  origin?: [number, number] | undefined;
1594
1594
  destination?: [number, number] | undefined;
1595
1595
  };
1596
- nodeColor: string | {
1596
+ bgColor: string | {
1597
1597
  type: "linear" | "radial";
1598
1598
  stops: {
1599
1599
  color: string;
@@ -1602,8 +1602,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1602
1602
  origin?: [number, number] | undefined;
1603
1603
  destination?: [number, number] | undefined;
1604
1604
  };
1605
- density: number;
1606
- boltColor: string | {
1605
+ nodeColor: string | {
1607
1606
  type: "linear" | "radial";
1608
1607
  stops: {
1609
1608
  color: string;
@@ -1612,9 +1611,10 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1612
1611
  origin?: [number, number] | undefined;
1613
1612
  destination?: [number, number] | undefined;
1614
1613
  };
1614
+ density: number;
1615
1615
  }, {
1616
1616
  animated?: boolean | undefined;
1617
- bgColor?: string | {
1617
+ lineColor?: string | {
1618
1618
  type: "linear" | "radial";
1619
1619
  stops: {
1620
1620
  color: string;
@@ -1623,7 +1623,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1623
1623
  origin?: [number, number] | undefined;
1624
1624
  destination?: [number, number] | undefined;
1625
1625
  } | undefined;
1626
- lineColor?: string | {
1626
+ boltColor?: string | {
1627
1627
  type: "linear" | "radial";
1628
1628
  stops: {
1629
1629
  color: string;
@@ -1632,7 +1632,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1632
1632
  origin?: [number, number] | undefined;
1633
1633
  destination?: [number, number] | undefined;
1634
1634
  } | undefined;
1635
- nodeColor?: string | {
1635
+ bgColor?: string | {
1636
1636
  type: "linear" | "radial";
1637
1637
  stops: {
1638
1638
  color: string;
@@ -1641,8 +1641,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1641
1641
  origin?: [number, number] | undefined;
1642
1642
  destination?: [number, number] | undefined;
1643
1643
  } | undefined;
1644
- density?: number | undefined;
1645
- boltColor?: string | {
1644
+ nodeColor?: string | {
1646
1645
  type: "linear" | "radial";
1647
1646
  stops: {
1648
1647
  color: string;
@@ -1651,6 +1650,7 @@ export declare const CircuitParamsSchema: z.ZodObject<{
1651
1650
  origin?: [number, number] | undefined;
1652
1651
  destination?: [number, number] | undefined;
1653
1652
  } | undefined;
1653
+ density?: number | undefined;
1654
1654
  }>;
1655
1655
  export declare const EffectTypeSchema: z.ZodEnum<["sparkle", "blast"]>;
1656
1656
  export declare const SparkleParamsSchema: z.ZodObject<{
@@ -1756,8 +1756,8 @@ export declare const BlastParamsSchema: z.ZodObject<{
1756
1756
  origin?: [number, number] | undefined;
1757
1757
  destination?: [number, number] | undefined;
1758
1758
  };
1759
- radius: number;
1760
1759
  count: number;
1760
+ radius: number;
1761
1761
  }, {
1762
1762
  color?: string | {
1763
1763
  type: "linear" | "radial";
@@ -1768,8 +1768,8 @@ export declare const BlastParamsSchema: z.ZodObject<{
1768
1768
  origin?: [number, number] | undefined;
1769
1769
  destination?: [number, number] | undefined;
1770
1770
  } | undefined;
1771
- radius?: number | undefined;
1772
1771
  count?: number | undefined;
1772
+ radius?: number | undefined;
1773
1773
  }>;
1774
1774
  export declare const FilterTypeSchema: z.ZodEnum<["grayscale", "sepia", "blur", "brightness", "contrast", "saturation", "invert", "noise", "vignette", "vintage", "colorOverlay", "sharpen", "emboss", "posterize"]>;
1775
1775
  export type FilterType = z.infer<typeof FilterTypeSchema>;
@@ -2574,6 +2574,479 @@ export type SceneItem = z.infer<typeof SceneItemSchema>;
2574
2574
  export type SceneRelation = z.infer<typeof SceneRelationSchema>;
2575
2575
  export type SceneAnimation = z.infer<typeof SceneAnimationSchema>;
2576
2576
  export type CreateSceneInput = z.infer<typeof CreateSceneInputSchema>;
2577
+ /**
2578
+ * Diagram shape types - available shapes for flowcharts, UML, network diagrams
2579
+ */
2580
+ export declare const DiagramShapeTypeSchema: z.ZodEnum<["process", "decision", "terminal", "data", "document", "database", "preparation", "uml-class", "uml-usecase", "uml-actor", "cloud", "server", "rectangle", "circle", "triangle", "star"]>;
2581
+ export type DiagramShapeType = z.infer<typeof DiagramShapeTypeSchema>;
2582
+ /**
2583
+ * Connector routing styles
2584
+ */
2585
+ export declare const ConnectorRoutingSchema: z.ZodEnum<["direct", "orthogonal", "curved"]>;
2586
+ export type ConnectorRouting = z.infer<typeof ConnectorRoutingSchema>;
2587
+ /**
2588
+ * Connector line styles
2589
+ */
2590
+ export declare const ConnectorLineStyleSchema: z.ZodEnum<["solid", "dashed", "dotted"]>;
2591
+ export type ConnectorLineStyle = z.infer<typeof ConnectorLineStyleSchema>;
2592
+ /**
2593
+ * Arrow head styles
2594
+ */
2595
+ export declare const ArrowHeadStyleSchema: z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>;
2596
+ export type ArrowHeadStyle = z.infer<typeof ArrowHeadStyleSchema>;
2597
+ /**
2598
+ * Port positions on items
2599
+ */
2600
+ export declare const PortPositionSchema: z.ZodEnum<["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "center", "start", "end"]>;
2601
+ export type PortPosition = z.infer<typeof PortPositionSchema>;
2602
+ /**
2603
+ * Port types for connection direction control
2604
+ */
2605
+ export declare const PortTypeSchema: z.ZodEnum<["input", "output", "both"]>;
2606
+ export type PortType = z.infer<typeof PortTypeSchema>;
2607
+ /**
2608
+ * Layout types for auto-layout
2609
+ */
2610
+ export declare const LayoutTypeSchema: z.ZodEnum<["hierarchical", "force-directed", "tree", "radial", "grid"]>;
2611
+ export type LayoutType = z.infer<typeof LayoutTypeSchema>;
2612
+ /**
2613
+ * Layout direction for hierarchical/tree layouts
2614
+ */
2615
+ export declare const LayoutDirectionSchema: z.ZodEnum<["TB", "BT", "LR", "RL"]>;
2616
+ export type LayoutDirection = z.infer<typeof LayoutDirectionSchema>;
2617
+ /**
2618
+ * Diagram mode actions
2619
+ */
2620
+ export declare const DiagramModeActionSchema: z.ZodEnum<["activate", "deactivate", "toggle", "setMode"]>;
2621
+ export type DiagramModeAction = z.infer<typeof DiagramModeActionSchema>;
2622
+ /**
2623
+ * Diagram tool modes
2624
+ */
2625
+ export declare const DiagramToolModeSchema: z.ZodEnum<["select", "connect", "shape", "pan"]>;
2626
+ export type DiagramToolMode = z.infer<typeof DiagramToolModeSchema>;
2627
+ /**
2628
+ * Create Diagram Shape input
2629
+ */
2630
+ export declare const CreateDiagramShapeInputSchema: z.ZodObject<{
2631
+ shapeType: z.ZodEnum<["process", "decision", "terminal", "data", "document", "database", "preparation", "uml-class", "uml-usecase", "uml-actor", "cloud", "server", "rectangle", "circle", "triangle", "star"]>;
2632
+ position: z.ZodDefault<z.ZodOptional<z.ZodObject<{
2633
+ x: z.ZodNumber;
2634
+ y: z.ZodNumber;
2635
+ }, "strip", z.ZodTypeAny, {
2636
+ x: number;
2637
+ y: number;
2638
+ }, {
2639
+ x: number;
2640
+ y: number;
2641
+ }>>>;
2642
+ width: z.ZodOptional<z.ZodNumber>;
2643
+ height: z.ZodOptional<z.ZodNumber>;
2644
+ label: z.ZodOptional<z.ZodString>;
2645
+ style: z.ZodOptional<z.ZodObject<{
2646
+ fillColor: z.ZodOptional<z.ZodString>;
2647
+ strokeColor: z.ZodOptional<z.ZodString>;
2648
+ strokeWidth: z.ZodOptional<z.ZodNumber>;
2649
+ }, "strip", z.ZodTypeAny, {
2650
+ strokeColor?: string | undefined;
2651
+ strokeWidth?: number | undefined;
2652
+ fillColor?: string | undefined;
2653
+ }, {
2654
+ strokeColor?: string | undefined;
2655
+ strokeWidth?: number | undefined;
2656
+ fillColor?: string | undefined;
2657
+ }>>;
2658
+ }, "strip", z.ZodTypeAny, {
2659
+ position: {
2660
+ x: number;
2661
+ y: number;
2662
+ };
2663
+ shapeType: "circle" | "star" | "rectangle" | "triangle" | "process" | "decision" | "terminal" | "data" | "document" | "database" | "preparation" | "uml-class" | "uml-usecase" | "uml-actor" | "cloud" | "server";
2664
+ width?: number | undefined;
2665
+ height?: number | undefined;
2666
+ label?: string | undefined;
2667
+ style?: {
2668
+ strokeColor?: string | undefined;
2669
+ strokeWidth?: number | undefined;
2670
+ fillColor?: string | undefined;
2671
+ } | undefined;
2672
+ }, {
2673
+ shapeType: "circle" | "star" | "rectangle" | "triangle" | "process" | "decision" | "terminal" | "data" | "document" | "database" | "preparation" | "uml-class" | "uml-usecase" | "uml-actor" | "cloud" | "server";
2674
+ position?: {
2675
+ x: number;
2676
+ y: number;
2677
+ } | undefined;
2678
+ width?: number | undefined;
2679
+ height?: number | undefined;
2680
+ label?: string | undefined;
2681
+ style?: {
2682
+ strokeColor?: string | undefined;
2683
+ strokeWidth?: number | undefined;
2684
+ fillColor?: string | undefined;
2685
+ } | undefined;
2686
+ }>;
2687
+ export type CreateDiagramShapeInput = z.infer<typeof CreateDiagramShapeInputSchema>;
2688
+ /**
2689
+ * Connect items input
2690
+ */
2691
+ export declare const ConnectInputSchema: z.ZodObject<{
2692
+ sourceItemId: z.ZodString;
2693
+ targetItemId: z.ZodString;
2694
+ routing: z.ZodDefault<z.ZodOptional<z.ZodEnum<["direct", "orthogonal", "curved"]>>>;
2695
+ lineColor: z.ZodOptional<z.ZodString>;
2696
+ lineWidth: z.ZodOptional<z.ZodNumber>;
2697
+ lineStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>>;
2698
+ headStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>>;
2699
+ tailStyle: z.ZodDefault<z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>>;
2700
+ label: z.ZodOptional<z.ZodString>;
2701
+ curvature: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2702
+ boltEnabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2703
+ boltColor: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2704
+ }, "strip", z.ZodTypeAny, {
2705
+ sourceItemId: string;
2706
+ targetItemId: string;
2707
+ routing: "direct" | "orthogonal" | "curved";
2708
+ lineStyle: "solid" | "dashed" | "dotted";
2709
+ headStyle: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none";
2710
+ tailStyle: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none";
2711
+ curvature: number;
2712
+ boltEnabled: boolean;
2713
+ boltColor: string;
2714
+ label?: string | undefined;
2715
+ lineColor?: string | undefined;
2716
+ lineWidth?: number | undefined;
2717
+ }, {
2718
+ sourceItemId: string;
2719
+ targetItemId: string;
2720
+ label?: string | undefined;
2721
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2722
+ lineColor?: string | undefined;
2723
+ lineWidth?: number | undefined;
2724
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2725
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2726
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2727
+ curvature?: number | undefined;
2728
+ boltEnabled?: boolean | undefined;
2729
+ boltColor?: string | undefined;
2730
+ }>;
2731
+ export type ConnectInput = z.infer<typeof ConnectInputSchema>;
2732
+ /**
2733
+ * Connect specific ports input
2734
+ */
2735
+ export declare const ConnectPortsInputSchema: z.ZodObject<{
2736
+ sourceItemId: z.ZodString;
2737
+ sourcePort: z.ZodEnum<["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "center", "start", "end"]>;
2738
+ targetItemId: z.ZodString;
2739
+ targetPort: z.ZodEnum<["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "center", "start", "end"]>;
2740
+ config: z.ZodOptional<z.ZodObject<{
2741
+ routing: z.ZodOptional<z.ZodEnum<["direct", "orthogonal", "curved"]>>;
2742
+ lineColor: z.ZodOptional<z.ZodString>;
2743
+ lineWidth: z.ZodOptional<z.ZodNumber>;
2744
+ lineStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
2745
+ headStyle: z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>;
2746
+ tailStyle: z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>;
2747
+ label: z.ZodOptional<z.ZodString>;
2748
+ curvature: z.ZodOptional<z.ZodNumber>;
2749
+ boltEnabled: z.ZodOptional<z.ZodBoolean>;
2750
+ boltColor: z.ZodOptional<z.ZodString>;
2751
+ }, "strip", z.ZodTypeAny, {
2752
+ label?: string | undefined;
2753
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2754
+ lineColor?: string | undefined;
2755
+ lineWidth?: number | undefined;
2756
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2757
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2758
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2759
+ curvature?: number | undefined;
2760
+ boltEnabled?: boolean | undefined;
2761
+ boltColor?: string | undefined;
2762
+ }, {
2763
+ label?: string | undefined;
2764
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2765
+ lineColor?: string | undefined;
2766
+ lineWidth?: number | undefined;
2767
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2768
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2769
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2770
+ curvature?: number | undefined;
2771
+ boltEnabled?: boolean | undefined;
2772
+ boltColor?: string | undefined;
2773
+ }>>;
2774
+ }, "strip", z.ZodTypeAny, {
2775
+ sourceItemId: string;
2776
+ targetItemId: string;
2777
+ sourcePort: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2778
+ targetPort: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2779
+ config?: {
2780
+ label?: string | undefined;
2781
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2782
+ lineColor?: string | undefined;
2783
+ lineWidth?: number | undefined;
2784
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2785
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2786
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2787
+ curvature?: number | undefined;
2788
+ boltEnabled?: boolean | undefined;
2789
+ boltColor?: string | undefined;
2790
+ } | undefined;
2791
+ }, {
2792
+ sourceItemId: string;
2793
+ targetItemId: string;
2794
+ sourcePort: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2795
+ targetPort: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2796
+ config?: {
2797
+ label?: string | undefined;
2798
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2799
+ lineColor?: string | undefined;
2800
+ lineWidth?: number | undefined;
2801
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2802
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2803
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2804
+ curvature?: number | undefined;
2805
+ boltEnabled?: boolean | undefined;
2806
+ boltColor?: string | undefined;
2807
+ } | undefined;
2808
+ }>;
2809
+ export type ConnectPortsInput = z.infer<typeof ConnectPortsInputSchema>;
2810
+ /**
2811
+ * Port configuration for custom ports
2812
+ */
2813
+ export declare const PortConfigSchema: z.ZodObject<{
2814
+ position: z.ZodEnum<["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "center", "start", "end"]>;
2815
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["input", "output", "both"]>>>;
2816
+ }, "strip", z.ZodTypeAny, {
2817
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2818
+ type: "output" | "input" | "both";
2819
+ }, {
2820
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2821
+ type?: "output" | "input" | "both" | undefined;
2822
+ }>;
2823
+ export type PortConfig = z.infer<typeof PortConfigSchema>;
2824
+ /**
2825
+ * Add ports input
2826
+ */
2827
+ export declare const AddPortsInputSchema: z.ZodObject<{
2828
+ itemId: z.ZodString;
2829
+ portType: z.ZodDefault<z.ZodOptional<z.ZodEnum<["standard", "line", "path", "custom"]>>>;
2830
+ ports: z.ZodOptional<z.ZodArray<z.ZodObject<{
2831
+ position: z.ZodEnum<["top", "bottom", "left", "right", "top-left", "top-right", "bottom-left", "bottom-right", "center", "start", "end"]>;
2832
+ type: z.ZodDefault<z.ZodOptional<z.ZodEnum<["input", "output", "both"]>>>;
2833
+ }, "strip", z.ZodTypeAny, {
2834
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2835
+ type: "output" | "input" | "both";
2836
+ }, {
2837
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2838
+ type?: "output" | "input" | "both" | undefined;
2839
+ }>, "many">>;
2840
+ count: z.ZodOptional<z.ZodNumber>;
2841
+ }, "strip", z.ZodTypeAny, {
2842
+ itemId: string;
2843
+ portType: "path" | "line" | "standard" | "custom";
2844
+ ports?: {
2845
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2846
+ type: "output" | "input" | "both";
2847
+ }[] | undefined;
2848
+ count?: number | undefined;
2849
+ }, {
2850
+ itemId: string;
2851
+ portType?: "path" | "line" | "standard" | "custom" | undefined;
2852
+ ports?: {
2853
+ position: "top-left" | "top-right" | "top" | "left" | "right" | "bottom-left" | "bottom-right" | "bottom" | "center" | "start" | "end";
2854
+ type?: "output" | "input" | "both" | undefined;
2855
+ }[] | undefined;
2856
+ count?: number | undefined;
2857
+ }>;
2858
+ export type AddPortsInput = z.infer<typeof AddPortsInputSchema>;
2859
+ /**
2860
+ * Auto layout input
2861
+ */
2862
+ export declare const AutoLayoutInputSchema: z.ZodObject<{
2863
+ layoutType: z.ZodEnum<["hierarchical", "force-directed", "tree", "radial", "grid"]>;
2864
+ itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2865
+ options: z.ZodOptional<z.ZodObject<{
2866
+ direction: z.ZodDefault<z.ZodOptional<z.ZodEnum<["TB", "BT", "LR", "RL"]>>>;
2867
+ levelSpacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2868
+ nodeSpacing: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2869
+ iterations: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2870
+ attraction: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2871
+ repulsion: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2872
+ columns: z.ZodOptional<z.ZodNumber>;
2873
+ cellWidth: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2874
+ cellHeight: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2875
+ centerX: z.ZodOptional<z.ZodNumber>;
2876
+ centerY: z.ZodOptional<z.ZodNumber>;
2877
+ startRadius: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2878
+ radiusStep: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2879
+ animate: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
2880
+ animationDuration: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
2881
+ }, "strip", z.ZodTypeAny, {
2882
+ direction: "TB" | "BT" | "LR" | "RL";
2883
+ levelSpacing: number;
2884
+ nodeSpacing: number;
2885
+ iterations: number;
2886
+ attraction: number;
2887
+ repulsion: number;
2888
+ cellWidth: number;
2889
+ cellHeight: number;
2890
+ startRadius: number;
2891
+ radiusStep: number;
2892
+ animate: boolean;
2893
+ animationDuration: number;
2894
+ columns?: number | undefined;
2895
+ centerX?: number | undefined;
2896
+ centerY?: number | undefined;
2897
+ }, {
2898
+ direction?: "TB" | "BT" | "LR" | "RL" | undefined;
2899
+ levelSpacing?: number | undefined;
2900
+ nodeSpacing?: number | undefined;
2901
+ iterations?: number | undefined;
2902
+ attraction?: number | undefined;
2903
+ repulsion?: number | undefined;
2904
+ columns?: number | undefined;
2905
+ cellWidth?: number | undefined;
2906
+ cellHeight?: number | undefined;
2907
+ centerX?: number | undefined;
2908
+ centerY?: number | undefined;
2909
+ startRadius?: number | undefined;
2910
+ radiusStep?: number | undefined;
2911
+ animate?: boolean | undefined;
2912
+ animationDuration?: number | undefined;
2913
+ }>>;
2914
+ }, "strip", z.ZodTypeAny, {
2915
+ layoutType: "hierarchical" | "force-directed" | "tree" | "radial" | "grid";
2916
+ itemIds?: string[] | undefined;
2917
+ options?: {
2918
+ direction: "TB" | "BT" | "LR" | "RL";
2919
+ levelSpacing: number;
2920
+ nodeSpacing: number;
2921
+ iterations: number;
2922
+ attraction: number;
2923
+ repulsion: number;
2924
+ cellWidth: number;
2925
+ cellHeight: number;
2926
+ startRadius: number;
2927
+ radiusStep: number;
2928
+ animate: boolean;
2929
+ animationDuration: number;
2930
+ columns?: number | undefined;
2931
+ centerX?: number | undefined;
2932
+ centerY?: number | undefined;
2933
+ } | undefined;
2934
+ }, {
2935
+ layoutType: "hierarchical" | "force-directed" | "tree" | "radial" | "grid";
2936
+ itemIds?: string[] | undefined;
2937
+ options?: {
2938
+ direction?: "TB" | "BT" | "LR" | "RL" | undefined;
2939
+ levelSpacing?: number | undefined;
2940
+ nodeSpacing?: number | undefined;
2941
+ iterations?: number | undefined;
2942
+ attraction?: number | undefined;
2943
+ repulsion?: number | undefined;
2944
+ columns?: number | undefined;
2945
+ cellWidth?: number | undefined;
2946
+ cellHeight?: number | undefined;
2947
+ centerX?: number | undefined;
2948
+ centerY?: number | undefined;
2949
+ startRadius?: number | undefined;
2950
+ radiusStep?: number | undefined;
2951
+ animate?: boolean | undefined;
2952
+ animationDuration?: number | undefined;
2953
+ } | undefined;
2954
+ }>;
2955
+ export type AutoLayoutInput = z.infer<typeof AutoLayoutInputSchema>;
2956
+ /**
2957
+ * Get diagram shapes input
2958
+ */
2959
+ export declare const GetDiagramShapesInputSchema: z.ZodObject<{
2960
+ category: z.ZodOptional<z.ZodEnum<["flowchart", "uml", "network", "basic"]>>;
2961
+ }, "strip", z.ZodTypeAny, {
2962
+ category?: "flowchart" | "uml" | "network" | "basic" | undefined;
2963
+ }, {
2964
+ category?: "flowchart" | "uml" | "network" | "basic" | undefined;
2965
+ }>;
2966
+ export type GetDiagramShapesInput = z.infer<typeof GetDiagramShapesInputSchema>;
2967
+ /**
2968
+ * Update connector input
2969
+ */
2970
+ export declare const UpdateConnectorInputSchema: z.ZodObject<{
2971
+ connectorId: z.ZodString;
2972
+ style: z.ZodOptional<z.ZodObject<{
2973
+ lineColor: z.ZodOptional<z.ZodString>;
2974
+ lineWidth: z.ZodOptional<z.ZodNumber>;
2975
+ headStyle: z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>;
2976
+ tailStyle: z.ZodOptional<z.ZodEnum<["classic", "stealth", "sharp", "open", "diamond", "circle", "none"]>>;
2977
+ routing: z.ZodOptional<z.ZodEnum<["direct", "orthogonal", "curved"]>>;
2978
+ lineStyle: z.ZodOptional<z.ZodEnum<["solid", "dashed", "dotted"]>>;
2979
+ }, "strip", z.ZodTypeAny, {
2980
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2981
+ lineColor?: string | undefined;
2982
+ lineWidth?: number | undefined;
2983
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2984
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2985
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2986
+ }, {
2987
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
2988
+ lineColor?: string | undefined;
2989
+ lineWidth?: number | undefined;
2990
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
2991
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2992
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
2993
+ }>>;
2994
+ label: z.ZodOptional<z.ZodString>;
2995
+ labelPosition: z.ZodOptional<z.ZodNumber>;
2996
+ }, "strip", z.ZodTypeAny, {
2997
+ connectorId: string;
2998
+ label?: string | undefined;
2999
+ style?: {
3000
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
3001
+ lineColor?: string | undefined;
3002
+ lineWidth?: number | undefined;
3003
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
3004
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
3005
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
3006
+ } | undefined;
3007
+ labelPosition?: number | undefined;
3008
+ }, {
3009
+ connectorId: string;
3010
+ label?: string | undefined;
3011
+ style?: {
3012
+ routing?: "direct" | "orthogonal" | "curved" | undefined;
3013
+ lineColor?: string | undefined;
3014
+ lineWidth?: number | undefined;
3015
+ lineStyle?: "solid" | "dashed" | "dotted" | undefined;
3016
+ headStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
3017
+ tailStyle?: "circle" | "classic" | "stealth" | "sharp" | "open" | "diamond" | "none" | undefined;
3018
+ } | undefined;
3019
+ labelPosition?: number | undefined;
3020
+ }>;
3021
+ export type UpdateConnectorInput = z.infer<typeof UpdateConnectorInputSchema>;
3022
+ /**
3023
+ * Remove connector input
3024
+ */
3025
+ export declare const RemoveConnectorInputSchema: z.ZodObject<{
3026
+ connectorId: z.ZodString;
3027
+ }, "strip", z.ZodTypeAny, {
3028
+ connectorId: string;
3029
+ }, {
3030
+ connectorId: string;
3031
+ }>;
3032
+ export type RemoveConnectorInput = z.infer<typeof RemoveConnectorInputSchema>;
3033
+ /**
3034
+ * Diagram mode input
3035
+ */
3036
+ export declare const DiagramModeInputSchema: z.ZodObject<{
3037
+ action: z.ZodEnum<["activate", "deactivate", "toggle", "setMode"]>;
3038
+ mode: z.ZodOptional<z.ZodEnum<["select", "connect", "shape", "pan"]>>;
3039
+ shapeType: z.ZodOptional<z.ZodEnum<["process", "decision", "terminal", "data", "document", "database", "preparation", "uml-class", "uml-usecase", "uml-actor", "cloud", "server", "rectangle", "circle", "triangle", "star"]>>;
3040
+ }, "strip", z.ZodTypeAny, {
3041
+ action: "activate" | "deactivate" | "toggle" | "setMode";
3042
+ shapeType?: "circle" | "star" | "rectangle" | "triangle" | "process" | "decision" | "terminal" | "data" | "document" | "database" | "preparation" | "uml-class" | "uml-usecase" | "uml-actor" | "cloud" | "server" | undefined;
3043
+ mode?: "select" | "connect" | "shape" | "pan" | undefined;
3044
+ }, {
3045
+ action: "activate" | "deactivate" | "toggle" | "setMode";
3046
+ shapeType?: "circle" | "star" | "rectangle" | "triangle" | "process" | "decision" | "terminal" | "data" | "document" | "database" | "preparation" | "uml-class" | "uml-usecase" | "uml-actor" | "cloud" | "server" | undefined;
3047
+ mode?: "select" | "connect" | "shape" | "pan" | undefined;
3048
+ }>;
3049
+ export type DiagramModeInput = z.infer<typeof DiagramModeInputSchema>;
2577
3050
  export declare const ErrorCodes: {
2578
3051
  readonly ITEM_NOT_FOUND: "ITEM_NOT_FOUND";
2579
3052
  readonly INVALID_RELATION: "INVALID_RELATION";