@sinm/kai 1.14.7 → 1.14.9

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 (75) hide show
  1. package/README.md +1 -1
  2. package/RELEASE_NOTES.md +63 -0
  3. package/dist-cli/kai-cli.js +158414 -156556
  4. package/dist-electron/renderer/assets/{abnfDiagram-N423BO3Z-Cl4s_jFK.js → abnfDiagram-N423BO3Z-G9xc2U2Z.js} +5 -5
  5. package/dist-electron/renderer/assets/{architectureDiagram-T3A2C74G-B-EsQXM-.js → architectureDiagram-T3A2C74G-DUlzhh33.js} +4 -4
  6. package/dist-electron/renderer/assets/{blockDiagram-VBNYF7ZC-HC5969pc.js → blockDiagram-VBNYF7ZC-ElxijMnb.js} +4 -4
  7. package/dist-electron/renderer/assets/{c4Diagram-5PPSVZJV-BmMeKpVy.js → c4Diagram-5PPSVZJV-CK9Wqvhg.js} +3 -3
  8. package/dist-electron/renderer/assets/{channel-CPeedhfN.js → channel-D4QKj7Cp.js} +1 -1
  9. package/dist-electron/renderer/assets/{chunk-2GRJ4B5K-ahzmlbE2.js → chunk-2GRJ4B5K-C8Y0ztgH.js} +1 -1
  10. package/dist-electron/renderer/assets/{chunk-2Q5K7J3B-Cm-XJ4bJ.js → chunk-2Q5K7J3B-BcFV_bqF.js} +1 -1
  11. package/dist-electron/renderer/assets/{chunk-5RXB4S5H-gozqiB6m.js → chunk-5RXB4S5H-CSzi3J-J.js} +4 -4
  12. package/dist-electron/renderer/assets/{chunk-5VM5RSS4-B_X6K3iK.js → chunk-5VM5RSS4-CHQbk3UR.js} +1 -1
  13. package/dist-electron/renderer/assets/{chunk-6Q2QTUOP-DlTplx_4.js → chunk-6Q2QTUOP-DgRSA5Gx.js} +1 -1
  14. package/dist-electron/renderer/assets/{chunk-GF5L2VYU-CbyPmpC2.js → chunk-GF5L2VYU-BLch5W0C.js} +5 -5
  15. package/dist-electron/renderer/assets/{chunk-JWPE2WC7-DDqcLZCS.js → chunk-JWPE2WC7-Dr7hqkYq.js} +1 -1
  16. package/dist-electron/renderer/assets/{chunk-KBJHAD2P-DOy8DbRm.js → chunk-KBJHAD2P-DvkeZzci.js} +1 -1
  17. package/dist-electron/renderer/assets/{chunk-RYQCIY6F-Ctkr0Bv6.js → chunk-RYQCIY6F-BWlzzw3U.js} +1 -1
  18. package/dist-electron/renderer/assets/{chunk-XXDRQBXY-D_hEuWaz.js → chunk-XXDRQBXY-Cne2-3jL.js} +1 -1
  19. package/dist-electron/renderer/assets/{classDiagram-JCYQIIEL-CBZCSX9X.js → classDiagram-JCYQIIEL-DlUfZl-v.js} +7 -7
  20. package/dist-electron/renderer/assets/{classDiagram-v2-OCEON4UE-CBZCSX9X.js → classDiagram-v2-OCEON4UE-DlUfZl-v.js} +7 -7
  21. package/dist-electron/renderer/assets/{cose-bilkent-JH36ORCC-Cfw3lrgl.js → cose-bilkent-JH36ORCC-DGlmy8tQ.js} +2 -2
  22. package/dist-electron/renderer/assets/{cynefin-VYW2F7L2-C9GiKEwC.js → cynefin-VYW2F7L2-CGJ7AJAI.js} +1 -1
  23. package/dist-electron/renderer/assets/{cynefinDiagram-MW4NZA55-DnkV28FI.js → cynefinDiagram-MW4NZA55-CEUsu_P6.js} +4 -4
  24. package/dist-electron/renderer/assets/{dagre-VZM6K2ZE-C2DtfcVJ.js → dagre-VZM6K2ZE-CSM_kXjg.js} +3 -3
  25. package/dist-electron/renderer/assets/{diagram-7IWD3JNH-zh2zO2dm.js → diagram-7IWD3JNH-JRRHYtOm.js} +5 -5
  26. package/dist-electron/renderer/assets/{diagram-B4RE2ZJO-B7vuoFKi.js → diagram-B4RE2ZJO-Dp6nYKKK.js} +4 -4
  27. package/dist-electron/renderer/assets/{diagram-LBJQPF4R-D7q16I1U.js → diagram-LBJQPF4R-FxqznhDR.js} +4 -4
  28. package/dist-electron/renderer/assets/{diagram-Q27KOJAE-DklosVNB.js → diagram-Q27KOJAE-BdE1gTcz.js} +5 -5
  29. package/dist-electron/renderer/assets/{diagram-UB23O5K3-CLvSC9pl.js → diagram-UB23O5K3-D77VmNEe.js} +4 -4
  30. package/dist-electron/renderer/assets/{ebnfDiagram-BXEA7PRR-CGmrQvhW.js → ebnfDiagram-BXEA7PRR-BLF2nURO.js} +5 -5
  31. package/dist-electron/renderer/assets/{erDiagram-JOGREHBK-BfRh8CVu.js → erDiagram-JOGREHBK-CGhDUNOm.js} +5 -5
  32. package/dist-electron/renderer/assets/{flowDiagram-UKHOOZJN-DfLG1zHh.js → flowDiagram-UKHOOZJN-S6KZgAVo.js} +6 -6
  33. package/dist-electron/renderer/assets/{ganttDiagram-PKOTCBZU-x8r9i_NK.js → ganttDiagram-PKOTCBZU-C9pd8eZP.js} +2 -2
  34. package/dist-electron/renderer/assets/{gitGraphDiagram-DS77QQ5N-BEc2ejmv.js → gitGraphDiagram-DS77QQ5N-DBZhFYvW.js} +5 -5
  35. package/dist-electron/renderer/assets/{image-DYeLCRU6.js → image-h4TrEyU6.js} +2 -2
  36. package/dist-electron/renderer/assets/{index-DQTb9fLX.js → index-BVHThtC2.js} +4 -4
  37. package/dist-electron/renderer/assets/{index-DGWwwAEy.js → index-BsV4cHeb.js} +5 -5
  38. package/dist-electron/renderer/assets/{index-xYYhCCjU.js → index-CkGY8IQG.js} +39335 -33655
  39. package/dist-electron/renderer/assets/{index-zrUwCsro.js → index-Dpnbrfaw.js} +3 -3
  40. package/dist-electron/renderer/assets/{index-BvbePSgh.js → index-GEty96yI.js} +6 -6
  41. package/dist-electron/renderer/assets/{index-BHITQZN8.js → index-GRHaoHCy.js} +4 -4
  42. package/dist-electron/renderer/assets/{index-5NihbQ7q.css → index-boNUDrZw.css} +5095 -2531
  43. package/dist-electron/renderer/assets/{infoDiagram-6WML65LV-DkRq6Sqy.js → infoDiagram-6WML65LV-D7-AhKO5.js} +3 -3
  44. package/dist-electron/renderer/assets/{ishikawaDiagram-WSZJBQD7-NigsHHlm.js → ishikawaDiagram-WSZJBQD7-CNydnGwX.js} +2 -2
  45. package/dist-electron/renderer/assets/{journeyDiagram-NVQOT4AX-_eKWu4Yq.js → journeyDiagram-NVQOT4AX-BQrHu4cn.js} +4 -4
  46. package/dist-electron/renderer/assets/{kanban-definition-27J2QSJJ-CuzM9s4i.js → kanban-definition-27J2QSJJ-CEISZx2E.js} +3 -3
  47. package/dist-electron/renderer/assets/{mindmap-definition-FAOFIHXS-ClGGbf3C.js → mindmap-definition-FAOFIHXS-C7Vv93Y1.js} +4 -4
  48. package/dist-electron/renderer/assets/{office-preview-D8wy-wbY.js → office-preview-zuQ-xAZ4.js} +6 -6
  49. package/dist-electron/renderer/assets/{parser-C7LytWuf.js → parser-CxeMN4ep.js} +3 -3
  50. package/dist-electron/renderer/assets/{pdf-BSRe144M.js → pdf-Dk1Uk3I3.js} +2 -2
  51. package/dist-electron/renderer/assets/{pegDiagram-VL7TDLO6-DqQvU5aN.js → pegDiagram-VL7TDLO6-CkDjBwWj.js} +5 -5
  52. package/dist-electron/renderer/assets/{pieDiagram-7S7Q4E2Y-CMOhe837.js → pieDiagram-7S7Q4E2Y-AWeKa4fW.js} +4 -4
  53. package/dist-electron/renderer/assets/{ppt-1mEuzrGO.js → ppt-DiNyYnjZ.js} +2 -2
  54. package/dist-electron/renderer/assets/{pptx-B8E_-37y.js → pptx-B4OifYBM.js} +2 -2
  55. package/dist-electron/renderer/assets/{preload-helper-DjBMgdYo.js → preload-helper-CgwVNwqS.js} +57 -14
  56. package/dist-electron/renderer/assets/{quadrantDiagram-CIZ2JOQS-BedQnFhO.js → quadrantDiagram-CIZ2JOQS-zGYY6uxY.js} +2 -2
  57. package/dist-electron/renderer/assets/{railroadDiagram-AXF67PYL-SNFFNZHQ.js → railroadDiagram-AXF67PYL-CgjgMjIo.js} +5 -5
  58. package/dist-electron/renderer/assets/{requirementDiagram-LRYGKXZP-CmfX69U4.js → requirementDiagram-LRYGKXZP-BXcC5nFJ.js} +4 -4
  59. package/dist-electron/renderer/assets/{sankeyDiagram-W5VNT64P-CsCnOrTj.js → sankeyDiagram-W5VNT64P-BxdPHJzA.js} +2 -2
  60. package/dist-electron/renderer/assets/{sequenceDiagram-SI44F4Z6-Cwi62F66.js → sequenceDiagram-SI44F4Z6-CYaz_M26.js} +4 -4
  61. package/dist-electron/renderer/assets/{sizeCapture-X5ZJPWSS-Dw9THmjc.js → sizeCapture-X5ZJPWSS-CDcn5hdo.js} +2 -2
  62. package/dist-electron/renderer/assets/{spreadsheet-Bt9jDmI_.js → spreadsheet-CEX4Zn7K.js} +4 -4
  63. package/dist-electron/renderer/assets/{stateDiagram-OKZ733FA-CpRSr63U.js → stateDiagram-OKZ733FA-Btnk1QBK.js} +6 -6
  64. package/dist-electron/renderer/assets/{stateDiagram-v2-UEYNNEHI-Cpcz_B7r.js → stateDiagram-v2-UEYNNEHI-VzCPZn9B.js} +6 -6
  65. package/dist-electron/renderer/assets/{swimlanes-SLNWSIFB-DMf5aOM_.js → swimlanes-SLNWSIFB-76u4UKUs.js} +5 -5
  66. package/dist-electron/renderer/assets/{swimlanesDiagram-ULZ7WXOC-BOXsNwKQ.js → swimlanesDiagram-ULZ7WXOC-BFfnJ33n.js} +8 -8
  67. package/dist-electron/renderer/assets/{timeline-definition-Z64GVDOM-DlkzF2aQ.js → timeline-definition-Z64GVDOM-Dn8Dlma_.js} +2 -2
  68. package/dist-electron/renderer/assets/{vennDiagram-T6HMQDX7-WWu5notm.js → vennDiagram-T6HMQDX7-Bu5cgDGf.js} +2 -2
  69. package/dist-electron/renderer/assets/{wardleyDiagram-T6FBY63Y-DcIt-QCA.js → wardleyDiagram-T6FBY63Y-CckOFgAH.js} +4 -4
  70. package/dist-electron/renderer/assets/{wordDoc-CIzhrEB8.js → wordDoc-C34HKAEz.js} +2 -2
  71. package/dist-electron/renderer/assets/{wordDocx-MkDW34_U.js → wordDocx-CgD5oPn1.js} +2 -2
  72. package/dist-electron/renderer/assets/{xychartDiagram-ELKLHX3M-CpYHYnZU.js → xychartDiagram-ELKLHX3M-D54EmURu.js} +2 -2
  73. package/dist-electron/renderer/index.html +3 -3
  74. package/dist-electron/renderer/office-preview.html +2 -2
  75. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { _ as __name, l as log, C as selectSvgElement, d as configureSvgSize } from "./index-xYYhCCjU.js";
2
- import { p as parse } from "./cynefin-VYW2F7L2-C9GiKEwC.js";
1
+ import { _ as __name, l as log, C as selectSvgElement, d as configureSvgSize } from "./index-CkGY8IQG.js";
2
+ import { p as parse } from "./cynefin-VYW2F7L2-CGJ7AJAI.js";
3
+ import "./preload-helper-CgwVNwqS.js";
3
4
  import "./_commonjsHelpers-DWwsNxpa.js";
4
- import "./preload-helper-DjBMgdYo.js";
5
5
  import "./purify.es-aDWmG8o1.js";
6
6
  import "./transform-xbmqYlhd.js";
7
7
  var parser = {
@@ -1,6 +1,6 @@
1
- import { _ as __name, c as getConfig2, D as parseFontSize, C as selectSvgElement, a2 as at, o as clear, j as common_default, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, n as getDiagramTitle, d as configureSvgSize } from "./index-xYYhCCjU.js";
1
+ import { _ as __name, c as getConfig2, D as parseFontSize, C as selectSvgElement, a2 as at, o as clear, j as common_default, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, g as getAccDescription, s as setAccDescription, n as getDiagramTitle, d as configureSvgSize } from "./index-CkGY8IQG.js";
2
+ import "./preload-helper-CgwVNwqS.js";
2
3
  import "./_commonjsHelpers-DWwsNxpa.js";
3
- import "./preload-helper-DjBMgdYo.js";
4
4
  import "./purify.es-aDWmG8o1.js";
5
5
  import "./transform-xbmqYlhd.js";
6
6
  var parser = (function() {
@@ -1,10 +1,10 @@
1
- import { g as getIconStyles } from "./chunk-5VM5RSS4-B_X6K3iK.js";
2
- import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-2GRJ4B5K-ahzmlbE2.js";
3
- import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, n as getDiagramTitle, m as setDiagramTitle, _ as __name, c as getConfig2, d as configureSvgSize, o as clear } from "./index-xYYhCCjU.js";
1
+ import { g as getIconStyles } from "./chunk-5VM5RSS4-CHQbk3UR.js";
2
+ import { a as drawBackgroundRect, g as getNoteRect, h as drawText, d as drawRect } from "./chunk-2GRJ4B5K-C8Y0ztgH.js";
3
+ import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, n as getDiagramTitle, m as setDiagramTitle, _ as __name, c as getConfig2, d as configureSvgSize, o as clear } from "./index-CkGY8IQG.js";
4
4
  import { s as select } from "./transform-xbmqYlhd.js";
5
5
  import { a as arc } from "./arc-0FUHmmYf.js";
6
+ import "./preload-helper-CgwVNwqS.js";
6
7
  import "./_commonjsHelpers-DWwsNxpa.js";
7
- import "./preload-helper-DjBMgdYo.js";
8
8
  import "./purify.es-aDWmG8o1.js";
9
9
  var parser = (function() {
10
10
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
@@ -1,7 +1,7 @@
1
- import { _ as __name, l as log, c as getConfig2, C as selectSvgElement, U as insertCluster, V as insertNode, W as positionNode, S as setupGraphViewbox, A as defaultConfig_default, h as sanitizeText, G as load, J as JSON_SCHEMA, P as isDark, Q as lighten, R as darken } from "./index-xYYhCCjU.js";
2
- import { g as getIconStyles } from "./chunk-5VM5RSS4-B_X6K3iK.js";
1
+ import { _ as __name, l as log, c as getConfig2, C as selectSvgElement, U as insertCluster, V as insertNode, W as positionNode, S as setupGraphViewbox, A as defaultConfig_default, h as sanitizeText, G as load, J as JSON_SCHEMA, P as isDark, Q as lighten, R as darken } from "./index-CkGY8IQG.js";
2
+ import { g as getIconStyles } from "./chunk-5VM5RSS4-CHQbk3UR.js";
3
+ import "./preload-helper-CgwVNwqS.js";
3
4
  import "./_commonjsHelpers-DWwsNxpa.js";
4
- import "./preload-helper-DjBMgdYo.js";
5
5
  import "./purify.es-aDWmG8o1.js";
6
6
  import "./transform-xbmqYlhd.js";
7
7
  var parser = (function() {
@@ -1,9 +1,9 @@
1
- import { g as getDiagramElement } from "./chunk-XXDRQBXY-D_hEuWaz.js";
2
- import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-DOy8DbRm.js";
3
- import { _ as __name, l as log, t as getRegisteredLayoutAlgorithm, u as render, x as getConfig, A as defaultConfig_default, c as getConfig2, h as sanitizeText, aQ as getUserDefinedConfig, P as isDark, Q as lighten, R as darken } from "./index-xYYhCCjU.js";
1
+ import { g as getDiagramElement } from "./chunk-XXDRQBXY-Cne2-3jL.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-DvkeZzci.js";
3
+ import { _ as __name, l as log, t as getRegisteredLayoutAlgorithm, u as render, x as getConfig, A as defaultConfig_default, c as getConfig2, h as sanitizeText, aQ as getUserDefinedConfig, P as isDark, Q as lighten, R as darken } from "./index-CkGY8IQG.js";
4
4
  import "./transform-xbmqYlhd.js";
5
+ import "./preload-helper-CgwVNwqS.js";
5
6
  import "./_commonjsHelpers-DWwsNxpa.js";
6
- import "./preload-helper-DjBMgdYo.js";
7
7
  import "./purify.es-aDWmG8o1.js";
8
8
  const byteToHex = [];
9
9
  for (let i = 0; i < 256; ++i) {
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BvbePSgh.js","./preload-helper-DjBMgdYo.js","./index-zrUwCsro.js","./index-DQTb9fLX.js","./index-DGWwwAEy.js","./index-BHITQZN8.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload, O as OFFICE_PREVIEW_FORMATS, e as encodePathPreservingSlashes } from "./preload-helper-DjBMgdYo.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-GEty96yI.js","./preload-helper-CgwVNwqS.js","./index-Dpnbrfaw.js","./index-BVHThtC2.js","./index-BsV4cHeb.js","./index-GRHaoHCy.js"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload, O as OFFICE_PREVIEW_FORMATS, e as encodePathPreservingSlashes } from "./preload-helper-CgwVNwqS.js";
3
3
  const pptxWorkerUrl = "" + new URL("pptx.worker-Iu_zhiXM.js", import.meta.url).href;
4
4
  const isSpreadsheetFormat = (format) => format === "xlsx" || format === "xls" || format === "csv" || format === "tsv";
5
5
  const createContext = (file, signal) => ({
@@ -48,24 +48,24 @@ const getCompatibility = (format) => {
48
48
  const loadRenderer = async (format) => {
49
49
  if (format === "docx" || format === "doc") {
50
50
  const { renderFileViewerWordDocx, renderFileViewerWordDoc } = await __vitePreload(async () => {
51
- const { renderFileViewerWordDocx: renderFileViewerWordDocx2, renderFileViewerWordDoc: renderFileViewerWordDoc2 } = await import("./index-BvbePSgh.js");
51
+ const { renderFileViewerWordDocx: renderFileViewerWordDocx2, renderFileViewerWordDoc: renderFileViewerWordDoc2 } = await import("./index-GEty96yI.js");
52
52
  return { renderFileViewerWordDocx: renderFileViewerWordDocx2, renderFileViewerWordDoc: renderFileViewerWordDoc2 };
53
53
  }, true ? __vite__mapDeps([0,1,2]) : void 0, import.meta.url);
54
54
  return format === "doc" ? renderFileViewerWordDoc : renderFileViewerWordDocx;
55
55
  }
56
56
  if (format === "pdf") return (await __vitePreload(async () => {
57
- const { renderFileViewerPdf } = await import("./index-DQTb9fLX.js");
57
+ const { renderFileViewerPdf } = await import("./index-BVHThtC2.js");
58
58
  return { renderFileViewerPdf };
59
59
  }, true ? __vite__mapDeps([3,1,2]) : void 0, import.meta.url)).renderFileViewerPdf;
60
60
  if (format === "ppt" || format === "pptx") {
61
61
  const { renderFileViewerBinaryPresentation, renderFileViewerPresentation } = await __vitePreload(async () => {
62
- const { renderFileViewerBinaryPresentation: renderFileViewerBinaryPresentation2, renderFileViewerPresentation: renderFileViewerPresentation2 } = await import("./index-DGWwwAEy.js");
62
+ const { renderFileViewerBinaryPresentation: renderFileViewerBinaryPresentation2, renderFileViewerPresentation: renderFileViewerPresentation2 } = await import("./index-BsV4cHeb.js");
63
63
  return { renderFileViewerBinaryPresentation: renderFileViewerBinaryPresentation2, renderFileViewerPresentation: renderFileViewerPresentation2 };
64
64
  }, true ? __vite__mapDeps([4,1,2]) : void 0, import.meta.url);
65
65
  return format === "ppt" ? renderFileViewerBinaryPresentation : renderFileViewerPresentation;
66
66
  }
67
67
  return (await __vitePreload(async () => {
68
- const { renderFileViewerSpreadsheet } = await import("./index-BHITQZN8.js");
68
+ const { renderFileViewerSpreadsheet } = await import("./index-GRHaoHCy.js");
69
69
  return { renderFileViewerSpreadsheet };
70
70
  }, true ? __vite__mapDeps([5,1,2]) : void 0, import.meta.url)).renderFileViewerSpreadsheet;
71
71
  };
@@ -1,8 +1,8 @@
1
- import { t as tinycolor } from "./spreadsheet-Bt9jDmI_.js";
1
+ import { t as tinycolor } from "./spreadsheet-CEX4Zn7K.js";
2
2
  import { J as JSZip } from "./jszip.min-KnGXJXka.js";
3
- import "./preload-helper-DjBMgdYo.js";
3
+ import "./preload-helper-CgwVNwqS.js";
4
4
  import "./assets-tzxXyukA.js";
5
- import "./index-zrUwCsro.js";
5
+ import "./index-Dpnbrfaw.js";
6
6
  import "./zoom-jYhmkcQX.js";
7
7
  import "./options-SsS0Y_ki.js";
8
8
  import "./_commonjsHelpers-DWwsNxpa.js";
@@ -1,7 +1,7 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./pdfIdentityFontRepair-Cib6e9dV.js","./_commonjsHelpers-DWwsNxpa.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
2
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
3
3
  import { r as resolveFileViewerRuntimeAssetBaseUrl, f as resolveFileViewerPdfAssetUrls } from "./assets-tzxXyukA.js";
4
- import { c as createFileViewerTranslator, b as resolveFileViewerLocale, d as registerFileViewerSearchProvider, r as registerFileViewerZoomProvider, e as registerFileViewerViewStateProvider, f as unregisterFileViewerSearchProvider, u as unregisterFileViewerZoomProvider, h as unregisterFileViewerViewStateProvider, i as createFileViewerViewStateChange, a as resolveFileViewerFitScale, j as createFileViewerViewStateChangeEmitter } from "./index-zrUwCsro.js";
4
+ import { c as createFileViewerTranslator, b as resolveFileViewerLocale, d as registerFileViewerSearchProvider, r as registerFileViewerZoomProvider, e as registerFileViewerViewStateProvider, f as unregisterFileViewerSearchProvider, u as unregisterFileViewerZoomProvider, h as unregisterFileViewerViewStateProvider, i as createFileViewerViewStateChange, a as resolveFileViewerFitScale, j as createFileViewerViewStateChangeEmitter } from "./index-Dpnbrfaw.js";
5
5
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
6
6
  import { f as formatCssPixels, b as buildPrintPageStyle } from "./printLayout-CIlG68Nj.js";
7
7
  const DEFAULT_PDF_RANGE_CHUNK_SIZE = 64 * 1024;
@@ -1,10 +1,10 @@
1
- import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-DlTplx_4.js";
2
- import { p as populateCommonDb } from "./chunk-JWPE2WC7-DDqcLZCS.js";
3
- import { _ as __name, l as log } from "./index-xYYhCCjU.js";
1
+ import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-DgRSA5Gx.js";
2
+ import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dr7hqkYq.js";
3
+ import { _ as __name, l as log } from "./index-CkGY8IQG.js";
4
4
  import "./transform-xbmqYlhd.js";
5
- import { M as MermaidParseError, d as createRailroadPegServices } from "./cynefin-VYW2F7L2-C9GiKEwC.js";
5
+ import { M as MermaidParseError, d as createRailroadPegServices } from "./cynefin-VYW2F7L2-CGJ7AJAI.js";
6
+ import "./preload-helper-CgwVNwqS.js";
6
7
  import "./_commonjsHelpers-DWwsNxpa.js";
7
- import "./preload-helper-DjBMgdYo.js";
8
8
  import "./purify.es-aDWmG8o1.js";
9
9
  var langiumParser = createRailroadPegServices().RailroadPeg.parser.LangiumParser;
10
10
  var transformOrderedChoice = /* @__PURE__ */ __name((choice) => {
@@ -1,12 +1,12 @@
1
- import { p as populateCommonDb } from "./chunk-JWPE2WC7-DDqcLZCS.js";
2
- import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, n as getDiagramTitle, m as setDiagramTitle, _ as __name, l as log, c as getConfig2$1, z as cleanAndMerge, C as selectSvgElement, D as parseFontSize, d as configureSvgSize, o as clear, A as defaultConfig_default } from "./index-xYYhCCjU.js";
3
- import { p as parse } from "./cynefin-VYW2F7L2-C9GiKEwC.js";
1
+ import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dr7hqkYq.js";
2
+ import { g as getAccDescription, s as setAccDescription, a as getAccTitle, b as setAccTitle, n as getDiagramTitle, m as setDiagramTitle, _ as __name, l as log, c as getConfig2$1, z as cleanAndMerge, C as selectSvgElement, D as parseFontSize, d as configureSvgSize, o as clear, A as defaultConfig_default } from "./index-CkGY8IQG.js";
3
+ import { p as parse } from "./cynefin-VYW2F7L2-CGJ7AJAI.js";
4
4
  import "./transform-xbmqYlhd.js";
5
5
  import { a as arc } from "./arc-0FUHmmYf.js";
6
6
  import { o as ordinal } from "./ordinal-CxptdPJm.js";
7
7
  import { p as pie$1 } from "./pie-n6faJLD3.js";
8
+ import "./preload-helper-CgwVNwqS.js";
8
9
  import "./_commonjsHelpers-DWwsNxpa.js";
9
- import "./preload-helper-DjBMgdYo.js";
10
10
  import "./purify.es-aDWmG8o1.js";
11
11
  import "./init-ZxktEp_H.js";
12
12
  var DEFAULT_PIE_CONFIG = defaultConfig_default.pie;
@@ -1,6 +1,6 @@
1
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
1
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
2
2
  import { r as resolveFileViewerRuntimeAssetBaseUrl, c as resolveFileViewerAssetUrl } from "./assets-tzxXyukA.js";
3
- import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, n as normalizeFileViewerErrorMessage, a as resolveFileViewerFitScale } from "./index-zrUwCsro.js";
3
+ import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, n as normalizeFileViewerErrorMessage, a as resolveFileViewerFitScale } from "./index-Dpnbrfaw.js";
4
4
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
5
5
  import { w as waitForFileViewerNextPaint } from "./export-BB2y0kyx.js";
6
6
  const MIN_ZOOM = 0.25;
@@ -1,8 +1,8 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./billboard-BSTFvQMm.js","./transform-xbmqYlhd.js","./linear-iB_ZihXg.js","./init-ZxktEp_H.js","./defaultLocale-DCJjMHFj.js","./index-BEeZTDSC.js","./time-Bll8bhEl.js","./ordinal-CxptdPJm.js","./arc-0FUHmmYf.js","./pie-n6faJLD3.js","./index-BW_kBMIl.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
2
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
3
3
  import { p as purify } from "./purify.es-aDWmG8o1.js";
4
4
  import { e as resolveFileViewerPresentationWorkerUrl, r as resolveFileViewerRuntimeAssetBaseUrl } from "./assets-tzxXyukA.js";
5
- import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, n as normalizeFileViewerErrorMessage, g as getFileViewerShadowRootForNode, b as resolveFileViewerLocale } from "./index-zrUwCsro.js";
5
+ import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, n as normalizeFileViewerErrorMessage, g as getFileViewerShadowRootForNode, b as resolveFileViewerLocale } from "./index-Dpnbrfaw.js";
6
6
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
7
7
  import { w as waitForFileViewerNextPaint } from "./export-BB2y0kyx.js";
8
8
  const asChartQueue = (charts) => {
@@ -19,6 +19,7 @@ const IPC_CANCEL_COMPACT_SESSION = "CANCEL_COMPACT_SESSION";
19
19
  const IPC_CANCEL_QUEUED_MESSAGES = "CANCEL_QUEUED_MESSAGES";
20
20
  const IPC_GUIDE_QUEUED_MESSAGE = "GUIDE_QUEUED_MESSAGE";
21
21
  const IPC_CANCEL_GUIDANCE = "CANCEL_GUIDANCE";
22
+ const IPC_RAISE_SESSION_TOOL_CEILING = "RAISE_SESSION_TOOL_CEILING";
22
23
  const IPC_REQUEST_SESSION_SNAPSHOT = "SUBSCRIBE_SESSION";
23
24
  const IPC_SESSION_EVENT = "SESSION_EVENT";
24
25
  const IPC_REQUEST_BLOCK_SNAPSHOT = "REQUEST_BLOCK_SNAPSHOT";
@@ -295,7 +296,18 @@ const IPC_AGENT_RUNTIME_LIST_RUNTIMES = "AGENT_RUNTIME:LIST_RUNTIMES";
295
296
  const IPC_AGENT_RUNTIME_GET_DIAGNOSTICS = "AGENT_RUNTIME:GET_DIAGNOSTICS";
296
297
  const IPC_EXTERNAL_APPROVAL_LIST = "EXTERNAL_APPROVAL:LIST";
297
298
  const IPC_EXTERNAL_APPROVAL_DECIDE = "EXTERNAL_APPROVAL:DECIDE";
299
+ const IPC_EXTERNAL_APPROVAL_ACKNOWLEDGE = "EXTERNAL_APPROVAL:ACKNOWLEDGE";
298
300
  const IPC_EXTERNAL_APPROVAL_ON_EVENT = "EXTERNAL_APPROVAL:ON_EVENT";
301
+ const IPC_ROUNDTABLE_GET_ACTIVITY = "ROUNDTABLE:GET_ACTIVITY";
302
+ const IPC_ROUNDTABLE_ON_ACTIVITY = "ROUNDTABLE:ON_ACTIVITY";
303
+ const IPC_ROUNDTABLE_GET_CONCLUSION = "ROUNDTABLE:GET_CONCLUSION";
304
+ const IPC_ROUNDTABLE_UPDATE_CONCLUSION = "ROUNDTABLE:UPDATE_CONCLUSION";
305
+ const IPC_ROUNDTABLE_EXPORT_CONCLUSION = "ROUNDTABLE:EXPORT_CONCLUSION";
306
+ const IPC_ROUNDTABLE_HANDOFF_CONCLUSION = "ROUNDTABLE:HANDOFF_CONCLUSION";
307
+ const IPC_ROUNDTABLE_ALIGN_MEMBERS = "ROUNDTABLE:ALIGN_MEMBERS";
308
+ const IPC_ROUNDTABLE_REFRESH_SEATS = "ROUNDTABLE:REFRESH_SEATS";
309
+ const IPC_ROUNDTABLE_GET_PANEL_FACTS = "ROUNDTABLE:GET_PANEL_FACTS";
310
+ const IPC_ROUNDTABLE_SET_TURN_CAP = "ROUNDTABLE:SET_TURN_CAP";
299
311
  const ALL_HOSTS = ["ipc", "http"];
300
312
  const IPC_ONLY = ["ipc"];
301
313
  const NO_HOSTS = [];
@@ -612,7 +624,38 @@ const IPC_ENDPOINTS = {
612
624
  // ExternalApprovalApi
613
625
  listExternalApprovals: { channel: IPC_EXTERNAL_APPROVAL_LIST, hosts: ALL_HOSTS },
614
626
  decideExternalApproval: { channel: IPC_EXTERNAL_APPROVAL_DECIDE, hosts: ALL_HOSTS },
627
+ acknowledgeExternalApproval: { channel: IPC_EXTERNAL_APPROVAL_ACKNOWLEDGE, hosts: ALL_HOSTS },
615
628
  onExternalApprovalEvent: { channel: IPC_EXTERNAL_APPROVAL_ON_EVENT, hosts: ALL_HOSTS },
629
+ // RoundtableApi(在场状态面:取初值 + 变更即推;结论面:取初值 + 更新 + 导出。三族同源,
630
+ // 见 domain/types/api.ts 的说明)
631
+ getRoundtableActivity: { channel: IPC_ROUNDTABLE_GET_ACTIVITY, hosts: ALL_HOSTS },
632
+ onRoundtableActivity: { channel: IPC_ROUNDTABLE_ON_ACTIVITY, hosts: ALL_HOSTS },
633
+ getRoundtableConclusion: { channel: IPC_ROUNDTABLE_GET_CONCLUSION, hosts: ALL_HOSTS },
634
+ updateRoundtableConclusion: { channel: IPC_ROUNDTABLE_UPDATE_CONCLUSION, hosts: ALL_HOSTS },
635
+ // 导出要**原生保存对话框**(用户选路径)⇒ 今天只有 Electron 宿主具备 ⇒ `IPC_ONLY`(真话,不是保守)。
636
+ // 浏览器 carrier 那一侧另有逐键声明的能力缺位(`unsupported`),故 SPA 不会静默以为写成功了。
637
+ // 「无头宿主也导出(调用方给目标路径)」是产品未定义态,另裁(见 plan 明账)。
638
+ exportRoundtableConclusion: { channel: IPC_ROUNDTABLE_EXPORT_CONCLUSION, hosts: IPC_ONLY },
639
+ // 交接给群(S7):落一条本地记录行,任何宿主都具备(不需要原生存盘 / 对话框)⇒ `ALL_HOSTS`。
640
+ // 与旁边那一格刻意不同——别因为「也是圆桌的新动作」就顺手抄成 `IPC_ONLY`。
641
+ handoffRoundtableConclusion: {
642
+ channel: IPC_ROUNDTABLE_HANDOFF_CONCLUSION,
643
+ hosts: ALL_HOSTS
644
+ },
645
+ // 管理面板的两个**命令**(S6 甲板切片 4):成员对齐 / 席位线刷新。协调器是**进程级**资源,落在服务
646
+ // 这一格的宿主里(Electron 主进程与 CLI 都经组合根装同一份);两个动作都不需要宿主特有能力
647
+ // ⇒ `ALL_HOSTS`(`IPC_ONLY` 留给「要原生对话框 / 原生存盘」那类格子,别顺手抄)。
648
+ // 未装配协调器 ⇒ 具名报错(fail-closed,见 `app/roundtable/panel.ts`),不静默当成成功。
649
+ alignRoundtableMembers: { channel: IPC_ROUNDTABLE_ALIGN_MEMBERS, hosts: ALL_HOSTS },
650
+ refreshRoundtableSeats: { channel: IPC_ROUNDTABLE_REFRESH_SEATS, hosts: ALL_HOSTS },
651
+ // 管理面板的圆桌读数(S11-B):读本议题的拍数上限现值 / 改它。都是纯本地读写(不认识宿主特有
652
+ // 能力)⇒ `ALL_HOSTS`(别顺手抄 `IPC_ONLY`——那一格只留给要原生对话框 / 存盘的动作)。
653
+ getRoundtablePanelFacts: { channel: IPC_ROUNDTABLE_GET_PANEL_FACTS, hosts: ALL_HOSTS },
654
+ setRoundtableTurnCap: { channel: IPC_ROUNDTABLE_SET_TURN_CAP, hosts: ALL_HOSTS },
655
+ // 显式重定会话工具上限(P1):纯本地写(读档案 / 群记录 + 写一条 thread 事件),不认识宿主特有
656
+ // 能力 ⇒ `ALL_HOSTS`(`IPC_ONLY` 只留给要原生对话框 / 存盘那类格子)。命令行入口(CLI)与桌面同源:
657
+ // 动作的生产绑定在组合根,接站面只做「取来交给 handler」。
658
+ raiseSessionToolCeiling: { channel: IPC_RAISE_SESSION_TOOL_CEILING, hosts: ALL_HOSTS },
616
659
  // CloneApi
617
660
  cloneObject: { channel: IPC_CLONE_OBJECT, hosts: ALL_HOSTS },
618
661
  onCloneProgress: { channel: IPC_CLONE_PROGRESS, hosts: ALL_HOSTS },
@@ -910,7 +953,7 @@ const __vitePreload = function preload(baseModule, deps, importerUrl) {
910
953
  };
911
954
  export {
912
955
  IPC_EVENT_CHANNEL_BY_METHOD as I,
913
- KAI_LOCAL_URL_PREFIX as K,
956
+ KAI_URL_SCHEME as K,
914
957
  MAX_CHAT_MESSAGE_RENDER_BYTES as M,
915
958
  OFFICE_PREVIEW_FORMATS as O,
916
959
  SESSION_VIEW_BLOCK_SUBTREES_PROTOCOL as S,
@@ -920,20 +963,20 @@ export {
920
963
  SESSION_VIEW_BLOCKS_PROTOCOL as c,
921
964
  decodeLocalPathSegment as d,
922
965
  encodePathPreservingSlashes as e,
923
- isKaiLocalUrl as f,
924
- isPathSegmentSafeToken as g,
925
- IPC_SESSION_EVENT as h,
926
- isWindowsDriveAbsolutePath as i,
927
- IPC_ENDPOINT_BY_METHOD as j,
966
+ IPC_SESSION_EVENT as f,
967
+ IPC_ENDPOINT_BY_METHOD as g,
968
+ canRenderMessageBlocks as h,
969
+ isKaiLocalUrl as i,
970
+ estimateContentBudget as j,
928
971
  kaiLocalUrlToPathSegment as k,
929
- canRenderMessageBlocks as l,
930
- estimateContentBudget as m,
931
- MAX_INLINE_STRUCTURE_DEPTH as n,
932
- MAX_INLINE_MESSAGE_BYTES as o,
933
- MAX_BLOCK_SUBTREE_BATCH_ITEMS as p,
934
- KAI_URL_SCHEME as q,
935
- extractPathFromFullLocalPathname as r,
936
- normalizeDirectLocalPathInput as s,
972
+ MAX_INLINE_STRUCTURE_DEPTH as l,
973
+ MAX_INLINE_MESSAGE_BYTES as m,
974
+ MAX_BLOCK_SUBTREE_BATCH_ITEMS as n,
975
+ extractPathFromFullLocalPathname as o,
976
+ normalizeDirectLocalPathInput as p,
977
+ KAI_LOCAL_URL_PREFIX as q,
978
+ isWindowsDriveAbsolutePath as r,
979
+ isPathSegmentSafeToken as s,
937
980
  tryDecodeLocalPathSegment as t,
938
981
  utf8ByteLength as u,
939
982
  buildAttachmentLocalUrl as v,
@@ -1,8 +1,8 @@
1
- import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, l as log, d as configureSvgSize, o as clear, A as defaultConfig_default, h as sanitizeText, E as getThemeVariables3 } from "./index-xYYhCCjU.js";
1
+ import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, c as getConfig2, l as log, d as configureSvgSize, o as clear, A as defaultConfig_default, h as sanitizeText, E as getThemeVariables3 } from "./index-CkGY8IQG.js";
2
2
  import { s as select } from "./transform-xbmqYlhd.js";
3
3
  import { l as linear } from "./linear-iB_ZihXg.js";
4
+ import "./preload-helper-CgwVNwqS.js";
4
5
  import "./_commonjsHelpers-DWwsNxpa.js";
5
- import "./preload-helper-DjBMgdYo.js";
6
6
  import "./purify.es-aDWmG8o1.js";
7
7
  import "./init-ZxktEp_H.js";
8
8
  import "./defaultLocale-DCJjMHFj.js";
@@ -1,10 +1,10 @@
1
- import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-DlTplx_4.js";
2
- import { p as populateCommonDb } from "./chunk-JWPE2WC7-DDqcLZCS.js";
3
- import { _ as __name, l as log } from "./index-xYYhCCjU.js";
1
+ import { g as getStyles, r as renderer, d as db } from "./chunk-6Q2QTUOP-DgRSA5Gx.js";
2
+ import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dr7hqkYq.js";
3
+ import { _ as __name, l as log } from "./index-CkGY8IQG.js";
4
4
  import "./transform-xbmqYlhd.js";
5
- import { M as MermaidParseError, c as createRailroadServices } from "./cynefin-VYW2F7L2-C9GiKEwC.js";
5
+ import { M as MermaidParseError, c as createRailroadServices } from "./cynefin-VYW2F7L2-CGJ7AJAI.js";
6
+ import "./preload-helper-CgwVNwqS.js";
6
7
  import "./_commonjsHelpers-DWwsNxpa.js";
7
- import "./preload-helper-DjBMgdYo.js";
8
8
  import "./purify.es-aDWmG8o1.js";
9
9
  var langiumParser = createRailroadServices().Railroad.parser.LangiumParser;
10
10
  var transformExpression = /* @__PURE__ */ __name((expr) => {
@@ -1,9 +1,9 @@
1
- import { g as getDiagramElement } from "./chunk-XXDRQBXY-D_hEuWaz.js";
2
- import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-DOy8DbRm.js";
3
- import { _ as __name, x as getConfig, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, m as setDiagramTitle, n as getDiagramTitle, c as getConfig2, l as log, o as clear, q as __export, t as getRegisteredLayoutAlgorithm, u as render, v as utils_default } from "./index-xYYhCCjU.js";
1
+ import { g as getDiagramElement } from "./chunk-XXDRQBXY-Cne2-3jL.js";
2
+ import { s as setupViewPortForSVG } from "./chunk-KBJHAD2P-DvkeZzci.js";
3
+ import { _ as __name, x as getConfig, b as setAccTitle, a as getAccTitle, s as setAccDescription, g as getAccDescription, m as setDiagramTitle, n as getDiagramTitle, c as getConfig2, l as log, o as clear, q as __export, t as getRegisteredLayoutAlgorithm, u as render, v as utils_default } from "./index-CkGY8IQG.js";
4
4
  import "./transform-xbmqYlhd.js";
5
+ import "./preload-helper-CgwVNwqS.js";
5
6
  import "./_commonjsHelpers-DWwsNxpa.js";
6
- import "./preload-helper-DjBMgdYo.js";
7
7
  import "./purify.es-aDWmG8o1.js";
8
8
  var parser = (function() {
9
9
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
@@ -1,8 +1,8 @@
1
- import { m as setDiagramTitle, n as getDiagramTitle, s as setAccDescription, g as getAccDescription, b as setAccTitle, a as getAccTitle, _ as __name, c as getConfig2, aS as defaultConfig2, S as setupGraphViewbox, o as clear, j as common_default } from "./index-xYYhCCjU.js";
1
+ import { m as setDiagramTitle, n as getDiagramTitle, s as setAccDescription, g as getAccDescription, b as setAccTitle, a as getAccTitle, _ as __name, c as getConfig2, aS as defaultConfig2, S as setupGraphViewbox, o as clear, j as common_default } from "./index-CkGY8IQG.js";
2
2
  import { s as select } from "./transform-xbmqYlhd.js";
3
3
  import { o as ordinal } from "./ordinal-CxptdPJm.js";
4
+ import "./preload-helper-CgwVNwqS.js";
4
5
  import "./_commonjsHelpers-DWwsNxpa.js";
5
- import "./preload-helper-DjBMgdYo.js";
6
6
  import "./purify.es-aDWmG8o1.js";
7
7
  import "./init-ZxktEp_H.js";
8
8
  function colors(specifier) {
@@ -1,9 +1,9 @@
1
- import { I as ImperativeState } from "./chunk-2Q5K7J3B-Cm-XJ4bJ.js";
2
- import { _ as __name, F as setConfig2, c as getConfig2, l as log, i as distExports, d as configureSvgSize, e as assignWithDepth_default, j as common_default, b as setAccTitle, s as setAccDescription, m as setDiagramTitle, a as getAccTitle, g as getAccDescription, n as getDiagramTitle, G as load, J as JSON_SCHEMA, o as clear, h as sanitizeText, v as utils_default, H as hasKatex, I as calculateMathMLDimensions, D as parseFontSize, Z as ZERO_WIDTH_SPACE, x as getConfig, K as getUrl, L as renderKatexSanitized } from "./index-xYYhCCjU.js";
3
- import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-2GRJ4B5K-ahzmlbE2.js";
1
+ import { I as ImperativeState } from "./chunk-2Q5K7J3B-BcFV_bqF.js";
2
+ import { _ as __name, F as setConfig2, c as getConfig2, l as log, i as distExports, d as configureSvgSize, e as assignWithDepth_default, j as common_default, b as setAccTitle, s as setAccDescription, m as setDiagramTitle, a as getAccTitle, g as getAccDescription, n as getDiagramTitle, G as load, J as JSON_SCHEMA, o as clear, h as sanitizeText, v as utils_default, H as hasKatex, I as calculateMathMLDimensions, D as parseFontSize, Z as ZERO_WIDTH_SPACE, x as getConfig, K as getUrl, L as renderKatexSanitized } from "./index-CkGY8IQG.js";
3
+ import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-2GRJ4B5K-C8Y0ztgH.js";
4
4
  import { s as select } from "./transform-xbmqYlhd.js";
5
+ import "./preload-helper-CgwVNwqS.js";
5
6
  import "./_commonjsHelpers-DWwsNxpa.js";
6
- import "./preload-helper-DjBMgdYo.js";
7
7
  import "./purify.es-aDWmG8o1.js";
8
8
  var parser = (function() {
9
9
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
@@ -1,6 +1,6 @@
1
- import { _ as __name } from "./index-xYYhCCjU.js";
1
+ import { _ as __name } from "./index-CkGY8IQG.js";
2
+ import "./preload-helper-CgwVNwqS.js";
2
3
  import "./_commonjsHelpers-DWwsNxpa.js";
3
- import "./preload-helper-DjBMgdYo.js";
4
4
  import "./purify.es-aDWmG8o1.js";
5
5
  import "./transform-xbmqYlhd.js";
6
6
  var DDLT_SIZE_CAPTURE_VERSION = 1;
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./parser-C7LytWuf.js","./jszip.min-KnGXJXka.js","./_commonjsHelpers-DWwsNxpa.js","./preload-helper-DjBMgdYo.js","./assets-tzxXyukA.js","./index-zrUwCsro.js","./zoom-jYhmkcQX.js","./options-SsS0Y_ki.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./parser-CxeMN4ep.js","./jszip.min-KnGXJXka.js","./_commonjsHelpers-DWwsNxpa.js","./preload-helper-CgwVNwqS.js","./assets-tzxXyukA.js","./index-Dpnbrfaw.js","./zoom-jYhmkcQX.js","./options-SsS0Y_ki.js"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
3
3
  import { d as resolveFileViewerSpreadsheetWorkerUrl, r as resolveFileViewerRuntimeAssetBaseUrl } from "./assets-tzxXyukA.js";
4
- import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-zrUwCsro.js";
4
+ import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-Dpnbrfaw.js";
5
5
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
6
6
  import { r as resolveFileViewerColorScheme } from "./options-SsS0Y_ki.js";
7
7
  const createFileViewerWorkerController = (factory, options = {}) => {
@@ -2556,7 +2556,7 @@ class MainThreadSpreadsheetWorker {
2556
2556
  }
2557
2557
  async loadParser() {
2558
2558
  if (!this.parserPromise) {
2559
- this.parserPromise = __vitePreload(() => import("./parser-C7LytWuf.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7]) : void 0, import.meta.url);
2559
+ this.parserPromise = __vitePreload(() => import("./parser-CxeMN4ep.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7]) : void 0, import.meta.url);
2560
2560
  }
2561
2561
  const parser = await this.parserPromise;
2562
2562
  if (!this.context) {
@@ -1,14 +1,14 @@
1
- import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-gozqiB6m.js";
2
- import { _ as __name, c as getConfig2, l as log, d as configureSvgSize, j as common_default, K as getUrl, v as utils_default } from "./index-xYYhCCjU.js";
1
+ import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-CSzi3J-J.js";
2
+ import { _ as __name, c as getConfig2, l as log, d as configureSvgSize, j as common_default, K as getUrl, v as utils_default } from "./index-CkGY8IQG.js";
3
3
  import { s as select, l as line$1, c as curveBasis } from "./transform-xbmqYlhd.js";
4
4
  import { G as Graph } from "./graph-BMLV0goG.js";
5
5
  import { l as layout } from "./layout-BNmRhaUB.js";
6
- import "./chunk-XXDRQBXY-D_hEuWaz.js";
7
- import "./chunk-KBJHAD2P-DOy8DbRm.js";
8
- import "./chunk-2GRJ4B5K-ahzmlbE2.js";
6
+ import "./chunk-XXDRQBXY-Cne2-3jL.js";
7
+ import "./chunk-KBJHAD2P-DvkeZzci.js";
8
+ import "./chunk-2GRJ4B5K-C8Y0ztgH.js";
9
9
  import "./purify.es-aDWmG8o1.js";
10
+ import "./preload-helper-CgwVNwqS.js";
10
11
  import "./_commonjsHelpers-DWwsNxpa.js";
11
- import "./preload-helper-DjBMgdYo.js";
12
12
  import "./map-BEO0Bu8q.js";
13
13
  var drawStartState = /* @__PURE__ */ __name((g) => g.append("circle").attr("class", "start-state").attr("r", getConfig2().state.sizeUnit).attr("cx", getConfig2().state.padding + getConfig2().state.sizeUnit).attr("cy", getConfig2().state.padding + getConfig2().state.sizeUnit), "drawStartState");
14
14
  var drawDivider = /* @__PURE__ */ __name((g) => g.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", getConfig2().state.textHeight).attr("class", "divider").attr("x2", getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider");
@@ -1,12 +1,12 @@
1
- import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-gozqiB6m.js";
2
- import { _ as __name } from "./index-xYYhCCjU.js";
1
+ import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-5RXB4S5H-CSzi3J-J.js";
2
+ import { _ as __name } from "./index-CkGY8IQG.js";
3
3
  import "./transform-xbmqYlhd.js";
4
- import "./chunk-XXDRQBXY-D_hEuWaz.js";
5
- import "./chunk-KBJHAD2P-DOy8DbRm.js";
6
- import "./chunk-2GRJ4B5K-ahzmlbE2.js";
4
+ import "./chunk-XXDRQBXY-Cne2-3jL.js";
5
+ import "./chunk-KBJHAD2P-DvkeZzci.js";
6
+ import "./chunk-2GRJ4B5K-C8Y0ztgH.js";
7
7
  import "./purify.es-aDWmG8o1.js";
8
+ import "./preload-helper-CgwVNwqS.js";
8
9
  import "./_commonjsHelpers-DWwsNxpa.js";
9
- import "./preload-helper-DjBMgdYo.js";
10
10
  var diagram = {
11
11
  parser: stateDiagram_default,
12
12
  get db() {
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./sizeCapture-X5ZJPWSS-Dw9THmjc.js","./index-xYYhCCjU.js","./_commonjsHelpers-DWwsNxpa.js","./preload-helper-DjBMgdYo.js","./purify.es-aDWmG8o1.js","./transform-xbmqYlhd.js","./index-5NihbQ7q.css"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
3
- import { c as clear$2 } from "./chunk-RYQCIY6F-Ctkr0Bv6.js";
4
- import { a5 as markers_default, a6 as clear2, a7 as clear, a8 as clear$1, l as log, c as getConfig2, V as insertNode, U as insertCluster, W as positionNode, ac as insertEdge, ae as insertEdgeLabel, x as getConfig, ab as getSubGraphTitleMargins, af as edgeLabels, v as utils_default, ag as terminalLabels, _ as __name, ah as markerOffsets } from "./index-xYYhCCjU.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./sizeCapture-X5ZJPWSS-CDcn5hdo.js","./index-CkGY8IQG.js","./preload-helper-CgwVNwqS.js","./_commonjsHelpers-DWwsNxpa.js","./purify.es-aDWmG8o1.js","./transform-xbmqYlhd.js","./index-boNUDrZw.css"])))=>i.map(i=>d[i]);
2
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
3
+ import { c as clear$2 } from "./chunk-RYQCIY6F-BWlzzw3U.js";
4
+ import { a5 as markers_default, a6 as clear2, a7 as clear, a8 as clear$1, l as log, c as getConfig2, V as insertNode, U as insertCluster, W as positionNode, ac as insertEdge, ae as insertEdgeLabel, x as getConfig, ab as getSubGraphTitleMargins, af as edgeLabels, v as utils_default, ag as terminalLabels, _ as __name, ah as markerOffsets } from "./index-CkGY8IQG.js";
5
5
  import { G as Graph } from "./graph-BMLV0goG.js";
6
6
  import "./map-BEO0Bu8q.js";
7
7
  import "./_commonjsHelpers-DWwsNxpa.js";
@@ -46,7 +46,7 @@ async function createGraphWithElements(element, data4Layout) {
46
46
  }
47
47
  if (globalThis.mermaidCaptureSizes) {
48
48
  const { captureNodeSizes } = await __vitePreload(async () => {
49
- const { captureNodeSizes: captureNodeSizes2 } = await import("./sizeCapture-X5ZJPWSS-Dw9THmjc.js");
49
+ const { captureNodeSizes: captureNodeSizes2 } = await import("./sizeCapture-X5ZJPWSS-CDcn5hdo.js");
50
50
  return { captureNodeSizes: captureNodeSizes2 };
51
51
  }, true ? __vite__mapDeps([0,1,2,3,4,5,6]) : void 0, import.meta.url);
52
52
  captureNodeSizes(element, data4Layout);
@@ -1,14 +1,14 @@
1
- import { c as createFlowDiagram, s as styles_default } from "./flowDiagram-UKHOOZJN-DfLG1zHh.js";
2
- import { _ as __name } from "./index-xYYhCCjU.js";
1
+ import { c as createFlowDiagram, s as styles_default } from "./flowDiagram-UKHOOZJN-S6KZgAVo.js";
2
+ import { _ as __name } from "./index-CkGY8IQG.js";
3
3
  import "./transform-xbmqYlhd.js";
4
- import "./chunk-5VM5RSS4-B_X6K3iK.js";
5
- import "./chunk-XXDRQBXY-D_hEuWaz.js";
6
- import "./chunk-KBJHAD2P-DOy8DbRm.js";
7
- import "./chunk-2GRJ4B5K-ahzmlbE2.js";
4
+ import "./chunk-5VM5RSS4-CHQbk3UR.js";
5
+ import "./chunk-XXDRQBXY-Cne2-3jL.js";
6
+ import "./chunk-KBJHAD2P-DvkeZzci.js";
7
+ import "./chunk-2GRJ4B5K-C8Y0ztgH.js";
8
8
  import "./purify.es-aDWmG8o1.js";
9
- import "./channel-CPeedhfN.js";
9
+ import "./channel-D4QKj7Cp.js";
10
+ import "./preload-helper-CgwVNwqS.js";
10
11
  import "./_commonjsHelpers-DWwsNxpa.js";
11
- import "./preload-helper-DjBMgdYo.js";
12
12
  var getStyles = /* @__PURE__ */ __name((options) => `${styles_default(options)}
13
13
  .swimlane.cluster rect {
14
14
  stroke: ${options.clusterBorder} !important;
@@ -1,8 +1,8 @@
1
- import { _ as __name, x as getConfig, P as isDark, Q as lighten, R as darken, c as getConfig2, l as log, C as selectSvgElement, D as parseFontSize, S as setupGraphViewbox, q as __export, T as commonDb_exports, o as clear } from "./index-xYYhCCjU.js";
1
+ import { _ as __name, x as getConfig, P as isDark, Q as lighten, R as darken, c as getConfig2, l as log, C as selectSvgElement, D as parseFontSize, S as setupGraphViewbox, q as __export, T as commonDb_exports, o as clear } from "./index-CkGY8IQG.js";
2
2
  import { s as select } from "./transform-xbmqYlhd.js";
3
3
  import { a as arc } from "./arc-0FUHmmYf.js";
4
+ import "./preload-helper-CgwVNwqS.js";
4
5
  import "./_commonjsHelpers-DWwsNxpa.js";
5
- import "./preload-helper-DjBMgdYo.js";
6
6
  import "./purify.es-aDWmG8o1.js";
7
7
  var parser = (function() {
8
8
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
@@ -1,7 +1,7 @@
1
- import { aP as adjustChannel, s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, x as getConfig, C as selectSvgElement, a2 as at, P as isDark, Q as lighten, R as darken, d as configureSvgSize, o as clear, z as cleanAndMerge, A as defaultConfig_default } from "./index-xYYhCCjU.js";
1
+ import { aP as adjustChannel, s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, x as getConfig, C as selectSvgElement, a2 as at, P as isDark, Q as lighten, R as darken, d as configureSvgSize, o as clear, z as cleanAndMerge, A as defaultConfig_default } from "./index-CkGY8IQG.js";
2
2
  import { s as select } from "./transform-xbmqYlhd.js";
3
+ import "./preload-helper-CgwVNwqS.js";
3
4
  import "./_commonjsHelpers-DWwsNxpa.js";
4
- import "./preload-helper-DjBMgdYo.js";
5
5
  import "./purify.es-aDWmG8o1.js";
6
6
  const transparentize = (color, amount) => {
7
7
  return adjustChannel(color, "a", -amount);
@@ -1,8 +1,8 @@
1
- import { p as populateCommonDb } from "./chunk-JWPE2WC7-DDqcLZCS.js";
2
- import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, E as getThemeVariables3, x as getConfig, z as cleanAndMerge, l as log, C as selectSvgElement, d as configureSvgSize, o as clear, c as getConfig2 } from "./index-xYYhCCjU.js";
3
- import { p as parse } from "./cynefin-VYW2F7L2-C9GiKEwC.js";
1
+ import { p as populateCommonDb } from "./chunk-JWPE2WC7-Dr7hqkYq.js";
2
+ import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, E as getThemeVariables3, x as getConfig, z as cleanAndMerge, l as log, C as selectSvgElement, d as configureSvgSize, o as clear, c as getConfig2 } from "./index-CkGY8IQG.js";
3
+ import { p as parse } from "./cynefin-VYW2F7L2-CGJ7AJAI.js";
4
+ import "./preload-helper-CgwVNwqS.js";
4
5
  import "./_commonjsHelpers-DWwsNxpa.js";
5
- import "./preload-helper-DjBMgdYo.js";
6
6
  import "./purify.es-aDWmG8o1.js";
7
7
  import "./transform-xbmqYlhd.js";
8
8
  var toPercent = /* @__PURE__ */ __name((value, context) => {
@@ -1,7 +1,7 @@
1
- import { r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-zrUwCsro.js";
1
+ import { r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-Dpnbrfaw.js";
2
2
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
3
3
  import { b as buildPrintPageStyle, a as applyPrintPageSize, f as formatCssPixels } from "./printLayout-CIlG68Nj.js";
4
- import "./preload-helper-DjBMgdYo.js";
4
+ import "./preload-helper-CgwVNwqS.js";
5
5
  const globalBuffer = globalThis.Buffer;
6
6
  let uniqueIdCounter = 0;
7
7
  function escapeHtml(text) {
@@ -1,8 +1,8 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./docx-preview-B548inVl.js","./jszip.min-KnGXJXka.js","./_commonjsHelpers-DWwsNxpa.js"])))=>i.map(i=>d[i]);
2
- import { _ as __vitePreload } from "./preload-helper-DjBMgdYo.js";
2
+ import { _ as __vitePreload } from "./preload-helper-CgwVNwqS.js";
3
3
  import { J as JSZip } from "./jszip.min-KnGXJXka.js";
4
4
  import { r as resolveFileViewerRuntimeAssetBaseUrl, a as resolveFileViewerDocxWorkerUrl, b as resolveFileViewerDocxWorkerJsZipUrl } from "./assets-tzxXyukA.js";
5
- import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-zrUwCsro.js";
5
+ import { c as createFileViewerTranslator, r as registerFileViewerZoomProvider, u as unregisterFileViewerZoomProvider, a as resolveFileViewerFitScale } from "./index-Dpnbrfaw.js";
6
6
  import { c as createFileViewerZoomChangeEmitter } from "./zoom-jYhmkcQX.js";
7
7
  import { b as buildPrintPageStyle, f as formatCssPixels, a as applyPrintPageSize, g as getElementPrintPageSize } from "./printLayout-CIlG68Nj.js";
8
8
  import { n as normalizeFileViewerTheme } from "./options-SsS0Y_ki.js";
@@ -1,10 +1,10 @@
1
- import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, l as log, C as selectSvgElement, d as configureSvgSize, o as clear, x as getConfig, h as sanitizeText, z as cleanAndMerge, A as defaultConfig_default, E as getThemeVariables3, ai as computeDimensionOfText } from "./index-xYYhCCjU.js";
1
+ import { s as setAccDescription, g as getAccDescription, n as getDiagramTitle, m as setDiagramTitle, a as getAccTitle, b as setAccTitle, _ as __name, l as log, C as selectSvgElement, d as configureSvgSize, o as clear, x as getConfig, h as sanitizeText, z as cleanAndMerge, A as defaultConfig_default, E as getThemeVariables3, ai as computeDimensionOfText } from "./index-CkGY8IQG.js";
2
2
  import { l as line$1 } from "./transform-xbmqYlhd.js";
3
3
  import { i as initRange } from "./init-ZxktEp_H.js";
4
4
  import { o as ordinal } from "./ordinal-CxptdPJm.js";
5
5
  import { l as linear } from "./linear-iB_ZihXg.js";
6
+ import "./preload-helper-CgwVNwqS.js";
6
7
  import "./_commonjsHelpers-DWwsNxpa.js";
7
- import "./preload-helper-DjBMgdYo.js";
8
8
  import "./purify.es-aDWmG8o1.js";
9
9
  import "./defaultLocale-DCJjMHFj.js";
10
10
  import "./index-BEeZTDSC.js";
@@ -4,12 +4,12 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>KAi</title>
7
- <script type="module" crossorigin src="./assets/index-xYYhCCjU.js"></script>
7
+ <script type="module" crossorigin src="./assets/index-CkGY8IQG.js"></script>
8
+ <link rel="modulepreload" crossorigin href="./assets/preload-helper-CgwVNwqS.js">
8
9
  <link rel="modulepreload" crossorigin href="./assets/_commonjsHelpers-DWwsNxpa.js">
9
- <link rel="modulepreload" crossorigin href="./assets/preload-helper-DjBMgdYo.js">
10
10
  <link rel="modulepreload" crossorigin href="./assets/purify.es-aDWmG8o1.js">
11
11
  <link rel="modulepreload" crossorigin href="./assets/transform-xbmqYlhd.js">
12
- <link rel="stylesheet" crossorigin href="./assets/index-5NihbQ7q.css">
12
+ <link rel="stylesheet" crossorigin href="./assets/index-boNUDrZw.css">
13
13
  </head>
14
14
  <body>
15
15
  <div id="root"></div>