@band-app/server 0.19.1 → 0.20.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 (160) hide show
  1. package/dist/client/assets/{DockviewBrowserContainer-4SeBGy5m.js → DockviewBrowserContainer-CE6D36cE.js} +1 -1
  2. package/dist/client/assets/{DockviewTerminalContainer-DWva1wNl.js → DockviewTerminalContainer-CqH5m62N.js} +2 -2
  3. package/dist/client/assets/{TerminalPanel-CEmBYkjb.js → TerminalPanel-BCLbEfyo.js} +1 -1
  4. package/dist/client/assets/{_basePickBy-CV44VSwA.js → _basePickBy-CosPBGEe.js} +1 -1
  5. package/dist/client/assets/{_baseUniq-Bqa44Er5.js → _baseUniq-CNCpSB0P.js} +1 -1
  6. package/dist/client/assets/{arc-4rU3SEWf.js → arc-UDGCZidA.js} +1 -1
  7. package/dist/client/assets/{architectureDiagram-VXUJARFQ-CapSrTlr.js → architectureDiagram-VXUJARFQ-CeS1u1s5.js} +1 -1
  8. package/dist/client/assets/{blockDiagram-VD42YOAC-DnapbSnI.js → blockDiagram-VD42YOAC-DNtrsJ3_.js} +1 -1
  9. package/dist/client/assets/{c4Diagram-YG6GDRKO-9mZ9PPiM.js → c4Diagram-YG6GDRKO-L-AKg5Ca.js} +1 -1
  10. package/dist/client/assets/channel-vYE3Ojmg.js +1 -0
  11. package/dist/client/assets/{chunk-4BX2VUAB--rr32b4E.js → chunk-4BX2VUAB-6WG78h6_.js} +1 -1
  12. package/dist/client/assets/{chunk-55IACEB6-DfxuD1M3.js → chunk-55IACEB6-CivChWg7.js} +1 -1
  13. package/dist/client/assets/{chunk-B4BG7PRW-CxvnNatf.js → chunk-B4BG7PRW-BKLAk8Ng.js} +1 -1
  14. package/dist/client/assets/{chunk-DI55MBZ5-F51NTwRL.js → chunk-DI55MBZ5-B_cDZCba.js} +1 -1
  15. package/dist/client/assets/{chunk-FMBD7UC4-S03fYfOP.js → chunk-FMBD7UC4-CZgE72J_.js} +1 -1
  16. package/dist/client/assets/{chunk-QN33PNHL-BQWA4OqL.js → chunk-QN33PNHL-1qh6IGru.js} +1 -1
  17. package/dist/client/assets/{chunk-QZHKN3VN-DuLFP0og.js → chunk-QZHKN3VN-Cl_2nn9E.js} +1 -1
  18. package/dist/client/assets/{chunk-TZMSLE5B-BXGn_e4G.js → chunk-TZMSLE5B-DpxKjqWA.js} +1 -1
  19. package/dist/client/assets/classDiagram-2ON5EDUG-xnvZA_6X.js +1 -0
  20. package/dist/client/assets/classDiagram-v2-WZHVMYZB-xnvZA_6X.js +1 -0
  21. package/dist/client/assets/clone-DsvuocD4.js +1 -0
  22. package/dist/client/assets/{cose-bilkent-S5V4N54A-BD5JLmQ6.js → cose-bilkent-S5V4N54A-DCzND3wc.js} +1 -1
  23. package/dist/client/assets/{dagre-6UL2VRFP-jd9MqFa1.js → dagre-6UL2VRFP-phsFBB-e.js} +1 -1
  24. package/dist/client/assets/{diagram-PSM6KHXK-Bv0WGkj7.js → diagram-PSM6KHXK-C3SOO9R0.js} +1 -1
  25. package/dist/client/assets/{diagram-QEK2KX5R-oszH6q3s.js → diagram-QEK2KX5R-CAFBJ4hH.js} +1 -1
  26. package/dist/client/assets/{diagram-S2PKOQOG-D7rVDuLY.js → diagram-S2PKOQOG-Bpydud7g.js} +1 -1
  27. package/dist/client/assets/{erDiagram-Q2GNP2WA-BL9gntWo.js → erDiagram-Q2GNP2WA-Co4WhzwN.js} +1 -1
  28. package/dist/client/assets/{flowDiagram-NV44I4VS-1FCz1fgN.js → flowDiagram-NV44I4VS-BZA58aUI.js} +1 -1
  29. package/dist/client/assets/{ganttDiagram-JELNMOA3-DggjOINy.js → ganttDiagram-JELNMOA3--4j85sTO.js} +1 -1
  30. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-uoayvKXp.js → gitGraphDiagram-V2S2FVAM-6AH31Cb1.js} +1 -1
  31. package/dist/client/assets/{graph-CKeOhxc0.js → graph-7CJlwe2i.js} +1 -1
  32. package/dist/client/assets/{highlighted-body-B3W2YXNL-BfaZeU0X.js → highlighted-body-B3W2YXNL-D5Kact6h.js} +1 -1
  33. package/dist/client/assets/{index-bY8CiPGQ.js → index--MhpXyw4.js} +1 -1
  34. package/dist/client/assets/{index-BhrvrUs_.js → index-B2DcQ-ug.js} +1 -1
  35. package/dist/client/assets/{index-ChvBXbK8.js → index-B4wpLa0T.js} +1 -1
  36. package/dist/client/assets/{index-Doe-oMI1.js → index-B5R7cbs8.js} +1 -1
  37. package/dist/client/assets/{index-ro4XgOVe.js → index-BwJYeeov.js} +1 -1
  38. package/dist/client/assets/{index-kGHlsI7U.js → index-C4gIKOr_.js} +1 -1
  39. package/dist/client/assets/{index-CdwShVnF.js → index-CoRbY65h.js} +1 -1
  40. package/dist/client/assets/{index-SC22AP5M.js → index-Cp85A8y4.js} +1 -1
  41. package/dist/client/assets/{index-DTOEFzQN.js → index-CralkALm.js} +1 -1
  42. package/dist/client/assets/{index-BZW8u43a.js → index-Cv7YFrOV.js} +1 -1
  43. package/dist/client/assets/{index-DtoczokG.js → index-DCu6TAMf.js} +1 -1
  44. package/dist/client/assets/{index-BOdO7r_p.js → index-DMMKTe60.js} +1 -1
  45. package/dist/client/assets/{index-Ddvrjwlp.js → index-D_D2pxKM.js} +1 -1
  46. package/dist/client/assets/{index-Be24TlVT.js → index-DgEnNhJH.js} +1 -1
  47. package/dist/client/assets/{index-DsvlvI8i.js → index-Djl4xLSO.js} +1 -1
  48. package/dist/client/assets/{index-BmEmzTZO.js → index-Dn_GfMwq.js} +1 -1
  49. package/dist/client/assets/{index-BVhi8EPL.js → index-DnzvlwNY.js} +1 -1
  50. package/dist/client/assets/{index-Cx9QoFI1.js → index-pr8WXb_L.js} +1 -1
  51. package/dist/client/assets/{infoDiagram-HS3SLOUP-9HRNM_Iq.js → infoDiagram-HS3SLOUP-CeA337Zm.js} +1 -1
  52. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-BYEjH_SV.js → journeyDiagram-XKPGCS4Q-ujbs0LMd.js} +1 -1
  53. package/dist/client/assets/{kanban-definition-3W4ZIXB7-s6ZYKbvm.js → kanban-definition-3W4ZIXB7-ffQDH_Ro.js} +1 -1
  54. package/dist/client/assets/{layout-DlcfRJkl.js → layout-Bp2mKXuW.js} +1 -1
  55. package/dist/client/assets/{main-DsoPLGrb.css → main-BzKe6bG7.css} +1 -1
  56. package/dist/client/assets/{main-Ct1o5WmJ.js → main-axhmccT5.js} +271 -271
  57. package/dist/client/assets/{mindmap-definition-VGOIOE7T-CDeQcF1U.js → mindmap-definition-VGOIOE7T-ADZcbwuf.js} +1 -1
  58. package/dist/client/assets/{pieDiagram-ADFJNKIX-CWdMTKnD.js → pieDiagram-ADFJNKIX-BdG4-xDd.js} +1 -1
  59. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-C-Zcxmv2.js → quadrantDiagram-AYHSOK5B-DUtM9sRB.js} +1 -1
  60. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-B3JunJUh.js → requirementDiagram-UZGBJVZJ-Bb0HlfNx.js} +1 -1
  61. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-BRUxMlQD.js → sankeyDiagram-TZEHDZUN-DVCE_8pf.js} +1 -1
  62. package/dist/client/assets/{sequenceDiagram-WL72ISMW--nulyPWN.js → sequenceDiagram-WL72ISMW-CKQaWU-Q.js} +1 -1
  63. package/dist/client/assets/{square-terminal-xTmJg69x.js → square-terminal-BiJr_LVr.js} +1 -1
  64. package/dist/client/assets/{stateDiagram-FKZM4ZOC-DUZeZHou.js → stateDiagram-FKZM4ZOC-D0QXwVbV.js} +1 -1
  65. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-C3iyPGuZ.js +1 -0
  66. package/dist/client/assets/{timeline-definition-IT6M3QCI-DgsIAJxu.js → timeline-definition-IT6M3QCI-CUDKk5ha.js} +1 -1
  67. package/dist/client/assets/{treemap-GDKQZRPO-DzbbBVNz.js → treemap-GDKQZRPO-yUFqXQpQ.js} +1 -1
  68. package/dist/client/assets/{workspace._workspaceId-C2eftsxg.js → workspace._workspaceId-Bz0CuqC_.js} +1 -1
  69. package/dist/client/assets/{workspace._workspaceId-CX0zbe5I.js → workspace._workspaceId-DorcrnsD.js} +2 -2
  70. package/dist/client/assets/{xychartDiagram-PRI3JC2R-B11oaEXR.js → xychartDiagram-PRI3JC2R-Dju2LIYt.js} +1 -1
  71. package/dist/migrations/20260619184346_drop_tasks_max_turns/migration.sql +1 -0
  72. package/dist/migrations/20260619184346_drop_tasks_max_turns/snapshot.json +1157 -0
  73. package/dist/openapi.json +192 -48
  74. package/dist/server/assets/{DockviewBrowserContainer-BcfLe0jL.js → DockviewBrowserContainer-DaEHL7rU.js} +1 -1
  75. package/dist/server/assets/{DockviewTerminalContainer-zVckKR1x.js → DockviewTerminalContainer-QeRuw498.js} +3 -3
  76. package/dist/server/assets/{TerminalPanel-7JfdUecD.js → TerminalPanel-CIQVz_Z4.js} +1 -1
  77. package/dist/server/assets/{_basePickBy-3tZLkfZU.js → _basePickBy-Bgz-DXU9.js} +2 -2
  78. package/dist/server/assets/{_baseUniq-Dz_kdarY.js → _baseUniq-CevNURdU.js} +1 -1
  79. package/dist/server/assets/_tanstack-start-manifest_v-9Dn7fTyV.js +4 -0
  80. package/dist/server/assets/{arc-B7a2pVpn.js → arc-jD7cuYE0.js} +1 -1
  81. package/dist/server/assets/{architecture-7HQA4BMR-9XWqJEVf.js → architecture-7HQA4BMR-CH32HJV2.js} +6 -6
  82. package/dist/server/assets/{architectureDiagram-VXUJARFQ-Vt3dNClh.js → architectureDiagram-VXUJARFQ-DisnJPPo.js} +6 -6
  83. package/dist/server/assets/{blockDiagram-VD42YOAC-DR7gt_eL.js → blockDiagram-VD42YOAC-Djjy-jiv.js} +6 -6
  84. package/dist/server/assets/{c4Diagram-YG6GDRKO-DYC3sqOW.js → c4Diagram-YG6GDRKO-B12Oi-HH.js} +2 -2
  85. package/dist/server/assets/{channel-DzI1wGYl.js → channel-DFaIo-PG.js} +1 -1
  86. package/dist/server/assets/{chunk-4BX2VUAB-DVHBGPAd.js → chunk-4BX2VUAB-DHfsBptR.js} +1 -1
  87. package/dist/server/assets/{chunk-55IACEB6-BXeWT-V1.js → chunk-55IACEB6-jIjVbMix.js} +1 -1
  88. package/dist/server/assets/{chunk-B4BG7PRW-BngOdF6s.js → chunk-B4BG7PRW-CZ4z-SYy.js} +4 -4
  89. package/dist/server/assets/{chunk-DI55MBZ5-Co1ugmE2.js → chunk-DI55MBZ5-BAZeiYrT.js} +3 -3
  90. package/dist/server/assets/{chunk-FMBD7UC4-BSvY40K1.js → chunk-FMBD7UC4-CPlukapU.js} +1 -1
  91. package/dist/server/assets/{chunk-QN33PNHL-Bld2F-bV.js → chunk-QN33PNHL-BBEzEMyZ.js} +1 -1
  92. package/dist/server/assets/{chunk-QZHKN3VN-CbcRrDQ5.js → chunk-QZHKN3VN-BbJAuOLh.js} +1 -1
  93. package/dist/server/assets/{chunk-TZMSLE5B-FZqT6NRx.js → chunk-TZMSLE5B-DXQ0720e.js} +1 -1
  94. package/dist/server/assets/{classDiagram-v2-WZHVMYZB-CqTf3oAt.js → classDiagram-2ON5EDUG-Dd_NiCJt.js} +5 -5
  95. package/dist/server/assets/{classDiagram-2ON5EDUG-CqTf3oAt.js → classDiagram-v2-WZHVMYZB-Dd_NiCJt.js} +5 -5
  96. package/dist/server/assets/{clone-DFaP-n7G.js → clone-D2G5HtzD.js} +1 -1
  97. package/dist/server/assets/{cose-bilkent-S5V4N54A-Cm4DnyNk.js → cose-bilkent-S5V4N54A-D9MbA73U.js} +1 -1
  98. package/dist/server/assets/{dagre-6UL2VRFP-DWtR7ypz.js → dagre-6UL2VRFP-3X8TKKNF.js} +6 -6
  99. package/dist/server/assets/{diagram-PSM6KHXK-3K0tKsmi.js → diagram-PSM6KHXK-BifH8r_E.js} +7 -7
  100. package/dist/server/assets/{diagram-QEK2KX5R-C_GABXU2.js → diagram-QEK2KX5R-CpM2yo3A.js} +6 -6
  101. package/dist/server/assets/{diagram-S2PKOQOG-x_2H2okG.js → diagram-S2PKOQOG-Dem9oHxL.js} +6 -6
  102. package/dist/server/assets/{erDiagram-Q2GNP2WA-DYAuTF-e.js → erDiagram-Q2GNP2WA-Cv2t_qcc.js} +4 -4
  103. package/dist/server/assets/{flowDiagram-NV44I4VS-CMgKpatm.js → flowDiagram-NV44I4VS-DO9viNx6.js} +5 -5
  104. package/dist/server/assets/{ganttDiagram-JELNMOA3-BqUjIeN-.js → ganttDiagram-JELNMOA3-BQLkwHvs.js} +1 -1
  105. package/dist/server/assets/{gitGraph-G5XIXVHT-BOFl30qK.js → gitGraph-G5XIXVHT-Rf89GAs0.js} +6 -6
  106. package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-CSFtzM0S.js → gitGraphDiagram-V2S2FVAM-Cn1yq3PZ.js} +7 -7
  107. package/dist/server/assets/{graph-Da9wNyd4.js → graph-DdtTxequ.js} +2 -2
  108. package/dist/server/assets/{highlighted-body-B3W2YXNL-CSDiX8tu.js → highlighted-body-B3W2YXNL-DGIqRI0V.js} +1 -1
  109. package/dist/server/assets/{index-ZFp3vFxe.js → index-B7HiLzkZ.js} +3 -3
  110. package/dist/server/assets/{index-DwBbgNmR.js → index-Bd47fsM9.js} +5 -5
  111. package/dist/server/assets/{index-iQ9auLjI.js → index-C7aw98b-.js} +2 -2
  112. package/dist/server/assets/{index-CqNkm5pZ.js → index-CEu724dC.js} +2 -2
  113. package/dist/server/assets/{index-DkCUbYql.js → index-CN-GsVYc.js} +2 -2
  114. package/dist/server/assets/{index-CjJe7VSH.js → index-COXowzgf.js} +4 -4
  115. package/dist/server/assets/{index-CS2NcwnS.js → index-CSvLh_Yz.js} +2 -2
  116. package/dist/server/assets/{index-CrGR0Fcd.js → index-CVQ-l3zd.js} +2 -2
  117. package/dist/server/assets/{index-Av31QpwJ.js → index-CZSZYqEH.js} +2 -2
  118. package/dist/server/assets/{index-BXCk5sug.js → index-D0gkB7DS.js} +1 -1
  119. package/dist/server/assets/{index-BZPQn4AB.js → index-DF0W4io9.js} +3 -3
  120. package/dist/server/assets/{index-C-7KLTyL.js → index-DKFYHMSW.js} +2 -2
  121. package/dist/server/assets/{index-CFt-wi4p.js → index-IABw8d2w.js} +2 -2
  122. package/dist/server/assets/{index-DC0ng9YX.js → index-_XlsLUmp.js} +2 -2
  123. package/dist/server/assets/{index-B9YQ_ief.js → index-dA-FNez1.js} +5 -5
  124. package/dist/server/assets/{index-CFVkYUnG.js → index-eS7k7NKN.js} +2 -2
  125. package/dist/server/assets/{index-D9Pfuy6s.js → index-iwREUWd1.js} +2 -2
  126. package/dist/server/assets/{index-ki-c1Gyj.js → index-rDKMQzl_.js} +1 -1
  127. package/dist/server/assets/{info-VBDWY6EO-mGUaI27c.js → info-VBDWY6EO-DVBWXH0S.js} +6 -6
  128. package/dist/server/assets/{infoDiagram-HS3SLOUP-CMic1Hhh.js → infoDiagram-HS3SLOUP-Dn-PUlKq.js} +5 -5
  129. package/dist/server/assets/{journeyDiagram-XKPGCS4Q-CravZq_h.js → journeyDiagram-XKPGCS4Q-C1eLAzL9.js} +4 -4
  130. package/dist/server/assets/{kanban-definition-3W4ZIXB7-Ik9j3Xny.js → kanban-definition-3W4ZIXB7-DFHxxNcb.js} +2 -2
  131. package/dist/server/assets/{layout-DNctAx-v.js → layout-BEatsupl.js} +4 -4
  132. package/dist/server/assets/{mermaid-3ZIDBTTL-Bo2_mtnV.js → mermaid-3ZIDBTTL-8mt5O2g5.js} +1 -1
  133. package/dist/server/assets/{mermaid-parser.core-oaV6PZnA.js → mermaid-parser.core-BLOfHo-D.js} +11 -11
  134. package/dist/server/assets/{mindmap-definition-VGOIOE7T-DNTQXwUn.js → mindmap-definition-VGOIOE7T-B5_qScJU.js} +3 -3
  135. package/dist/server/assets/{packet-DYOGHKS2-Bm5PEDRe.js → packet-DYOGHKS2-DYeTXPnX.js} +6 -6
  136. package/dist/server/assets/{pie-VRWISCQL-BOs-4VKW.js → pie-VRWISCQL-BlyZBKB0.js} +6 -6
  137. package/dist/server/assets/{pieDiagram-ADFJNKIX-CEDLfCSy.js → pieDiagram-ADFJNKIX-CwWqz5Xf.js} +7 -7
  138. package/dist/server/assets/{quadrantDiagram-AYHSOK5B-CWfJcZnB.js → quadrantDiagram-AYHSOK5B-BZ8A8mON.js} +1 -1
  139. package/dist/server/assets/{radar-ZZBFDIW7-CMUO9a2O.js → radar-ZZBFDIW7-B60czbOE.js} +6 -6
  140. package/dist/server/assets/{requirementDiagram-UZGBJVZJ-0SINZ3cV.js → requirementDiagram-UZGBJVZJ-Cctcn3D4.js} +3 -3
  141. package/dist/server/assets/{router-PewB2VMR.js → router-V4X9DgJt.js} +2024 -313
  142. package/dist/server/assets/{sankeyDiagram-TZEHDZUN-U0rb6LX8.js → sankeyDiagram-TZEHDZUN-Bvyi-a8d.js} +1 -1
  143. package/dist/server/assets/{sequenceDiagram-WL72ISMW-BV5_vSVf.js → sequenceDiagram-WL72ISMW-C83rLE-r.js} +3 -3
  144. package/dist/server/assets/{square-terminal-DdT3sDE4.js → square-terminal-Dcy5Z6a4.js} +1 -1
  145. package/dist/server/assets/{stateDiagram-FKZM4ZOC-C3wAlRbY.js → stateDiagram-FKZM4ZOC-lfXNq0DS.js} +8 -8
  146. package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-BvzsTmR_.js → stateDiagram-v2-4FDKWEC3-BkZqIjkI.js} +4 -4
  147. package/dist/server/assets/{timeline-definition-IT6M3QCI-BwVTrWyj.js → timeline-definition-IT6M3QCI-CejT7_79.js} +2 -2
  148. package/dist/server/assets/{treemap-GDKQZRPO-Bohb153V.js → treemap-GDKQZRPO-Dvu1YI6l.js} +6 -6
  149. package/dist/server/assets/{workspace._workspaceId-BWs5oKO5.js → workspace._workspaceId-BpnCyMIU.js} +3 -3
  150. package/dist/server/assets/{workspace._workspaceId-DkyiAy0e.js → workspace._workspaceId-D20Q15rI.js} +1 -1
  151. package/dist/server/assets/{xychartDiagram-PRI3JC2R-XlYGoU4Z.js → xychartDiagram-PRI3JC2R-DmHHkA_A.js} +1 -1
  152. package/dist/server/server.js +2 -2
  153. package/dist/start-server.mjs +1583 -802
  154. package/package.json +5 -4
  155. package/dist/client/assets/channel-NIcS3uxn.js +0 -1
  156. package/dist/client/assets/classDiagram-2ON5EDUG-8p3oACYV.js +0 -1
  157. package/dist/client/assets/classDiagram-v2-WZHVMYZB-8p3oACYV.js +0 -1
  158. package/dist/client/assets/clone-Be31g1pc.js +0 -1
  159. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-nq3cGsuB.js +0 -1
  160. package/dist/server/assets/_tanstack-start-manifest_v-BBzH3QaA.js +0 -4
package/dist/openapi.json CHANGED
@@ -1291,16 +1291,18 @@
1291
1291
  "models": {
1292
1292
  "type": "array",
1293
1293
  "items": {
1294
- "$ref": "#/components/schemas/AgentModel"
1294
+ "$ref": "#/components/schemas/CachedAgentModel"
1295
1295
  }
1296
1296
  },
1297
1297
  "defaultModel": {
1298
1298
  "type": "string"
1299
+ },
1300
+ "updatedAt": {
1301
+ "type": "number"
1299
1302
  }
1300
1303
  },
1301
1304
  "required": [
1302
- "models",
1303
- "defaultModel"
1305
+ "models"
1304
1306
  ],
1305
1307
  "additionalProperties": false
1306
1308
  }
@@ -1347,7 +1349,7 @@
1347
1349
  "/models.listAll": {
1348
1350
  "get": {
1349
1351
  "operationId": "models.listAll",
1350
- "description": "List all agents with their models — used by the combined agent/model selector.",
1352
+ "description": "List all agents with their cached models — used by the combined\nagent/model selector in the chat UI. The service loads settings.json\nonce and resolves the effective default-agent id.",
1351
1353
  "tags": [
1352
1354
  "models"
1353
1355
  ],
@@ -1368,35 +1370,7 @@
1368
1370
  "agents": {
1369
1371
  "type": "array",
1370
1372
  "items": {
1371
- "type": "object",
1372
- "properties": {
1373
- "agentId": {
1374
- "type": "string"
1375
- },
1376
- "agentType": {
1377
- "type": "string"
1378
- },
1379
- "agentLabel": {
1380
- "type": "string"
1381
- },
1382
- "models": {
1383
- "type": "array",
1384
- "items": {
1385
- "$ref": "#/components/schemas/AgentModel"
1386
- }
1387
- },
1388
- "defaultModel": {
1389
- "type": "string"
1390
- }
1391
- },
1392
- "required": [
1393
- "agentId",
1394
- "agentType",
1395
- "agentLabel",
1396
- "models",
1397
- "defaultModel"
1398
- ],
1399
- "additionalProperties": false
1373
+ "$ref": "#/components/schemas/AgentModelsEntry"
1400
1374
  }
1401
1375
  },
1402
1376
  "defaultAgentId": {
@@ -1428,6 +1402,74 @@
1428
1402
  }
1429
1403
  }
1430
1404
  },
1405
+ "/models.refresh": {
1406
+ "post": {
1407
+ "operationId": "models.refresh",
1408
+ "description": "Refresh the cached model list for the given agent (or every\nconfigured agent when `agentId` is omitted). Surfaces the live SDK\nlist to the persisted cache so subsequent `list` / `listAll` calls\nreturn the latest models. Failures on individual agents do not\nabort the batch — each result carries an optional `error` field.\n\nLatency: this awaits the refresh synchronously. Each agent's\n`refreshModels()` is capped at a ~10 s adapter-side timeout, and the\nno-`agentId` batch path refreshes agents sequentially, so worst-case\nwall-clock is roughly `N agents × 10 s`. The Settings UI only ever\ncalls this with a single `agentId` (one ~10 s ceiling, with a button\nspinner), so the batch ceiling is reached only by an explicit\nall-agents API call. Size any client-side tRPC timeout accordingly.\n\nIf the supported-agent list ever grows past the current 5 entries\n(claude-code, codex, gemini-cli, cursor-cli, opencode), reconsider:\n(a) parallelising the per-agent loop in `refreshAll` (the only\nthing that prevents it today is the `settings.json` RMW interleave,\nwhich a single load-merge-save at the end would let us bypass), or\n(b) flipping the batch path to fire-and-forget with an SSE notice\nso the HTTP response returns immediately.",
1409
+ "tags": [
1410
+ "models"
1411
+ ],
1412
+ "responses": {
1413
+ "200": {
1414
+ "description": "Successful response",
1415
+ "content": {
1416
+ "application/json": {
1417
+ "schema": {
1418
+ "type": "object",
1419
+ "properties": {
1420
+ "result": {
1421
+ "type": "object",
1422
+ "properties": {
1423
+ "data": {
1424
+ "type": "object",
1425
+ "properties": {
1426
+ "results": {
1427
+ "type": "array",
1428
+ "items": {
1429
+ "$ref": "#/components/schemas/ModelRefreshResult"
1430
+ }
1431
+ }
1432
+ },
1433
+ "required": [
1434
+ "results"
1435
+ ],
1436
+ "additionalProperties": false
1437
+ }
1438
+ },
1439
+ "required": [
1440
+ "data"
1441
+ ]
1442
+ }
1443
+ },
1444
+ "required": [
1445
+ "result"
1446
+ ]
1447
+ }
1448
+ }
1449
+ }
1450
+ },
1451
+ "default": {
1452
+ "$ref": "#/components/responses/Error"
1453
+ }
1454
+ },
1455
+ "requestBody": {
1456
+ "required": true,
1457
+ "content": {
1458
+ "application/json": {
1459
+ "schema": {
1460
+ "type": "object",
1461
+ "properties": {
1462
+ "agentId": {
1463
+ "type": "string"
1464
+ }
1465
+ },
1466
+ "additionalProperties": false
1467
+ }
1468
+ }
1469
+ }
1470
+ }
1471
+ }
1472
+ },
1431
1473
  "/statuses.get": {
1432
1474
  "get": {
1433
1475
  "operationId": "statuses.get",
@@ -4221,6 +4263,19 @@
4221
4263
  },
4222
4264
  "usagePollingEnabled": {
4223
4265
  "type": "boolean"
4266
+ },
4267
+ "cli": {
4268
+ "type": "object",
4269
+ "properties": {
4270
+ "defaultVia": {
4271
+ "type": "string",
4272
+ "enum": [
4273
+ "chat",
4274
+ "terminal"
4275
+ ]
4276
+ }
4277
+ },
4278
+ "additionalProperties": {}
4224
4279
  }
4225
4280
  },
4226
4281
  "additionalProperties": {}
@@ -4863,6 +4918,16 @@
4863
4918
  },
4864
4919
  "path": {
4865
4920
  "type": "string"
4921
+ },
4922
+ "via": {
4923
+ "type": "string",
4924
+ "enum": [
4925
+ "chat",
4926
+ "terminal"
4927
+ ]
4928
+ },
4929
+ "terminalId": {
4930
+ "type": "string"
4866
4931
  }
4867
4932
  },
4868
4933
  "required": [
@@ -4910,14 +4975,18 @@
4910
4975
  "prompt": {
4911
4976
  "type": "string"
4912
4977
  },
4913
- "maxTurns": {
4914
- "type": "number"
4915
- },
4916
4978
  "mode": {
4917
4979
  "type": "string"
4918
4980
  },
4919
4981
  "codingAgentId": {
4920
4982
  "type": "string"
4983
+ },
4984
+ "via": {
4985
+ "type": "string",
4986
+ "enum": [
4987
+ "chat",
4988
+ "terminal"
4989
+ ]
4921
4990
  }
4922
4991
  },
4923
4992
  "required": [
@@ -9118,9 +9187,6 @@
9118
9187
  "completedAt": {
9119
9188
  "type": "number"
9120
9189
  },
9121
- "maxTurns": {
9122
- "type": "number"
9123
- },
9124
9190
  "mode": {
9125
9191
  "type": "string"
9126
9192
  },
@@ -9263,9 +9329,6 @@
9263
9329
  "model": {
9264
9330
  "type": "string"
9265
9331
  },
9266
- "maxTurns": {
9267
- "type": "number"
9268
- },
9269
9332
  "mode": {
9270
9333
  "type": "string"
9271
9334
  },
@@ -9772,7 +9835,7 @@
9772
9835
  ],
9773
9836
  "additionalProperties": false
9774
9837
  },
9775
- "AgentModel": {
9838
+ "CachedAgentModel": {
9776
9839
  "type": "object",
9777
9840
  "properties": {
9778
9841
  "id": {
@@ -9785,8 +9848,7 @@
9785
9848
  "type": "string"
9786
9849
  },
9787
9850
  "contextWindow": {
9788
- "type": "number",
9789
- "description": "Approximate max input context window in tokens (e.g. 200000, 1_000_000)."
9851
+ "type": "number"
9790
9852
  }
9791
9853
  },
9792
9854
  "required": [
@@ -9795,6 +9857,66 @@
9795
9857
  ],
9796
9858
  "additionalProperties": false
9797
9859
  },
9860
+ "AgentModelsEntry": {
9861
+ "type": "object",
9862
+ "properties": {
9863
+ "agentId": {
9864
+ "type": "string"
9865
+ },
9866
+ "agentType": {
9867
+ "type": "string"
9868
+ },
9869
+ "agentLabel": {
9870
+ "type": "string"
9871
+ },
9872
+ "models": {
9873
+ "type": "array",
9874
+ "items": {
9875
+ "$ref": "#/components/schemas/CachedAgentModel"
9876
+ }
9877
+ },
9878
+ "updatedAt": {
9879
+ "type": "number"
9880
+ },
9881
+ "defaultModel": {
9882
+ "type": "string"
9883
+ }
9884
+ },
9885
+ "required": [
9886
+ "agentId",
9887
+ "agentType",
9888
+ "agentLabel",
9889
+ "models"
9890
+ ],
9891
+ "additionalProperties": false
9892
+ },
9893
+ "ModelRefreshResult": {
9894
+ "type": "object",
9895
+ "properties": {
9896
+ "agentId": {
9897
+ "type": "string"
9898
+ },
9899
+ "models": {
9900
+ "type": "array",
9901
+ "items": {
9902
+ "$ref": "#/components/schemas/CachedAgentModel"
9903
+ }
9904
+ },
9905
+ "updatedAt": {
9906
+ "type": "number"
9907
+ },
9908
+ "error": {
9909
+ "type": "string",
9910
+ "description": "When refresh failed, the prior cached list (or the adapter defaults)\nis still returned and `error` is populated with the failure reason."
9911
+ }
9912
+ },
9913
+ "required": [
9914
+ "agentId",
9915
+ "models",
9916
+ "updatedAt"
9917
+ ],
9918
+ "additionalProperties": false
9919
+ },
9798
9920
  "WorkspaceStatusSnapshot": {
9799
9921
  "type": "object",
9800
9922
  "properties": {
@@ -10148,6 +10270,20 @@
10148
10270
  "usagePollingEnabled": {
10149
10271
  "type": "boolean",
10150
10272
  "description": "Whether the Reports usage scanner runs (issue #425). When `false`,\n`UsageScannerService.tick()` is a no-op — the periodic 5-minute\nsweep and the fire-and-forget tick triggered by opening the\nReports dialog are both skipped. Useful for users who don't care\nabout cost reporting and want to claw back the per-tick CPU /\nsubprocess churn (Codex/OpenCode adapters spawn helpers).\nDefaults to `true` (treat `undefined` as enabled)."
10273
+ },
10274
+ "cli": {
10275
+ "type": "object",
10276
+ "properties": {
10277
+ "defaultVia": {
10278
+ "type": "string",
10279
+ "enum": [
10280
+ "chat",
10281
+ "terminal"
10282
+ ]
10283
+ }
10284
+ },
10285
+ "additionalProperties": {},
10286
+ "description": "CLI-scoped preferences (issue #551). Today only `defaultVia` is\nrecognized — the user-level fallback for `band workspaces create\n--prompt` dispatch when no `--via` flag, `BAND_DISPATCH` env var,\nor repo `.band/config.json` value is set."
10151
10287
  }
10152
10288
  },
10153
10289
  "additionalProperties": {}
@@ -10169,6 +10305,17 @@
10169
10305
  },
10170
10306
  "model": {
10171
10307
  "type": "string"
10308
+ },
10309
+ "cachedModels": {
10310
+ "type": "array",
10311
+ "items": {
10312
+ "$ref": "#/components/schemas/CachedAgentModel"
10313
+ },
10314
+ "description": "Cached list of models the agent's SDK / binary reports. Refreshed by\n`ModelRefreshService.refresh()` — explicitly from the Settings UI's\n\"Refresh models\" button, and fire-and-forget at server boot.\n\nThe picker UI (Settings + Chat) reads from this cache directly so it\nstays populated across server restarts and across fresh chats without\nneeding a live SDK call. When the field is absent (fresh install,\nsettings.json from an older version, refresh has never succeeded),\ncallers fall back to the adapter's built-in default list — see\n`ModelRefreshService.getCachedOrDefaults()` and the comments on\neach adapter's `listModels()` method."
10315
+ },
10316
+ "cachedModelsUpdatedAt": {
10317
+ "type": "number",
10318
+ "description": "Epoch ms when `cachedModels` was last refreshed (success or attempt).\nSurfaced in the UI so users can see staleness. Unset until the first\nrefresh completes."
10172
10319
  }
10173
10320
  },
10174
10321
  "required": [
@@ -10751,9 +10898,6 @@
10751
10898
  "prompt": {
10752
10899
  "type": "string"
10753
10900
  },
10754
- "maxTurns": {
10755
- "type": "number"
10756
- },
10757
10901
  "mode": {
10758
10902
  "type": "string"
10759
10903
  },
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, R as React } from "../server.js";
2
- import { m as createLucideIcon, bR as isDesktop, cl as invoke, cm as listen, p as trpc, cn as reactDomExports, co as Globe, cj as SearchBar, cp as Popover, cq as PopoverTrigger, cr as PopoverContent, cs as Search, ct as Trash2, cu as DropdownMenu, cv as DropdownMenuTrigger, cw as ChevronDown, cx as DropdownMenuContent, cy as DropdownMenuItem, cz as TriangleAlert, bX as ArrowLeft, ce as ArrowRight, X, cA 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-PewB2VMR.js";
2
+ import { m as createLucideIcon, bR as isDesktop, cl as invoke, cm as listen, p as trpc, cn as reactDomExports, co as Globe, cj as SearchBar, cp as Popover, cq as PopoverTrigger, cr as PopoverContent, cs as Search, ct as Trash2, cu as DropdownMenu, cv as DropdownMenuTrigger, cw as ChevronDown, cx as DropdownMenuContent, cy as DropdownMenuItem, cz as TriangleAlert, bX as ArrowLeft, ce as ArrowRight, X, cA 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-V4X9DgJt.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -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-PewB2VMR.js";
3
- import { S as SquareTerminal } from "./square-terminal-DdT3sDE4.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-V4X9DgJt.js";
3
+ import { S as SquareTerminal } from "./square-terminal-Dcy5Z6a4.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-7JfdUecD.js").then((m) => ({ default: m.TerminalPanel }))
15
+ () => import("./TerminalPanel-CIQVz_Z4.js").then((m) => ({ default: m.TerminalPanel }))
16
16
  );
17
17
  function uuid() {
18
18
  if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports } from "../server.js";
2
- import { m as createLucideIcon, bX as ArrowLeft, cc as ArrowUp, cd as ArrowDown, ce as ArrowRight, X, cf as ClipboardPaste, c3 as useSettingsQuery, cg as getCurrentZoomLevel, ch as openExternalUrl, ci as subscribeToZoomChanges, cj as SearchBar, ck as ZOOM_CSS_VAR } from "./router-PewB2VMR.js";
2
+ import { m as createLucideIcon, bX as ArrowLeft, cc as ArrowUp, cd as ArrowDown, ce as ArrowRight, X, cf as ClipboardPaste, c3 as useSettingsQuery, cg as getCurrentZoomLevel, ch as openExternalUrl, ci as subscribeToZoomChanges, cj as SearchBar, ck as ZOOM_CSS_VAR } from "./router-V4X9DgJt.js";
3
3
  import "node:async_hooks";
4
4
  import "node:stream";
5
5
  import "util";
@@ -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-Dz_kdarY.js";
2
- import { c_ as isObject, bv as baseRest, c$ as isIterateeCall, d0 as keysIn, d1 as eq, d2 as isArrayLike, d3 as isArray, d4 as identity, d5 as isIndex, d6 as assignValue } from "./router-PewB2VMR.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-CevNURdU.js";
2
+ import { c_ as isObject, bv as baseRest, c$ as isIterateeCall, d0 as keysIn, d1 as eq, d2 as isArrayLike, d3 as isArray, d4 as identity, d5 as isIndex, d6 as assignValue } from "./router-V4X9DgJt.js";
3
3
  var reWhitespace = /\s/;
4
4
  function trimmedEndIndex(string) {
5
5
  var index = string.length;
@@ -1,4 +1,4 @@
1
- import { dg as isObjectLike, dh as baseGetTag, d3 as isArray, di as Symbol$1, d2 as isArrayLike, dj as arrayLikeKeys, dk as baseKeys, dl as memoize, dm as isArguments, dn as copyObject, d0 as keysIn, dp as getPrototype, dq as cloneArrayBuffer, dr as cloneTypedArray, ds as getTag, de as baseUnary, dt as nodeUtil, c_ as isObject, du as copyArray, dv as isBuffer, dw as cloneBuffer, dx as initCloneObject, dy as Stack, d6 as assignValue, dz as MapCache, d1 as eq, dA as Uint8Array, dB as isTypedArray, dC as isLength, d5 as isIndex, d4 as identity, dc as baseFor, dD as Set } from "./router-PewB2VMR.js";
1
+ import { dg as isObjectLike, dh as baseGetTag, d3 as isArray, di as Symbol$1, d2 as isArrayLike, dj as arrayLikeKeys, dk as baseKeys, dl as memoize, dm as isArguments, dn as copyObject, d0 as keysIn, dp as getPrototype, dq as cloneArrayBuffer, dr as cloneTypedArray, ds as getTag, de as baseUnary, dt as nodeUtil, c_ as isObject, du as copyArray, dv as isBuffer, dw as cloneBuffer, dx as initCloneObject, dy as Stack, d6 as assignValue, dz as MapCache, d1 as eq, dA as Uint8Array, dB as isTypedArray, dC as isLength, d5 as isIndex, d4 as identity, dc as baseFor, dD as Set } from "./router-V4X9DgJt.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-axhmccT5.js"], "assets": [{ "tag": "link", "attrs": { "rel": "stylesheet", "href": "/assets/main-BzKe6bG7.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-BzKe6bG7.css", "type": "text/css" } }], "preloads": ["/assets/index-pr8WXb_L.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-BzKe6bG7.css", "type": "text/css" } }], "preloads": ["/assets/workspace._workspaceId-DorcrnsD.js", "/assets/square-terminal-BiJr_LVr.js"] } }, "clientEntry": "/assets/main-axhmccT5.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-PewB2VMR.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-V4X9DgJt.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-oaV6PZnA.js";
2
- import { A } from "./mermaid-parser.core-oaV6PZnA.js";
3
- import "./router-PewB2VMR.js";
1
+ import { e as createArchitectureServices } from "./mermaid-parser.core-BLOfHo-D.js";
2
+ import { A } from "./mermaid-parser.core-BLOfHo-D.js";
3
+ import "./router-V4X9DgJt.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-Dz_kdarY.js";
16
- import "./_basePickBy-3tZLkfZU.js";
17
- import "./clone-DFaP-n7G.js";
15
+ import "./_baseUniq-CevNURdU.js";
16
+ import "./_basePickBy-Bgz-DXU9.js";
17
+ import "./clone-D2G5HtzD.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, c9 as getIconSVG, a0 as sanitizeText, V as select, af as getEdgeId, ca as registerIconPacks, cb as unknownIcon } from "./router-PewB2VMR.js";
3
- import { p as populateCommonDb } from "./chunk-4BX2VUAB-DVHBGPAd.js";
4
- import { p as parse } from "./mermaid-parser.core-oaV6PZnA.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, c9 as getIconSVG, a0 as sanitizeText, V as select, af as getEdgeId, ca as registerIconPacks, cb as unknownIcon } from "./router-V4X9DgJt.js";
3
+ import { p as populateCommonDb } from "./chunk-4BX2VUAB-DHfsBptR.js";
4
+ import { p as parse } from "./mermaid-parser.core-BLOfHo-D.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-Dz_kdarY.js";
11
- import "./_basePickBy-3tZLkfZU.js";
12
- import "./clone-DFaP-n7G.js";
10
+ import "./_baseUniq-CevNURdU.js";
11
+ import "./_basePickBy-Bgz-DXU9.js";
12
+ import "./clone-D2G5HtzD.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-BSvY40K1.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-PewB2VMR.js";
3
- import { c as clone } from "./clone-DFaP-n7G.js";
4
- import { G as Graph } from "./graph-Da9wNyd4.js";
5
- import { c as channel } from "./channel-DzI1wGYl.js";
1
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CPlukapU.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-V4X9DgJt.js";
3
+ import { c as clone } from "./clone-D2G5HtzD.js";
4
+ import { G as Graph } from "./graph-DdtTxequ.js";
5
+ import { c as channel } from "./channel-DFaIo-PG.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-Dz_kdarY.js";
17
+ import "./_baseUniq-CevNURdU.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-FZqT6NRx.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-PewB2VMR.js";
2
+ import { g as getNoteRect, d as drawRect } from "./chunk-TZMSLE5B-DXQ0720e.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-V4X9DgJt.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-PewB2VMR.js";
1
+ import { aj as Utils, ak as Color } from "./router-V4X9DgJt.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-PewB2VMR.js";
1
+ import { _ as __name } from "./router-V4X9DgJt.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-PewB2VMR.js";
1
+ import { _ as __name, V as select } from "./router-V4X9DgJt.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-BSvY40K1.js";
3
- import { g as getDiagramElement } from "./chunk-55IACEB6-BXeWT-V1.js";
4
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-Bld2F-bV.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-PewB2VMR.js";
2
+ import { g as getIconStyles } from "./chunk-FMBD7UC4-CPlukapU.js";
3
+ import { g as getDiagramElement } from "./chunk-55IACEB6-jIjVbMix.js";
4
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-BBEzEMyZ.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-V4X9DgJt.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-BXeWT-V1.js";
3
- import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-Bld2F-bV.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-PewB2VMR.js";
2
+ import { g as getDiagramElement } from "./chunk-55IACEB6-jIjVbMix.js";
3
+ import { s as setupViewPortForSVG } from "./chunk-QN33PNHL-BBEzEMyZ.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-V4X9DgJt.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-PewB2VMR.js";
1
+ import { _ as __name } from "./router-V4X9DgJt.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-PewB2VMR.js";
1
+ import { _ as __name, Y as configureSvgSize, W as log } from "./router-V4X9DgJt.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-PewB2VMR.js";
2
+ import { _ as __name } from "./router-V4X9DgJt.js";
3
3
  var ImperativeState = (_a = class {
4
4
  /**
5
5
  * @param init - Function that creates the default state.
@@ -1,4 +1,4 @@
1
- import { _ as __name, a5 as lineBreakRegex, a1 as distExports } from "./router-PewB2VMR.js";
1
+ import { _ as __name, a5 as lineBreakRegex, a1 as distExports } from "./router-V4X9DgJt.js";
2
2
  var drawRect = /* @__PURE__ */ __name((element, rectData) => {
3
3
  const rectElement = element.append("rect");
4
4
  rectElement.attr("x", rectData.x);
@@ -1,8 +1,8 @@
1
- import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-B4BG7PRW-BngOdF6s.js";
2
- import { _ as __name } from "./router-PewB2VMR.js";
3
- import "./chunk-FMBD7UC4-BSvY40K1.js";
4
- import "./chunk-55IACEB6-BXeWT-V1.js";
5
- import "./chunk-QN33PNHL-Bld2F-bV.js";
1
+ import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-B4BG7PRW-CZ4z-SYy.js";
2
+ import { _ as __name } from "./router-V4X9DgJt.js";
3
+ import "./chunk-FMBD7UC4-CPlukapU.js";
4
+ import "./chunk-55IACEB6-jIjVbMix.js";
5
+ import "./chunk-QN33PNHL-BBEzEMyZ.js";
6
6
  import "../server.js";
7
7
  import "node:async_hooks";
8
8
  import "node:stream";
@@ -1,8 +1,8 @@
1
- import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-B4BG7PRW-BngOdF6s.js";
2
- import { _ as __name } from "./router-PewB2VMR.js";
3
- import "./chunk-FMBD7UC4-BSvY40K1.js";
4
- import "./chunk-55IACEB6-BXeWT-V1.js";
5
- import "./chunk-QN33PNHL-Bld2F-bV.js";
1
+ import { s as styles_default, c as classRenderer_v3_unified_default, a as classDiagram_default, C as ClassDB } from "./chunk-B4BG7PRW-CZ4z-SYy.js";
2
+ import { _ as __name } from "./router-V4X9DgJt.js";
3
+ import "./chunk-FMBD7UC4-CPlukapU.js";
4
+ import "./chunk-55IACEB6-jIjVbMix.js";
5
+ import "./chunk-QN33PNHL-BBEzEMyZ.js";
6
6
  import "../server.js";
7
7
  import "node:async_hooks";
8
8
  import "node:stream";
@@ -1,4 +1,4 @@
1
- import { b as baseClone } from "./_baseUniq-Dz_kdarY.js";
1
+ import { b as baseClone } from "./_baseUniq-CevNURdU.js";
2
2
  var CLONE_SYMBOLS_FLAG = 4;
3
3
  function clone(value) {
4
4
  return baseClone(value, CLONE_SYMBOLS_FLAG);
@@ -1,4 +1,4 @@
1
- import { _ as __name, W as log, V as select } from "./router-PewB2VMR.js";
1
+ import { _ as __name, W as log, V as select } from "./router-V4X9DgJt.js";
2
2
  import { c as cytoscape$1 } from "./cytoscape.esm-Bm8DJGmZ.js";
3
3
  import { g as getDefaultExportFromCjs } from "../server.js";
4
4
  import "node:process";