@band-app/server 0.16.9 → 0.17.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 (204) hide show
  1. package/dist/client/assets/DockviewBrowserContainer-B_oEene2.js +5 -0
  2. package/dist/client/assets/DockviewTerminalContainer-CfQMvR_k.js +2 -0
  3. package/dist/client/assets/TerminalPanel-DxZK0ClB.js +5 -0
  4. package/dist/client/assets/{_basePickBy-uVqvgsJc.js → _basePickBy-Ct-e0Qqq.js} +1 -1
  5. package/dist/client/assets/{_baseUniq-7i7L1uNE.js → _baseUniq-CxKOXF1k.js} +1 -1
  6. package/dist/client/assets/arc-CKSDLbJ_.js +1 -0
  7. package/dist/client/assets/architectureDiagram-VXUJARFQ-DX7YfptV.js +36 -0
  8. package/dist/client/assets/{blockDiagram-VD42YOAC-CXQSSz3O.js → blockDiagram-VD42YOAC-CsuIx-c9.js} +5 -5
  9. package/dist/client/assets/{c4Diagram-YG6GDRKO-DplRXCR2.js → c4Diagram-YG6GDRKO-DychwT1W.js} +3 -3
  10. package/dist/client/assets/channel-B-u6m7I1.js +1 -0
  11. package/dist/client/assets/chunk-4BX2VUAB-loz8MPPD.js +1 -0
  12. package/dist/client/assets/chunk-55IACEB6-D29ChrqC.js +1 -0
  13. package/dist/client/assets/{chunk-B4BG7PRW-DlN9tUxh.js → chunk-B4BG7PRW-DKCONMEK.js} +6 -6
  14. package/dist/client/assets/{chunk-DI55MBZ5-a11zyhq4.js → chunk-DI55MBZ5-D5zzjeE8.js} +1 -1
  15. package/dist/client/assets/{chunk-FMBD7UC4-aGGVV1yn.js → chunk-FMBD7UC4-D1xESdhD.js} +1 -1
  16. package/dist/client/assets/chunk-QN33PNHL-DXisPMUT.js +1 -0
  17. package/dist/client/assets/chunk-QZHKN3VN-Ch8ZVx4Y.js +1 -0
  18. package/dist/client/assets/chunk-TZMSLE5B-GuM5n4Rs.js +1 -0
  19. package/dist/client/assets/classDiagram-2ON5EDUG-ZLOOfEOW.js +1 -0
  20. package/dist/client/assets/classDiagram-v2-WZHVMYZB-ZLOOfEOW.js +1 -0
  21. package/dist/client/assets/clone-CDLv4lRU.js +1 -0
  22. package/dist/client/assets/cose-bilkent-S5V4N54A-Cf0f3nH9.js +1 -0
  23. package/dist/client/assets/dagre-6UL2VRFP-BEjucV14.js +4 -0
  24. package/dist/client/assets/diagram-PSM6KHXK-4UTMLb3J.js +24 -0
  25. package/dist/client/assets/diagram-QEK2KX5R-B9rhi9zE.js +43 -0
  26. package/dist/client/assets/diagram-S2PKOQOG-CS7F4WJO.js +24 -0
  27. package/dist/client/assets/{erDiagram-Q2GNP2WA-kUd-gmjz.js → erDiagram-Q2GNP2WA-D-EqIR9o.js} +4 -4
  28. package/dist/client/assets/{flowDiagram-NV44I4VS-CHbLqCKB.js → flowDiagram-NV44I4VS-_GH1A_sS.js} +5 -5
  29. package/dist/client/assets/ganttDiagram-JELNMOA3-Dtb6N1ze.js +267 -0
  30. package/dist/client/assets/gitGraphDiagram-V2S2FVAM-B_QsP5ak.js +65 -0
  31. package/dist/client/assets/{graph-CSi_akmB.js → graph-H6OCDpse.js} +1 -1
  32. package/dist/client/assets/highlighted-body-B3W2YXNL-Pz2rshlt.js +1 -0
  33. package/dist/client/assets/index-B-KsZlI_.js +1 -0
  34. package/dist/client/assets/{index-udv0M-ix.js → index-BCbe81ki.js} +2 -2
  35. package/dist/client/assets/index-BOdifnXB.js +1 -0
  36. package/dist/client/assets/{index-BPf6S9f1.js → index-BQW7Zpk7.js} +1 -1
  37. package/dist/client/assets/index-BX_7-t5E.js +1 -0
  38. package/dist/client/assets/{index-B0ZcEU4c.js → index-BktK8Iwc.js} +1 -1
  39. package/dist/client/assets/{index-C-6dsPog.js → index-BtEs1oEp.js} +1 -1
  40. package/dist/client/assets/{index-T_1b5WRg.js → index-BtajlvkF.js} +1 -1
  41. package/dist/client/assets/{index-CNQHGhCu.js → index-Bx3rRbZG.js} +1 -1
  42. package/dist/client/assets/{index-DfHcm4JM.js → index-C6MgAn1q.js} +1 -1
  43. package/dist/client/assets/{index-C4ee_PQ0.js → index-CzCjpAqZ.js} +5 -5
  44. package/dist/client/assets/{index-oolizINO.js → index-DQAckahj.js} +1 -1
  45. package/dist/client/assets/index-DaRnNd02.js +7 -0
  46. package/dist/client/assets/{index-BJP1qdPz.js → index-Im7rGMYn.js} +1 -1
  47. package/dist/client/assets/{index-CA1NuCd_.js → index-WmGuuT8Z.js} +1 -1
  48. package/dist/client/assets/{index-C-3PAt1d.js → index-aTt3zXBv.js} +1 -1
  49. package/dist/client/assets/{index-5X7JRvnK.js → index-nPplcWzt.js} +1 -1
  50. package/dist/client/assets/{index-spwNnd85.js → index-vaGaAlmP.js} +1 -1
  51. package/dist/client/assets/infoDiagram-HS3SLOUP-Dp2iuUeA.js +2 -0
  52. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-DIY8FE8Z.js → journeyDiagram-XKPGCS4Q-BaVzrE3V.js} +3 -3
  53. package/dist/client/assets/{kanban-definition-3W4ZIXB7-Cd_JJ8FN.js → kanban-definition-3W4ZIXB7-DdbWsnm7.js} +8 -8
  54. package/dist/client/assets/{layout-Bhb5FQCr.js → layout-vxWf40Ht.js} +1 -1
  55. package/dist/client/assets/{linear-Cmk2RyH_.js → linear-BstrgKy8.js} +1 -1
  56. package/dist/client/assets/{main-BlRcPsmZ.js → main-DRq9Axai.js} +227 -226
  57. package/dist/client/assets/main-evBJruhw.css +1 -0
  58. package/dist/client/assets/{mindmap-definition-VGOIOE7T-B-WhBVeY.js → mindmap-definition-VGOIOE7T-CAEEMYhK.js} +3 -3
  59. package/dist/client/assets/pieDiagram-ADFJNKIX-DCNv4UlO.js +30 -0
  60. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-DHBoMUCQ.js → quadrantDiagram-AYHSOK5B-BeP4t0hp.js} +2 -2
  61. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-DjS5RONh.js → requirementDiagram-UZGBJVZJ-CAdiLb_M.js} +2 -2
  62. package/dist/client/assets/sankeyDiagram-TZEHDZUN-DW9xKT5Y.js +10 -0
  63. package/dist/client/assets/{sequenceDiagram-WL72ISMW-CzqbRfb_.js → sequenceDiagram-WL72ISMW-D9y8fK_R.js} +1 -1
  64. package/dist/client/assets/{square-terminal-CNHJa6OY.js → square-terminal-VjG9-RoZ.js} +1 -1
  65. package/dist/client/assets/stateDiagram-FKZM4ZOC-QYuyBeVm.js +1 -0
  66. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-VVONI0Hb.js +1 -0
  67. package/dist/client/assets/{timeline-definition-IT6M3QCI-CNKMKDwq.js → timeline-definition-IT6M3QCI-Ci_SXZdO.js} +4 -4
  68. package/dist/client/assets/{treemap-GDKQZRPO-DCEPrZh7.js → treemap-GDKQZRPO-fDacl-jS.js} +1 -1
  69. package/dist/client/assets/workspace._workspaceId-C9BVWo6-.js +2 -0
  70. package/dist/client/assets/workspace._workspaceId-CMlw9wn8.js +1 -0
  71. package/dist/client/assets/{xychartDiagram-PRI3JC2R-Cr18I3A3.js → xychartDiagram-PRI3JC2R-rRpBADcB.js} +4 -4
  72. package/dist/migrations/20260525163504_add_projects_has_origin/migration.sql +1 -0
  73. package/dist/migrations/20260525163504_add_projects_has_origin/snapshot.json +866 -0
  74. package/dist/openapi.json +414 -4
  75. package/dist/server/assets/{DockviewBrowserContainer-Bm7ARaqd.js → DockviewBrowserContainer-BAe7TLKD.js} +42 -22
  76. package/dist/server/assets/{DockviewTerminalContainer-BbMZgBJ8.js → DockviewTerminalContainer-CC7i0yMZ.js} +44 -24
  77. package/dist/server/assets/{TerminalPanel-BmhYCf33.js → TerminalPanel-gBh8VBn0.js} +1 -1
  78. package/dist/server/assets/{_basePickBy-C7CNOUDi.js → _basePickBy-CTks6QXq.js} +2 -2
  79. package/dist/server/assets/{_baseUniq-DeF47vVO.js → _baseUniq-BJI4qneQ.js} +1 -1
  80. package/dist/server/assets/_tanstack-start-manifest_v-CfuSyuIp.js +4 -0
  81. package/dist/server/assets/{arc-P5FY7IYH.js → arc-Fdc_l0PB.js} +1 -1
  82. package/dist/server/assets/{architecture-7HQA4BMR-LvprLHYS.js → architecture-7HQA4BMR-CfPXboDr.js} +6 -6
  83. package/dist/server/assets/{architectureDiagram-VXUJARFQ-Br4iiUzH.js → architectureDiagram-VXUJARFQ-D6UEkzy_.js} +6 -6
  84. package/dist/server/assets/{blockDiagram-VD42YOAC-BahODDhX.js → blockDiagram-VD42YOAC-BvasIENt.js} +6 -6
  85. package/dist/server/assets/{c4Diagram-YG6GDRKO-CQcZX6cr.js → c4Diagram-YG6GDRKO-MW5H9zoJ.js} +2 -2
  86. package/dist/server/assets/{channel-BmAB_ZKU.js → channel-XhTiPor2.js} +1 -1
  87. package/dist/server/assets/{chunk-4BX2VUAB-YUvszr4w.js → chunk-4BX2VUAB-C6POw9HJ.js} +1 -1
  88. package/dist/server/assets/{chunk-55IACEB6-BUgBPiJd.js → chunk-55IACEB6-BZ0x-UQb.js} +1 -1
  89. package/dist/server/assets/{chunk-B4BG7PRW-BxuWeZlV.js → chunk-B4BG7PRW-BAYqNQHL.js} +4 -4
  90. package/dist/server/assets/{chunk-DI55MBZ5-DuGkdvte.js → chunk-DI55MBZ5-DbsR50vR.js} +3 -3
  91. package/dist/server/assets/{chunk-FMBD7UC4-qY-BVG34.js → chunk-FMBD7UC4-D_KXTL87.js} +1 -1
  92. package/dist/server/assets/{chunk-QN33PNHL-BM_oi8-e.js → chunk-QN33PNHL-RXXHu7T0.js} +1 -1
  93. package/dist/server/assets/{chunk-QZHKN3VN-BL6_-at8.js → chunk-QZHKN3VN-5QE6weTd.js} +1 -1
  94. package/dist/server/assets/{chunk-TZMSLE5B-38NhX5at.js → chunk-TZMSLE5B-HlRXkCDZ.js} +1 -1
  95. package/dist/server/assets/{classDiagram-v2-WZHVMYZB-CwIsZ53p.js → classDiagram-2ON5EDUG-B90fR_EV.js} +5 -5
  96. package/dist/server/assets/{classDiagram-2ON5EDUG-CwIsZ53p.js → classDiagram-v2-WZHVMYZB-B90fR_EV.js} +5 -5
  97. package/dist/server/assets/{clone-BXHuGM8i.js → clone-Bjcb6OQr.js} +1 -1
  98. package/dist/server/assets/{cose-bilkent-S5V4N54A-D1CdgGvI.js → cose-bilkent-S5V4N54A-BgnWrjAl.js} +1 -1
  99. package/dist/server/assets/{dagre-6UL2VRFP-UMvdMLG3.js → dagre-6UL2VRFP-LfRXD26Q.js} +6 -6
  100. package/dist/server/assets/{diagram-PSM6KHXK-DtOD93m7.js → diagram-PSM6KHXK-DLrJ9Eja.js} +7 -7
  101. package/dist/server/assets/{diagram-QEK2KX5R-DViyYq-y.js → diagram-QEK2KX5R-atbHIh96.js} +6 -6
  102. package/dist/server/assets/{diagram-S2PKOQOG-C42mRVEn.js → diagram-S2PKOQOG-BnxctnIJ.js} +6 -6
  103. package/dist/server/assets/{erDiagram-Q2GNP2WA-D14z9IvB.js → erDiagram-Q2GNP2WA-Ct1zXovC.js} +4 -4
  104. package/dist/server/assets/{flowDiagram-NV44I4VS-BYBNOZwM.js → flowDiagram-NV44I4VS-DtWHb6Ay.js} +5 -5
  105. package/dist/server/assets/{ganttDiagram-JELNMOA3-CaG3uoK-.js → ganttDiagram-JELNMOA3-CySyldy4.js} +2 -2
  106. package/dist/server/assets/{gitGraph-G5XIXVHT-Dsx3dV0R.js → gitGraph-G5XIXVHT-DFo7FJzL.js} +6 -6
  107. package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-CrSfx7b3.js → gitGraphDiagram-V2S2FVAM-DvT5EUG7.js} +7 -7
  108. package/dist/server/assets/{graph-gBFInK6H.js → graph-B5XlkLf_.js} +2 -2
  109. package/dist/server/assets/{highlighted-body-B3W2YXNL-DjTWk17l.js → highlighted-body-B3W2YXNL-CLJWhRU_.js} +1 -1
  110. package/dist/server/assets/{index-C3N_Nx6h.js → index--4MijjkY.js} +2 -2
  111. package/dist/server/assets/{index-C245EJn1.js → index-4SOjxyuO.js} +2 -2
  112. package/dist/server/assets/{index-3wtbr7va.js → index-BQ5LDgRA.js} +3 -3
  113. package/dist/server/assets/{index-CD97pPmc.js → index-BanzNq86.js} +1 -1
  114. package/dist/server/assets/{index-2gWBdIrR.js → index-BvJzvUfR.js} +2 -2
  115. package/dist/server/assets/{index-B84Urg23.js → index-C2GzB22l.js} +2 -2
  116. package/dist/server/assets/{index-QxgXX0fb.js → index-CAJcSCqE.js} +2 -2
  117. package/dist/server/assets/{index-Bs6a6-xI.js → index-CLUle2oh.js} +5 -5
  118. package/dist/server/assets/{index-5N2Gh0ba.js → index-CMO4FLK_.js} +2 -2
  119. package/dist/server/assets/{index-6Zof9vm8.js → index-CXMNOcuN.js} +1 -1
  120. package/dist/server/assets/{index-Dv-16VYI.js → index-CXmMBSCL.js} +2 -2
  121. package/dist/server/assets/{index-DXgP0Lsu.js → index-CdgmRfZg.js} +2 -2
  122. package/dist/server/assets/{index-CwQ5qWPC.js → index-DJ8A5E65.js} +5 -5
  123. package/dist/server/assets/{index-DZZ6NiTf.js → index-DjySh3G7.js} +3 -3
  124. package/dist/server/assets/{index-Bd5jTryJ.js → index-DuXjusjn.js} +2 -2
  125. package/dist/server/assets/{index-DsGPaWHg.js → index-QiPzMfSX.js} +2 -2
  126. package/dist/server/assets/{index-Bw42FDwO.js → index-SuLB6TaE.js} +2 -2
  127. package/dist/server/assets/{index-egmIrLx2.js → index-bmq-aMYV.js} +4 -4
  128. package/dist/server/assets/{info-VBDWY6EO-CueOsYFZ.js → info-VBDWY6EO-CW57QiJi.js} +6 -6
  129. package/dist/server/assets/{infoDiagram-HS3SLOUP-CeyMzohL.js → infoDiagram-HS3SLOUP-D_Zdx-MM.js} +5 -5
  130. package/dist/server/assets/{journeyDiagram-XKPGCS4Q-ANqeM_TM.js → journeyDiagram-XKPGCS4Q-BcO9qzr2.js} +4 -4
  131. package/dist/server/assets/{kanban-definition-3W4ZIXB7-B0RkH45q.js → kanban-definition-3W4ZIXB7-BatZ7RKG.js} +2 -2
  132. package/dist/server/assets/{layout-JjP5jdu6.js → layout-Cwuj9CwZ.js} +4 -4
  133. package/dist/server/assets/{linear-BJgoq5J4.js → linear-CP3xC85V.js} +1 -1
  134. package/dist/server/assets/{mermaid-3ZIDBTTL-CFPuUseQ.js → mermaid-3ZIDBTTL-BZm8jQDo.js} +1 -1
  135. package/dist/server/assets/{mermaid-parser.core-CKKZ1VFr.js → mermaid-parser.core-Cx17C8XR.js} +11 -11
  136. package/dist/server/assets/{mindmap-definition-VGOIOE7T-DlEXF5z8.js → mindmap-definition-VGOIOE7T-CpzqFomk.js} +3 -3
  137. package/dist/server/assets/{packet-DYOGHKS2-CvyxHTRM.js → packet-DYOGHKS2-x3ihoqUO.js} +6 -6
  138. package/dist/server/assets/{pie-VRWISCQL-DfpVZlpC.js → pie-VRWISCQL-DsMBDe8r.js} +6 -6
  139. package/dist/server/assets/{pieDiagram-ADFJNKIX-CWkrHsNk.js → pieDiagram-ADFJNKIX-DI4Hh6KE.js} +7 -7
  140. package/dist/server/assets/{quadrantDiagram-AYHSOK5B-C25p2xz7.js → quadrantDiagram-AYHSOK5B-Cqc_vrUG.js} +2 -2
  141. package/dist/server/assets/{radar-ZZBFDIW7-DWqPsDMi.js → radar-ZZBFDIW7-CqwCJm3D.js} +6 -6
  142. package/dist/server/assets/{requirementDiagram-UZGBJVZJ-ACRVXQGO.js → requirementDiagram-UZGBJVZJ-96ab-40P.js} +3 -3
  143. package/dist/server/assets/{router-GhGSLKfP.js → router-CYNdQEN4.js} +1116 -579
  144. package/dist/server/assets/{sankeyDiagram-TZEHDZUN-uzNSHudY.js → sankeyDiagram-TZEHDZUN-Bux2-BQd.js} +1 -1
  145. package/dist/server/assets/{sequenceDiagram-WL72ISMW-C_wFtq8b.js → sequenceDiagram-WL72ISMW-CFKyfvmC.js} +3 -3
  146. package/dist/server/assets/{square-terminal-cghvb5Il.js → square-terminal-gVSeBp7-.js} +1 -1
  147. package/dist/server/assets/{stateDiagram-FKZM4ZOC-B9MGwsuS.js → stateDiagram-FKZM4ZOC-DGZQd18J.js} +8 -8
  148. package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-CLHd8oUa.js → stateDiagram-v2-4FDKWEC3-DJXeLDOB.js} +4 -4
  149. package/dist/server/assets/{timeline-definition-IT6M3QCI-CqKot5RT.js → timeline-definition-IT6M3QCI-DzTJZPN5.js} +2 -2
  150. package/dist/server/assets/{treemap-GDKQZRPO-mMRojqRQ.js → treemap-GDKQZRPO-CD9jkQrA.js} +6 -6
  151. package/dist/server/assets/workspace._workspaceId-ClAAZ5aq.js +23 -0
  152. package/dist/server/assets/{workspace._workspaceId-DwsRTXCg.js → workspace._workspaceId-DT6Kz8RH.js} +125 -97
  153. package/dist/server/assets/{xychartDiagram-PRI3JC2R-j8PckQEj.js → xychartDiagram-PRI3JC2R-ByA0_p8p.js} +2 -2
  154. package/dist/server/server.js +2 -2
  155. package/dist/start-server.mjs +489 -242
  156. package/package.json +4 -4
  157. package/dist/client/assets/DockviewBrowserContainer-CCBAkU1p.js +0 -5
  158. package/dist/client/assets/DockviewTerminalContainer-B9hdDoMz.js +0 -2
  159. package/dist/client/assets/TerminalPanel-BKfWmj6W.js +0 -5
  160. package/dist/client/assets/arc-DiYEQGs3.js +0 -1
  161. package/dist/client/assets/architectureDiagram-VXUJARFQ-C5z8L1iK.js +0 -36
  162. package/dist/client/assets/channel-BnMJuhcI.js +0 -1
  163. package/dist/client/assets/chunk-4BX2VUAB-B4Mk_d7A.js +0 -1
  164. package/dist/client/assets/chunk-55IACEB6-B0hf8Eje.js +0 -1
  165. package/dist/client/assets/chunk-QN33PNHL-Dit4S-yJ.js +0 -1
  166. package/dist/client/assets/chunk-QZHKN3VN-L-h1VSi0.js +0 -1
  167. package/dist/client/assets/chunk-TZMSLE5B-DpK-hWaC.js +0 -1
  168. package/dist/client/assets/classDiagram-2ON5EDUG-D89oCSXI.js +0 -1
  169. package/dist/client/assets/classDiagram-v2-WZHVMYZB-D89oCSXI.js +0 -1
  170. package/dist/client/assets/clone-X7FA7kE2.js +0 -1
  171. package/dist/client/assets/cose-bilkent-S5V4N54A-CzoIK-3W.js +0 -1
  172. package/dist/client/assets/dagre-6UL2VRFP-BhfXeb7k.js +0 -4
  173. package/dist/client/assets/diagram-PSM6KHXK-BwFVwR1b.js +0 -24
  174. package/dist/client/assets/diagram-QEK2KX5R-BO-CEopy.js +0 -43
  175. package/dist/client/assets/diagram-S2PKOQOG-BxiH83lN.js +0 -24
  176. package/dist/client/assets/ganttDiagram-JELNMOA3-B7gBcAFl.js +0 -267
  177. package/dist/client/assets/gitGraphDiagram-V2S2FVAM-gca_jqKQ.js +0 -65
  178. package/dist/client/assets/highlighted-body-B3W2YXNL-C2a-lsk8.js +0 -1
  179. package/dist/client/assets/index-2F-slvqo.js +0 -1
  180. package/dist/client/assets/index-C4PISrIW.js +0 -1
  181. package/dist/client/assets/index-CiKTedrx.js +0 -1
  182. package/dist/client/assets/index-DNrK0iIn.js +0 -7
  183. package/dist/client/assets/infoDiagram-HS3SLOUP-BK3MmhkJ.js +0 -2
  184. package/dist/client/assets/main-BLOY6Nam.css +0 -1
  185. package/dist/client/assets/pieDiagram-ADFJNKIX-CYoHsaM9.js +0 -30
  186. package/dist/client/assets/sankeyDiagram-TZEHDZUN-DmhEbBY-.js +0 -10
  187. package/dist/client/assets/stateDiagram-FKZM4ZOC-CafvdTb3.js +0 -1
  188. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BkKHK-CQ.js +0 -1
  189. package/dist/client/assets/useSessionListContext-xer-Wcmf.js +0 -1
  190. package/dist/client/assets/workspace._workspaceId-CgG1n_1x.js +0 -1
  191. package/dist/client/assets/workspace._workspaceId.changes-BKX7lUhX.js +0 -1
  192. package/dist/client/assets/workspace._workspaceId.code-BcnxRdZi.js +0 -1
  193. package/dist/client/assets/workspace._workspaceId.code._-BbOt6tOD.js +0 -1
  194. package/dist/client/assets/workspace._workspaceId.code.index-DC2535x-.js +0 -1
  195. package/dist/client/assets/workspace._workspaceId.index-CNjq1nDf.js +0 -1
  196. package/dist/client/assets/workspace._workspaceId.terminal-DhYn8I5t.js +0 -2
  197. package/dist/server/assets/_tanstack-start-manifest_v-BNCQ-izx.js +0 -4
  198. package/dist/server/assets/useSessionListContext-D_vX6E2e.js +0 -23
  199. package/dist/server/assets/workspace._workspaceId.changes-C6vwSbUh.js +0 -38
  200. package/dist/server/assets/workspace._workspaceId.code-Cuj0zH98.js +0 -12
  201. package/dist/server/assets/workspace._workspaceId.code._-BJdg1-Gs.js +0 -44
  202. package/dist/server/assets/workspace._workspaceId.code.index-CE_CMD_I.js +0 -36
  203. package/dist/server/assets/workspace._workspaceId.index-BPhXMwl8.js +0 -112
  204. package/dist/server/assets/workspace._workspaceId.terminal-BdVDaWNH.js +0 -24
package/dist/openapi.json CHANGED
@@ -322,6 +322,9 @@
322
322
  "git",
323
323
  "plain"
324
324
  ]
325
+ },
326
+ "hasOrigin": {
327
+ "type": "boolean"
325
328
  }
326
329
  },
327
330
  "required": [
@@ -330,7 +333,8 @@
330
333
  "defaultBranch",
331
334
  "worktrees",
332
335
  "label",
333
- "kind"
336
+ "kind",
337
+ "hasOrigin"
334
338
  ],
335
339
  "additionalProperties": false
336
340
  }
@@ -4813,6 +4817,412 @@
4813
4817
  }
4814
4818
  }
4815
4819
  },
4820
+ "/services.resourcesServer": {
4821
+ "get": {
4822
+ "operationId": "services.resourcesServer",
4823
+ "tags": [
4824
+ "services"
4825
+ ],
4826
+ "responses": {
4827
+ "200": {
4828
+ "description": "Successful response",
4829
+ "content": {
4830
+ "application/json": {
4831
+ "schema": {
4832
+ "type": "object",
4833
+ "properties": {
4834
+ "result": {
4835
+ "type": "object",
4836
+ "properties": {
4837
+ "data": {
4838
+ "type": "object",
4839
+ "properties": {
4840
+ "pid": {
4841
+ "type": "number"
4842
+ },
4843
+ "uptimeSeconds": {
4844
+ "type": "number"
4845
+ },
4846
+ "nodeVersion": {
4847
+ "type": "string"
4848
+ },
4849
+ "platform": {
4850
+ "type": "string",
4851
+ "enum": [
4852
+ "aix",
4853
+ "android",
4854
+ "darwin",
4855
+ "freebsd",
4856
+ "haiku",
4857
+ "linux",
4858
+ "openbsd",
4859
+ "sunos",
4860
+ "win32",
4861
+ "cygwin",
4862
+ "netbsd"
4863
+ ]
4864
+ },
4865
+ "arch": {
4866
+ "type": "string",
4867
+ "enum": [
4868
+ "arm",
4869
+ "arm64",
4870
+ "ia32",
4871
+ "loong64",
4872
+ "mips",
4873
+ "mipsel",
4874
+ "ppc",
4875
+ "ppc64",
4876
+ "riscv64",
4877
+ "s390",
4878
+ "s390x",
4879
+ "x64"
4880
+ ]
4881
+ },
4882
+ "memory": {
4883
+ "type": "object",
4884
+ "properties": {
4885
+ "rssBytes": {
4886
+ "type": "number"
4887
+ },
4888
+ "heapTotalBytes": {
4889
+ "type": "number"
4890
+ },
4891
+ "heapUsedBytes": {
4892
+ "type": "number"
4893
+ },
4894
+ "externalBytes": {
4895
+ "type": "number"
4896
+ },
4897
+ "arrayBuffersBytes": {
4898
+ "type": "number"
4899
+ }
4900
+ },
4901
+ "required": [
4902
+ "rssBytes",
4903
+ "heapTotalBytes",
4904
+ "heapUsedBytes",
4905
+ "externalBytes",
4906
+ "arrayBuffersBytes"
4907
+ ],
4908
+ "additionalProperties": false
4909
+ },
4910
+ "cpu": {
4911
+ "type": "object",
4912
+ "properties": {
4913
+ "userMicros": {
4914
+ "type": "number"
4915
+ },
4916
+ "systemMicros": {
4917
+ "type": "number"
4918
+ }
4919
+ },
4920
+ "required": [
4921
+ "userMicros",
4922
+ "systemMicros"
4923
+ ],
4924
+ "additionalProperties": false
4925
+ }
4926
+ },
4927
+ "required": [
4928
+ "pid",
4929
+ "uptimeSeconds",
4930
+ "nodeVersion",
4931
+ "platform",
4932
+ "arch",
4933
+ "memory",
4934
+ "cpu"
4935
+ ],
4936
+ "additionalProperties": false
4937
+ }
4938
+ },
4939
+ "required": [
4940
+ "data"
4941
+ ]
4942
+ }
4943
+ },
4944
+ "required": [
4945
+ "result"
4946
+ ]
4947
+ }
4948
+ }
4949
+ }
4950
+ },
4951
+ "default": {
4952
+ "$ref": "#/components/responses/Error"
4953
+ }
4954
+ }
4955
+ }
4956
+ },
4957
+ "/services.resourcesProjects": {
4958
+ "get": {
4959
+ "operationId": "services.resourcesProjects",
4960
+ "tags": [
4961
+ "services"
4962
+ ],
4963
+ "responses": {
4964
+ "200": {
4965
+ "description": "Successful response",
4966
+ "content": {
4967
+ "application/json": {
4968
+ "schema": {
4969
+ "type": "object",
4970
+ "properties": {
4971
+ "result": {
4972
+ "type": "object",
4973
+ "properties": {
4974
+ "data": {
4975
+ "type": "object",
4976
+ "properties": {
4977
+ "projects": {
4978
+ "type": "array",
4979
+ "items": {
4980
+ "type": "object",
4981
+ "properties": {
4982
+ "project": {
4983
+ "type": "string"
4984
+ },
4985
+ "path": {
4986
+ "type": "string"
4987
+ },
4988
+ "worktrees": {
4989
+ "type": "array",
4990
+ "items": {
4991
+ "type": "object",
4992
+ "properties": {
4993
+ "branch": {
4994
+ "type": "string"
4995
+ },
4996
+ "path": {
4997
+ "type": "string"
4998
+ }
4999
+ },
5000
+ "required": [
5001
+ "branch",
5002
+ "path"
5003
+ ],
5004
+ "additionalProperties": false
5005
+ }
5006
+ },
5007
+ "error": {
5008
+ "type": "string"
5009
+ }
5010
+ },
5011
+ "required": [
5012
+ "project",
5013
+ "path",
5014
+ "worktrees",
5015
+ "error"
5016
+ ],
5017
+ "additionalProperties": false
5018
+ }
5019
+ }
5020
+ },
5021
+ "required": [
5022
+ "projects"
5023
+ ],
5024
+ "additionalProperties": false
5025
+ }
5026
+ },
5027
+ "required": [
5028
+ "data"
5029
+ ]
5030
+ }
5031
+ },
5032
+ "required": [
5033
+ "result"
5034
+ ]
5035
+ }
5036
+ }
5037
+ }
5038
+ },
5039
+ "default": {
5040
+ "$ref": "#/components/responses/Error"
5041
+ }
5042
+ }
5043
+ }
5044
+ },
5045
+ "/services.resourcesProjectSize": {
5046
+ "get": {
5047
+ "operationId": "services.resourcesProjectSize",
5048
+ "tags": [
5049
+ "services"
5050
+ ],
5051
+ "responses": {
5052
+ "200": {
5053
+ "description": "Successful response",
5054
+ "content": {
5055
+ "application/json": {
5056
+ "schema": {
5057
+ "type": "object",
5058
+ "properties": {
5059
+ "result": {
5060
+ "type": "object",
5061
+ "properties": {
5062
+ "data": {
5063
+ "oneOf": [
5064
+ {
5065
+ "type": "object",
5066
+ "properties": {
5067
+ "project": {
5068
+ "type": "string"
5069
+ },
5070
+ "sizeBytes": {
5071
+ "type": "number"
5072
+ },
5073
+ "worktrees": {
5074
+ "type": "array",
5075
+ "items": {
5076
+ "type": "object",
5077
+ "properties": {
5078
+ "branch": {
5079
+ "type": "string"
5080
+ },
5081
+ "path": {
5082
+ "type": "string"
5083
+ },
5084
+ "sizeBytes": {
5085
+ "type": "number"
5086
+ },
5087
+ "error": {
5088
+ "type": "string"
5089
+ }
5090
+ },
5091
+ "required": [
5092
+ "branch",
5093
+ "path",
5094
+ "sizeBytes"
5095
+ ],
5096
+ "additionalProperties": false
5097
+ }
5098
+ },
5099
+ "error": {
5100
+ "type": "string"
5101
+ }
5102
+ },
5103
+ "required": [
5104
+ "project",
5105
+ "sizeBytes",
5106
+ "worktrees",
5107
+ "error"
5108
+ ],
5109
+ "additionalProperties": false
5110
+ },
5111
+ {
5112
+ "type": "object",
5113
+ "properties": {
5114
+ "project": {
5115
+ "type": "string"
5116
+ },
5117
+ "sizeBytes": {
5118
+ "type": "number"
5119
+ },
5120
+ "worktrees": {
5121
+ "type": "array",
5122
+ "items": {
5123
+ "oneOf": [
5124
+ {
5125
+ "type": "object",
5126
+ "properties": {
5127
+ "branch": {
5128
+ "type": "string"
5129
+ },
5130
+ "path": {
5131
+ "type": "string"
5132
+ },
5133
+ "sizeBytes": {
5134
+ "type": "number"
5135
+ },
5136
+ "error": {}
5137
+ },
5138
+ "required": [
5139
+ "branch",
5140
+ "path",
5141
+ "sizeBytes"
5142
+ ],
5143
+ "additionalProperties": false
5144
+ },
5145
+ {
5146
+ "type": "object",
5147
+ "properties": {
5148
+ "branch": {
5149
+ "type": "string"
5150
+ },
5151
+ "path": {
5152
+ "type": "string"
5153
+ },
5154
+ "sizeBytes": {
5155
+ "type": "number"
5156
+ },
5157
+ "error": {
5158
+ "type": "string"
5159
+ }
5160
+ },
5161
+ "required": [
5162
+ "branch",
5163
+ "path",
5164
+ "sizeBytes",
5165
+ "error"
5166
+ ],
5167
+ "additionalProperties": false
5168
+ }
5169
+ ]
5170
+ }
5171
+ },
5172
+ "error": {}
5173
+ },
5174
+ "required": [
5175
+ "project",
5176
+ "sizeBytes",
5177
+ "worktrees"
5178
+ ],
5179
+ "additionalProperties": false
5180
+ }
5181
+ ]
5182
+ }
5183
+ },
5184
+ "required": [
5185
+ "data"
5186
+ ]
5187
+ }
5188
+ },
5189
+ "required": [
5190
+ "result"
5191
+ ]
5192
+ }
5193
+ }
5194
+ }
5195
+ },
5196
+ "default": {
5197
+ "$ref": "#/components/responses/Error"
5198
+ }
5199
+ },
5200
+ "parameters": [
5201
+ {
5202
+ "name": "input",
5203
+ "in": "query",
5204
+ "required": true,
5205
+ "style": "deepObject",
5206
+ "content": {
5207
+ "application/json": {
5208
+ "schema": {
5209
+ "type": "object",
5210
+ "properties": {
5211
+ "project": {
5212
+ "type": "string"
5213
+ }
5214
+ },
5215
+ "required": [
5216
+ "project"
5217
+ ],
5218
+ "additionalProperties": false
5219
+ }
5220
+ }
5221
+ }
5222
+ }
5223
+ ]
5224
+ }
5225
+ },
4816
5226
  "/chat.answer": {
4817
5227
  "post": {
4818
5228
  "operationId": "chat.answer",
@@ -5843,7 +6253,7 @@
5843
6253
  "properties": {
5844
6254
  "filePath": {
5845
6255
  "type": "string",
5846
- "description": "Either an absolute filesystem path or a workspace-relative\npath. Paths inside the workspace root open as normal editor\ntabs (routed via `/workspace/$id/code/$splat`); paths outside\nany workspace root open as external tabs (same surface as\ndesktop Cmd+O / \"Open File…\"). May include a trailing\nline / column suffix in the standard `path:line[:column]` /\n`path:line-lineEnd` notation."
6256
+ "description": "Either an absolute filesystem path or a workspace-relative\npath. Paths inside the workspace root open as normal editor\ntabs (the renderer routes to the Files panel via the\n`open-file` SSE event; see `dispatchOpenFileEvent`); paths\noutside any workspace root open as external tabs (same\nsurface as desktop Cmd+O / \"Open File…\"). May include a\ntrailing line / column suffix in the standard\n`path:line[:column]` / `path:line-lineEnd` notation."
5847
6257
  },
5848
6258
  "workspaceId": {
5849
6259
  "type": "string",
@@ -9826,8 +10236,8 @@
9826
10236
  "type": "string",
9827
10237
  "enum": [
9828
10238
  "idle",
9829
- "loading",
9830
- "error"
10239
+ "error",
10240
+ "loading"
9831
10241
  ]
9832
10242
  }
9833
10243
  },
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../server.js";
2
- import { E as createLucideIcon, i as isDesktop, ch as invoke, ci as listen, t as trpc, cj as reactDomExports, ck as Globe, cc as SearchBar, cl as Popover, cm as PopoverTrigger, cn as PopoverContent, co as Search, cp as Trash2, cq as DropdownMenu, cr as DropdownMenuTrigger, cs as ChevronDown, ct as DropdownMenuContent, cu as DropdownMenuItem, cv as TriangleAlert, bk as ArrowLeft, c5 as ArrowRight, X, cw as RotateCw, F as useAdapter, G as useQueryClient, H as useQuery, J as selectNeighbourBeforeRemove, K as DockviewReact, S as cycleTabsInActiveGroup, U as cycleGridGroups, M as Columns2, O as Rows2, Q as Plus } from "./router-GhGSLKfP.js";
2
+ import { m as createLucideIcon, bM as isDesktop, cd as invoke, ce as listen, p as trpc, cf as reactDomExports, cg as Globe, c8 as SearchBar, ch as Popover, ci as PopoverTrigger, cj as PopoverContent, ck as Search, cl as Trash2, cm as DropdownMenu, cn as DropdownMenuTrigger, co as ChevronDown, cp as DropdownMenuContent, cq as DropdownMenuItem, cr as TriangleAlert, bS as ArrowLeft, c1 as ArrowRight, X, cs as RotateCw, u as useAdapter, n as useQueryClient, o as useQuery, q as selectNeighbourBeforeRemove, r as ensureEdgeGroups, v as attachEdgeGroupDragVisibility, w as registerInnerDockview, x as DockviewReact, A as cycleTabsInActiveGroup, B as cycleGridGroups, C as Columns2, y as Rows2, z as Plus } from "./router-CYNdQEN4.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -1406,28 +1406,31 @@ const closeTabRef = {
1406
1406
  current: null
1407
1407
  };
1408
1408
  const RightHeaderActions = React.memo(function RightHeaderActions2(props) {
1409
+ const isGridGroup = (props.location?.type ?? "grid") === "grid";
1409
1410
  const groupId = props.group.id;
1410
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full items-center", children: [
1411
- /* @__PURE__ */ jsxRuntimeExports.jsx(
1412
- "button",
1413
- {
1414
- type: "button",
1415
- className: "inline-flex size-8 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
1416
- onClick: () => addTabRef.current.onSplit(groupId, "right"),
1417
- title: "Split right",
1418
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Columns2, { className: "size-3.5" })
1419
- }
1420
- ),
1421
- /* @__PURE__ */ jsxRuntimeExports.jsx(
1422
- "button",
1423
- {
1424
- type: "button",
1425
- className: "inline-flex size-8 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
1426
- onClick: () => addTabRef.current.onSplit(groupId, "below"),
1427
- title: "Split down",
1428
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rows2, { className: "size-3.5" })
1429
- }
1430
- ),
1411
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full w-full items-center justify-center", children: [
1412
+ isGridGroup && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
1413
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
1414
+ "button",
1415
+ {
1416
+ type: "button",
1417
+ className: "inline-flex size-8 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
1418
+ onClick: () => addTabRef.current.onSplit(groupId, "right"),
1419
+ title: "Split right",
1420
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Columns2, { className: "size-3.5" })
1421
+ }
1422
+ ),
1423
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
1424
+ "button",
1425
+ {
1426
+ type: "button",
1427
+ className: "inline-flex size-8 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
1428
+ onClick: () => addTabRef.current.onSplit(groupId, "below"),
1429
+ title: "Split down",
1430
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rows2, { className: "size-3.5" })
1431
+ }
1432
+ )
1433
+ ] }),
1431
1434
  /* @__PURE__ */ jsxRuntimeExports.jsx(
1432
1435
  "button",
1433
1436
  {
@@ -1456,6 +1459,8 @@ function DockviewBrowserContainer({
1456
1459
  const apiRef = reactExports.useRef(null);
1457
1460
  const isRestoringRef = reactExports.useRef(false);
1458
1461
  const containerRef = reactExports.useRef(null);
1462
+ const edgeDragDisposerRef = reactExports.useRef(null);
1463
+ const innerRegisterDisposerRef = reactExports.useRef(null);
1459
1464
  const { data: initialData } = useQuery({
1460
1465
  queryKey: browserLayoutKey(workspaceId),
1461
1466
  queryFn: async () => {
@@ -1828,6 +1833,14 @@ function DockviewBrowserContainer({
1828
1833
  }, [adapter, workspaceId]);
1829
1834
  addTabRef.current = { onAdd: handleAddTab, onSplit: handleSplit };
1830
1835
  closeTabRef.current = closeTab;
1836
+ reactExports.useEffect(() => {
1837
+ return () => {
1838
+ edgeDragDisposerRef.current?.();
1839
+ edgeDragDisposerRef.current = null;
1840
+ innerRegisterDisposerRef.current?.();
1841
+ innerRegisterDisposerRef.current = null;
1842
+ };
1843
+ }, []);
1831
1844
  const initialLayoutRef = reactExports.useRef(null);
1832
1845
  initialLayoutRef.current = initialData?.layout ?? null;
1833
1846
  const initialBrowserIdsRef = reactExports.useRef(null);
@@ -1875,6 +1888,13 @@ function DockviewBrowserContainer({
1875
1888
  createDefaultPanel(event.api, workspaceId);
1876
1889
  persistToServer(workspaceId, event.api.toJSON(), { queryClient: queryClientRef.current });
1877
1890
  }
1891
+ ensureEdgeGroups(event.api);
1892
+ edgeDragDisposerRef.current?.();
1893
+ edgeDragDisposerRef.current = attachEdgeGroupDragVisibility(event.api);
1894
+ innerRegisterDisposerRef.current?.();
1895
+ if (containerRef.current) {
1896
+ innerRegisterDisposerRef.current = registerInnerDockview(containerRef.current, event.api);
1897
+ }
1878
1898
  const persist = () => schedulePersist();
1879
1899
  event.api.onDidLayoutChange(persist);
1880
1900
  event.api.onDidAddPanel(persist);
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../server.js";
2
- import { F as useAdapter, G as useQueryClient, H as useQuery, t as trpc, J as selectNeighbourBeforeRemove, K as DockviewReact, M as Columns2, O as Rows2, Q as Plus, X, S as cycleTabsInActiveGroup, U as cycleGridGroups } from "./router-GhGSLKfP.js";
3
- import { S as SquareTerminal } from "./square-terminal-cghvb5Il.js";
2
+ import { u as useAdapter, n as useQueryClient, o as useQuery, p as trpc, q as selectNeighbourBeforeRemove, r as ensureEdgeGroups, v as attachEdgeGroupDragVisibility, w as registerInnerDockview, x as DockviewReact, C as Columns2, y as Rows2, z as Plus, X, A as cycleTabsInActiveGroup, B as cycleGridGroups } from "./router-CYNdQEN4.js";
3
+ import { S as SquareTerminal } from "./square-terminal-gVSeBp7-.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-BmhYCf33.js").then((m) => ({ default: m.TerminalPanel }))
15
+ () => import("./TerminalPanel-gBh8VBn0.js").then((m) => ({ default: m.TerminalPanel }))
16
16
  );
17
17
  function uuid() {
18
18
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
@@ -148,28 +148,31 @@ const closeTabRef = {
148
148
  current: null
149
149
  };
150
150
  const RightHeaderActions = React.memo(function RightHeaderActions2(props) {
151
+ const isGridGroup = (props.location?.type ?? "grid") === "grid";
151
152
  const groupId = props.group.id;
152
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full items-center", children: [
153
- /* @__PURE__ */ jsxRuntimeExports.jsx(
154
- "button",
155
- {
156
- type: "button",
157
- className: "inline-flex size-7 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
158
- onClick: () => addTabRef.current.onSplit(groupId, "right"),
159
- title: "Split right",
160
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Columns2, { className: "size-3.5" })
161
- }
162
- ),
163
- /* @__PURE__ */ jsxRuntimeExports.jsx(
164
- "button",
165
- {
166
- type: "button",
167
- className: "inline-flex size-7 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
168
- onClick: () => addTabRef.current.onSplit(groupId, "below"),
169
- title: "Split down",
170
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rows2, { className: "size-3.5" })
171
- }
172
- ),
153
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex h-full w-full items-center justify-center", children: [
154
+ isGridGroup && /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
155
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
156
+ "button",
157
+ {
158
+ type: "button",
159
+ className: "inline-flex size-7 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
160
+ onClick: () => addTabRef.current.onSplit(groupId, "right"),
161
+ title: "Split right",
162
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Columns2, { className: "size-3.5" })
163
+ }
164
+ ),
165
+ /* @__PURE__ */ jsxRuntimeExports.jsx(
166
+ "button",
167
+ {
168
+ type: "button",
169
+ className: "inline-flex size-7 items-center justify-center text-muted-foreground hover:text-foreground hover:bg-accent rounded transition-colors",
170
+ onClick: () => addTabRef.current.onSplit(groupId, "below"),
171
+ title: "Split down",
172
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(Rows2, { className: "size-3.5" })
173
+ }
174
+ )
175
+ ] }),
173
176
  /* @__PURE__ */ jsxRuntimeExports.jsx(
174
177
  "button",
175
178
  {
@@ -198,6 +201,8 @@ function DockviewTerminalContainer({
198
201
  const apiRef = reactExports.useRef(null);
199
202
  const isRestoringRef = reactExports.useRef(false);
200
203
  const containerRef = reactExports.useRef(null);
204
+ const edgeDragDisposerRef = reactExports.useRef(null);
205
+ const innerRegisterDisposerRef = reactExports.useRef(null);
201
206
  const { data: initialData } = useQuery({
202
207
  queryKey: terminalLayoutKey(workspaceId),
203
208
  queryFn: async () => {
@@ -430,6 +435,14 @@ function DockviewTerminalContainer({
430
435
  }, [adapter, workspaceId]);
431
436
  addTabRef.current = { onAdd: handleAddTab, onSplit: handleSplit };
432
437
  closeTabRef.current = closeTab;
438
+ reactExports.useEffect(() => {
439
+ return () => {
440
+ edgeDragDisposerRef.current?.();
441
+ edgeDragDisposerRef.current = null;
442
+ innerRegisterDisposerRef.current?.();
443
+ innerRegisterDisposerRef.current = null;
444
+ };
445
+ }, []);
433
446
  const initialLayoutRef = reactExports.useRef(null);
434
447
  initialLayoutRef.current = initialData?.layout ?? null;
435
448
  const initialTerminalIdsRef = reactExports.useRef(null);
@@ -472,6 +485,13 @@ function DockviewTerminalContainer({
472
485
  } else {
473
486
  seedFromConfigOrDefault(event.api, workspaceId, queryClientRef.current);
474
487
  }
488
+ ensureEdgeGroups(event.api);
489
+ edgeDragDisposerRef.current?.();
490
+ edgeDragDisposerRef.current = attachEdgeGroupDragVisibility(event.api);
491
+ innerRegisterDisposerRef.current?.();
492
+ if (containerRef.current) {
493
+ innerRegisterDisposerRef.current = registerInnerDockview(containerRef.current, event.api);
494
+ }
475
495
  const persist = () => schedulePersist();
476
496
  event.api.onDidLayoutChange(persist);
477
497
  event.api.onDidAddPanel(persist);
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../server.js";
2
- import { E as createLucideIcon, bk as ArrowLeft, c5 as ArrowRight, c6 as ArrowUp, c7 as ArrowDown, X, c8 as ClipboardPaste, b as useSettingsQuery, c9 as getCurrentZoomLevel, ca as openExternalUrl, cb as subscribeToZoomChanges, cc as SearchBar, cd as ZOOM_CSS_VAR } from "./router-GhGSLKfP.js";
2
+ import { m as createLucideIcon, bS as ArrowLeft, c1 as ArrowRight, c2 as ArrowUp, c3 as ArrowDown, X, c4 as ClipboardPaste, bY as useSettingsQuery, c5 as getCurrentZoomLevel, c6 as openExternalUrl, c7 as subscribeToZoomChanges, c8 as SearchBar, c9 as ZOOM_CSS_VAR } from "./router-CYNdQEN4.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";