@buun_group/plotwork-mcp 0.1.0-beta.3 → 0.1.0-beta.4

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.
@@ -1,6 +1,6 @@
1
1
  # Third-party notices
2
2
 
3
- @buun_group/plotwork-mcp 0.1.0-beta.3 is licensed under the MIT licence, in the file LICENSE. The single file plotwork-mcp.mjs also contains code and data from other people. This file lists them, with the licence each is used under and the full licence text. Those licences apply to that material. The MIT licence of @buun_group/plotwork-mcp does not replace them, and it does not cover the vendor artwork described under "Trademarks and official icons".
3
+ @buun_group/plotwork-mcp 0.1.0-beta.4 is licensed under the MIT licence, in the file LICENSE. The single file plotwork-mcp.mjs also contains code and data from other people. This file lists them, with the licence each is used under and the full licence text. Those licences apply to that material. The MIT licence of @buun_group/plotwork-mcp does not replace them, and it does not cover the vendor artwork described under "Trademarks and official icons".
4
4
 
5
5
  The build writes this file from the contents of the bundle. Do not edit it.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buun_group/plotwork-mcp",
3
- "version": "0.1.0-beta.3",
3
+ "version": "0.1.0-beta.4",
4
4
  "description": "No API key and no account. Plotwork MCP server for local use over stdio: read-only tools that draw, validate, outline, convert, and render twenty kinds of diagram, from flow, sequence, and database to Gantt, state, mind map, and treemap. It sends nothing unless you opt in.",
5
5
  "mcpName": "dev.plotwork/mcp",
6
6
  "license": "MIT",
package/plotwork-mcp.mjs CHANGED
@@ -51,7 +51,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
51
51
  var package_default;
52
52
  var init_package = __esm({
53
53
  "package.json"() {
54
- package_default = { version: "0.1.0-beta.3" };
54
+ package_default = { version: "0.1.0-beta.4" };
55
55
  }
56
56
  });
57
57
 
@@ -709,7 +709,7 @@ var init_style_rules = __esm({
709
709
  /** The address of the JSON Schema an editor reads from `$schema`; the docs app serves it. Nothing in Plotwork fetches it. */
710
710
  schemaUrl: "https://docs.plotwork.dev/schemas/plotwork.config.json",
711
711
  /** The largest settings file read, in bytes. */
712
- maxBytes: 65536,
712
+ maxBytes: 262144,
713
713
  /** The longest value a header default may have, in characters. */
714
714
  maxValueLength: 200
715
715
  };
@@ -723,7 +723,7 @@ var init_generate = __esm({
723
723
  "use strict";
724
724
  GENERATE = {
725
725
  /** The most sources one settings file lists. */
726
- maxSources: 50,
726
+ maxSources: 250,
727
727
  /** The most patterns one source's `from` lists. */
728
728
  maxPatterns: 20,
729
729
  /** The most files one source reads, after its patterns are expanded. */
@@ -3807,13 +3807,14 @@ var init_diagnostics = __esm({
3807
3807
  settingIgnored: "S200",
3808
3808
  // Generated diagrams (src/generate). S101-S104 stop one source: a source the run cannot use, an overrides file that does not check,
3809
3809
  // a source whose files are missing, a Markdown fence that is not there. S201-S202 are warnings: an override whose target is gone, and
3810
- // one the diagram could not take.
3810
+ // one the diagram could not take. S203 is an overrides file a source names that is not there.
3811
3811
  sourceInvalid: "S101",
3812
3812
  overridesInvalid: "S102",
3813
3813
  sourceNoFiles: "S103",
3814
3814
  fenceMissing: "S104",
3815
3815
  overrideStale: "S201",
3816
- overrideRefused: "S202"
3816
+ overrideRefused: "S202",
3817
+ overridesMissing: "S203"
3817
3818
  };
3818
3819
  }
3819
3820
  });
@@ -109984,7 +109985,7 @@ async function layoutWith2(diagram, boxes2, direction) {
109984
109985
  // A stretch moved off a tab can land past a sibling edge's stub; that stub then steps past it, so the two do not cross by their node.
109985
109986
  edges: orderStubs(routes.map((edge) => routeAroundTabs2(edge, tabRects, nodeRects)), nodeRects, tabRects)
109986
109987
  };
109987
- return makeRoomFor(layout, spanned.grown);
109988
+ return makeRoomFor(layout, [...spanned.grown, ...layout.edges.flatMap((edge) => edge.label === null ? [] : [edge.label.rect])]);
109988
109989
  }
109989
109990
  async function layoutFlowOnce(diagram) {
109990
109991
  const boxes2 = evenFlowBoxes(diagram, new Map(diagram.nodes.map((node3) => [node3.id, sizeNode(node3)])));