@band-app/server 0.34.0 → 0.36.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 (152) hide show
  1. package/README.md +1 -1
  2. package/dist/client/assets/TerminalPanel-6-rt7Tzp.js +1 -0
  3. package/dist/client/assets/_basePickBy-D1cW8RfA.js +1 -0
  4. package/dist/client/assets/{_baseUniq-C_y7bQp7.js → _baseUniq-DCImWVn2.js} +1 -1
  5. package/dist/client/assets/{arc-DHUj8i-C.js → arc-Jv1JrzDM.js} +1 -1
  6. package/dist/client/assets/{architectureDiagram-VXUJARFQ-D4Gtstny.js → architectureDiagram-VXUJARFQ-DJTHV1y7.js} +1 -1
  7. package/dist/client/assets/{blockDiagram-VD42YOAC-BnvoqD8n.js → blockDiagram-VD42YOAC-Cj_bRlht.js} +1 -1
  8. package/dist/client/assets/{c4Diagram-YG6GDRKO-B3kFa8rY.js → c4Diagram-YG6GDRKO-xPUaEy7L.js} +1 -1
  9. package/dist/client/assets/channel-BObJvFJf.js +1 -0
  10. package/dist/client/assets/{chunk-4BX2VUAB-Cry6RdNE.js → chunk-4BX2VUAB-DWHXL8Ea.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-B2Hcf4yS.js → chunk-55IACEB6-Bd7QCFS0.js} +1 -1
  12. package/dist/client/assets/{chunk-B4BG7PRW-BqTOv_Q4.js → chunk-B4BG7PRW-By14k0HA.js} +1 -1
  13. package/dist/client/assets/{chunk-DI55MBZ5-BHJn8-Rw.js → chunk-DI55MBZ5-D6pCQEj8.js} +1 -1
  14. package/dist/client/assets/{chunk-FMBD7UC4-D2HIyXOe.js → chunk-FMBD7UC4-DYeXE4xT.js} +1 -1
  15. package/dist/client/assets/{chunk-QN33PNHL-BSLNMHFq.js → chunk-QN33PNHL-DcLmw7kN.js} +1 -1
  16. package/dist/client/assets/{chunk-QZHKN3VN-BuBnSFe-.js → chunk-QZHKN3VN-CRzbN_tm.js} +1 -1
  17. package/dist/client/assets/{chunk-TZMSLE5B-DiQMwPjF.js → chunk-TZMSLE5B-B75f53t3.js} +1 -1
  18. package/dist/client/assets/classDiagram-2ON5EDUG-B4j3Xs8O.js +1 -0
  19. package/dist/client/assets/classDiagram-v2-WZHVMYZB-B4j3Xs8O.js +1 -0
  20. package/dist/client/assets/clone-D1oJjm-k.js +1 -0
  21. package/dist/client/assets/{cose-bilkent-S5V4N54A-Db5PXk3I.js → cose-bilkent-S5V4N54A-BkAK4OL7.js} +1 -1
  22. package/dist/client/assets/{dagre-6UL2VRFP-COrq1-o3.js → dagre-6UL2VRFP-DncmS6YY.js} +1 -1
  23. package/dist/client/assets/{diagram-PSM6KHXK-BEFxHLpj.js → diagram-PSM6KHXK-Cn4L1emn.js} +1 -1
  24. package/dist/client/assets/{diagram-QEK2KX5R-K9i-foPa.js → diagram-QEK2KX5R-PfH1MBS7.js} +1 -1
  25. package/dist/client/assets/{diagram-S2PKOQOG-5WsQ8w0M.js → diagram-S2PKOQOG-DIyYe2yo.js} +1 -1
  26. package/dist/client/assets/{erDiagram-Q2GNP2WA-CzYts47e.js → erDiagram-Q2GNP2WA-DWSS5ilU.js} +1 -1
  27. package/dist/client/assets/{flowDiagram-NV44I4VS-BHSMXKBN.js → flowDiagram-NV44I4VS-D8sgfoe8.js} +1 -1
  28. package/dist/client/assets/{ganttDiagram-JELNMOA3-lrI55nIi.js → ganttDiagram-JELNMOA3-CY0uwMQo.js} +1 -1
  29. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BR9i1nFI.js → gitGraphDiagram-V2S2FVAM-C5HEaqeu.js} +1 -1
  30. package/dist/client/assets/{graph-CHzn7hGd.js → graph-CHdAVft2.js} +1 -1
  31. package/dist/client/assets/{highlighted-body-B3W2YXNL-pf8CG4LE.js → highlighted-body-B3W2YXNL-fz7u7Bcv.js} +1 -1
  32. package/dist/client/assets/{index-C4WPBk8W.js → index-8d72uArR.js} +1 -1
  33. package/dist/client/assets/{index-CAapUiFF.js → index-BooiqIu5.js} +1 -1
  34. package/dist/client/assets/{index-iDhzXhLS.js → index-Clbffg3I.js} +1 -1
  35. package/dist/client/assets/{index-DRbvI3mJ.js → index-CrBImo8f.js} +1 -1
  36. package/dist/client/assets/{index-C_k8X250.js → index-D-HgfXJR.js} +1 -1
  37. package/dist/client/assets/{index-BFvt5Udm.js → index-D6YofG76.js} +1 -1
  38. package/dist/client/assets/{index-CprTy2ja.js → index-DMwXny-D.js} +1 -1
  39. package/dist/client/assets/{index-sjjEn2vn.js → index-DQOFyUau.js} +1 -1
  40. package/dist/client/assets/{index-Cg2goL7s.js → index-DWJFPU_5.js} +1 -1
  41. package/dist/client/assets/{index-B1M1Nr1U.js → index-DZYkmDwN.js} +1 -1
  42. package/dist/client/assets/{index-DOz7KiMS.js → index-Dz2ryCk3.js} +1 -1
  43. package/dist/client/assets/{index-BZejpLSO.js → index-Ru2Dc5A_.js} +1 -1
  44. package/dist/client/assets/{index-B3_tKObw.js → index-xQGEDauU.js} +1 -1
  45. package/dist/client/assets/{infoDiagram-HS3SLOUP-CPWEaaXS.js → infoDiagram-HS3SLOUP-D0hp75aO.js} +1 -1
  46. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-IpZXRX_B.js → journeyDiagram-XKPGCS4Q-91HWCjRU.js} +1 -1
  47. package/dist/client/assets/{kanban-definition-3W4ZIXB7-BcAUFQlt.js → kanban-definition-3W4ZIXB7-BzioXfF6.js} +1 -1
  48. package/dist/client/assets/{layout-CIxVWn8u.js → layout-DfQbFp33.js} +1 -1
  49. package/dist/client/assets/main-CXgf0iaP.css +1 -0
  50. package/dist/client/assets/{main-D13cBYQG.js → main-Dqe_6Q3-.js} +246 -241
  51. package/dist/client/assets/{mindmap-definition-VGOIOE7T-CX1T1sUN.js → mindmap-definition-VGOIOE7T-C_jxHaxD.js} +1 -1
  52. package/dist/client/assets/{pieDiagram-ADFJNKIX-DyLrkF8x.js → pieDiagram-ADFJNKIX-Kn_LfuP0.js} +1 -1
  53. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-B_-kuE5u.js → quadrantDiagram-AYHSOK5B-CbeGV886.js} +1 -1
  54. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-CW2Pkh0d.js → requirementDiagram-UZGBJVZJ-COoa_fat.js} +1 -1
  55. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-SH3i00se.js → sankeyDiagram-TZEHDZUN-TXccJBqI.js} +1 -1
  56. package/dist/client/assets/{sequenceDiagram-WL72ISMW-reJi3BTh.js → sequenceDiagram-WL72ISMW-Llnk43Jx.js} +1 -1
  57. package/dist/client/assets/{stateDiagram-FKZM4ZOC-CjXJfQgu.js → stateDiagram-FKZM4ZOC-DsQWz-Kg.js} +1 -1
  58. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BZgMRt9_.js +1 -0
  59. package/dist/client/assets/{timeline-definition-IT6M3QCI-B96AUWWH.js → timeline-definition-IT6M3QCI-B16mbiqF.js} +1 -1
  60. package/dist/client/assets/{treemap-GDKQZRPO-DoFQQo5a.js → treemap-GDKQZRPO-CN_Il1TD.js} +1 -1
  61. package/dist/client/assets/{workspace._workspaceId-ftjuXabJ.js → workspace._workspaceId-CXgdRFSq.js} +1 -1
  62. package/dist/client/assets/workspace._workspaceId-DJz9r6Bk.js +1 -0
  63. package/dist/client/assets/{xychartDiagram-PRI3JC2R-v-oqC6We.js → xychartDiagram-PRI3JC2R-RSssrHeJ.js} +1 -1
  64. package/dist/migrations/20260928064736_agent_status_sources/migration.sql +10 -0
  65. package/dist/migrations/20260928064736_agent_status_sources/snapshot.json +1841 -0
  66. package/dist/migrations/20260928065233_branch_status_pr/migration.sql +1 -0
  67. package/dist/migrations/20260928065233_branch_status_pr/snapshot.json +1773 -0
  68. package/dist/openapi.json +315 -46
  69. package/dist/server/assets/{TerminalPanel-DJnQglDZ.js → TerminalPanel-BE1IBqp5.js} +6 -4
  70. package/dist/server/assets/{_basePickBy-RSzPH-5U.js → _basePickBy-CHo3_xmm.js} +2 -2
  71. package/dist/server/assets/{_baseUniq-Cp_Qm3uS.js → _baseUniq-CSupPFs6.js} +1 -1
  72. package/dist/server/assets/_tanstack-start-manifest_v-Cnfw-Mtl.js +4 -0
  73. package/dist/server/assets/{arc-BAImyMJ-.js → arc-D44kAr9U.js} +1 -1
  74. package/dist/server/assets/{architecture-7HQA4BMR-BldYj4EA.js → architecture-7HQA4BMR-vXckakYr.js} +6 -6
  75. package/dist/server/assets/{architectureDiagram-VXUJARFQ-iEEYNhTp.js → architectureDiagram-VXUJARFQ-CR2ITyvh.js} +6 -6
  76. package/dist/server/assets/{blockDiagram-VD42YOAC-CpXPlM5p.js → blockDiagram-VD42YOAC-DEeR9cDU.js} +6 -6
  77. package/dist/server/assets/{c4Diagram-YG6GDRKO-C0jPSgch.js → c4Diagram-YG6GDRKO-DBRRCTXb.js} +2 -2
  78. package/dist/server/assets/{channel-BXmVLq-u.js → channel-C5tRsfJG.js} +1 -1
  79. package/dist/server/assets/{chunk-4BX2VUAB-BRh-MKqM.js → chunk-4BX2VUAB-bf7NCd3y.js} +1 -1
  80. package/dist/server/assets/{chunk-55IACEB6-D-II5Uvr.js → chunk-55IACEB6-DWdn6VWI.js} +1 -1
  81. package/dist/server/assets/{chunk-B4BG7PRW-CLc3MoS-.js → chunk-B4BG7PRW-Dkh6IKnk.js} +4 -4
  82. package/dist/server/assets/{chunk-DI55MBZ5-rIuRlmCw.js → chunk-DI55MBZ5-DBWVZkkA.js} +3 -3
  83. package/dist/server/assets/{chunk-FMBD7UC4-CwpJS1jy.js → chunk-FMBD7UC4-BdS42WOu.js} +1 -1
  84. package/dist/server/assets/{chunk-QN33PNHL-DDjZ9iRW.js → chunk-QN33PNHL-B8Ct7vG8.js} +1 -1
  85. package/dist/server/assets/{chunk-QZHKN3VN-CqXxabdj.js → chunk-QZHKN3VN-B9nHGxsX.js} +1 -1
  86. package/dist/server/assets/{chunk-TZMSLE5B-YmXbykHL.js → chunk-TZMSLE5B-BlzccDyU.js} +1 -1
  87. package/dist/server/assets/{classDiagram-v2-WZHVMYZB-B5goRv2J.js → classDiagram-2ON5EDUG-Chmrw_oF.js} +5 -5
  88. package/dist/server/assets/{classDiagram-2ON5EDUG-B5goRv2J.js → classDiagram-v2-WZHVMYZB-Chmrw_oF.js} +5 -5
  89. package/dist/server/assets/{clone-8krOB2fX.js → clone-aEnx_Sae.js} +1 -1
  90. package/dist/server/assets/{cose-bilkent-S5V4N54A-CT0fXZG5.js → cose-bilkent-S5V4N54A-Bc5NoQXq.js} +1 -1
  91. package/dist/server/assets/{dagre-6UL2VRFP-BKnoyRYf.js → dagre-6UL2VRFP-H_kNmEPM.js} +6 -6
  92. package/dist/server/assets/{diagram-PSM6KHXK-3yiYIfYG.js → diagram-PSM6KHXK-BcsANBT1.js} +7 -7
  93. package/dist/server/assets/{diagram-QEK2KX5R-BZS0Hd_d.js → diagram-QEK2KX5R-k-zPaYMJ.js} +6 -6
  94. package/dist/server/assets/{diagram-S2PKOQOG-BkGWooM_.js → diagram-S2PKOQOG-DjbSY-6m.js} +6 -6
  95. package/dist/server/assets/{erDiagram-Q2GNP2WA-BlJW8Tz3.js → erDiagram-Q2GNP2WA-CydybEEO.js} +4 -4
  96. package/dist/server/assets/{flowDiagram-NV44I4VS-BGWlA0EG.js → flowDiagram-NV44I4VS-tA99onXp.js} +5 -5
  97. package/dist/server/assets/{ganttDiagram-JELNMOA3-Cf3LALG6.js → ganttDiagram-JELNMOA3-DsJKSbMm.js} +1 -1
  98. package/dist/server/assets/{gitGraph-G5XIXVHT-B9S3heYN.js → gitGraph-G5XIXVHT-BNHu-oQ-.js} +6 -6
  99. package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-C4_f3rx4.js → gitGraphDiagram-V2S2FVAM-CzPNHl73.js} +7 -7
  100. package/dist/server/assets/{graph-DYj8A2bp.js → graph-BnMaPr50.js} +2 -2
  101. package/dist/server/assets/{highlighted-body-B3W2YXNL-Df68BBlw.js → highlighted-body-B3W2YXNL-BdiOjvlf.js} +1 -1
  102. package/dist/server/assets/{index-BiwgNHMQ.js → index-B5Ou6PeY.js} +1 -1
  103. package/dist/server/assets/{index-B5gG6MB7.js → index-BDjoQgaj.js} +1 -1
  104. package/dist/server/assets/{index-CxMB5JY7.js → index-BbZG02I3.js} +1 -1
  105. package/dist/server/assets/{index-DyUjxC3i.js → index-BcHVcca2.js} +1 -1
  106. package/dist/server/assets/{index-CMq_WJJ7.js → index-BdUQ01QB.js} +1 -1
  107. package/dist/server/assets/{index-BYKwSvPL.js → index-BuEcvcgH.js} +1 -1
  108. package/dist/server/assets/{index-CISg2hqm.js → index-C1sJw8Wd.js} +1 -1
  109. package/dist/server/assets/{index-CopZNvBd.js → index-CGb2LUtT.js} +1 -1
  110. package/dist/server/assets/{index-ChV05j8R.js → index-CPWcRp4N.js} +1 -1
  111. package/dist/server/assets/{index-BDEhO1ya.js → index-CvQ9Ebcc.js} +1 -1
  112. package/dist/server/assets/{index-DIuiSZSj.js → index-DKZU081P.js} +1 -1
  113. package/dist/server/assets/{index-DqsmbFGQ.js → index-DYrcmtj8.js} +1 -1
  114. package/dist/server/assets/{index-7UlzI_dK.js → index-Z2HsI7K-.js} +1 -1
  115. package/dist/server/assets/{info-VBDWY6EO-BmkTQbMv.js → info-VBDWY6EO-C24hC3ph.js} +6 -6
  116. package/dist/server/assets/{infoDiagram-HS3SLOUP-CKR2MY9e.js → infoDiagram-HS3SLOUP-CSvzttKw.js} +5 -5
  117. package/dist/server/assets/{journeyDiagram-XKPGCS4Q-DPsUHcaJ.js → journeyDiagram-XKPGCS4Q-Bb7ADiou.js} +4 -4
  118. package/dist/server/assets/{kanban-definition-3W4ZIXB7-C5QIVVhD.js → kanban-definition-3W4ZIXB7-BCi9DXfZ.js} +2 -2
  119. package/dist/server/assets/{layout-R-e4wg8W.js → layout-CBoh_yzS.js} +4 -4
  120. package/dist/server/assets/{mermaid-3ZIDBTTL-ByDi8HnK.js → mermaid-3ZIDBTTL-DrE5sAWk.js} +1 -1
  121. package/dist/server/assets/{mermaid-parser.core-C9wm222O.js → mermaid-parser.core-C6_1Cugd.js} +11 -11
  122. package/dist/server/assets/{mindmap-definition-VGOIOE7T-1gh-bXjE.js → mindmap-definition-VGOIOE7T-yqPdoOIb.js} +3 -3
  123. package/dist/server/assets/{packet-DYOGHKS2-Bxy3z0_p.js → packet-DYOGHKS2-DJmc50nE.js} +6 -6
  124. package/dist/server/assets/{pie-VRWISCQL-BlDk8RiA.js → pie-VRWISCQL-CvrR2-yk.js} +6 -6
  125. package/dist/server/assets/{pieDiagram-ADFJNKIX-CwnESx-9.js → pieDiagram-ADFJNKIX-CFOW6PnN.js} +7 -7
  126. package/dist/server/assets/{quadrantDiagram-AYHSOK5B-B-US3olm.js → quadrantDiagram-AYHSOK5B-3A-aZNyC.js} +1 -1
  127. package/dist/server/assets/{radar-ZZBFDIW7-Dy71dV8F.js → radar-ZZBFDIW7-Cfbkh5bz.js} +6 -6
  128. package/dist/server/assets/{requirementDiagram-UZGBJVZJ-DZZQz_qm.js → requirementDiagram-UZGBJVZJ-Dlll26uf.js} +3 -3
  129. package/dist/server/assets/{router-C6awDsR6.js → router-B261twKF.js} +2435 -1373
  130. package/dist/server/assets/{sankeyDiagram-TZEHDZUN-DMIqo7mj.js → sankeyDiagram-TZEHDZUN-BQaOXs3v.js} +1 -1
  131. package/dist/server/assets/{sequenceDiagram-WL72ISMW-B8koBIGl.js → sequenceDiagram-WL72ISMW-BCAnfOwu.js} +3 -3
  132. package/dist/server/assets/{stateDiagram-FKZM4ZOC-BHze-gTI.js → stateDiagram-FKZM4ZOC-BqJZtxdF.js} +8 -8
  133. package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-DRFmfjyi.js → stateDiagram-v2-4FDKWEC3-1ifEjgYq.js} +4 -4
  134. package/dist/server/assets/{timeline-definition-IT6M3QCI-CEkzxLSR.js → timeline-definition-IT6M3QCI-CAWbczQG.js} +2 -2
  135. package/dist/server/assets/{treemap-GDKQZRPO-0VBmxaAW.js → treemap-GDKQZRPO-BK5fWRQl.js} +6 -6
  136. package/dist/server/assets/{workspace._workspaceId-C7ra183B.js → workspace._workspaceId-C895SrvA.js} +1 -1
  137. package/dist/server/assets/{workspace._workspaceId-BtMBxm9H.js → workspace._workspaceId-DJjGZFKN.js} +10 -1
  138. package/dist/server/assets/{xychartDiagram-PRI3JC2R-BQCIxu2L.js → xychartDiagram-PRI3JC2R-DfSubvZj.js} +1 -1
  139. package/dist/server/server.js +2 -2
  140. package/dist/start-server.mjs +3783 -2373
  141. package/dist/terminal-daemon.mjs +1 -0
  142. package/package.json +5 -5
  143. package/dist/client/assets/TerminalPanel-BlzUBzmR.js +0 -1
  144. package/dist/client/assets/_basePickBy-78hIlKHL.js +0 -1
  145. package/dist/client/assets/channel-C2tC7nD9.js +0 -1
  146. package/dist/client/assets/classDiagram-2ON5EDUG-BWbZZspv.js +0 -1
  147. package/dist/client/assets/classDiagram-v2-WZHVMYZB-BWbZZspv.js +0 -1
  148. package/dist/client/assets/clone-BxWL4DUp.js +0 -1
  149. package/dist/client/assets/main-Bx2dZBHM.css +0 -1
  150. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-XtJwX8Ka.js +0 -1
  151. package/dist/client/assets/workspace._workspaceId-XsdwFk5t.js +0 -1
  152. package/dist/server/assets/_tanstack-start-manifest_v-GQWxvAsR.js +0 -4
package/dist/openapi.json CHANGED
@@ -1562,6 +1562,74 @@
1562
1562
  }
1563
1563
  }
1564
1564
  },
1565
+ "/statuses.refreshBranchStatus": {
1566
+ "post": {
1567
+ "operationId": "statuses.refreshBranchStatus",
1568
+ "description": "Re-read one workspace's git status now and push it on the status stream.\nThe dashboard calls this when the user selects a workspace, so its badge\ndoesn't wait for the next poll tick. `refreshed` is false when no git\nworkspace has that id.",
1569
+ "tags": [
1570
+ "statuses"
1571
+ ],
1572
+ "responses": {
1573
+ "200": {
1574
+ "description": "Successful response",
1575
+ "content": {
1576
+ "application/json": {
1577
+ "schema": {
1578
+ "type": "object",
1579
+ "properties": {
1580
+ "result": {
1581
+ "type": "object",
1582
+ "properties": {
1583
+ "data": {
1584
+ "type": "object",
1585
+ "properties": {
1586
+ "refreshed": {
1587
+ "type": "boolean"
1588
+ }
1589
+ },
1590
+ "required": [
1591
+ "refreshed"
1592
+ ],
1593
+ "additionalProperties": false
1594
+ }
1595
+ },
1596
+ "required": [
1597
+ "data"
1598
+ ]
1599
+ }
1600
+ },
1601
+ "required": [
1602
+ "result"
1603
+ ]
1604
+ }
1605
+ }
1606
+ }
1607
+ },
1608
+ "default": {
1609
+ "$ref": "#/components/responses/Error"
1610
+ }
1611
+ },
1612
+ "requestBody": {
1613
+ "required": true,
1614
+ "content": {
1615
+ "application/json": {
1616
+ "schema": {
1617
+ "type": "object",
1618
+ "properties": {
1619
+ "workspaceId": {
1620
+ "type": "string"
1621
+ }
1622
+ },
1623
+ "required": [
1624
+ "workspaceId"
1625
+ ],
1626
+ "additionalProperties": false
1627
+ }
1628
+ }
1629
+ }
1630
+ }
1631
+ }
1632
+ },
1565
1633
  "/statuses.clearNeedsAttention": {
1566
1634
  "post": {
1567
1635
  "operationId": "statuses.clearNeedsAttention",
@@ -1707,7 +1775,7 @@
1707
1775
  "/statuses.notify": {
1708
1776
  "post": {
1709
1777
  "operationId": "statuses.notify",
1710
- "description": "Agent-agnostic entry point for coding-agent lifecycle notifications\n(e.g. Claude Code hooks piped through `band notify`). The CLI forwards\nthe raw payload plus the agent's cwd; the server resolves the workspace,\nlooks up its configured agent, and dispatches to that agent's adapter to\ntranslate the payload into a status. Keeping the mapping in the adapter\nmeans adding hook support for a new agent never touches the CLI.\n\nFire-and-forget semantics: unknown cwd → no-op `{ ok: true }` (matches the\nCLI hook contract, which must never fail and break the agent).",
1778
+ "description": "Agent-agnostic entry point for coding-agent lifecycle notifications\n(e.g. Claude Code hooks piped through `band notify`). The CLI forwards\nthe raw payload plus the agent's cwd, the agent type the hook command\nnames (`--agent`), and its `BAND_DISPATCH` / `BAND_TERMINAL_ID`. The\nserver resolves the workspace and the sending agent, and dispatches to\nthat agent's adapter to translate the payload into a status. Keeping the\nmapping in the adapter means adding hook support for a new agent never\ntouches the CLI.\n\nFire-and-forget semantics: unknown cwd → no-op `{ ok: true }` (matches the\nCLI hook contract, which must never fail and break the agent).",
1711
1779
  "tags": [
1712
1780
  "statuses"
1713
1781
  ],
@@ -1764,6 +1832,15 @@
1764
1832
  "payload": {
1765
1833
  "type": "object",
1766
1834
  "additionalProperties": {}
1835
+ },
1836
+ "agent": {
1837
+ "type": "string"
1838
+ },
1839
+ "terminalId": {
1840
+ "type": "string"
1841
+ },
1842
+ "dispatch": {
1843
+ "type": "string"
1767
1844
  }
1768
1845
  },
1769
1846
  "required": [
@@ -5497,17 +5574,52 @@
5497
5574
  "type": "object",
5498
5575
  "properties": {
5499
5576
  "data": {
5500
- "type": "object",
5501
- "properties": {
5502
- "ok": {
5503
- "type": "boolean",
5504
- "const": true
5577
+ "oneOf": [
5578
+ {
5579
+ "type": "object",
5580
+ "properties": {
5581
+ "ok": {
5582
+ "type": "boolean",
5583
+ "const": true
5584
+ }
5585
+ },
5586
+ "required": [
5587
+ "ok"
5588
+ ],
5589
+ "additionalProperties": false
5590
+ },
5591
+ {
5592
+ "type": "object",
5593
+ "properties": {
5594
+ "ok": {
5595
+ "type": "boolean",
5596
+ "const": false
5597
+ },
5598
+ "reason": {
5599
+ "type": "string",
5600
+ "enum": [
5601
+ "local-changes",
5602
+ "no-upstream",
5603
+ "behind-remote",
5604
+ "nothing-to-commit"
5605
+ ],
5606
+ "description": "Result of a workspace git pull, push or commit, shared by the server and\nthe dashboard.\n\nGit refusing an operation for an ordinary reason (local changes in the way\nof a pull, a push the remote rejects as non-fast-forward, nothing to\ncommit) is a normal outcome, so the server returns it as `ok: false` with a\nplain-words `message` instead of throwing. The dashboard shows that message\nas an informational notice. Anything else still throws and shows as an\nerror."
5607
+ },
5608
+ "message": {
5609
+ "type": "string"
5610
+ }
5611
+ },
5612
+ "required": [
5613
+ "ok",
5614
+ "reason",
5615
+ "message"
5616
+ ],
5617
+ "additionalProperties": false
5505
5618
  }
5506
- },
5507
- "required": [
5508
- "ok"
5509
5619
  ],
5510
- "additionalProperties": false
5620
+ "discriminator": {
5621
+ "propertyName": "ok"
5622
+ }
5511
5623
  }
5512
5624
  },
5513
5625
  "required": [
@@ -5569,17 +5681,52 @@
5569
5681
  "type": "object",
5570
5682
  "properties": {
5571
5683
  "data": {
5572
- "type": "object",
5573
- "properties": {
5574
- "ok": {
5575
- "type": "boolean",
5576
- "const": true
5684
+ "oneOf": [
5685
+ {
5686
+ "type": "object",
5687
+ "properties": {
5688
+ "ok": {
5689
+ "type": "boolean",
5690
+ "const": true
5691
+ }
5692
+ },
5693
+ "required": [
5694
+ "ok"
5695
+ ],
5696
+ "additionalProperties": false
5697
+ },
5698
+ {
5699
+ "type": "object",
5700
+ "properties": {
5701
+ "ok": {
5702
+ "type": "boolean",
5703
+ "const": false
5704
+ },
5705
+ "reason": {
5706
+ "type": "string",
5707
+ "enum": [
5708
+ "local-changes",
5709
+ "no-upstream",
5710
+ "behind-remote",
5711
+ "nothing-to-commit"
5712
+ ],
5713
+ "description": "Result of a workspace git pull, push or commit, shared by the server and\nthe dashboard.\n\nGit refusing an operation for an ordinary reason (local changes in the way\nof a pull, a push the remote rejects as non-fast-forward, nothing to\ncommit) is a normal outcome, so the server returns it as `ok: false` with a\nplain-words `message` instead of throwing. The dashboard shows that message\nas an informational notice. Anything else still throws and shows as an\nerror."
5714
+ },
5715
+ "message": {
5716
+ "type": "string"
5717
+ }
5718
+ },
5719
+ "required": [
5720
+ "ok",
5721
+ "reason",
5722
+ "message"
5723
+ ],
5724
+ "additionalProperties": false
5577
5725
  }
5578
- },
5579
- "required": [
5580
- "ok"
5581
5726
  ],
5582
- "additionalProperties": false
5727
+ "discriminator": {
5728
+ "propertyName": "ok"
5729
+ }
5583
5730
  }
5584
5731
  },
5585
5732
  "required": [
@@ -6746,17 +6893,52 @@
6746
6893
  "type": "object",
6747
6894
  "properties": {
6748
6895
  "data": {
6749
- "type": "object",
6750
- "properties": {
6751
- "ok": {
6752
- "type": "boolean",
6753
- "const": true
6896
+ "oneOf": [
6897
+ {
6898
+ "type": "object",
6899
+ "properties": {
6900
+ "ok": {
6901
+ "type": "boolean",
6902
+ "const": true
6903
+ }
6904
+ },
6905
+ "required": [
6906
+ "ok"
6907
+ ],
6908
+ "additionalProperties": false
6909
+ },
6910
+ {
6911
+ "type": "object",
6912
+ "properties": {
6913
+ "ok": {
6914
+ "type": "boolean",
6915
+ "const": false
6916
+ },
6917
+ "reason": {
6918
+ "type": "string",
6919
+ "enum": [
6920
+ "local-changes",
6921
+ "no-upstream",
6922
+ "behind-remote",
6923
+ "nothing-to-commit"
6924
+ ],
6925
+ "description": "Result of a workspace git pull, push or commit, shared by the server and\nthe dashboard.\n\nGit refusing an operation for an ordinary reason (local changes in the way\nof a pull, a push the remote rejects as non-fast-forward, nothing to\ncommit) is a normal outcome, so the server returns it as `ok: false` with a\nplain-words `message` instead of throwing. The dashboard shows that message\nas an informational notice. Anything else still throws and shows as an\nerror."
6926
+ },
6927
+ "message": {
6928
+ "type": "string"
6929
+ }
6930
+ },
6931
+ "required": [
6932
+ "ok",
6933
+ "reason",
6934
+ "message"
6935
+ ],
6936
+ "additionalProperties": false
6754
6937
  }
6755
- },
6756
- "required": [
6757
- "ok"
6758
6938
  ],
6759
- "additionalProperties": false
6939
+ "discriminator": {
6940
+ "propertyName": "ok"
6941
+ }
6760
6942
  }
6761
6943
  },
6762
6944
  "required": [
@@ -6814,17 +6996,52 @@
6814
6996
  "type": "object",
6815
6997
  "properties": {
6816
6998
  "data": {
6817
- "type": "object",
6818
- "properties": {
6819
- "ok": {
6820
- "type": "boolean",
6821
- "const": true
6999
+ "oneOf": [
7000
+ {
7001
+ "type": "object",
7002
+ "properties": {
7003
+ "ok": {
7004
+ "type": "boolean",
7005
+ "const": true
7006
+ }
7007
+ },
7008
+ "required": [
7009
+ "ok"
7010
+ ],
7011
+ "additionalProperties": false
7012
+ },
7013
+ {
7014
+ "type": "object",
7015
+ "properties": {
7016
+ "ok": {
7017
+ "type": "boolean",
7018
+ "const": false
7019
+ },
7020
+ "reason": {
7021
+ "type": "string",
7022
+ "enum": [
7023
+ "local-changes",
7024
+ "no-upstream",
7025
+ "behind-remote",
7026
+ "nothing-to-commit"
7027
+ ],
7028
+ "description": "Result of a workspace git pull, push or commit, shared by the server and\nthe dashboard.\n\nGit refusing an operation for an ordinary reason (local changes in the way\nof a pull, a push the remote rejects as non-fast-forward, nothing to\ncommit) is a normal outcome, so the server returns it as `ok: false` with a\nplain-words `message` instead of throwing. The dashboard shows that message\nas an informational notice. Anything else still throws and shows as an\nerror."
7029
+ },
7030
+ "message": {
7031
+ "type": "string"
7032
+ }
7033
+ },
7034
+ "required": [
7035
+ "ok",
7036
+ "reason",
7037
+ "message"
7038
+ ],
7039
+ "additionalProperties": false
6822
7040
  }
6823
- },
6824
- "required": [
6825
- "ok"
6826
7041
  ],
6827
- "additionalProperties": false
7042
+ "discriminator": {
7043
+ "propertyName": "ok"
7044
+ }
6828
7045
  }
6829
7046
  },
6830
7047
  "required": [
@@ -6882,17 +7099,52 @@
6882
7099
  "type": "object",
6883
7100
  "properties": {
6884
7101
  "data": {
6885
- "type": "object",
6886
- "properties": {
6887
- "ok": {
6888
- "type": "boolean",
6889
- "const": true
7102
+ "oneOf": [
7103
+ {
7104
+ "type": "object",
7105
+ "properties": {
7106
+ "ok": {
7107
+ "type": "boolean",
7108
+ "const": true
7109
+ }
7110
+ },
7111
+ "required": [
7112
+ "ok"
7113
+ ],
7114
+ "additionalProperties": false
7115
+ },
7116
+ {
7117
+ "type": "object",
7118
+ "properties": {
7119
+ "ok": {
7120
+ "type": "boolean",
7121
+ "const": false
7122
+ },
7123
+ "reason": {
7124
+ "type": "string",
7125
+ "enum": [
7126
+ "local-changes",
7127
+ "no-upstream",
7128
+ "behind-remote",
7129
+ "nothing-to-commit"
7130
+ ],
7131
+ "description": "Result of a workspace git pull, push or commit, shared by the server and\nthe dashboard.\n\nGit refusing an operation for an ordinary reason (local changes in the way\nof a pull, a push the remote rejects as non-fast-forward, nothing to\ncommit) is a normal outcome, so the server returns it as `ok: false` with a\nplain-words `message` instead of throwing. The dashboard shows that message\nas an informational notice. Anything else still throws and shows as an\nerror."
7132
+ },
7133
+ "message": {
7134
+ "type": "string"
7135
+ }
7136
+ },
7137
+ "required": [
7138
+ "ok",
7139
+ "reason",
7140
+ "message"
7141
+ ],
7142
+ "additionalProperties": false
6890
7143
  }
6891
- },
6892
- "required": [
6893
- "ok"
6894
7144
  ],
6895
- "additionalProperties": false
7145
+ "discriminator": {
7146
+ "propertyName": "ok"
7147
+ }
6896
7148
  }
6897
7149
  },
6898
7150
  "required": [
@@ -13522,6 +13774,9 @@
13522
13774
  "string",
13523
13775
  "null"
13524
13776
  ]
13777
+ },
13778
+ "resolvedDefaults": {
13779
+ "$ref": "#/components/schemas/ResolvedDefaults"
13525
13780
  }
13526
13781
  },
13527
13782
  "required": [
@@ -13869,6 +14124,20 @@
13869
14124
  ],
13870
14125
  "additionalProperties": false
13871
14126
  },
14127
+ "ResolvedDefaults": {
14128
+ "type": "object",
14129
+ "properties": {
14130
+ "model": {
14131
+ "type": "string",
14132
+ "description": "A model id or alias (`claude-opus-5-5`, `opus[1m]`, `sonnet`)."
14133
+ },
14134
+ "effort": {
14135
+ "type": "string",
14136
+ "description": "An effort level (`low`, `medium`, `high`, `xhigh`, `max`)."
14137
+ }
14138
+ },
14139
+ "additionalProperties": false
14140
+ },
13872
14141
  "AgentSessionRecord": {
13873
14142
  "type": "object",
13874
14143
  "properties": {
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../server.js";
2
- import { bp as createLucideIcon, bR as writeClipboardText, bS as readClipboardText, bT as ArrowLeft, bU as ArrowUp, bV as ArrowDown, bW as ArrowRight, bX as ClipboardCopy, bt as X, bY as ClipboardPaste, bZ as useSettingsQuery, b_ as getOrCreateTerminal, b$ as SearchBar } from "./router-C6awDsR6.js";
2
+ import { bp as createLucideIcon, bR as useToastObstruction, bS as writeClipboardText, bT as readClipboardText, bU as ArrowLeft, bV as ArrowUp, bW as ArrowDown, bX as ArrowRight, bY as ClipboardCopy, bt as X, bZ as ClipboardPaste, b_ as useSettingsQuery, b$ as getOrCreateTerminal, c0 as SearchBar, c1 as TerminalSelectionContextMenu } from "./router-B261twKF.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -91,6 +91,7 @@ function TerminalToolbar({
91
91
  onSelectAll
92
92
  }) {
93
93
  const { enabled, bottomOffset } = useVirtualKeyboardToolbar();
94
+ const toolbarObstructionRef = useToastObstruction();
94
95
  const handleCopy = reactExports.useCallback(async () => {
95
96
  if (!terminal.hasSelection()) return;
96
97
  const text = terminal.getSelection();
@@ -135,6 +136,7 @@ function TerminalToolbar({
135
136
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
136
137
  "div",
137
138
  {
139
+ ref: toolbarObstructionRef,
138
140
  "data-testid": "terminal-toolbar",
139
141
  "data-mode": selectionMode ? "selection" : "idle",
140
142
  role: "toolbar",
@@ -379,7 +381,7 @@ function TerminalPanel({
379
381
  window.addEventListener("band:terminal-insert", handler);
380
382
  return () => window.removeEventListener("band:terminal-insert", handler);
381
383
  }, [visible, workspaceId, terminalId, flushPendingInsert]);
382
- const { contentBottomInset } = useVirtualKeyboardToolbar();
384
+ const { enabled: touchScreen, contentBottomInset } = useVirtualKeyboardToolbar();
383
385
  const terminal = entry.getTerminal();
384
386
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative flex h-full w-full flex-col", children: [
385
387
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "relative min-h-0 flex-1", children: [
@@ -399,14 +401,14 @@ function TerminalPanel({
399
401
  onClose: entry.closeSearch
400
402
  }
401
403
  ),
402
- /* @__PURE__ */ jsxRuntimeExports.jsx(
404
+ /* @__PURE__ */ jsxRuntimeExports.jsx(TerminalSelectionContextMenu, { getTerminal: entry.getTerminal, disabled: touchScreen, children: /* @__PURE__ */ jsxRuntimeExports.jsx(
403
405
  "div",
404
406
  {
405
407
  ref: liveRef,
406
408
  className: "absolute inset-x-2 top-2 overflow-hidden",
407
409
  style: { bottom: 8 + contentBottomInset }
408
410
  }
409
- )
411
+ ) })
410
412
  ] }),
411
413
  state.ready && terminal && /* @__PURE__ */ jsxRuntimeExports.jsx(
412
414
  TerminalToolbar,
@@ -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-Cp_Qm3uS.js";
2
- import { cs as isObject, a_ as baseRest, ct as isIterateeCall, cu as keysIn, cv as eq, cw as isArrayLike, cx as isArray, cy as identity, cz as isIndex, cA as assignValue } from "./router-C6awDsR6.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-CSupPFs6.js";
2
+ import { cu as isObject, a_ as baseRest, cv as isIterateeCall, cw as keysIn, cx as eq, cy as isArrayLike, cz as isArray, cA as identity, cB as isIndex, cC as assignValue } from "./router-B261twKF.js";
3
3
  var reWhitespace = /\s/;
4
4
  function trimmedEndIndex(string) {
5
5
  var index = string.length;
@@ -1,4 +1,4 @@
1
- import { cK as isObjectLike, cL as baseGetTag, cx as isArray, cM as Symbol$1, cw as isArrayLike, cN as arrayLikeKeys, cO as baseKeys, cP as memoize, cQ as isArguments, cR as copyObject, cu as keysIn, cS as getPrototype, cT as cloneArrayBuffer, cU as cloneTypedArray, cV as getTag, cI as baseUnary, cW as nodeUtil, cs as isObject, cX as copyArray, cY as isBuffer, cZ as cloneBuffer, c_ as initCloneObject, c$ as Stack, cA as assignValue, d0 as MapCache, cv as eq, d1 as Uint8Array, d2 as isTypedArray, d3 as isLength, cz as isIndex, cy as identity, cG as baseFor, d4 as Set } from "./router-C6awDsR6.js";
1
+ import { cM as isObjectLike, cN as baseGetTag, cz as isArray, cO as Symbol$1, cy as isArrayLike, cP as arrayLikeKeys, cQ as baseKeys, cR as memoize, cS as isArguments, cT as copyObject, cw as keysIn, cU as getPrototype, cV as cloneArrayBuffer, cW as cloneTypedArray, cX as getTag, cK as baseUnary, cY as nodeUtil, cu as isObject, cZ as copyArray, c_ as isBuffer, c$ as cloneBuffer, d0 as initCloneObject, d1 as Stack, cC as assignValue, d2 as MapCache, cx as eq, d3 as Uint8Array, d4 as isTypedArray, d5 as isLength, cB as isIndex, cA as identity, cI as baseFor, d6 as Set } from "./router-B261twKF.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-Dqe_6Q3-.js"], "assets": [{ "tag": "link", "attrs": { "rel": "stylesheet", "href": "/assets/main-CXgf0iaP.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-CXgf0iaP.css", "type": "text/css" } }], "preloads": ["/assets/index-D6YofG76.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-CXgf0iaP.css", "type": "text/css" } }], "preloads": ["/assets/workspace._workspaceId-DJz9r6Bk.js"] } }, "clientEntry": "/assets/main-Dqe_6Q3-.js" });
2
+ export {
3
+ tsrStartManifest
4
+ };
@@ -1,4 +1,4 @@
1
- import { a6 as withPath, a7 as halfPi, a8 as epsilon, a9 as tau, aa as cos, ab as sin, ac as min, ad as abs, ae as pi, af as sqrt, ag as atan2, ah as constant, ai as asin, aj as acos, ak as max } from "./router-C6awDsR6.js";
1
+ import { a6 as withPath, a7 as halfPi, a8 as epsilon, a9 as tau, aa as cos, ab as sin, ac as min, ad as abs, ae as pi, af as sqrt, ag as atan2, ah as constant, ai as asin, aj as acos, ak as max } from "./router-B261twKF.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-C9wm222O.js";
2
- import { A } from "./mermaid-parser.core-C9wm222O.js";
3
- import "./router-C6awDsR6.js";
1
+ import { e as createArchitectureServices } from "./mermaid-parser.core-C6_1Cugd.js";
2
+ import { A } from "./mermaid-parser.core-C6_1Cugd.js";
3
+ import "./router-B261twKF.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-Cp_Qm3uS.js";
16
- import "./_basePickBy-RSzPH-5U.js";
17
- import "./clone-8krOB2fX.js";
15
+ import "./_baseUniq-CSupPFs6.js";
16
+ import "./_basePickBy-CHo3_xmm.js";
17
+ import "./clone-aEnx_Sae.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, a4 as selectSvgElement, az as setupGraphViewbox, u as log, p as setAccTitle, o as getAccTitle, J as setDiagramTitle, M as getDiagramTitle, n as getAccDescription, m as setAccDescription, U as clear, a0 as cleanAndMerge, a1 as defaultConfig_default, a2 as getConfig, q as getConfig2, aJ as createText, c0 as getIconSVG, y as sanitizeText, r as select, T as getEdgeId, c1 as registerIconPacks, c2 as unknownIcon } from "./router-C6awDsR6.js";
3
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-BRh-MKqM.js";
4
- import { p as parse } from "./mermaid-parser.core-C9wm222O.js";
2
+ import { _ as __name, a4 as selectSvgElement, az as setupGraphViewbox, u as log, p as setAccTitle, o as getAccTitle, J as setDiagramTitle, M as getDiagramTitle, n as getAccDescription, m as setAccDescription, U as clear, a0 as cleanAndMerge, a1 as defaultConfig_default, a2 as getConfig, q as getConfig2, aJ as createText, c2 as getIconSVG, y as sanitizeText, r as select, T as getEdgeId, c3 as registerIconPacks, c4 as unknownIcon } from "./router-B261twKF.js";
3
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-bf7NCd3y.js";
4
+ import { p as parse } from "./mermaid-parser.core-C6_1Cugd.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-Cp_Qm3uS.js";
11
- import "./_basePickBy-RSzPH-5U.js";
12
- import "./clone-8krOB2fX.js";
10
+ import "./_baseUniq-CSupPFs6.js";
11
+ import "./_basePickBy-CHo3_xmm.js";
12
+ import "./clone-aEnx_Sae.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-CwpJS1jy.js";
2
- import { _ as __name, a2 as getConfig, r as select, v as configureSvgSize, u as log, U as clear, W as rgba, aH as getLineFunctionsWithOffset, ap as line, ax as curveBasis, q as getConfig2, au as getUrl, aI as evaluate, aJ as createText, aK as getSubGraphTitleMargins, I as utils_default, B as common_default, aL as replaceIconSubstring, aM as decodeEntities, y as sanitizeText, aN as getStylesFromArray } from "./router-C6awDsR6.js";
3
- import { c as clone } from "./clone-8krOB2fX.js";
4
- import { G as Graph } from "./graph-DYj8A2bp.js";
5
- import { c as channel } from "./channel-BXmVLq-u.js";
1
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-BdS42WOu.js";
2
+ import { _ as __name, a2 as getConfig, r as select, v as configureSvgSize, u as log, U as clear, W as rgba, aH as getLineFunctionsWithOffset, ap as line, ax as curveBasis, q as getConfig2, au as getUrl, aI as evaluate, aJ as createText, aK as getSubGraphTitleMargins, I as utils_default, B as common_default, aL as replaceIconSubstring, aM as decodeEntities, y as sanitizeText, aN as getStylesFromArray } from "./router-B261twKF.js";
3
+ import { c as clone } from "./clone-aEnx_Sae.js";
4
+ import { G as Graph } from "./graph-BnMaPr50.js";
5
+ import { c as channel } from "./channel-C5tRsfJG.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-Cp_Qm3uS.js";
17
+ import "./_baseUniq-CSupPFs6.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-YmXbykHL.js";
3
- import { m as setAccDescription, n as getAccDescription, o as getAccTitle, p as setAccTitle, _ as __name, q as getConfig2, r as select, u as log, v as configureSvgSize, w as assignWithDepth_default, x as calculateTextWidth, y as sanitizeText, z as distExports, A as wrapLabel, B as common_default, C as calculateTextHeight } from "./router-C6awDsR6.js";
2
+ import { g as getNoteRect, d as drawRect } from "./chunk-TZMSLE5B-BlzccDyU.js";
3
+ import { m as setAccDescription, n as getAccDescription, o as getAccTitle, p as setAccTitle, _ as __name, q as getConfig2, r as select, u as log, v as configureSvgSize, w as assignWithDepth_default, x as calculateTextWidth, y as sanitizeText, z as distExports, A as wrapLabel, B as common_default, C as calculateTextHeight } from "./router-B261twKF.js";
4
4
  import "../server.js";
5
5
  import "node:async_hooks";
6
6
  import "node:stream";
@@ -1,4 +1,4 @@
1
- import { X as Utils, Y as Color } from "./router-C6awDsR6.js";
1
+ import { X as Utils, Y as Color } from "./router-B261twKF.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-C6awDsR6.js";
1
+ import { _ as __name } from "./router-B261twKF.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, r as select } from "./router-C6awDsR6.js";
1
+ import { _ as __name, r as select } from "./router-B261twKF.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-CwpJS1jy.js";
3
- import { g as getDiagramElement } from "./chunk-55IACEB6-D-II5Uvr.js";
4
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-DDjZ9iRW.js";
5
- import { _ as __name, u as log, q as getConfig2, G as getRegisteredLayoutAlgorithm, H as render, I as utils_default, r as select, p as setAccTitle, o as getAccTitle, m as setAccDescription, n as getAccDescription, J as setDiagramTitle, M as getDiagramTitle, B as common_default, U as clear, T as getEdgeId, y as sanitizeText, aw as parseGenericTypes } from "./router-C6awDsR6.js";
2
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-BdS42WOu.js";
3
+ import { g as getDiagramElement } from "./chunk-55IACEB6-DWdn6VWI.js";
4
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-B8Ct7vG8.js";
5
+ import { _ as __name, u as log, q as getConfig2, G as getRegisteredLayoutAlgorithm, H as render, I as utils_default, r as select, p as setAccTitle, o as getAccTitle, m as setAccDescription, n as getAccDescription, J as setDiagramTitle, M as getDiagramTitle, B as common_default, U as clear, T as getEdgeId, y as sanitizeText, aw as parseGenericTypes } from "./router-B261twKF.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) ;