@band-app/server 0.22.0 → 0.24.0

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 (165) hide show
  1. package/dist/client/assets/DockviewBrowserContainer-Bh7ygcym.js +5 -0
  2. package/dist/client/assets/DockviewTerminalContainer-BA10dl2w.js +2 -0
  3. package/dist/client/assets/{TerminalPanel-C4ZPrnFP.js → TerminalPanel-C40mohhY.js} +3 -3
  4. package/dist/client/assets/{_basePickBy-iyhrrxG-.js → _basePickBy-BoN5C7c3.js} +1 -1
  5. package/dist/client/assets/{_baseUniq-B1WwbMDv.js → _baseUniq-hs8Z8eGG.js} +1 -1
  6. package/dist/client/assets/{arc-DjqQ6qnK.js → arc-DStHWz7g.js} +1 -1
  7. package/dist/client/assets/{architectureDiagram-VXUJARFQ-C03XQiLa.js → architectureDiagram-VXUJARFQ-BmuwLrzR.js} +1 -1
  8. package/dist/client/assets/{blockDiagram-VD42YOAC-Zzrf5xcb.js → blockDiagram-VD42YOAC-CpfEplz4.js} +1 -1
  9. package/dist/client/assets/{c4Diagram-YG6GDRKO-BYA4DXcg.js → c4Diagram-YG6GDRKO-DFNXKd12.js} +1 -1
  10. package/dist/client/assets/channel-cGiKwLh2.js +1 -0
  11. package/dist/client/assets/{chunk-4BX2VUAB-CPD6ENUL.js → chunk-4BX2VUAB-BhKLwyZj.js} +1 -1
  12. package/dist/client/assets/{chunk-55IACEB6-CrLS-6CW.js → chunk-55IACEB6--1nGJwoJ.js} +1 -1
  13. package/dist/client/assets/{chunk-B4BG7PRW-CgpQP0mz.js → chunk-B4BG7PRW-DfW_4HED.js} +1 -1
  14. package/dist/client/assets/{chunk-DI55MBZ5-IOlh3km5.js → chunk-DI55MBZ5-BBLPj3y_.js} +1 -1
  15. package/dist/client/assets/{chunk-FMBD7UC4-DFsVS8Jr.js → chunk-FMBD7UC4-22_QzB6-.js} +1 -1
  16. package/dist/client/assets/{chunk-QN33PNHL-CmVDL9Gh.js → chunk-QN33PNHL-BsNBNA8p.js} +1 -1
  17. package/dist/client/assets/{chunk-QZHKN3VN-B_Cnx6JN.js → chunk-QZHKN3VN-t5QozrKy.js} +1 -1
  18. package/dist/client/assets/{chunk-TZMSLE5B-DQbyM2Dh.js → chunk-TZMSLE5B-DTbuaeiD.js} +1 -1
  19. package/dist/client/assets/classDiagram-2ON5EDUG-aEV-2-qP.js +1 -0
  20. package/dist/client/assets/classDiagram-v2-WZHVMYZB-aEV-2-qP.js +1 -0
  21. package/dist/client/assets/clone-CArWpwXp.js +1 -0
  22. package/dist/client/assets/{cose-bilkent-S5V4N54A-CTHDgB6u.js → cose-bilkent-S5V4N54A-HZO5t4GF.js} +1 -1
  23. package/dist/client/assets/{dagre-6UL2VRFP-UZkfCyUE.js → dagre-6UL2VRFP-DnOsaGGD.js} +1 -1
  24. package/dist/client/assets/{diagram-PSM6KHXK-DAlkSZ2c.js → diagram-PSM6KHXK-tirWXx7b.js} +1 -1
  25. package/dist/client/assets/{diagram-QEK2KX5R-CazlpGGg.js → diagram-QEK2KX5R-Cjtr8l3E.js} +1 -1
  26. package/dist/client/assets/{diagram-S2PKOQOG-COwMJUec.js → diagram-S2PKOQOG-CuNpvzLc.js} +1 -1
  27. package/dist/client/assets/{erDiagram-Q2GNP2WA-CXZvqia8.js → erDiagram-Q2GNP2WA-D2Rb5UvQ.js} +1 -1
  28. package/dist/client/assets/{flowDiagram-NV44I4VS-DA3lEpzG.js → flowDiagram-NV44I4VS-BSQxdSDJ.js} +1 -1
  29. package/dist/client/assets/{ganttDiagram-JELNMOA3-BWRgS4MP.js → ganttDiagram-JELNMOA3-Cj0PWn4F.js} +3 -3
  30. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-7FizCSrq.js → gitGraphDiagram-V2S2FVAM-DMoH-grQ.js} +1 -1
  31. package/dist/client/assets/{graph-4L_GoTFH.js → graph-B7ABrrXm.js} +1 -1
  32. package/dist/client/assets/{highlighted-body-B3W2YXNL-ydRS8Ic9.js → highlighted-body-B3W2YXNL-DCQslkUR.js} +1 -1
  33. package/dist/client/assets/{index-BgKMJy37.js → index-8PaDaRYT.js} +1 -1
  34. package/dist/client/assets/{index-Bq6PEMRy.js → index-9FCRbBun.js} +1 -1
  35. package/dist/client/assets/{index-DJqbRWRD.js → index-B22f7bFn.js} +1 -1
  36. package/dist/client/assets/{index-Bs4eGT35.js → index-BCA8lija.js} +1 -1
  37. package/dist/client/assets/{index-BaTM0g6E.js → index-BG3Ltnuv.js} +1 -1
  38. package/dist/client/assets/index-BQhRobL8.js +1 -0
  39. package/dist/client/assets/{index-Cp1FqGEW.js → index-BaT5I2xy.js} +1 -1
  40. package/dist/client/assets/{index-Csd34_1g.js → index-BsEwdsSv.js} +1 -1
  41. package/dist/client/assets/{index-B8VQmYG-.js → index-C99EKoUY.js} +1 -1
  42. package/dist/client/assets/{index-D2ogHyak.js → index-CBLjtUwT.js} +1 -1
  43. package/dist/client/assets/{index-C6FACjGj.js → index-COql1I_y.js} +1 -1
  44. package/dist/client/assets/{index-Cl0dKOpc.js → index-D9SknX6B.js} +1 -1
  45. package/dist/client/assets/{index-CPC-pCRk.js → index-DWj9bxNA.js} +1 -1
  46. package/dist/client/assets/{index--PCwWsYS.js → index-DWqvtyLc.js} +1 -1
  47. package/dist/client/assets/{index-DScY4DVi.js → index-DaWbWCgj.js} +1 -1
  48. package/dist/client/assets/{index-qf4lR_zM.js → index-Diyv48F3.js} +1 -1
  49. package/dist/client/assets/{index-SJ6t3qme.js → index-DjFlwM8l.js} +1 -1
  50. package/dist/client/assets/{index-DTonRA2E.js → index-Myu-_U8q.js} +1 -1
  51. package/dist/client/assets/{infoDiagram-HS3SLOUP-CB9FyKi7.js → infoDiagram-HS3SLOUP-C_wVpnnp.js} +1 -1
  52. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-C_bPulxt.js → journeyDiagram-XKPGCS4Q-DcF--XQH.js} +1 -1
  53. package/dist/client/assets/{kanban-definition-3W4ZIXB7-CGLwqWR-.js → kanban-definition-3W4ZIXB7-BA1w8rep.js} +1 -1
  54. package/dist/client/assets/{layout-XjqfGmSW.js → layout-DVMDYrln.js} +1 -1
  55. package/dist/client/assets/{main-FwGkrDro.js → main-B6t1j7Kr.js} +231 -231
  56. package/dist/client/assets/main-i-GTiqUd.css +1 -0
  57. package/dist/client/assets/{mindmap-definition-VGOIOE7T-DRNRxvpy.js → mindmap-definition-VGOIOE7T-C1vA0wr2.js} +1 -1
  58. package/dist/client/assets/{pieDiagram-ADFJNKIX-Co4AML3R.js → pieDiagram-ADFJNKIX-Q71p26az.js} +2 -2
  59. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-DjuSOXov.js → quadrantDiagram-AYHSOK5B-Bxcd0mzk.js} +1 -1
  60. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-Cl5py0JI.js → requirementDiagram-UZGBJVZJ-DWqCIKiG.js} +1 -1
  61. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-BNJImcEG.js → sankeyDiagram-TZEHDZUN-D9rSnLVX.js} +1 -1
  62. package/dist/client/assets/{sequenceDiagram-WL72ISMW-Bd3PTcpW.js → sequenceDiagram-WL72ISMW-Co2Jz6Fl.js} +1 -1
  63. package/dist/client/assets/{square-terminal-CiX1sbUO.js → square-terminal-C3zI_mkt.js} +1 -1
  64. package/dist/client/assets/{stateDiagram-FKZM4ZOC-DXdFd6-L.js → stateDiagram-FKZM4ZOC-CXLDkeLY.js} +1 -1
  65. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-R8LzGctw.js +1 -0
  66. package/dist/client/assets/{timeline-definition-IT6M3QCI-8CA5Ftj2.js → timeline-definition-IT6M3QCI-BXxZZYsm.js} +1 -1
  67. package/dist/client/assets/{treemap-GDKQZRPO-GQ5N0K_o.js → treemap-GDKQZRPO-BgMoU0kM.js} +1 -1
  68. package/dist/client/assets/workspace._workspaceId-Bww_ZNFK.js +2 -0
  69. package/dist/client/assets/{workspace._workspaceId-D0sPlrId.js → workspace._workspaceId-C_KGLGyB.js} +1 -1
  70. package/dist/client/assets/{xychartDiagram-PRI3JC2R-DzcmFrfB.js → xychartDiagram-PRI3JC2R-BQxVaOKh.js} +1 -1
  71. package/dist/migrations/20260703151516_add_worktree_name/migration.sql +2 -0
  72. package/dist/migrations/20260703151516_add_worktree_name/snapshot.json +1167 -0
  73. package/dist/openapi.json +184 -16
  74. package/dist/server/assets/{DockviewBrowserContainer-DvltiWxV.js → DockviewBrowserContainer-C6QVux14.js} +16 -3
  75. package/dist/server/assets/{DockviewTerminalContainer-YGo8Zbx1.js → DockviewTerminalContainer-OevWE65L.js} +29 -6
  76. package/dist/server/assets/{TerminalPanel-Bd0_i38P.js → TerminalPanel-BhOjwcFW.js} +3 -2
  77. package/dist/server/assets/{_basePickBy-BBas4T8q.js → _basePickBy-DVK5KtlH.js} +2 -2
  78. package/dist/server/assets/{_baseUniq-Bb-AXRqu.js → _baseUniq-DSFYYhGd.js} +1 -1
  79. package/dist/server/assets/_tanstack-start-manifest_v-C_7Mj4aJ.js +4 -0
  80. package/dist/server/assets/{arc-CNbGanI8.js → arc-BpwEbxUR.js} +1 -1
  81. package/dist/server/assets/{architecture-7HQA4BMR-BBpvCcgY.js → architecture-7HQA4BMR-CNyHLOO7.js} +6 -6
  82. package/dist/server/assets/{architectureDiagram-VXUJARFQ-CSgRy1oF.js → architectureDiagram-VXUJARFQ-DVUpIskI.js} +6 -6
  83. package/dist/server/assets/{blockDiagram-VD42YOAC-BZ551zIx.js → blockDiagram-VD42YOAC-CRv2pc0L.js} +6 -6
  84. package/dist/server/assets/{c4Diagram-YG6GDRKO-BpFPiRxu.js → c4Diagram-YG6GDRKO-CBv74bWb.js} +2 -2
  85. package/dist/server/assets/{channel-BakvXn0q.js → channel-C_c7u4ky.js} +1 -1
  86. package/dist/server/assets/{chunk-4BX2VUAB-iq_ixzMT.js → chunk-4BX2VUAB-85OXnz_P.js} +1 -1
  87. package/dist/server/assets/{chunk-55IACEB6-BTsLLiUt.js → chunk-55IACEB6-Cl8taExZ.js} +1 -1
  88. package/dist/server/assets/{chunk-B4BG7PRW-rFWSSos9.js → chunk-B4BG7PRW-C7W_R9n6.js} +4 -4
  89. package/dist/server/assets/{chunk-DI55MBZ5-C6HYpEOk.js → chunk-DI55MBZ5-CTi30KuT.js} +3 -3
  90. package/dist/server/assets/{chunk-FMBD7UC4-CWm7G-kI.js → chunk-FMBD7UC4-CsuoPD3I.js} +1 -1
  91. package/dist/server/assets/{chunk-QN33PNHL-C-sH07qa.js → chunk-QN33PNHL-BHHMj_a1.js} +1 -1
  92. package/dist/server/assets/{chunk-QZHKN3VN-DBYpRTmd.js → chunk-QZHKN3VN-DwwXlOCl.js} +1 -1
  93. package/dist/server/assets/{chunk-TZMSLE5B-D374mW8S.js → chunk-TZMSLE5B-ECyN9wrL.js} +1 -1
  94. package/dist/server/assets/{classDiagram-v2-WZHVMYZB-DV-SD-4W.js → classDiagram-2ON5EDUG-qbF8ds74.js} +5 -5
  95. package/dist/server/assets/{classDiagram-2ON5EDUG-DV-SD-4W.js → classDiagram-v2-WZHVMYZB-qbF8ds74.js} +5 -5
  96. package/dist/server/assets/{clone-DVtsQqal.js → clone-BCajbdd5.js} +1 -1
  97. package/dist/server/assets/{cose-bilkent-S5V4N54A-XbCluv3z.js → cose-bilkent-S5V4N54A-D5-w_t4l.js} +1 -1
  98. package/dist/server/assets/{dagre-6UL2VRFP-CuR4BisU.js → dagre-6UL2VRFP-CCIdAwdB.js} +6 -6
  99. package/dist/server/assets/{diagram-PSM6KHXK-CV_nySOq.js → diagram-PSM6KHXK-CWGITxy9.js} +7 -7
  100. package/dist/server/assets/{diagram-QEK2KX5R-Noar7MQT.js → diagram-QEK2KX5R-B07zrGgY.js} +6 -6
  101. package/dist/server/assets/{diagram-S2PKOQOG-B2BacNFz.js → diagram-S2PKOQOG-XGIpbjo1.js} +6 -6
  102. package/dist/server/assets/{erDiagram-Q2GNP2WA-B5Os4Fa-.js → erDiagram-Q2GNP2WA-DYHtO3j9.js} +4 -4
  103. package/dist/server/assets/{flowDiagram-NV44I4VS-DjQR68un.js → flowDiagram-NV44I4VS-Cs7hS9X4.js} +5 -5
  104. package/dist/server/assets/{ganttDiagram-JELNMOA3-B5uPZ6pu.js → ganttDiagram-JELNMOA3-BhLp8xvm.js} +1 -1
  105. package/dist/server/assets/{gitGraph-G5XIXVHT-6ZMiJWQT.js → gitGraph-G5XIXVHT-B46gW1OX.js} +6 -6
  106. package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-DDF08l5z.js → gitGraphDiagram-V2S2FVAM-CZHNGOm0.js} +7 -7
  107. package/dist/server/assets/{graph-bRh_VJvO.js → graph-4bVECaJM.js} +2 -2
  108. package/dist/server/assets/{highlighted-body-B3W2YXNL-BI_Gmrii.js → highlighted-body-B3W2YXNL-DSf8s2aV.js} +1 -1
  109. package/dist/server/assets/{index-Bdft7sx8.js → index-14dCbIAi.js} +5 -5
  110. package/dist/server/assets/{index-Dyd5DTki.js → index-1OK7lyTa.js} +2 -2
  111. package/dist/server/assets/{index-y2Y1JSaD.js → index-8EiXP0Bf.js} +2 -2
  112. package/dist/server/assets/{index-BlZ00-BN.js → index-B72BPMJQ.js} +3 -3
  113. package/dist/server/assets/{index-K_Bo1J5h.js → index-BLv-1MtR.js} +5 -5
  114. package/dist/server/assets/{index-auM21h5r.js → index-BRzkEVRG.js} +1 -1
  115. package/dist/server/assets/{index-BKTDd3Bk.js → index-C7lRWZi8.js} +4 -4
  116. package/dist/server/assets/{index-VS9oMvxO.js → index-CDG7KvBY.js} +2 -2
  117. package/dist/server/assets/{index-C-y9iHQ0.js → index-CHvqm6Lz.js} +5 -5
  118. package/dist/server/assets/{index-CWdeYFNF.js → index-CKPuU6Za.js} +2 -2
  119. package/dist/server/assets/{index-RnzJqolD.js → index-CWr-Kh5M.js} +2 -2
  120. package/dist/server/assets/{index-D2pPyR7I.js → index-D2uLA4oe.js} +2 -2
  121. package/dist/server/assets/{index-DDZbXJFy.js → index-DAq8fRkd.js} +2 -2
  122. package/dist/server/assets/{index-5xKUZpsF.js → index-Dz2mzfvS.js} +2 -2
  123. package/dist/server/assets/{index-6TVwGkMb.js → index-Tq3ajWxh.js} +2 -2
  124. package/dist/server/assets/{index-DpTDX5JD.js → index-U3tOcUUV.js} +2 -2
  125. package/dist/server/assets/{index-CTIw5jsP.js → index-pFRKwTv2.js} +2 -2
  126. package/dist/server/assets/{index-CUQ92e7X.js → index-rT9xGtRW.js} +3 -3
  127. package/dist/server/assets/{info-VBDWY6EO-JLouBLo5.js → info-VBDWY6EO-DrELfFR0.js} +6 -6
  128. package/dist/server/assets/{infoDiagram-HS3SLOUP-zmvy_WJR.js → infoDiagram-HS3SLOUP-D40Crb-p.js} +5 -5
  129. package/dist/server/assets/{journeyDiagram-XKPGCS4Q-DyzviNdt.js → journeyDiagram-XKPGCS4Q-dtlVBwV2.js} +4 -4
  130. package/dist/server/assets/{kanban-definition-3W4ZIXB7-DOBL7QMj.js → kanban-definition-3W4ZIXB7-72vgA7Jl.js} +2 -2
  131. package/dist/server/assets/{layout-B_Ylwhz8.js → layout-DJ0Eul-X.js} +4 -4
  132. package/dist/server/assets/{mermaid-3ZIDBTTL-D1krx3WU.js → mermaid-3ZIDBTTL-DGEHf_at.js} +1 -1
  133. package/dist/server/assets/{mermaid-parser.core-B3d8rAVm.js → mermaid-parser.core-C1UfVEF8.js} +11 -11
  134. package/dist/server/assets/{mindmap-definition-VGOIOE7T-Kacyqp9Z.js → mindmap-definition-VGOIOE7T-DYfEp2uH.js} +3 -3
  135. package/dist/server/assets/{packet-DYOGHKS2-Bl6AuzeP.js → packet-DYOGHKS2-IHYchS32.js} +6 -6
  136. package/dist/server/assets/{pie-VRWISCQL-DTulKqSB.js → pie-VRWISCQL-R6SvOU4g.js} +6 -6
  137. package/dist/server/assets/{pieDiagram-ADFJNKIX-EBslGQgI.js → pieDiagram-ADFJNKIX-EgffZsud.js} +7 -7
  138. package/dist/server/assets/{quadrantDiagram-AYHSOK5B-BKSWYe6P.js → quadrantDiagram-AYHSOK5B-n2oJWllV.js} +1 -1
  139. package/dist/server/assets/{radar-ZZBFDIW7-C5ulLYDn.js → radar-ZZBFDIW7-BX2ya_Na.js} +6 -6
  140. package/dist/server/assets/{requirementDiagram-UZGBJVZJ-B7nRcnKx.js → requirementDiagram-UZGBJVZJ-CzCXruFj.js} +3 -3
  141. package/dist/server/assets/{router-hdCv0b-L.js → router-BC8bCsa3.js} +1100 -725
  142. package/dist/server/assets/{sankeyDiagram-TZEHDZUN-Dq6Q_X6w.js → sankeyDiagram-TZEHDZUN-C0GqwqSS.js} +1 -1
  143. package/dist/server/assets/{sequenceDiagram-WL72ISMW-CDfofz-s.js → sequenceDiagram-WL72ISMW-BfX0R0LP.js} +3 -3
  144. package/dist/server/assets/{square-terminal-D7R89vxW.js → square-terminal-BWcJU95Z.js} +1 -1
  145. package/dist/server/assets/{stateDiagram-FKZM4ZOC-BQdH_sw5.js → stateDiagram-FKZM4ZOC-QowlLVwh.js} +8 -8
  146. package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-BTwyLH9n.js → stateDiagram-v2-4FDKWEC3-DVHzQlOF.js} +4 -4
  147. package/dist/server/assets/{timeline-definition-IT6M3QCI-BLfNWXx-.js → timeline-definition-IT6M3QCI-DUoaC7rz.js} +2 -2
  148. package/dist/server/assets/{treemap-GDKQZRPO-DYGhrk03.js → treemap-GDKQZRPO-B5KIzomx.js} +6 -6
  149. package/dist/server/assets/{workspace._workspaceId-C9ijioXa.js → workspace._workspaceId-DRK2dblR.js} +101 -11
  150. package/dist/server/assets/{workspace._workspaceId-BrMajMrS.js → workspace._workspaceId-hnIpuUNX.js} +1 -1
  151. package/dist/server/assets/{xychartDiagram-PRI3JC2R-CTiLODEl.js → xychartDiagram-PRI3JC2R-aNxYxejD.js} +1 -1
  152. package/dist/server/server.js +2 -2
  153. package/dist/start-server.mjs +736 -512
  154. package/package.json +4 -4
  155. package/dist/client/assets/DockviewBrowserContainer-AeGrBvbe.js +0 -5
  156. package/dist/client/assets/DockviewTerminalContainer-CEcmk81d.js +0 -2
  157. package/dist/client/assets/channel-ByfqtAS4.js +0 -1
  158. package/dist/client/assets/classDiagram-2ON5EDUG-CmzSv5tz.js +0 -1
  159. package/dist/client/assets/classDiagram-v2-WZHVMYZB-CmzSv5tz.js +0 -1
  160. package/dist/client/assets/clone-D6Np9jJP.js +0 -1
  161. package/dist/client/assets/index-p4yr3DW9.js +0 -1
  162. package/dist/client/assets/main-CBlP-xQr.css +0 -1
  163. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-kbB9WbNB.js +0 -1
  164. package/dist/client/assets/workspace._workspaceId-C_iuy4p6.js +0 -2
  165. package/dist/server/assets/_tanstack-start-manifest_v-DJ7xH6AI.js +0 -4
package/dist/openapi.json CHANGED
@@ -4395,6 +4395,9 @@
4395
4395
  "items": {
4396
4396
  "type": "object",
4397
4397
  "properties": {
4398
+ "name": {
4399
+ "type": "string"
4400
+ },
4398
4401
  "branch": {
4399
4402
  "type": "string"
4400
4403
  },
@@ -4422,6 +4425,7 @@
4422
4425
  }
4423
4426
  },
4424
4427
  "required": [
4428
+ "name",
4425
4429
  "branch",
4426
4430
  "path",
4427
4431
  "pinned",
@@ -5114,16 +5118,16 @@
5114
5118
  "schema": {
5115
5119
  "type": "object",
5116
5120
  "properties": {
5117
- "project": {
5121
+ "name": {
5118
5122
  "type": "string"
5119
5123
  },
5120
- "branch": {
5124
+ "project": {
5121
5125
  "type": "string"
5122
5126
  }
5123
5127
  },
5124
5128
  "required": [
5125
- "project",
5126
- "branch"
5129
+ "name",
5130
+ "project"
5127
5131
  ],
5128
5132
  "additionalProperties": false
5129
5133
  }
@@ -5186,10 +5190,10 @@
5186
5190
  "schema": {
5187
5191
  "type": "object",
5188
5192
  "properties": {
5189
- "project": {
5193
+ "name": {
5190
5194
  "type": "string"
5191
5195
  },
5192
- "branch": {
5196
+ "project": {
5193
5197
  "type": "string"
5194
5198
  },
5195
5199
  "pinned": {
@@ -5197,8 +5201,8 @@
5197
5201
  }
5198
5202
  },
5199
5203
  "required": [
5204
+ "name",
5200
5205
  "project",
5201
- "branch",
5202
5206
  "pinned"
5203
5207
  ],
5204
5208
  "additionalProperties": false
@@ -5262,16 +5266,16 @@
5262
5266
  "schema": {
5263
5267
  "type": "object",
5264
5268
  "properties": {
5265
- "project": {
5269
+ "name": {
5266
5270
  "type": "string"
5267
5271
  },
5268
- "branch": {
5272
+ "project": {
5269
5273
  "type": "string"
5270
5274
  }
5271
5275
  },
5272
5276
  "required": [
5273
- "project",
5274
- "branch"
5277
+ "name",
5278
+ "project"
5275
5279
  ],
5276
5280
  "additionalProperties": false
5277
5281
  }
@@ -5334,16 +5338,16 @@
5334
5338
  "schema": {
5335
5339
  "type": "object",
5336
5340
  "properties": {
5337
- "project": {
5341
+ "name": {
5338
5342
  "type": "string"
5339
5343
  },
5340
- "branch": {
5344
+ "project": {
5341
5345
  "type": "string"
5342
5346
  }
5343
5347
  },
5344
5348
  "required": [
5345
- "project",
5346
- "branch"
5349
+ "name",
5350
+ "project"
5347
5351
  ],
5348
5352
  "additionalProperties": false
5349
5353
  }
@@ -9262,6 +9266,149 @@
9262
9266
  }
9263
9267
  }
9264
9268
  },
9269
+ "/panelFocus.get": {
9270
+ "get": {
9271
+ "operationId": "panelFocus.get",
9272
+ "tags": [
9273
+ "panelFocus"
9274
+ ],
9275
+ "responses": {
9276
+ "200": {
9277
+ "description": "Successful response",
9278
+ "content": {
9279
+ "application/json": {
9280
+ "schema": {
9281
+ "type": "object",
9282
+ "properties": {
9283
+ "result": {
9284
+ "type": "object",
9285
+ "properties": {
9286
+ "data": {
9287
+ "$ref": "#/components/schemas/WorkspaceFocus"
9288
+ }
9289
+ },
9290
+ "required": [
9291
+ "data"
9292
+ ]
9293
+ }
9294
+ },
9295
+ "required": [
9296
+ "result"
9297
+ ]
9298
+ }
9299
+ }
9300
+ }
9301
+ },
9302
+ "default": {
9303
+ "$ref": "#/components/responses/Error"
9304
+ }
9305
+ },
9306
+ "parameters": [
9307
+ {
9308
+ "name": "input",
9309
+ "in": "query",
9310
+ "required": true,
9311
+ "style": "deepObject",
9312
+ "content": {
9313
+ "application/json": {
9314
+ "schema": {
9315
+ "type": "object",
9316
+ "properties": {
9317
+ "workspaceId": {
9318
+ "type": "string"
9319
+ }
9320
+ },
9321
+ "required": [
9322
+ "workspaceId"
9323
+ ],
9324
+ "additionalProperties": false
9325
+ }
9326
+ }
9327
+ }
9328
+ }
9329
+ ]
9330
+ }
9331
+ },
9332
+ "/panelFocus.set": {
9333
+ "post": {
9334
+ "operationId": "panelFocus.set",
9335
+ "tags": [
9336
+ "panelFocus"
9337
+ ],
9338
+ "responses": {
9339
+ "200": {
9340
+ "description": "Successful response",
9341
+ "content": {
9342
+ "application/json": {
9343
+ "schema": {
9344
+ "type": "object",
9345
+ "properties": {
9346
+ "result": {
9347
+ "type": "object",
9348
+ "properties": {
9349
+ "data": {
9350
+ "type": "object",
9351
+ "properties": {
9352
+ "ok": {
9353
+ "type": "boolean"
9354
+ }
9355
+ },
9356
+ "required": [
9357
+ "ok"
9358
+ ],
9359
+ "additionalProperties": false
9360
+ }
9361
+ },
9362
+ "required": [
9363
+ "data"
9364
+ ]
9365
+ }
9366
+ },
9367
+ "required": [
9368
+ "result"
9369
+ ]
9370
+ }
9371
+ }
9372
+ }
9373
+ },
9374
+ "default": {
9375
+ "$ref": "#/components/responses/Error"
9376
+ }
9377
+ },
9378
+ "requestBody": {
9379
+ "required": true,
9380
+ "content": {
9381
+ "application/json": {
9382
+ "schema": {
9383
+ "type": "object",
9384
+ "properties": {
9385
+ "workspaceId": {
9386
+ "type": "string"
9387
+ },
9388
+ "panelType": {
9389
+ "type": "string",
9390
+ "enum": [
9391
+ "chat",
9392
+ "terminal",
9393
+ "browser"
9394
+ ]
9395
+ },
9396
+ "panelId": {
9397
+ "type": "string"
9398
+ }
9399
+ },
9400
+ "required": [
9401
+ "workspaceId",
9402
+ "panelType",
9403
+ "panelId"
9404
+ ],
9405
+ "additionalProperties": false
9406
+ }
9407
+ }
9408
+ }
9409
+ }
9410
+ }
9411
+ },
9265
9412
  "/tasks.list": {
9266
9413
  "get": {
9267
9414
  "operationId": "tasks.list",
@@ -10540,8 +10687,13 @@
10540
10687
  "WorktreeState": {
10541
10688
  "type": "object",
10542
10689
  "properties": {
10690
+ "name": {
10691
+ "type": "string",
10692
+ "description": "Immutable workspace identity — the (slugified) branch name captured at\ncreation. The workspace id derives from this (`toWorkspaceId`), so it\nis stable across git branch switches. Never mutated by `syncWorktrees`."
10693
+ },
10543
10694
  "branch": {
10544
- "type": "string"
10695
+ "type": "string",
10696
+ "description": "Live git branch checked out in the worktree. Synced against git."
10545
10697
  },
10546
10698
  "path": {
10547
10699
  "type": "string"
@@ -10554,6 +10706,7 @@
10554
10706
  }
10555
10707
  },
10556
10708
  "required": [
10709
+ "name",
10557
10710
  "branch",
10558
10711
  "path",
10559
10712
  "pinned"
@@ -10978,6 +11131,21 @@
10978
11131
  ],
10979
11132
  "additionalProperties": false
10980
11133
  },
11134
+ "WorkspaceFocus": {
11135
+ "type": "object",
11136
+ "properties": {
11137
+ "chat": {
11138
+ "type": "string"
11139
+ },
11140
+ "terminal": {
11141
+ "type": "string"
11142
+ },
11143
+ "browser": {
11144
+ "type": "string"
11145
+ }
11146
+ },
11147
+ "additionalProperties": false
11148
+ },
10981
11149
  "SubmitResult": {
10982
11150
  "type": "object",
10983
11151
  "properties": {
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../server.js";
2
- import { m as createLucideIcon, bV as isDesktop, ct as invoke, cu as listen, p as trpc, cv as reactDomExports, cw as Globe, cr as SearchBar, cx as Popover, cy as PopoverTrigger, cz as PopoverContent, cA as Search, cB as Trash2, cC as DropdownMenu, cD as DropdownMenuTrigger, cE as ChevronDown, cF as DropdownMenuContent, cG as DropdownMenuItem, cH as TriangleAlert, b$ as ArrowLeft, cl as ArrowRight, X, cI as RotateCw, u as useAdapter, n as useQueryClient, o as useQuery, q as selectNeighbourBeforeRemove, r as centralPanelPosition, v as ensureEdgeGroups, w as attachEdgeGroupDragVisibility, x as registerInnerDockview, y as PanelVisibilityContext, z as DockviewReact, F as cycleTabsInActiveGroup, G as cycleGridGroups, C as Columns2, A as Rows2, B as Plus, E as usePanelVisibility } from "./router-hdCv0b-L.js";
2
+ import { m as createLucideIcon, bV as isDesktop, cB as invoke, cC as listen, p as trpc, cD as reactDomExports, cE as Globe, cz as SearchBar, cF as Popover, cG as PopoverTrigger, cH as PopoverContent, cI as Search, cJ as Trash2, cK as DropdownMenu, cL as DropdownMenuTrigger, cM as ChevronDown, cN as DropdownMenuContent, cO as DropdownMenuItem, cP as TriangleAlert, cq as ArrowLeft, ct as ArrowRight, X, cQ as RotateCw, u as useAdapter, n as useQueryClient, o as useQuery, q as selectNeighbourBeforeRemove, r as centralPanelPosition, v as ensureEdgeGroups, w as attachEdgeGroupDragVisibility, x as registerInnerDockview, y as PanelVisibilityContext, z as DockviewReact, F as cycleTabsInActiveGroup, G as cycleGridGroups, C as Columns2, A as Rows2, B as Plus, E as usePanelVisibility } from "./router-BC8bCsa3.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -1471,6 +1471,8 @@ function DockviewBrowserContainer({
1471
1471
  const apiRef = reactExports.useRef(null);
1472
1472
  const isRestoringRef = reactExports.useRef(false);
1473
1473
  const containerRef = reactExports.useRef(null);
1474
+ const wsActiveRef = reactExports.useRef(wsActive);
1475
+ wsActiveRef.current = wsActive;
1474
1476
  const edgeDragDisposerRef = reactExports.useRef(null);
1475
1477
  const innerRegisterDisposerRef = reactExports.useRef(null);
1476
1478
  const { data: initialData } = useQuery({
@@ -1501,6 +1503,14 @@ function DockviewBrowserContainer({
1501
1503
  if (!api) return;
1502
1504
  persistToServer(workspaceId, api.toJSON(), { queryClient: queryClientRef.current });
1503
1505
  }, [workspaceId]);
1506
+ const reportBrowserFocus = reactExports.useCallback(() => {
1507
+ if (isRestoringRef.current) return;
1508
+ if (wsActiveRef.current === false) return;
1509
+ const panelId = apiRef.current?.activePanel?.id;
1510
+ if (!panelId) return;
1511
+ trpc.panelFocus.set.mutate({ workspaceId, panelType: "browser", panelId }).catch(() => {
1512
+ });
1513
+ }, [workspaceId]);
1504
1514
  const handleAddTab = reactExports.useCallback(
1505
1515
  async (groupId, addOptions) => {
1506
1516
  const api = apiRef.current;
@@ -1930,7 +1940,10 @@ function DockviewBrowserContainer({
1930
1940
  event.api.onDidLayoutChange(persist);
1931
1941
  event.api.onDidAddPanel(persist);
1932
1942
  event.api.onDidRemovePanel(persist);
1933
- event.api.onDidActivePanelChange(persist);
1943
+ event.api.onDidActivePanelChange(() => {
1944
+ persist();
1945
+ reportBrowserFocus();
1946
+ });
1934
1947
  event.api.onDidAddGroup(persist);
1935
1948
  event.api.onDidRemoveGroup(persist);
1936
1949
  if (visibleRef.current && containerRef.current) {
@@ -1940,7 +1953,7 @@ function DockviewBrowserContainer({
1940
1953
  }
1941
1954
  }
1942
1955
  },
1943
- [workspaceId, schedulePersist]
1956
+ [workspaceId, schedulePersist, reportBrowserFocus]
1944
1957
  );
1945
1958
  const visibilityValue = reactExports.useMemo(
1946
1959
  () => ({ visible: visible && wsActive !== false, wsActive: wsActive !== false }),
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../server.js";
2
- import { u as useAdapter, n as useQueryClient, o as useQuery, p as trpc, q as selectNeighbourBeforeRemove, r as centralPanelPosition, v as ensureEdgeGroups, w as attachEdgeGroupDragVisibility, x as registerInnerDockview, y as PanelVisibilityContext, z as DockviewReact, C as Columns2, A as Rows2, B as Plus, X, E as usePanelVisibility, F as cycleTabsInActiveGroup, G as cycleGridGroups } from "./router-hdCv0b-L.js";
3
- import { S as SquareTerminal } from "./square-terminal-D7R89vxW.js";
2
+ import { u as useAdapter, n as useQueryClient, o as useQuery, p as trpc, q as selectNeighbourBeforeRemove, r as centralPanelPosition, v as ensureEdgeGroups, w as attachEdgeGroupDragVisibility, x as registerInnerDockview, y as PanelVisibilityContext, z as DockviewReact, C as Columns2, A as Rows2, B as Plus, X, E as usePanelVisibility, F as cycleTabsInActiveGroup, G as cycleGridGroups } from "./router-BC8bCsa3.js";
3
+ import { S as SquareTerminal } from "./square-terminal-BWcJU95Z.js";
4
4
  import "node:async_hooks";
5
5
  import "node:stream";
6
6
  import "util";
@@ -12,7 +12,7 @@ import "node:process";
12
12
  import "node:path";
13
13
  import "node:url";
14
14
  const TerminalPanel = reactExports.lazy(
15
- () => import("./TerminalPanel-Bd0_i38P.js").then((m) => ({ default: m.TerminalPanel }))
15
+ () => import("./TerminalPanel-BhOjwcFW.js").then((m) => ({ default: m.TerminalPanel }))
16
16
  );
17
17
  function uuid() {
18
18
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
@@ -220,6 +220,8 @@ function DockviewTerminalContainer({
220
220
  const apiRef = reactExports.useRef(null);
221
221
  const isRestoringRef = reactExports.useRef(false);
222
222
  const containerRef = reactExports.useRef(null);
223
+ const wsActiveRef = reactExports.useRef(wsActive);
224
+ wsActiveRef.current = wsActive;
223
225
  const edgeDragDisposerRef = reactExports.useRef(null);
224
226
  const innerRegisterDisposerRef = reactExports.useRef(null);
225
227
  const { data: initialData } = useQuery({
@@ -244,6 +246,14 @@ function DockviewTerminalContainer({
244
246
  if (!api) return;
245
247
  persistToServer(workspaceId, api.toJSON(), { queryClient: queryClientRef.current });
246
248
  }, [workspaceId]);
249
+ const reportTerminalFocus = reactExports.useCallback(() => {
250
+ if (isRestoringRef.current) return;
251
+ if (wsActiveRef.current === false) return;
252
+ const panelId = apiRef.current?.activePanel?.id;
253
+ if (!panelId) return;
254
+ trpc.panelFocus.set.mutate({ workspaceId, panelType: "terminal", panelId }).catch(() => {
255
+ });
256
+ }, [workspaceId]);
247
257
  const handleAddTab = reactExports.useCallback(
248
258
  async (groupId) => {
249
259
  const api = apiRef.current;
@@ -424,9 +434,19 @@ function DockviewTerminalContainer({
424
434
  const panel = apiRef.current?.activePanel;
425
435
  if (!panel) return;
426
436
  panel.view.content.element.querySelector(".xterm-helper-textarea")?.focus();
437
+ reportTerminalFocus();
427
438
  });
428
439
  return () => cancelAnimationFrame(id);
429
- }, [visible]);
440
+ }, [visible, reportTerminalFocus]);
441
+ reactExports.useEffect(() => {
442
+ const handler = (e) => {
443
+ const detail = e.detail;
444
+ if (!detail?.terminalId || detail.workspaceId !== workspaceId) return;
445
+ apiRef.current?.getPanel(detail.terminalId)?.api.setActive();
446
+ };
447
+ window.addEventListener("band:terminal-insert", handler);
448
+ return () => window.removeEventListener("band:terminal-insert", handler);
449
+ }, [workspaceId]);
430
450
  reactExports.useEffect(() => {
431
451
  return adapter.subscribeStatusEvents((event) => {
432
452
  if (event.workspaceId !== workspaceId) return;
@@ -528,7 +548,10 @@ function DockviewTerminalContainer({
528
548
  event.api.onDidLayoutChange(persist);
529
549
  event.api.onDidAddPanel(persist);
530
550
  event.api.onDidRemovePanel(persist);
531
- event.api.onDidActivePanelChange(persist);
551
+ event.api.onDidActivePanelChange(() => {
552
+ persist();
553
+ reportTerminalFocus();
554
+ });
532
555
  event.api.onDidAddGroup(persist);
533
556
  event.api.onDidRemoveGroup(persist);
534
557
  if (visibleRef.current && containerRef.current) {
@@ -538,7 +561,7 @@ function DockviewTerminalContainer({
538
561
  }
539
562
  }
540
563
  },
541
- [workspaceId, schedulePersist]
564
+ [workspaceId, schedulePersist, reportTerminalFocus]
542
565
  );
543
566
  const visibilityValue = reactExports.useMemo(
544
567
  () => ({ visible: visible && wsActive !== false, wsActive: wsActive !== false }),
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../server.js";
2
- import { m as createLucideIcon, cg as isFilePath, ch as writeClipboardText, ci as readClipboardText, b$ as ArrowLeft, cj as ArrowUp, ck as ArrowDown, cl as ArrowRight, cm as ClipboardCopy, X, cn as ClipboardPaste, c7 as useSettingsQuery, co as getCurrentZoomLevel, cp as openExternalUrl, cq as subscribeToZoomChanges, cr as SearchBar, cs as ZOOM_CSS_VAR } from "./router-hdCv0b-L.js";
2
+ import { m as createLucideIcon, cn as isFilePath, co as writeClipboardText, cp as readClipboardText, cq as ArrowLeft, cr as ArrowUp, cs as ArrowDown, ct as ArrowRight, cu as ClipboardCopy, X, cv as ClipboardPaste, cg as useSettingsQuery, cw as getCurrentZoomLevel, cx as openExternalUrl, cy as subscribeToZoomChanges, cz as SearchBar, cA as ZOOM_CSS_VAR } from "./router-BC8bCsa3.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -1145,12 +1145,13 @@ function TerminalPanel({
1145
1145
  const handler = (e) => {
1146
1146
  const detail = e.detail;
1147
1147
  if (!detail?.reference || detail.workspaceId !== workspaceId) return;
1148
+ if (detail.terminalId && detail.terminalId !== terminalId) return;
1148
1149
  pendingInsertRef.current = detail.reference;
1149
1150
  if (visible) flushPendingInsert();
1150
1151
  };
1151
1152
  window.addEventListener("band:terminal-insert", handler);
1152
1153
  return () => window.removeEventListener("band:terminal-insert", handler);
1153
- }, [visible, workspaceId, flushPendingInsert]);
1154
+ }, [visible, workspaceId, terminalId, flushPendingInsert]);
1154
1155
  const handleOpenSearch = reactExports.useCallback(() => {
1155
1156
  setSearchOpen(true);
1156
1157
  requestAnimationFrame(() => {
@@ -1,5 +1,5 @@
1
- import { e as isSymbol, c as baseFlatten, g as baseIteratee, k as keys, h as baseFindIndex, j as baseEach, l as arrayMap, m as hasPath, n as castPath, t as toKey, o as baseGet } from "./_baseUniq-Bb-AXRqu.js";
2
- import { d6 as isObject, bv as baseRest, d7 as isIterateeCall, d8 as keysIn, d9 as eq, da as isArrayLike, db as isArray, dc as identity, dd as isIndex, de as assignValue } from "./router-hdCv0b-L.js";
1
+ import { e as isSymbol, c as baseFlatten, g as baseIteratee, k as keys, h as baseFindIndex, j as baseEach, l as arrayMap, m as hasPath, n as castPath, t as toKey, o as baseGet } from "./_baseUniq-DSFYYhGd.js";
2
+ import { de as isObject, bv as baseRest, df as isIterateeCall, dg as keysIn, dh as eq, di as isArrayLike, dj as isArray, dk as identity, dl as isIndex, dm as assignValue } from "./router-BC8bCsa3.js";
3
3
  var reWhitespace = /\s/;
4
4
  function trimmedEndIndex(string) {
5
5
  var index = string.length;
@@ -1,4 +1,4 @@
1
- import { dp as isObjectLike, dq as baseGetTag, db as isArray, dr as Symbol$1, da as isArrayLike, ds as arrayLikeKeys, dt as baseKeys, du as memoize, dv as isArguments, dw as copyObject, d8 as keysIn, dx as getPrototype, dy as cloneArrayBuffer, dz as cloneTypedArray, dA as getTag, dm as baseUnary, dB as nodeUtil, d6 as isObject, dC as copyArray, dD as isBuffer, dE as cloneBuffer, dF as initCloneObject, dG as Stack, de as assignValue, dH as MapCache, d9 as eq, dI as Uint8Array, dJ as isTypedArray, dK as isLength, dd as isIndex, dc as identity, dk as baseFor, dL as Set } from "./router-hdCv0b-L.js";
1
+ import { dx as isObjectLike, dy as baseGetTag, dj as isArray, dz as Symbol$1, di as isArrayLike, dA as arrayLikeKeys, dB as baseKeys, dC as memoize, dD as isArguments, dE as copyObject, dg as keysIn, dF as getPrototype, dG as cloneArrayBuffer, dH as cloneTypedArray, dI as getTag, dv as baseUnary, dJ as nodeUtil, de as isObject, dK as copyArray, dL as isBuffer, dM as cloneBuffer, dN as initCloneObject, dO as Stack, dm as assignValue, dP as MapCache, dh as eq, dQ as Uint8Array, dR as isTypedArray, dS as isLength, dl as isIndex, dk as identity, dt as baseFor, dT as Set } from "./router-BC8bCsa3.js";
2
2
  var symbolTag$3 = "[object Symbol]";
3
3
  function isSymbol(value) {
4
4
  return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag$3;
@@ -0,0 +1,4 @@
1
+ const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "/Users/runner/work/band/band/apps/web/src/routes/__root.tsx", "children": ["/", "/workspace/$workspaceId"], "preloads": ["/assets/main-B6t1j7Kr.js"], "assets": [{ "tag": "link", "attrs": { "rel": "stylesheet", "href": "/assets/main-i-GTiqUd.css", "type": "text/css" } }] }, "/": { "filePath": "/Users/runner/work/band/band/apps/web/src/routes/index.tsx", "assets": [{ "tag": "link", "attrs": { "rel": "stylesheet", "href": "/assets/main-i-GTiqUd.css", "type": "text/css" } }], "preloads": ["/assets/index-BQhRobL8.js"] }, "/workspace/$workspaceId": { "filePath": "/Users/runner/work/band/band/apps/web/src/routes/workspace.$workspaceId.tsx", "assets": [{ "tag": "link", "attrs": { "rel": "stylesheet", "href": "/assets/main-i-GTiqUd.css", "type": "text/css" } }], "preloads": ["/assets/workspace._workspaceId-Bww_ZNFK.js", "/assets/square-terminal-C3zI_mkt.js"] } }, "clientEntry": "/assets/main-B6t1j7Kr.js" });
2
+ export {
3
+ tsrStartManifest
4
+ };
@@ -1,4 +1,4 @@
1
- import { at as withPath, au as halfPi, av as epsilon, aw as tau, ax as cos, ay as sin, az as min, aA as abs, aB as pi, aC as sqrt, aD as atan2, aE as constant, aF as asin, aG as acos, aH as max } from "./router-hdCv0b-L.js";
1
+ import { at as withPath, au as halfPi, av as epsilon, aw as tau, ax as cos, ay as sin, az as min, aA as abs, aB as pi, aC as sqrt, aD as atan2, aE as constant, aF as asin, aG as acos, aH as max } from "./router-BC8bCsa3.js";
2
2
  function arcInnerRadius(d) {
3
3
  return d.innerRadius;
4
4
  }
@@ -1,6 +1,6 @@
1
- import { e as createArchitectureServices } from "./mermaid-parser.core-B3d8rAVm.js";
2
- import { A } from "./mermaid-parser.core-B3d8rAVm.js";
3
- import "./router-hdCv0b-L.js";
1
+ import { e as createArchitectureServices } from "./mermaid-parser.core-C1UfVEF8.js";
2
+ import { A } from "./mermaid-parser.core-C1UfVEF8.js";
3
+ import "./router-BC8bCsa3.js";
4
4
  import "../server.js";
5
5
  import "node:async_hooks";
6
6
  import "node:stream";
@@ -12,9 +12,9 @@ import "node:stream/web";
12
12
  import "node:process";
13
13
  import "node:path";
14
14
  import "node:url";
15
- import "./_baseUniq-Bb-AXRqu.js";
16
- import "./_basePickBy-BBas4T8q.js";
17
- import "./clone-DVtsQqal.js";
15
+ import "./_baseUniq-DSFYYhGd.js";
16
+ import "./_basePickBy-DVK5KtlH.js";
17
+ import "./clone-BCajbdd5.js";
18
18
  import "path";
19
19
  import "os";
20
20
  import "net";
@@ -1,15 +1,15 @@
1
1
  var _a;
2
- import { _ as __name, ar as selectSvgElement, aW as setupGraphViewbox, W as log, S as setAccTitle, O as getAccTitle, aa as setDiagramTitle, ab as getDiagramTitle, M as getAccDescription, J as setAccDescription, ag as clear, an as cleanAndMerge, ao as defaultConfig_default, ap as getConfig, U as getConfig2, b4 as createText, cd as getIconSVG, a0 as sanitizeText, V as select, af as getEdgeId, ce as registerIconPacks, cf as unknownIcon } from "./router-hdCv0b-L.js";
3
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-iq_ixzMT.js";
4
- import { p as parse } from "./mermaid-parser.core-B3d8rAVm.js";
2
+ import { _ as __name, ar as selectSvgElement, aW as setupGraphViewbox, W as log, S as setAccTitle, O as getAccTitle, aa as setDiagramTitle, ab as getDiagramTitle, M as getAccDescription, J as setAccDescription, ag as clear, an as cleanAndMerge, ao as defaultConfig_default, ap as getConfig, U as getConfig2, b4 as createText, ck as getIconSVG, a0 as sanitizeText, V as select, af as getEdgeId, cl as registerIconPacks, cm as unknownIcon } from "./router-BC8bCsa3.js";
3
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-85OXnz_P.js";
4
+ import { p as parse } from "./mermaid-parser.core-C1UfVEF8.js";
5
5
  import { c as cytoscape$1 } from "./cytoscape.esm-Bm8DJGmZ.js";
6
6
  import { g as getDefaultExportFromCjs } from "../server.js";
7
7
  import "node:process";
8
8
  import "node:path";
9
9
  import "node:url";
10
- import "./_baseUniq-Bb-AXRqu.js";
11
- import "./_basePickBy-BBas4T8q.js";
12
- import "./clone-DVtsQqal.js";
10
+ import "./_baseUniq-DSFYYhGd.js";
11
+ import "./_basePickBy-DVK5KtlH.js";
12
+ import "./clone-BCajbdd5.js";
13
13
  import "util";
14
14
  import "path";
15
15
  import "os";
@@ -1,8 +1,8 @@
1
- import { g as getIconStyles } from "./chunk-FMBD7UC4-CWm7G-kI.js";
2
- import { _ as __name, ap as getConfig, V as select, Y as configureSvgSize, W as log, ag as clear, ai as rgba, b2 as getLineFunctionsWithOffset, aM as line, aU as curveBasis, U as getConfig2, aR as getUrl, b3 as evaluate, b4 as createText, b5 as getSubGraphTitleMargins, a9 as utils_default, a3 as common_default, b6 as replaceIconSubstring, b7 as decodeEntities, a0 as sanitizeText, b8 as getStylesFromArray } from "./router-hdCv0b-L.js";
3
- import { c as clone } from "./clone-DVtsQqal.js";
4
- import { G as Graph } from "./graph-bRh_VJvO.js";
5
- import { c as channel } from "./channel-BakvXn0q.js";
1
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CsuoPD3I.js";
2
+ import { _ as __name, ap as getConfig, V as select, Y as configureSvgSize, W as log, ag as clear, ai as rgba, b2 as getLineFunctionsWithOffset, aM as line, aU as curveBasis, U as getConfig2, aR as getUrl, b3 as evaluate, b4 as createText, b5 as getSubGraphTitleMargins, a9 as utils_default, a3 as common_default, b6 as replaceIconSubstring, b7 as decodeEntities, a0 as sanitizeText, b8 as getStylesFromArray } from "./router-BC8bCsa3.js";
3
+ import { c as clone } from "./clone-BCajbdd5.js";
4
+ import { G as Graph } from "./graph-4bVECaJM.js";
5
+ import { c as channel } from "./channel-C_c7u4ky.js";
6
6
  import "../server.js";
7
7
  import "node:async_hooks";
8
8
  import "node:stream";
@@ -14,7 +14,7 @@ import "node:stream/web";
14
14
  import "node:process";
15
15
  import "node:path";
16
16
  import "node:url";
17
- import "./_baseUniq-Bb-AXRqu.js";
17
+ import "./_baseUniq-DSFYYhGd.js";
18
18
  var parser = (function() {
19
19
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
20
20
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
@@ -1,6 +1,6 @@
1
1
  var _a, _b;
2
- import { g as getNoteRect, d as drawRect } from "./chunk-TZMSLE5B-D374mW8S.js";
3
- import { J as setAccDescription, M as getAccDescription, O as getAccTitle, S as setAccTitle, _ as __name, U as getConfig2, V as select, W as log, Y as configureSvgSize, Z as assignWithDepth_default, $ as calculateTextWidth, a0 as sanitizeText, a1 as distExports, a2 as wrapLabel, a3 as common_default, a4 as calculateTextHeight } from "./router-hdCv0b-L.js";
2
+ import { g as getNoteRect, d as drawRect } from "./chunk-TZMSLE5B-ECyN9wrL.js";
3
+ import { J as setAccDescription, M as getAccDescription, O as getAccTitle, S as setAccTitle, _ as __name, U as getConfig2, V as select, W as log, Y as configureSvgSize, Z as assignWithDepth_default, $ as calculateTextWidth, a0 as sanitizeText, a1 as distExports, a2 as wrapLabel, a3 as common_default, a4 as calculateTextHeight } from "./router-BC8bCsa3.js";
4
4
  import "../server.js";
5
5
  import "node:async_hooks";
6
6
  import "node:stream";
@@ -1,4 +1,4 @@
1
- import { aj as Utils, ak as Color } from "./router-hdCv0b-L.js";
1
+ import { aj as Utils, ak as Color } from "./router-BC8bCsa3.js";
2
2
  const channel = (color, channel2) => {
3
3
  return Utils.lang.round(Color.parse(color)[channel2]);
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as __name } from "./router-hdCv0b-L.js";
1
+ import { _ as __name } from "./router-BC8bCsa3.js";
2
2
  function populateCommonDb(ast, db) {
3
3
  if (ast.accDescr) {
4
4
  db.setAccDescription?.(ast.accDescr);
@@ -1,4 +1,4 @@
1
- import { _ as __name, V as select } from "./router-hdCv0b-L.js";
1
+ import { _ as __name, V as select } from "./router-BC8bCsa3.js";
2
2
  var getDiagramElement = /* @__PURE__ */ __name((id, securityLevel) => {
3
3
  let sandboxElement;
4
4
  if (securityLevel === "sandbox") {
@@ -1,8 +1,8 @@
1
1
  var _a, _b;
2
- import { g as getIconStyles } from "./chunk-FMBD7UC4-CWm7G-kI.js";
3
- import { g as getDiagramElement } from "./chunk-55IACEB6-BTsLLiUt.js";
4
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-C-sH07qa.js";
5
- import { _ as __name, W as log, U as getConfig2, a7 as getRegisteredLayoutAlgorithm, a8 as render, a9 as utils_default, V as select, S as setAccTitle, O as getAccTitle, J as setAccDescription, M as getAccDescription, aa as setDiagramTitle, ab as getDiagramTitle, a3 as common_default, ag as clear, af as getEdgeId, a0 as sanitizeText, aT as parseGenericTypes } from "./router-hdCv0b-L.js";
2
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CsuoPD3I.js";
3
+ import { g as getDiagramElement } from "./chunk-55IACEB6-Cl8taExZ.js";
4
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-BHHMj_a1.js";
5
+ import { _ as __name, W as log, U as getConfig2, a7 as getRegisteredLayoutAlgorithm, a8 as render, a9 as utils_default, V as select, S as setAccTitle, O as getAccTitle, J as setAccDescription, M as getAccDescription, aa as setDiagramTitle, ab as getDiagramTitle, a3 as common_default, ag as clear, af as getEdgeId, a0 as sanitizeText, aT as parseGenericTypes } from "./router-BC8bCsa3.js";
6
6
  var parser = (function() {
7
7
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
8
8
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
@@ -1,7 +1,7 @@
1
1
  var _a;
2
- import { g as getDiagramElement } from "./chunk-55IACEB6-BTsLLiUt.js";
3
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-C-sH07qa.js";
4
- import { _ as __name, W as log, U as getConfig2, a8 as render, a9 as utils_default, O as getAccTitle, S as setAccTitle, M as getAccDescription, J as setAccDescription, aa as setDiagramTitle, ab as getDiagramTitle, aV as generateId, a3 as common_default, ag as clear } from "./router-hdCv0b-L.js";
2
+ import { g as getDiagramElement } from "./chunk-55IACEB6-Cl8taExZ.js";
3
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-BHHMj_a1.js";
4
+ import { _ as __name, W as log, U as getConfig2, a8 as render, a9 as utils_default, O as getAccTitle, S as setAccTitle, M as getAccDescription, J as setAccDescription, aa as setDiagramTitle, ab as getDiagramTitle, aV as generateId, a3 as common_default, ag as clear } from "./router-BC8bCsa3.js";
5
5
  var parser = (function() {
6
6
  var o = /* @__PURE__ */ __name(function(k, v, o2, l) {
7
7
  for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v) ;
@@ -1,4 +1,4 @@
1
- import { _ as __name } from "./router-hdCv0b-L.js";
1
+ import { _ as __name } from "./router-BC8bCsa3.js";
2
2
  var getIconStyles = /* @__PURE__ */ __name(() => `
3
3
  /* Font Awesome icon styling - consolidated */
4
4
  .label-icon {
@@ -1,4 +1,4 @@
1
- import { _ as __name, Y as configureSvgSize, W as log } from "./router-hdCv0b-L.js";
1
+ import { _ as __name, Y as configureSvgSize, W as log } from "./router-BC8bCsa3.js";
2
2
  var setupViewPortForSVG = /* @__PURE__ */ __name((svg, padding, cssDiagram, useMaxWidth) => {
3
3
  svg.attr("class", cssDiagram);
4
4
  const { width, height, x, y } = calculateDimensionsWithPadding(svg, padding);
@@ -1,5 +1,5 @@
1
1
  var _a;
2
- import { _ as __name } from "./router-hdCv0b-L.js";
2
+ import { _ as __name } from "./router-BC8bCsa3.js";
3
3
  var ImperativeState = (_a = class {
4
4
  /**
5
5
  * @param init - Function that creates the default state.