@diagrammo/dgmo 0.48.0 → 0.48.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/advanced.js +11 -11
  2. package/dist/auto.js +16 -16
  3. package/dist/auto.mjs +41 -12
  4. package/dist/block.js +4 -4
  5. package/dist/{chunk-FNB3PNGF.js → chunk-7DTWEFUE.js} +3 -3
  6. package/dist/{chunk-2DXMZRWJ.js → chunk-B65G5DNL.js} +8 -1
  7. package/dist/{chunk-RZCF2VVM.js → chunk-B7JUCQUA.js} +3 -1
  8. package/dist/{chunk-DU7W62N5.js → chunk-FANX6UJR.js} +3 -3
  9. package/dist/{chunk-6FZYCKXB.js → chunk-HSH73DP6.js} +2 -2
  10. package/dist/{chunk-P4RH4OSP.js → chunk-ILKORZ3H.js} +2 -2
  11. package/dist/{chunk-Y5QGVTVC.js → chunk-JTSMEYIZ.js} +7 -3
  12. package/dist/{chunk-RCERWOJR.js → chunk-ODZVHU3R.js} +1 -2
  13. package/dist/{chunk-DZAQBW35.js → chunk-SGZYXELT.js} +3 -7
  14. package/dist/{chunk-CUVHQHZ7.js → chunk-THXCFRTU.js} +3 -3
  15. package/dist/{chunk-IH6ZMVQ5.js → chunk-UC7TFHUM.js} +29 -11
  16. package/dist/{chunk-EMS2SK26.js → chunk-ZBWMSD5N.js} +3 -1
  17. package/dist/cli.cjs +15 -15
  18. package/dist/{dgmo-router-DZCIDUO5.js → dgmo-router-X35VLZLM.js} +3 -3
  19. package/dist/element.js +16 -16
  20. package/dist/element.mjs +41 -12
  21. package/dist/{flowchart-renderer-ZAEOL4DX.js → flowchart-renderer-SNDSII4D.js} +2 -2
  22. package/dist/index.d.ts +4 -2
  23. package/dist/index.js +4 -4
  24. package/dist/{parser-FUSKFGZN.js → parser-2EWECDSA.js} +2 -2
  25. package/dist/{renderer-UWA5XS74.js → renderer-4JHRUBE6.js} +3 -3
  26. package/dist/{renderer-WZRREQ2P.js → renderer-5MYBMBYO.js} +2 -2
  27. package/dist/{renderer-TOCOVLHS.js → renderer-B2OMQIQG.js} +3 -3
  28. package/dist/{renderer-2XQQQ6QR.js → renderer-N43WR5GV.js} +3 -3
  29. package/dist/{renderer-T7YKC5VP.js → renderer-ZRNG54CW.js} +3 -3
  30. package/dist/{state-renderer-RFYHSP4K.js → state-renderer-B4DQBM6M.js} +2 -2
  31. package/package.json +5 -2
package/dist/element.mjs CHANGED
@@ -16260,6 +16260,13 @@ function parseC4(content, palette) {
16260
16260
  }
16261
16261
  namePart = namePart.substring(0, nameIsAMatch.index).trim();
16262
16262
  }
16263
+ const bareTail = metaTail.trim();
16264
+ if (bareTail && !bareTail.includes(":")) {
16265
+ pushError(
16266
+ lineNumber,
16267
+ `text after 'is a ${rawType}' must be 'key: value' metadata \u2014 '${bareTail}' is not recognized (did you mean 'description: ${bareTail}'?)`
16268
+ );
16269
+ }
16263
16270
  const metadata = parseC4MetaTail(metaTail, metaAliasMap);
16264
16271
  const shape = explicitShape ?? inferC4Shape(namePart, metadata["tech"] ?? metadata["technology"]);
16265
16272
  let isADescription;
@@ -29389,10 +29396,14 @@ function runInExportContainer(width, height, fn) {
29389
29396
  document.body.removeChild(container);
29390
29397
  }
29391
29398
  }
29392
- function extractExportSvg(container, theme) {
29399
+ function extractExportSvg(container, theme, palette) {
29393
29400
  const svgEl = container.querySelector("svg");
29394
29401
  if (!svgEl) return "";
29395
- if (theme === "transparent") svgEl.style.background = "none";
29402
+ if (theme === "transparent") {
29403
+ svgEl.style.background = "none";
29404
+ } else if (palette && !svgEl.style.background) {
29405
+ svgEl.style.background = palette.bg;
29406
+ }
29396
29407
  svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
29397
29408
  svgEl.style.fontFamily = FONT_FAMILY;
29398
29409
  svgEl.querySelectorAll("[data-export-ignore]").forEach((el) => el.remove());
@@ -29811,7 +29822,7 @@ function renderOrgForExport(content, theme, palette) {
29811
29822
  width: exportWidth,
29812
29823
  height: exportHeight
29813
29824
  });
29814
- return extractExportSvg(container, theme);
29825
+ return extractExportSvg(container, theme, palette);
29815
29826
  });
29816
29827
  }
29817
29828
  var DIAGRAM_PADDING, MAX_SCALE, TITLE_HEIGHT, ANCESTOR_DOT_R, ANCESTOR_LABEL_FONT_SIZE, ANCESTOR_ROW_HEIGHT, ANCESTOR_TRAIL_BOTTOM_GAP, LEGEND_FIXED_GAP;
@@ -32314,7 +32325,7 @@ function renderClassDiagramForExport(content, theme, palette) {
32314
32325
  true
32315
32326
  // exportMode
32316
32327
  );
32317
- return extractExportSvg(container, theme);
32328
+ return extractExportSvg(container, theme, palette);
32318
32329
  });
32319
32330
  }
32320
32331
  var DIAGRAM_PADDING4, MAX_SCALE3, CLASS_FONT_SIZE2, MEMBER_FONT_SIZE2, EDGE_LABEL_FONT_SIZE2, MEMBER_LINE_HEIGHT2, COMPARTMENT_PADDING_Y2, MEMBER_PADDING_X, CLASS_TYPE_MAP, CLASS_TYPE_ORDER, LEGEND_GROUP_NAME, lineGenerator2;
@@ -38493,7 +38504,7 @@ function renderMindmapForExport(content, theme, palette) {
38493
38504
  void 0,
38494
38505
  hideDescriptions
38495
38506
  );
38496
- return extractExportSvg(container, theme);
38507
+ return extractExportSvg(container, theme, palette);
38497
38508
  });
38498
38509
  }
38499
38510
  var DIAGRAM_PADDING7, TITLE_HEIGHT4, SINGLE_LABEL_HEIGHT2, LABEL_LINE_HEIGHT4, DESC_LINE_HEIGHT4, NODE_RADIUS, ROOT_STROKE_WIDTH, DEPTH_COLOR_KEYS;
@@ -42876,6 +42887,8 @@ function renderFlowchartForExport(content, theme, palette) {
42876
42887
  if (!svgEl) return "";
42877
42888
  if (theme === "transparent") {
42878
42889
  svgEl.style.background = "none";
42890
+ } else if (!svgEl.style.background) {
42891
+ svgEl.style.background = palette.bg;
42879
42892
  }
42880
42893
  svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
42881
42894
  svgEl.style.fontFamily = FONT_FAMILY;
@@ -52521,6 +52534,8 @@ function renderStateForExport(content, theme, palette) {
52521
52534
  if (!svgEl) return "";
52522
52535
  if (theme === "transparent") {
52523
52536
  svgEl.style.background = "none";
52537
+ } else if (!svgEl.style.background) {
52538
+ svgEl.style.background = palette.bg;
52524
52539
  }
52525
52540
  svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
52526
52541
  svgEl.style.fontFamily = FONT_FAMILY;
@@ -63074,7 +63089,7 @@ function renderRaci(container, parsed, palette, isDark, handlers, exportDims) {
63074
63089
  const colBottomY = cursorY + sColumnBottomPad;
63075
63090
  const totalHeight = colBottomY + sVMargin;
63076
63091
  const svgHeight = exportDims ? totalHeight : Math.max(height, totalHeight);
63077
- const svg = d3Selection32.select(container).append("svg").attr("xmlns", "http://www.w3.org/2000/svg").attr("width", width).attr("height", svgHeight).attr("viewBox", `0 0 ${width} ${svgHeight}`).attr("preserveAspectRatio", "xMidYMin meet").attr("font-family", FONT_FAMILY).style("background", "transparent");
63092
+ const svg = d3Selection32.select(container).append("svg").attr("xmlns", "http://www.w3.org/2000/svg").attr("width", width).attr("height", svgHeight).attr("viewBox", `0 0 ${width} ${svgHeight}`).attr("preserveAspectRatio", "xMidYMin meet").attr("font-family", FONT_FAMILY);
63078
63093
  if (ctx.isBelowFloor) {
63079
63094
  svg.attr("width", "100%");
63080
63095
  }
@@ -63153,11 +63168,7 @@ function renderRaci(container, parsed, palette, isDark, handlers, exportDims) {
63153
63168
  const cw = roleColW - 2 * sColumnInset;
63154
63169
  const roleColor = parsed.roleColors[i] ?? autoAccent(i, palette);
63155
63170
  const bodyFill = mix(roleColor, themeBaseBg(palette, isDark), 16);
63156
- const headerFill = mix(
63157
- roleColor,
63158
- themeBaseBg(palette, isDark),
63159
- 30
63160
- );
63171
+ const headerFill = mix(roleColor, themeBaseBg(palette, isDark), 30);
63161
63172
  const colG = columnsG.append("g").attr("class", "raci-column").attr("data-role-id", roleId);
63162
63173
  colG.append("rect").attr("class", "raci-column-body").attr("x", cx).attr("y", headerY).attr("width", cw).attr("height", colTotalHeight).attr("rx", sColumnRadius).attr("fill", bodyFill);
63163
63174
  colG.append("path").attr("class", "raci-column-header").attr(
@@ -68752,34 +68763,50 @@ function buildHoverCss(spec, derived = {}, emphasisOverride) {
68752
68763
  return parts.join("");
68753
68764
  }
68754
68765
  var HOVER_SPECS = {
68766
+ // Data-chart family (`.dgmo-datum`): `dim` at 0.18 to MIRROR the app's live
68767
+ // hover (charts-d3/interactions.ts `.dgmo-dim{opacity:.18}` — hover a mark →
68768
+ // every other emph-key drops out). `lift` (saturate/brightness) read as
68769
+ // "nothing happened" on muted fills. Safe to dim: these export renderers set
68770
+ // NO inline `style="opacity"` on datums (only presentation `*-opacity` attrs,
68771
+ // which a `<style>` rule outranks), so no RED-2 inline-defeat.
68755
68772
  pie: {
68756
68773
  markSelector: ".dgmo-datum",
68757
68774
  strategy: "enumerated",
68758
68775
  groupAttr: "data-emph-key",
68776
+ emphasis: "dim",
68777
+ dimOpacity: 0.18,
68759
68778
  legend: true
68760
68779
  },
68761
68780
  bar: {
68762
68781
  markSelector: ".dgmo-datum",
68763
68782
  strategy: "enumerated",
68764
68783
  groupAttr: "data-emph-key",
68784
+ emphasis: "dim",
68785
+ dimOpacity: 0.18,
68765
68786
  legend: true
68766
68787
  },
68767
68788
  funnel: {
68768
68789
  markSelector: ".dgmo-datum",
68769
68790
  strategy: "enumerated",
68770
68791
  groupAttr: "data-emph-key",
68792
+ emphasis: "dim",
68793
+ dimOpacity: 0.18,
68771
68794
  legend: true
68772
68795
  },
68773
68796
  heatmap: {
68774
68797
  markSelector: ".dgmo-datum",
68775
68798
  strategy: "enumerated",
68776
68799
  groupAttr: "data-emph-key",
68800
+ emphasis: "dim",
68801
+ dimOpacity: 0.18,
68777
68802
  legend: true
68778
68803
  },
68779
68804
  "polar-area": {
68780
68805
  markSelector: ".dgmo-datum",
68781
68806
  strategy: "enumerated",
68782
68807
  groupAttr: "data-emph-key",
68808
+ emphasis: "dim",
68809
+ dimOpacity: 0.18,
68783
68810
  legend: true
68784
68811
  },
68785
68812
  // ── CROSS-FREE diagram charts — FIXED-attr keys, DOM-verified (Task 3) ──
@@ -68953,6 +68980,8 @@ var HOVER_SPECS = {
68953
68980
  markSelector: ".dgmo-datum",
68954
68981
  strategy: "enumerated",
68955
68982
  groupAttr: "data-category",
68983
+ emphasis: "dim",
68984
+ dimOpacity: 0.18,
68956
68985
  legend: true
68957
68986
  },
68958
68987
  quadrant: {
@@ -70072,7 +70101,7 @@ var CSS = AUTO_BASE_CSS + "\n" + BLOCK_CSS + "\n" + darkScopedBlockCss(BLOCK_CSS
70072
70101
 
70073
70102
  // src/auto/shared.ts
70074
70103
  init_safe_href();
70075
- var VERSION = "0.48.0";
70104
+ var VERSION = "0.48.1";
70076
70105
  var ARIA_LABEL_MAX = 200;
70077
70106
  var COPIED_INTERACTION_MS = 1500;
70078
70107
  var LOG_PREFIX = "[dgmo]";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderFlowchart,
3
3
  renderFlowchartForExport
4
- } from "./chunk-RZCF2VVM.js";
4
+ } from "./chunk-B7JUCQUA.js";
5
5
  import "./chunk-PDKUANDZ.js";
6
6
  import "./chunk-T3UBLACL.js";
7
7
  import "./chunk-LP7EC4MI.js";
@@ -32,4 +32,4 @@ export {
32
32
  renderFlowchart,
33
33
  renderFlowchartForExport
34
34
  };
35
- //# sourceMappingURL=flowchart-renderer-ZAEOL4DX.js.map
35
+ //# sourceMappingURL=flowchart-renderer-SNDSII4D.js.map
package/dist/index.d.ts CHANGED
@@ -20,8 +20,10 @@ declare function getMinDimensions(content: string): {
20
20
  * - Strip fixed `width="N"` / `height="N"` so CSS (e.g. `width:100%;
21
21
  * height:auto`, or an aspect-ratio derived from the tight viewBox) controls
22
22
  * sizing.
23
- * - Remove any inline `background:` from the root style so the page
24
- * background shows through.
23
+ * - The root inline `background:` (the theme's opaque `palette.bg`) is
24
+ * PRESERVED: every chart type now carries its own opaque background so
25
+ * diagrams render consistently across hosts and color modes rather than
26
+ * inheriting an arbitrary host page background.
25
27
  *
26
28
  * This is intentionally a string transform, not a DOM `getBBox()` step: dgmo
27
29
  * can dual-render light/dark SVGs where one is hidden by color-mode CSS, and
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getEmbedSvgViewBox,
3
3
  normalizeSvgForEmbed
4
- } from "./chunk-RCERWOJR.js";
4
+ } from "./chunk-ODZVHU3R.js";
5
5
  import {
6
6
  completeMapPlaces,
7
7
  completeMapRegions,
@@ -15,7 +15,7 @@ import {
15
15
  decodeDiagramUrl,
16
16
  encodeDiagramUrl,
17
17
  render
18
- } from "./chunk-IH6ZMVQ5.js";
18
+ } from "./chunk-UC7TFHUM.js";
19
19
  import "./chunk-PBAHEPLQ.js";
20
20
  import {
21
21
  D3_DATA_CHART_TYPES,
@@ -41,7 +41,7 @@ import {
41
41
  REGISTRY_BY_ID,
42
42
  chartTypes,
43
43
  parseDgmo
44
- } from "./chunk-6FZYCKXB.js";
44
+ } from "./chunk-HSH73DP6.js";
45
45
  import "./chunk-P235SVAH.js";
46
46
  import "./chunk-6HO5ZTXK.js";
47
47
  import "./chunk-44CM72SQ.js";
@@ -82,7 +82,7 @@ import {
82
82
  VERSION_CONTROL_DIAGNOSTICS
83
83
  } from "./chunk-ERLBPDGU.js";
84
84
  import "./chunk-AELOBFW5.js";
85
- import "./chunk-2DXMZRWJ.js";
85
+ import "./chunk-B65G5DNL.js";
86
86
  import "./chunk-IYULMRBE.js";
87
87
  import {
88
88
  getPalette,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseC4
3
- } from "./chunk-2DXMZRWJ.js";
3
+ } from "./chunk-B65G5DNL.js";
4
4
  import "./chunk-IYULMRBE.js";
5
5
  import "./chunk-C3Z4DX3V.js";
6
6
  import "./chunk-QLCCJEJI.js";
@@ -13,4 +13,4 @@ import "./chunk-5WRI5ZAA.js";
13
13
  export {
14
14
  parseC4
15
15
  };
16
- //# sourceMappingURL=parser-FUSKFGZN.js.map
16
+ //# sourceMappingURL=parser-2EWECDSA.js.map
@@ -6,7 +6,7 @@ import {
6
6
  renderC4ContextForExport,
7
7
  renderC4Deployment,
8
8
  renderC4DeploymentForExport
9
- } from "./chunk-P4RH4OSP.js";
9
+ } from "./chunk-ILKORZ3H.js";
10
10
  import "./chunk-QEBUY5NY.js";
11
11
  import "./chunk-3HDBAXF5.js";
12
12
  import "./chunk-3CIOJ5YJ.js";
@@ -16,7 +16,7 @@ import "./chunk-A4GOY3PE.js";
16
16
  import "./chunk-6KFWC4CO.js";
17
17
  import "./chunk-QOOUC2J5.js";
18
18
  import "./chunk-WCT3NYCV.js";
19
- import "./chunk-2DXMZRWJ.js";
19
+ import "./chunk-B65G5DNL.js";
20
20
  import "./chunk-IYULMRBE.js";
21
21
  import "./chunk-P6T66CCZ.js";
22
22
  import "./chunk-C3Z4DX3V.js";
@@ -36,4 +36,4 @@ export {
36
36
  renderC4Deployment,
37
37
  renderC4DeploymentForExport
38
38
  };
39
- //# sourceMappingURL=renderer-UWA5XS74.js.map
39
+ //# sourceMappingURL=renderer-4JHRUBE6.js.map
@@ -2,7 +2,7 @@ import {
2
2
  MARKER_LABELS,
3
3
  renderRaci,
4
4
  renderRaciForExport
5
- } from "./chunk-DZAQBW35.js";
5
+ } from "./chunk-SGZYXELT.js";
6
6
  import "./chunk-3CIOJ5YJ.js";
7
7
  import "./chunk-YYVTBZZC.js";
8
8
  import "./chunk-A4GOY3PE.js";
@@ -20,4 +20,4 @@ export {
20
20
  renderRaci,
21
21
  renderRaciForExport
22
22
  };
23
- //# sourceMappingURL=renderer-WZRREQ2P.js.map
23
+ //# sourceMappingURL=renderer-5MYBMBYO.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderClassDiagram,
3
3
  renderClassDiagramForExport
4
- } from "./chunk-FNB3PNGF.js";
4
+ } from "./chunk-7DTWEFUE.js";
5
5
  import "./chunk-WBRZJOEC.js";
6
6
  import "./chunk-JEUJOX5X.js";
7
7
  import "./chunk-JED6ZDEE.js";
@@ -10,7 +10,7 @@ import "./chunk-TYS6CSS5.js";
10
10
  import "./chunk-5DH3KYFH.js";
11
11
  import "./chunk-3HDBAXF5.js";
12
12
  import "./chunk-BMR4CIEO.js";
13
- import "./chunk-Y5QGVTVC.js";
13
+ import "./chunk-JTSMEYIZ.js";
14
14
  import "./chunk-3CIOJ5YJ.js";
15
15
  import "./chunk-PWIHZ6NJ.js";
16
16
  import "./chunk-YYVTBZZC.js";
@@ -34,4 +34,4 @@ export {
34
34
  renderClassDiagram,
35
35
  renderClassDiagramForExport
36
36
  };
37
- //# sourceMappingURL=renderer-TOCOVLHS.js.map
37
+ //# sourceMappingURL=renderer-B2OMQIQG.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  renderMindmap,
3
3
  renderMindmapForExport
4
- } from "./chunk-CUVHQHZ7.js";
4
+ } from "./chunk-THXCFRTU.js";
5
5
  import "./chunk-T2OE3YQB.js";
6
6
  import "./chunk-3HDBAXF5.js";
7
- import "./chunk-Y5QGVTVC.js";
7
+ import "./chunk-JTSMEYIZ.js";
8
8
  import "./chunk-3CIOJ5YJ.js";
9
9
  import "./chunk-PWIHZ6NJ.js";
10
10
  import "./chunk-YYVTBZZC.js";
@@ -25,4 +25,4 @@ export {
25
25
  renderMindmap,
26
26
  renderMindmapForExport
27
27
  };
28
- //# sourceMappingURL=renderer-2XQQQ6QR.js.map
28
+ //# sourceMappingURL=renderer-N43WR5GV.js.map
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  renderOrg,
3
3
  renderOrgForExport
4
- } from "./chunk-DU7W62N5.js";
5
- import "./chunk-Y5QGVTVC.js";
4
+ } from "./chunk-FANX6UJR.js";
5
+ import "./chunk-JTSMEYIZ.js";
6
6
  import "./chunk-VOKGH627.js";
7
7
  import "./chunk-3CIOJ5YJ.js";
8
8
  import "./chunk-J5FIXQRT.js";
@@ -25,4 +25,4 @@ export {
25
25
  renderOrg,
26
26
  renderOrgForExport
27
27
  };
28
- //# sourceMappingURL=renderer-T7YKC5VP.js.map
28
+ //# sourceMappingURL=renderer-ZRNG54CW.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderState,
3
3
  renderStateForExport
4
- } from "./chunk-EMS2SK26.js";
4
+ } from "./chunk-ZBWMSD5N.js";
5
5
  import "./chunk-PDKUANDZ.js";
6
6
  import "./chunk-T3UBLACL.js";
7
7
  import "./chunk-LP7EC4MI.js";
@@ -31,4 +31,4 @@ export {
31
31
  renderState,
32
32
  renderStateForExport
33
33
  };
34
- //# sourceMappingURL=state-renderer-RFYHSP4K.js.map
34
+ //# sourceMappingURL=state-renderer-B4DQBM6M.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diagrammo/dgmo",
3
- "version": "0.48.0",
3
+ "version": "0.48.1",
4
4
  "description": "DGMO diagram markup language — parser, renderer, and color system",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -90,6 +90,8 @@
90
90
  "test:watch": "vitest",
91
91
  "test:auto": "pnpm build && vitest run tests/auto.test.ts tests/safe-href.test.ts",
92
92
  "sri": "node scripts/sri.mjs",
93
+ "eval:tools": "pnpm build && pnpm -C ../dgmo-mcp build:fast && node scripts/eval-tools.mjs",
94
+ "eval:ai": "pnpm build && pnpm -C ../dgmo-mcp build:fast && node scripts/eval-ai-generation.mjs",
93
95
  "build:map-data": "node scripts/build-map-data.mjs",
94
96
  "gallery": "pnpm build && node scripts/generate-gallery.mjs",
95
97
  "gallery:snapshot": "pnpm build && node scripts/gallery-snapshot.mjs",
@@ -108,7 +110,8 @@
108
110
  "check:deps": "depcheck --ignores='@diagrammo/dgmo,@codemirror/language,@lezer/*,husky,lint-staged,tsup,axe-core,type-coverage'",
109
111
  "check:security": "pnpm audit --prod",
110
112
  "check:publish": "publint",
111
- "check:size": "pnpm build && du -sh dist/ && echo '---' && ls -lh dist/*.js dist/*.cjs",
113
+ "check:size": "pnpm build && node scripts/check-bundle-size.cjs",
114
+ "check:size:update": "pnpm build && node scripts/check-bundle-size.cjs --update",
112
115
  "check:types": "attw --pack . --ignore-rules no-resolution false-export-default cjs-resolves-to-esm",
113
116
  "postinstall": "node -e \"console.log('\\n💡 Claude Code user? Run: dgmo install claude-code\\n')\"",
114
117
  "prepare": "husky"