@band-app/server 0.31.1 → 0.33.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.
- package/dist/client/assets/{TerminalPanel-DdoEObnF.js → TerminalPanel-CyltRZLD.js} +1 -1
- package/dist/client/assets/_basePickBy-Dl99bUuK.js +1 -0
- package/dist/client/assets/{_baseUniq-BZZjCl_a.js → _baseUniq-xYPKjKRI.js} +1 -1
- package/dist/client/assets/addon-unicode11-LsnDChsR.js +1 -0
- package/dist/client/assets/{arc-CHfgBvn_.js → arc-L0FqLNvl.js} +1 -1
- package/dist/client/assets/{architectureDiagram-VXUJARFQ-DQA19xNg.js → architectureDiagram-VXUJARFQ-sxFQR6t8.js} +1 -1
- package/dist/client/assets/{blockDiagram-VD42YOAC-F8PTxmQ_.js → blockDiagram-VD42YOAC-CKyryScy.js} +4 -4
- package/dist/client/assets/{c4Diagram-YG6GDRKO-BJUm36SI.js → c4Diagram-YG6GDRKO-CKkLibM6.js} +1 -1
- package/dist/client/assets/channel-CnUqAM2K.js +1 -0
- package/dist/client/assets/{chunk-4BX2VUAB-C1wjI1w7.js → chunk-4BX2VUAB-B2Q5eiyh.js} +1 -1
- package/dist/client/assets/{chunk-55IACEB6-CGfcCH6v.js → chunk-55IACEB6-Bx7ppH1E.js} +1 -1
- package/dist/client/assets/{chunk-B4BG7PRW-DmVN_q5R.js → chunk-B4BG7PRW-z63abbDt.js} +3 -3
- package/dist/client/assets/{chunk-DI55MBZ5-Cp0-lUyt.js → chunk-DI55MBZ5-CVuxJX-G.js} +3 -3
- package/dist/client/assets/{chunk-FMBD7UC4-BE3Cu6Ut.js → chunk-FMBD7UC4-C4mR-Kqh.js} +1 -1
- package/dist/client/assets/{chunk-QN33PNHL-CPVRy0ja.js → chunk-QN33PNHL-DC9EuvVO.js} +1 -1
- package/dist/client/assets/{chunk-QZHKN3VN-C7Y7bhq5.js → chunk-QZHKN3VN-BVfYPmR6.js} +1 -1
- package/dist/client/assets/{chunk-TZMSLE5B-Bi_vlgox.js → chunk-TZMSLE5B-BERfyjOQ.js} +1 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-Bl2ARqSW.js +1 -0
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-Bl2ARqSW.js +1 -0
- package/dist/client/assets/clone-DoC0Yowh.js +1 -0
- package/dist/client/assets/{cose-bilkent-S5V4N54A-CoCMLv_6.js → cose-bilkent-S5V4N54A-CKYh86Nn.js} +1 -1
- package/dist/client/assets/{dagre-6UL2VRFP-EnAkiIUe.js → dagre-6UL2VRFP-CHXYsbsT.js} +2 -2
- package/dist/client/assets/{diagram-PSM6KHXK-C2Y89USX.js → diagram-PSM6KHXK-BgTabbUt.js} +1 -1
- package/dist/client/assets/{diagram-QEK2KX5R-B-lmAMSj.js → diagram-QEK2KX5R-DGko5nSx.js} +2 -2
- package/dist/client/assets/diagram-S2PKOQOG-CE06Gb7p.js +24 -0
- package/dist/client/assets/{erDiagram-Q2GNP2WA-PNRr4PfI.js → erDiagram-Q2GNP2WA-DRAdXF3c.js} +3 -3
- package/dist/client/assets/{flowDiagram-NV44I4VS-DMJLrOve.js → flowDiagram-NV44I4VS-DMdYos4M.js} +3 -3
- package/dist/client/assets/{ganttDiagram-JELNMOA3-B8xTGdhz.js → ganttDiagram-JELNMOA3-B1hq9zyH.js} +5 -5
- package/dist/client/assets/gitGraphDiagram-V2S2FVAM-BX_eqyqV.js +65 -0
- package/dist/client/assets/{graph-DtlkBWdT.js → graph-B1pXNJmu.js} +1 -1
- package/dist/client/assets/highlighted-body-B3W2YXNL-xpTIV5H4.js +1 -0
- package/dist/client/assets/index-61SgNErm.js +3 -0
- package/dist/client/assets/index-67ml7mn1.js +1 -0
- package/dist/client/assets/index-BAlyKPeT.js +1 -0
- package/dist/client/assets/index-BD37kyMP.js +1 -0
- package/dist/client/assets/index-BHygUCeT.js +1 -0
- package/dist/client/assets/{index-DwIIxwyA.js → index-BYm6dlG5.js} +2 -2
- package/dist/client/assets/index-CWczZ7eS.js +1 -0
- package/dist/client/assets/{index-DzmcYgsK.js → index-CoSFZPv4.js} +1 -1
- package/dist/client/assets/index-DNX82GPp.js +1 -0
- package/dist/client/assets/index-DUaIvPpT.js +7 -0
- package/dist/client/assets/index-Dm9xRcT9.js +1 -0
- package/dist/client/assets/index-Do4DO4E-.js +1 -0
- package/dist/client/assets/index-Mpl66MhJ.js +1 -0
- package/dist/client/assets/{infoDiagram-HS3SLOUP-DekD9pOv.js → infoDiagram-HS3SLOUP-DHAIDbZu.js} +1 -1
- package/dist/client/assets/{journeyDiagram-XKPGCS4Q-Fzs0FbeM.js → journeyDiagram-XKPGCS4Q-BJHZIWhu.js} +1 -1
- package/dist/client/assets/{kanban-definition-3W4ZIXB7-6B7ehAZt.js → kanban-definition-3W4ZIXB7-_qzn6_ii.js} +6 -6
- package/dist/client/assets/{layout-CcUD7gHw.js → layout-CksxJldr.js} +1 -1
- package/dist/client/assets/main-D4u0xEOA.css +1 -0
- package/dist/client/assets/main-FnYu011V.js +1002 -0
- package/dist/client/assets/{mindmap-definition-VGOIOE7T-CfY1kt2W.js → mindmap-definition-VGOIOE7T-Deop3o-V.js} +4 -4
- package/dist/client/assets/{pieDiagram-ADFJNKIX-C-ZZw4jN.js → pieDiagram-ADFJNKIX-d4k56ZYA.js} +2 -2
- package/dist/client/assets/{quadrantDiagram-AYHSOK5B-Cn4pxyBH.js → quadrantDiagram-AYHSOK5B-CBA2J09q.js} +1 -1
- package/dist/client/assets/{requirementDiagram-UZGBJVZJ-B0UYN1Sq.js → requirementDiagram-UZGBJVZJ-C6Nnujg6.js} +1 -1
- package/dist/client/assets/{sankeyDiagram-TZEHDZUN-DegmNHvK.js → sankeyDiagram-TZEHDZUN-CPfLLuk9.js} +6 -6
- package/dist/client/assets/{sequenceDiagram-WL72ISMW-B8BlHF2c.js → sequenceDiagram-WL72ISMW-C_OY-5TF.js} +6 -6
- package/dist/client/assets/{stateDiagram-FKZM4ZOC-3FR63a_N.js → stateDiagram-FKZM4ZOC-CeuP4CjM.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-B9BH2TF6.js +1 -0
- package/dist/client/assets/{timeline-definition-IT6M3QCI-F2yYpGjm.js → timeline-definition-IT6M3QCI-CL_Rmapn.js} +4 -4
- package/dist/client/assets/{treemap-GDKQZRPO-Br0ExAYs.js → treemap-GDKQZRPO-2uvsx2LQ.js} +1 -1
- package/dist/client/assets/workspace._workspaceId-D3mRY9_6.js +1 -0
- package/dist/client/assets/{workspace._workspaceId-DxBPbkq5.js → workspace._workspaceId-DF3JNMRG.js} +1 -1
- package/dist/client/assets/{xychartDiagram-PRI3JC2R-CnbekSuG.js → xychartDiagram-PRI3JC2R-5Pzm62mv.js} +1 -1
- package/dist/migrations/20260926162113_browser_profiles/migration.sql +12 -0
- package/dist/migrations/20260926162113_browser_profiles/snapshot.json +1520 -0
- package/dist/migrations/20260927123820_agent_sessions/migration.sql +16 -0
- package/dist/migrations/20260927123820_agent_sessions/snapshot.json +1675 -0
- package/dist/openapi.json +2748 -1140
- package/dist/server/assets/{TerminalPanel-CThgG3BY.js → TerminalPanel-DMTU2FMX.js} +1 -1
- package/dist/server/assets/{_basePickBy-DMEcDwoD.js → _basePickBy-CMTHAoTW.js} +2 -2
- package/dist/server/assets/{_baseUniq-C6YEem8Y.js → _baseUniq-DkG_FLLk.js} +1 -1
- package/dist/server/assets/_tanstack-start-manifest_v-cBOqdEgL.js +4 -0
- package/dist/server/assets/addon-unicode11-BhCmKRb7.js +181 -0
- package/dist/server/assets/{arc-CcEw1rIf.js → arc-CSj375cS.js} +1 -1
- package/dist/server/assets/{architecture-7HQA4BMR-BXvzNToj.js → architecture-7HQA4BMR-MwhJw22a.js} +6 -6
- package/dist/server/assets/{architectureDiagram-VXUJARFQ-BliQCKdG.js → architectureDiagram-VXUJARFQ-DyVVxp88.js} +6 -6
- package/dist/server/assets/{blockDiagram-VD42YOAC-CjmYP_Tq.js → blockDiagram-VD42YOAC-aGbi3Kv_.js} +6 -6
- package/dist/server/assets/{c4Diagram-YG6GDRKO-BfRolLuL.js → c4Diagram-YG6GDRKO-DhyUvqPs.js} +2 -2
- package/dist/server/assets/{channel-CmYmU2fF.js → channel-CJthnbp1.js} +1 -1
- package/dist/server/assets/{chunk-4BX2VUAB-DnWdxOy5.js → chunk-4BX2VUAB-Ch7bkquC.js} +1 -1
- package/dist/server/assets/{chunk-55IACEB6-BTmbTQIk.js → chunk-55IACEB6-CLKopZj8.js} +1 -1
- package/dist/server/assets/{chunk-B4BG7PRW-Dd8U8eRH.js → chunk-B4BG7PRW-BVv_KeWC.js} +4 -4
- package/dist/server/assets/{chunk-DI55MBZ5-DOSx8ES_.js → chunk-DI55MBZ5-C0_HSk1s.js} +3 -3
- package/dist/server/assets/{chunk-FMBD7UC4-DoS4CUAI.js → chunk-FMBD7UC4-3fy4TSVt.js} +1 -1
- package/dist/server/assets/{chunk-QN33PNHL-81e5hpqA.js → chunk-QN33PNHL-QdSQZPQz.js} +1 -1
- package/dist/server/assets/{chunk-QZHKN3VN-Cruwx7ml.js → chunk-QZHKN3VN-Dak-YXr5.js} +1 -1
- package/dist/server/assets/{chunk-TZMSLE5B-CVdCnVV1.js → chunk-TZMSLE5B-ThSW8afd.js} +1 -1
- package/dist/server/assets/{classDiagram-v2-WZHVMYZB-CI4dbXAN.js → classDiagram-2ON5EDUG-Cmkciu-2.js} +5 -5
- package/dist/server/assets/{classDiagram-2ON5EDUG-CI4dbXAN.js → classDiagram-v2-WZHVMYZB-Cmkciu-2.js} +5 -5
- package/dist/server/assets/{clone-DCf3XlPY.js → clone-ciZ96ZK2.js} +1 -1
- package/dist/server/assets/{cose-bilkent-S5V4N54A-MuUXxVtC.js → cose-bilkent-S5V4N54A-CP20--8W.js} +1 -1
- package/dist/server/assets/{dagre-6UL2VRFP-C7ckn20c.js → dagre-6UL2VRFP-D9LrmNJH.js} +6 -6
- package/dist/server/assets/{diagram-PSM6KHXK-CMxqFNNc.js → diagram-PSM6KHXK-l3xztHYH.js} +7 -7
- package/dist/server/assets/{diagram-QEK2KX5R-DGn7Wc3l.js → diagram-QEK2KX5R-i9twZ5aj.js} +6 -6
- package/dist/server/assets/{diagram-S2PKOQOG-DCkkbBLl.js → diagram-S2PKOQOG-DIHmhvbo.js} +6 -6
- package/dist/server/assets/{erDiagram-Q2GNP2WA-CKPFaAp2.js → erDiagram-Q2GNP2WA-fMWrL8ta.js} +4 -4
- package/dist/server/assets/{flowDiagram-NV44I4VS-DFf8L08F.js → flowDiagram-NV44I4VS-BqKFb2gL.js} +5 -5
- package/dist/server/assets/{ganttDiagram-JELNMOA3-1-t_r6jX.js → ganttDiagram-JELNMOA3-XwScweUm.js} +1 -1
- package/dist/server/assets/{gitGraph-G5XIXVHT-CXVQFRFs.js → gitGraph-G5XIXVHT-DDO_mRkl.js} +6 -6
- package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-DVqN7ZP0.js → gitGraphDiagram-V2S2FVAM-B2e2LaZt.js} +7 -7
- package/dist/server/assets/{graph-Dot7YH89.js → graph-DqF0fiyC.js} +2 -2
- package/dist/server/assets/{highlighted-body-B3W2YXNL-8cjZuRJ2.js → highlighted-body-B3W2YXNL-B9lH9lqG.js} +1 -1
- package/dist/server/assets/{index-C1hQNNzU.js → index-BFzH6uNZ.js} +1 -2
- package/dist/server/assets/{index-Bi1NreVG.js → index-BRPRiIzs.js} +1 -5
- package/dist/server/assets/{index-D6Vm7E_i.js → index-BZSpvQ87.js} +1 -2
- package/dist/server/assets/{index-BcZgkaNS.js → index-BuxMoI9R.js} +1 -2
- package/dist/server/assets/{index-GgrvHhHi.js → index-C0T5sHCj.js} +1 -3
- package/dist/server/assets/{index-nzUHfYBx.js → index-C35Eg9Oe.js} +1 -2
- package/dist/server/assets/{index-CxlXrP3m.js → index-C4LlK8zq.js} +1 -1
- package/dist/server/assets/{index-B2x1DfYc.js → index-Cz3ed2GU.js} +1 -2
- package/dist/server/assets/{index-BDgBWXBD.js → index-Oepbj3Cu.js} +1 -2
- package/dist/server/assets/{index-Ba8AA28e.js → index-QY-ciJ02.js} +1 -2
- package/dist/server/assets/{index-D3AFKy3U.js → index-dOV5Jyvk.js} +1 -3
- package/dist/server/assets/{index-p6O_x_qN.js → index-iLqcyvvo.js} +1 -2
- package/dist/server/assets/{index-AmUVRRsa.js → index-ihiIN7Vo.js} +1 -2
- package/dist/server/assets/{info-VBDWY6EO-BXRDzzOP.js → info-VBDWY6EO-BSfwYSKN.js} +6 -6
- package/dist/server/assets/{infoDiagram-HS3SLOUP-D2jQYgOa.js → infoDiagram-HS3SLOUP-BcPNSucE.js} +5 -5
- package/dist/server/assets/{journeyDiagram-XKPGCS4Q-bf_S8co7.js → journeyDiagram-XKPGCS4Q-B_JljIi2.js} +4 -4
- package/dist/server/assets/{kanban-definition-3W4ZIXB7-eje5lYLG.js → kanban-definition-3W4ZIXB7-B5aPUZvg.js} +2 -2
- package/dist/server/assets/{layout-D3AhBFqI.js → layout-Cv2BYqNX.js} +4 -4
- package/dist/server/assets/{mermaid-3ZIDBTTL-C-00O3F0.js → mermaid-3ZIDBTTL-D_akVRms.js} +1 -1
- package/dist/server/assets/{mermaid-parser.core-CyX4B1l5.js → mermaid-parser.core-uDeqwrPN.js} +11 -11
- package/dist/server/assets/{mindmap-definition-VGOIOE7T-D51F_plo.js → mindmap-definition-VGOIOE7T-C9LF9XTT.js} +3 -3
- package/dist/server/assets/{packet-DYOGHKS2-CCJkkNTh.js → packet-DYOGHKS2-lRBX1T35.js} +6 -6
- package/dist/server/assets/{pie-VRWISCQL-7Tei6lnA.js → pie-VRWISCQL-BCZ9vmsj.js} +6 -6
- package/dist/server/assets/{pieDiagram-ADFJNKIX-BclaT-41.js → pieDiagram-ADFJNKIX-HYsm0km8.js} +7 -7
- package/dist/server/assets/{quadrantDiagram-AYHSOK5B-CnerVMbZ.js → quadrantDiagram-AYHSOK5B-Fdzz2j2T.js} +1 -1
- package/dist/server/assets/{radar-ZZBFDIW7-QLmbgAT7.js → radar-ZZBFDIW7-iZ-6xOx9.js} +6 -6
- package/dist/server/assets/{requirementDiagram-UZGBJVZJ-a2FIYlfE.js → requirementDiagram-UZGBJVZJ-CeHGAs1A.js} +3 -3
- package/dist/server/assets/{router-DDnNUwTm.js → router-A58OKuIG.js} +52793 -29611
- package/dist/server/assets/{sankeyDiagram-TZEHDZUN-B3I-S6CG.js → sankeyDiagram-TZEHDZUN-DXgjoM9B.js} +1 -1
- package/dist/server/assets/{sequenceDiagram-WL72ISMW-kgJrgJ9r.js → sequenceDiagram-WL72ISMW-BK24aHRm.js} +3 -3
- package/dist/server/assets/{stateDiagram-FKZM4ZOC-C6UTf0ag.js → stateDiagram-FKZM4ZOC-uW8qduwY.js} +8 -8
- package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-Dj0SlbA4.js → stateDiagram-v2-4FDKWEC3-O0D8F8J2.js} +4 -4
- package/dist/server/assets/{timeline-definition-IT6M3QCI-DGPtqtJD.js → timeline-definition-IT6M3QCI-BaSl1O8h.js} +2 -2
- package/dist/server/assets/{treemap-GDKQZRPO-B-wn0rT7.js → treemap-GDKQZRPO-DqxwR6w-.js} +6 -6
- package/dist/server/assets/{workspace._workspaceId-CG5NG8aZ.js → workspace._workspaceId-B09dwAP5.js} +1 -1
- package/dist/server/assets/workspace._workspaceId-CZZSeH-P.js +316 -0
- package/dist/server/assets/{xychartDiagram-PRI3JC2R-BTb4nc1D.js → xychartDiagram-PRI3JC2R-Du3l-FcL.js} +1 -1
- package/dist/server/server.js +2 -2
- package/dist/start-server.mjs +80228 -58130
- package/dist/terminal-daemon.mjs +747 -113
- package/package.json +6 -4
- package/dist/client/assets/_basePickBy-B3BFyLWC.js +0 -1
- package/dist/client/assets/channel-RulspXoY.js +0 -1
- package/dist/client/assets/classDiagram-2ON5EDUG-Db0XAgV5.js +0 -1
- package/dist/client/assets/classDiagram-v2-WZHVMYZB-Db0XAgV5.js +0 -1
- package/dist/client/assets/clone-OMk_JTVX.js +0 -1
- package/dist/client/assets/diagram-S2PKOQOG-D3nbDuM4.js +0 -24
- package/dist/client/assets/gitGraphDiagram-V2S2FVAM-1W-3cgTi.js +0 -65
- package/dist/client/assets/highlighted-body-B3W2YXNL-By10eQ93.js +0 -1
- package/dist/client/assets/index-3OKF_8Is.js +0 -1
- package/dist/client/assets/index-Bgy7cu0a.js +0 -1
- package/dist/client/assets/index-BzNAZ5FA.js +0 -1
- package/dist/client/assets/index-Bzw80mva.js +0 -1
- package/dist/client/assets/index-C0hp-RSv.js +0 -7
- package/dist/client/assets/index-CEIbmBrz.js +0 -1
- package/dist/client/assets/index-D0-MMrtE.js +0 -13
- package/dist/client/assets/index-D1tzUCeW.js +0 -1
- package/dist/client/assets/index-DS648c4_.js +0 -1
- package/dist/client/assets/index-DV4-ZPTy.js +0 -1
- package/dist/client/assets/index-DkJyKKg0.js +0 -1
- package/dist/client/assets/index-Do8FqasK.js +0 -1
- package/dist/client/assets/index-DtgD3j-s.js +0 -6
- package/dist/client/assets/index-UlnCpzJG.js +0 -1
- package/dist/client/assets/index-bqUQQY5s.js +0 -3
- package/dist/client/assets/index-os2U5ZBq.js +0 -1
- package/dist/client/assets/main-B-TE9tSM.js +0 -979
- package/dist/client/assets/main-mRE1Fhv7.css +0 -1
- package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BrxlUWYt.js +0 -1
- package/dist/client/assets/workspace._workspaceId-C0VOYb-1.js +0 -1
- package/dist/server/assets/_tanstack-start-manifest_v-D-Rf7MMa.js +0 -4
- package/dist/server/assets/index-Bt0zkb77.js +0 -1052
- package/dist/server/assets/index-CImaqmmh.js +0 -1764
- package/dist/server/assets/index-CXGBWoOB.js +0 -2499
- package/dist/server/assets/index-CyFAdMlV.js +0 -1030
- package/dist/server/assets/index-DoE2xDo2.js +0 -653
- package/dist/server/assets/workspace._workspaceId-Dd-upXb6.js +0 -309
package/dist/server/assets/{sankeyDiagram-TZEHDZUN-B3I-S6CG.js → sankeyDiagram-TZEHDZUN-DXgjoM9B.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b, _c;
|
|
2
|
-
import {
|
|
2
|
+
import { J as setDiagramTitle, M as getDiagramTitle, m as setAccDescription, n as getAccDescription, p as setAccTitle, o as getAccTitle, _ as __name, q as getConfig2, V as defaultConfig2, r as select, bQ as ordinal, az as setupGraphViewbox, U as clear, B as common_default } from "./router-A58OKuIG.js";
|
|
3
3
|
import "../server.js";
|
|
4
4
|
import "node:async_hooks";
|
|
5
5
|
import "node:stream";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _a;
|
|
2
|
-
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-TZMSLE5B-
|
|
3
|
-
import { _ as __name,
|
|
4
|
-
import { I as ImperativeState } from "./chunk-QZHKN3VN-
|
|
2
|
+
import { a as drawBackgroundRect, b as getTextObj, g as getNoteRect, d as drawRect, c as drawEmbeddedImage, e as drawImage } from "./chunk-TZMSLE5B-ThSW8afd.js";
|
|
3
|
+
import { _ as __name, F as setConfig2, q as getConfig2, r as select, u as log, z as distExports, v as configureSvgSize, w as assignWithDepth_default, B as common_default, p as setAccTitle, m as setAccDescription, J as setDiagramTitle, o as getAccTitle, n as getAccDescription, M as getDiagramTitle, O as load, P as JSON_SCHEMA, U as clear, y as sanitizeText, I as utils_default, aq as hasKatex, ar as calculateMathMLDimensions, as as parseFontSize, at as ZERO_WIDTH_SPACE, au as getUrl, av as renderKatexSanitized, a2 as getConfig } from "./router-A58OKuIG.js";
|
|
4
|
+
import { I as ImperativeState } from "./chunk-QZHKN3VN-Dak-YXr5.js";
|
|
5
5
|
import "../server.js";
|
|
6
6
|
import "node:async_hooks";
|
|
7
7
|
import "node:stream";
|
package/dist/server/assets/{stateDiagram-FKZM4ZOC-C6UTf0ag.js → stateDiagram-FKZM4ZOC-uW8qduwY.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as __name,
|
|
3
|
-
import { G as Graph } from "./graph-
|
|
4
|
-
import { l as layout } from "./layout-
|
|
5
|
-
import "./chunk-55IACEB6-
|
|
6
|
-
import "./chunk-QN33PNHL-
|
|
1
|
+
import { s as styles_default, a as stateDiagram_default, S as StateDB } from "./chunk-DI55MBZ5-C0_HSk1s.js";
|
|
2
|
+
import { _ as __name, q as getConfig2, r as select, u as log, v as configureSvgSize, B as common_default, ap as line, ax as curveBasis, au as getUrl, I as utils_default } from "./router-A58OKuIG.js";
|
|
3
|
+
import { G as Graph } from "./graph-DqF0fiyC.js";
|
|
4
|
+
import { l as layout } from "./layout-Cv2BYqNX.js";
|
|
5
|
+
import "./chunk-55IACEB6-CLKopZj8.js";
|
|
6
|
+
import "./chunk-QN33PNHL-QdSQZPQz.js";
|
|
7
7
|
import "../server.js";
|
|
8
8
|
import "node:async_hooks";
|
|
9
9
|
import "node:stream";
|
|
@@ -15,8 +15,8 @@ import "node:stream/web";
|
|
|
15
15
|
import "node:process";
|
|
16
16
|
import "node:path";
|
|
17
17
|
import "node:url";
|
|
18
|
-
import "./_baseUniq-
|
|
19
|
-
import "./_basePickBy-
|
|
18
|
+
import "./_baseUniq-DkG_FLLk.js";
|
|
19
|
+
import "./_basePickBy-CMTHAoTW.js";
|
|
20
20
|
var drawStartState = /* @__PURE__ */ __name((g) => g.append("circle").attr("class", "start-state").attr("r", getConfig2().state.sizeUnit).attr("cx", getConfig2().state.padding + getConfig2().state.sizeUnit).attr("cy", getConfig2().state.padding + getConfig2().state.sizeUnit), "drawStartState");
|
|
21
21
|
var drawDivider = /* @__PURE__ */ __name((g) => g.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", getConfig2().state.textHeight).attr("class", "divider").attr("x2", getConfig2().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider");
|
|
22
22
|
var drawSimpleState = /* @__PURE__ */ __name((g, stateDef) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-DI55MBZ5-
|
|
2
|
-
import { _ as __name } from "./router-
|
|
3
|
-
import "./chunk-55IACEB6-
|
|
4
|
-
import "./chunk-QN33PNHL-
|
|
1
|
+
import { s as styles_default, b as stateRenderer_v3_unified_default, a as stateDiagram_default, S as StateDB } from "./chunk-DI55MBZ5-C0_HSk1s.js";
|
|
2
|
+
import { _ as __name } from "./router-A58OKuIG.js";
|
|
3
|
+
import "./chunk-55IACEB6-CLKopZj8.js";
|
|
4
|
+
import "./chunk-QN33PNHL-QdSQZPQz.js";
|
|
5
5
|
import "../server.js";
|
|
6
6
|
import "node:async_hooks";
|
|
7
7
|
import "node:stream";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as __name,
|
|
2
|
-
import { d as d3arc } from "./arc-
|
|
1
|
+
import { _ as __name, q as getConfig2, u as log, r as select, az as setupGraphViewbox, aA as isDark, aB as lighten, aC as darken, Z as __export, aD as commonDb_exports, U as clear } from "./router-A58OKuIG.js";
|
|
2
|
+
import { d as d3arc } from "./arc-CSj375cS.js";
|
|
3
3
|
import "../server.js";
|
|
4
4
|
import "node:async_hooks";
|
|
5
5
|
import "node:stream";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { h as createTreemapServices } from "./mermaid-parser.core-
|
|
2
|
-
import { T } from "./mermaid-parser.core-
|
|
3
|
-
import "./router-
|
|
1
|
+
import { h as createTreemapServices } from "./mermaid-parser.core-uDeqwrPN.js";
|
|
2
|
+
import { T } from "./mermaid-parser.core-uDeqwrPN.js";
|
|
3
|
+
import "./router-A58OKuIG.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-
|
|
16
|
-
import "./_basePickBy-
|
|
17
|
-
import "./clone-
|
|
15
|
+
import "./_baseUniq-DkG_FLLk.js";
|
|
16
|
+
import "./_basePickBy-CMTHAoTW.js";
|
|
17
|
+
import "./clone-ciZ96ZK2.js";
|
|
18
18
|
import "path";
|
|
19
19
|
import "os";
|
|
20
20
|
import "net";
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { j as jsxRuntimeExports, r as reactExports } from "../server.js";
|
|
2
|
+
import { bp as createLucideIcon, bq as Root, br as Content, bs as Close, bt as X, bu as cn, bv as Title, bw as Description, bx as Portal, by as Overlay, R as Route, bl as useIsDesktop, bz as useDashboardStore, bo as isDesktop, bA as useWorkspacePath, bB as getWorkspaceLeafActions, bC as parseFileLocation, bD as DesktopDragRegion, bE as ChevronsUpDown, bF as FolderOpen, bG as GitCompare, bH as WorkspaceCenterDockview, bI as FileBrowser, bJ as ChangesSections, bK as QuickOpenDialog, bL as SearchFilesDialog, bM as WorkspacePickerDialog, bm as ToolbarOverflowProvider, bi as DashboardShell, bn as ToolbarActionBar, bN as useWorkspaceChanges, bO as countChangedPaths } from "./router-A58OKuIG.js";
|
|
3
|
+
import "node:async_hooks";
|
|
4
|
+
import "node:stream";
|
|
5
|
+
import "util";
|
|
6
|
+
import "crypto";
|
|
7
|
+
import "async_hooks";
|
|
8
|
+
import "stream";
|
|
9
|
+
import "node:stream/web";
|
|
10
|
+
import "node:process";
|
|
11
|
+
import "node:path";
|
|
12
|
+
import "node:url";
|
|
13
|
+
const __iconNode = [
|
|
14
|
+
["path", { d: "M4 5h16", key: "1tepv9" }],
|
|
15
|
+
["path", { d: "M4 12h16", key: "1lakjw" }],
|
|
16
|
+
["path", { d: "M4 19h16", key: "1djgab" }]
|
|
17
|
+
];
|
|
18
|
+
const Menu = createLucideIcon("menu", __iconNode);
|
|
19
|
+
function Sheet({ ...props }) {
|
|
20
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Root, { "data-slot": "sheet", ...props });
|
|
21
|
+
}
|
|
22
|
+
function SheetPortal({ ...props }) {
|
|
23
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(Portal, { "data-slot": "sheet-portal", ...props });
|
|
24
|
+
}
|
|
25
|
+
function SheetOverlay({
|
|
26
|
+
className,
|
|
27
|
+
...props
|
|
28
|
+
}) {
|
|
29
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
30
|
+
Overlay,
|
|
31
|
+
{
|
|
32
|
+
"data-slot": "sheet-overlay",
|
|
33
|
+
className: cn(
|
|
34
|
+
"fixed inset-0 z-50 bg-black/50 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:animate-in data-[state=open]:fade-in-0",
|
|
35
|
+
className
|
|
36
|
+
),
|
|
37
|
+
...props
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
function SheetContent({
|
|
42
|
+
className,
|
|
43
|
+
children,
|
|
44
|
+
side = "left",
|
|
45
|
+
showCloseButton = true,
|
|
46
|
+
overlayClassName,
|
|
47
|
+
...props
|
|
48
|
+
}) {
|
|
49
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(SheetPortal, { "data-slot": "sheet-portal", children: [
|
|
50
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetOverlay, { className: overlayClassName }),
|
|
51
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
52
|
+
Content,
|
|
53
|
+
{
|
|
54
|
+
"data-slot": "sheet-content",
|
|
55
|
+
className: cn(
|
|
56
|
+
"fixed z-50 flex flex-col border-border bg-background shadow-lg outline-none ease-drawer data-[state=closed]:animate-out data-[state=closed]:duration-250 data-[state=open]:animate-in data-[state=open]:duration-300",
|
|
57
|
+
side === "left" && "inset-y-0 left-0 h-full w-[85%] max-w-sm border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left",
|
|
58
|
+
side === "right" && "inset-y-0 right-0 h-full w-[85%] max-w-sm border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right",
|
|
59
|
+
// Bottom sheet: leave a safe-area gap at the top so the header/close
|
|
60
|
+
// button stay clear of the iOS notch / status bar. env() insets are
|
|
61
|
+
// additive to the fixed 1.5rem so the gap is never smaller than the
|
|
62
|
+
// physical safe area.
|
|
63
|
+
side === "bottom" && "inset-x-0 bottom-0 max-h-[calc(100dvh-env(safe-area-inset-top)-1.5rem)] w-full rounded-t-2xl border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
|
|
64
|
+
side === "top" && "inset-x-0 top-0 w-full rounded-b-2xl border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
|
|
65
|
+
className
|
|
66
|
+
),
|
|
67
|
+
...props,
|
|
68
|
+
children: [
|
|
69
|
+
children,
|
|
70
|
+
showCloseButton && /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
71
|
+
Close,
|
|
72
|
+
{
|
|
73
|
+
"data-slot": "sheet-close",
|
|
74
|
+
className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
75
|
+
children: [
|
|
76
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(X, {}),
|
|
77
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "sr-only", children: "Close" })
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
)
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] });
|
|
85
|
+
}
|
|
86
|
+
function SheetTitle({ className, ...props }) {
|
|
87
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
88
|
+
Title,
|
|
89
|
+
{
|
|
90
|
+
"data-slot": "sheet-title",
|
|
91
|
+
className: cn("text-foreground font-semibold", className),
|
|
92
|
+
...props
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
function SheetDescription({
|
|
97
|
+
className,
|
|
98
|
+
...props
|
|
99
|
+
}) {
|
|
100
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
101
|
+
Description,
|
|
102
|
+
{
|
|
103
|
+
"data-slot": "sheet-description",
|
|
104
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
105
|
+
...props
|
|
106
|
+
}
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
const KEYBOARD_MIN_HEIGHT_PX = 120;
|
|
110
|
+
function useAppHeight() {
|
|
111
|
+
const [height, setHeight] = reactExports.useState(null);
|
|
112
|
+
const [offsetTop, setOffsetTop] = reactExports.useState(0);
|
|
113
|
+
const [keyboardOpen, setKeyboardOpen] = reactExports.useState(false);
|
|
114
|
+
reactExports.useLayoutEffect(() => {
|
|
115
|
+
const vv = window.visualViewport;
|
|
116
|
+
const update = () => {
|
|
117
|
+
setHeight(vv ? vv.height : window.innerHeight);
|
|
118
|
+
setOffsetTop(vv ? vv.offsetTop : 0);
|
|
119
|
+
setKeyboardOpen(vv ? window.innerHeight - vv.height > KEYBOARD_MIN_HEIGHT_PX : false);
|
|
120
|
+
};
|
|
121
|
+
update();
|
|
122
|
+
if (vv) {
|
|
123
|
+
vv.addEventListener("resize", update);
|
|
124
|
+
vv.addEventListener("scroll", update);
|
|
125
|
+
}
|
|
126
|
+
window.addEventListener("resize", update);
|
|
127
|
+
return () => {
|
|
128
|
+
if (vv) {
|
|
129
|
+
vv.removeEventListener("resize", update);
|
|
130
|
+
vv.removeEventListener("scroll", update);
|
|
131
|
+
}
|
|
132
|
+
window.removeEventListener("resize", update);
|
|
133
|
+
};
|
|
134
|
+
}, []);
|
|
135
|
+
return {
|
|
136
|
+
height,
|
|
137
|
+
offsetTop,
|
|
138
|
+
keyboardOpen
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function useChangesSummary(workspaceId) {
|
|
142
|
+
const changesQuery = useWorkspaceChanges(workspaceId, {
|
|
143
|
+
refetchInterval: 15e3
|
|
144
|
+
});
|
|
145
|
+
return {
|
|
146
|
+
changes: changesQuery.data,
|
|
147
|
+
changeCount: countChangedPaths(changesQuery.data)
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
function WorkspaceLayout() {
|
|
151
|
+
const {
|
|
152
|
+
workspaceId
|
|
153
|
+
} = Route.useParams();
|
|
154
|
+
const decoded = decodeURIComponent(workspaceId);
|
|
155
|
+
const isWideScreen = useIsDesktop();
|
|
156
|
+
const useDesktopLayout = isWideScreen || isDesktop;
|
|
157
|
+
const [hydrated, setHydrated] = reactExports.useState(false);
|
|
158
|
+
reactExports.useLayoutEffect(() => {
|
|
159
|
+
setHydrated(true);
|
|
160
|
+
}, []);
|
|
161
|
+
const setActiveWorkspace = useDashboardStore((s) => s.setActiveWorkspace);
|
|
162
|
+
reactExports.useEffect(() => {
|
|
163
|
+
setActiveWorkspace(decoded);
|
|
164
|
+
}, [decoded, setActiveWorkspace]);
|
|
165
|
+
const clearNeedsAttention = useDashboardStore((s) => s.clearNeedsAttention);
|
|
166
|
+
reactExports.useEffect(() => {
|
|
167
|
+
clearNeedsAttention(decoded);
|
|
168
|
+
}, [decoded, clearNeedsAttention]);
|
|
169
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `h-full ${hydrated ? "" : "invisible"}`, children: useDesktopLayout ? null : /* @__PURE__ */ jsxRuntimeExports.jsx(MobileWorkspaceLayout, { workspaceId: decoded }, decoded) });
|
|
170
|
+
}
|
|
171
|
+
function MobileHeaderButton({
|
|
172
|
+
label,
|
|
173
|
+
icon: Icon,
|
|
174
|
+
active,
|
|
175
|
+
onClick,
|
|
176
|
+
badge,
|
|
177
|
+
testid
|
|
178
|
+
}) {
|
|
179
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
180
|
+
"button",
|
|
181
|
+
{
|
|
182
|
+
type: "button",
|
|
183
|
+
onClick,
|
|
184
|
+
"aria-label": badge ? `${label}, ${badge}` : label,
|
|
185
|
+
"aria-pressed": active,
|
|
186
|
+
"aria-haspopup": "dialog",
|
|
187
|
+
"data-testid": testid,
|
|
188
|
+
className: `relative inline-flex size-9 shrink-0 items-center justify-center rounded-md transition-colors hover:bg-accent active:bg-accent ${active ? "text-foreground" : "text-muted-foreground"}`,
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Icon, { className: "size-[18px]" }),
|
|
191
|
+
badge != null && badge > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { "data-testid": `${testid}-badge`, className: "absolute top-0 right-0 inline-flex h-4 min-w-4 items-center justify-center rounded-full bg-blue-500/20 px-1 text-[9px] font-medium text-blue-600 dark:text-blue-400", children: badge })
|
|
192
|
+
]
|
|
193
|
+
}
|
|
194
|
+
);
|
|
195
|
+
}
|
|
196
|
+
function MobileWorkspaceLayout({
|
|
197
|
+
workspaceId
|
|
198
|
+
}) {
|
|
199
|
+
const {
|
|
200
|
+
height: appHeight,
|
|
201
|
+
offsetTop: appOffsetTop,
|
|
202
|
+
keyboardOpen
|
|
203
|
+
} = useAppHeight();
|
|
204
|
+
const workspacePath = useWorkspacePath(workspaceId);
|
|
205
|
+
const {
|
|
206
|
+
changes,
|
|
207
|
+
changeCount
|
|
208
|
+
} = useChangesSummary(workspaceId);
|
|
209
|
+
const [view, setView] = reactExports.useState("editor");
|
|
210
|
+
const openFileLeaf = reactExports.useCallback((filePath, opts) => {
|
|
211
|
+
getWorkspaceLeafActions(workspaceId)?.openFile(filePath, opts);
|
|
212
|
+
setView("editor");
|
|
213
|
+
}, [workspaceId]);
|
|
214
|
+
const openDiffLeaf = reactExports.useCallback((section, entry) => {
|
|
215
|
+
getWorkspaceLeafActions(workspaceId)?.openDiff(entry.path, {
|
|
216
|
+
section,
|
|
217
|
+
oldPath: entry.oldPath
|
|
218
|
+
});
|
|
219
|
+
setView("editor");
|
|
220
|
+
}, [workspaceId]);
|
|
221
|
+
const [pickerOpen, setPickerOpen] = reactExports.useState(false);
|
|
222
|
+
const [projectListOpen, setProjectListOpen] = reactExports.useState(false);
|
|
223
|
+
const [quickOpenOpen, setQuickOpenOpen] = reactExports.useState(false);
|
|
224
|
+
const [quickOpenQuery, setQuickOpenQuery] = reactExports.useState(void 0);
|
|
225
|
+
const [searchFilesOpen, setSearchFilesOpen] = reactExports.useState(false);
|
|
226
|
+
const handleOpenFile = reactExports.useCallback((filename) => {
|
|
227
|
+
const {
|
|
228
|
+
filePath,
|
|
229
|
+
line,
|
|
230
|
+
column
|
|
231
|
+
} = parseFileLocation(filename);
|
|
232
|
+
openFileLeaf(filePath, {
|
|
233
|
+
line,
|
|
234
|
+
column
|
|
235
|
+
});
|
|
236
|
+
}, [openFileLeaf]);
|
|
237
|
+
reactExports.useEffect(() => {
|
|
238
|
+
const handler = (e) => {
|
|
239
|
+
const detail = e.detail;
|
|
240
|
+
if (!detail?.filename) return;
|
|
241
|
+
if (detail.workspaceId && detail.workspaceId !== workspaceId) return;
|
|
242
|
+
setQuickOpenQuery(detail.filename);
|
|
243
|
+
setQuickOpenOpen(true);
|
|
244
|
+
};
|
|
245
|
+
window.addEventListener("band:open-file", handler);
|
|
246
|
+
return () => window.removeEventListener("band:open-file", handler);
|
|
247
|
+
}, [workspaceId]);
|
|
248
|
+
reactExports.useEffect(() => {
|
|
249
|
+
const openQO = () => setQuickOpenOpen(true);
|
|
250
|
+
const openSF = () => setSearchFilesOpen(true);
|
|
251
|
+
window.addEventListener("band:open-quick-open", openQO);
|
|
252
|
+
window.addEventListener("band:open-search-files", openSF);
|
|
253
|
+
return () => {
|
|
254
|
+
window.removeEventListener("band:open-quick-open", openQO);
|
|
255
|
+
window.removeEventListener("band:open-search-files", openSF);
|
|
256
|
+
};
|
|
257
|
+
}, []);
|
|
258
|
+
return (
|
|
259
|
+
// Fixed, so a document scroll iOS makes to reveal the focused input can't
|
|
260
|
+
// move it; `offsetTop` then follows the visual viewport as it pans.
|
|
261
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "fixed inset-x-0 top-0 flex flex-col overflow-hidden", style: {
|
|
262
|
+
height: appHeight ? `${appHeight}px` : "100dvh",
|
|
263
|
+
transform: appOffsetTop ? `translateY(${appOffsetTop}px)` : void 0
|
|
264
|
+
}, children: [
|
|
265
|
+
isDesktop && /* @__PURE__ */ jsxRuntimeExports.jsx(DesktopDragRegion, {}),
|
|
266
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("header", { "data-testid": "mobile-workspace__header", className: "flex h-[calc(2.5rem+env(safe-area-inset-top))] shrink-0 items-center gap-2 border-b border-border/50 px-3 pt-[env(safe-area-inset-top)]", children: [
|
|
267
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { type: "button", onClick: () => setProjectListOpen(true), "aria-label": "Open project list", "aria-haspopup": "dialog", "data-testid": "mobile-workspace__project-list-trigger", className: "inline-flex size-7 shrink-0 items-center justify-center rounded-md hover:bg-accent", children: /* @__PURE__ */ jsxRuntimeExports.jsx(Menu, { className: "size-4" }) }),
|
|
268
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("button", { type: "button", onClick: () => setPickerOpen(true), "aria-haspopup": "dialog", "aria-label": "Switch workspace", "data-testid": "mobile-workspace__switcher", className: "inline-flex min-w-0 flex-1 items-center justify-center gap-1.5 rounded-md px-2 py-1 hover:bg-accent active:bg-accent", children: [
|
|
269
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("h1", { className: "truncate text-sm font-semibold", children: workspaceId }),
|
|
270
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ChevronsUpDown, { className: "size-3.5 shrink-0 text-muted-foreground" })
|
|
271
|
+
] }),
|
|
272
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex shrink-0 items-center", children: [
|
|
273
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(MobileHeaderButton, { label: "Explorer", icon: FolderOpen, active: view === "explorer", onClick: () => setView("explorer"), testid: "mobile-workspace__header-explorer" }),
|
|
274
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(MobileHeaderButton, { label: "Changes", icon: GitCompare, active: view === "changes", badge: changeCount, onClick: () => setView("changes"), testid: "mobile-workspace__header-changes" })
|
|
275
|
+
] })
|
|
276
|
+
] }),
|
|
277
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("main", { "data-testid": "mobile-workspace__main", className: `flex min-h-0 flex-1 flex-col ${keyboardOpen ? "" : "pb-[env(safe-area-inset-bottom)]"}`, children: /* @__PURE__ */ jsxRuntimeExports.jsx(WorkspaceCenterDockview, { workspaceId, visible: true, wsActive: true, mobile: true }) }),
|
|
278
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Sheet, { open: view === "explorer", onOpenChange: (open) => setView(open ? "explorer" : "editor"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SheetContent, { side: "bottom", className: "h-[75dvh] p-0", "data-testid": "mobile-workspace__explorer-sheet", children: [
|
|
279
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetTitle, { className: "border-b border-border/50 px-4 py-3 text-sm", children: "Explorer" }),
|
|
280
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetDescription, { className: "sr-only", children: "Browse workspace files and open one in the editor" }),
|
|
281
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-testid": "mobile-workspace__explorer-body", className: "min-h-0 flex-1 overflow-auto pb-[env(safe-area-inset-bottom)]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(FileBrowser, { workspaceId, workspacePath, onOpenFile: (p) => openFileLeaf(p), onOpenFilePinned: (p) => openFileLeaf(p), compact: true }) })
|
|
282
|
+
] }) }),
|
|
283
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Sheet, { open: view === "changes", onOpenChange: (open) => setView(open ? "changes" : "editor"), children: /* @__PURE__ */ jsxRuntimeExports.jsxs(SheetContent, { side: "bottom", className: "h-[75dvh] p-0", "data-testid": "mobile-workspace__changes-sheet", children: [
|
|
284
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetTitle, { className: "border-b border-border/50 px-4 py-3 text-sm", children: "Changes" }),
|
|
285
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetDescription, { className: "sr-only", children: "Browse changed files and open one as a diff" }),
|
|
286
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { "data-testid": "mobile-workspace__changes-body", className: "min-h-0 flex-1 overflow-auto pb-[env(safe-area-inset-bottom)]", children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChangesSections, { workspaceId, changes, onOpen: openDiffLeaf, workspacePath }) })
|
|
287
|
+
] }) }),
|
|
288
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(QuickOpenDialog, { workspaceId, open: quickOpenOpen, onOpenChange: (open) => {
|
|
289
|
+
setQuickOpenOpen(open);
|
|
290
|
+
if (!open) setQuickOpenQuery(void 0);
|
|
291
|
+
}, onOpenFile: handleOpenFile, initialQuery: quickOpenQuery, autoOpen: quickOpenQuery != null }),
|
|
292
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SearchFilesDialog, { workspaceId, open: searchFilesOpen, onOpenChange: setSearchFilesOpen, onOpenFile: handleOpenFile }),
|
|
293
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(WorkspacePickerDialog, { open: pickerOpen, onOpenChange: setPickerOpen }),
|
|
294
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(Sheet, { open: projectListOpen, onOpenChange: setProjectListOpen, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
295
|
+
SheetContent,
|
|
296
|
+
{
|
|
297
|
+
side: "left",
|
|
298
|
+
showCloseButton: false,
|
|
299
|
+
"data-testid": "project-list-flyout",
|
|
300
|
+
onOpenAutoFocus: (e) => {
|
|
301
|
+
e.preventDefault();
|
|
302
|
+
e.currentTarget?.focus();
|
|
303
|
+
},
|
|
304
|
+
children: [
|
|
305
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetTitle, { className: "sr-only", children: "Projects" }),
|
|
306
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(SheetDescription, { className: "sr-only", children: "Browse projects and open a workspace" }),
|
|
307
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(ToolbarOverflowProvider, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(DashboardShell, { bottomActions: /* @__PURE__ */ jsxRuntimeExports.jsx(ToolbarActionBar, {}), hideTitleBar: true, padBottomInset: true }) })
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
) })
|
|
311
|
+
] })
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
export {
|
|
315
|
+
WorkspaceLayout as component
|
|
316
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
2
|
-
import {
|
|
2
|
+
import { m as setAccDescription, n as getAccDescription, M as getDiagramTitle, J as setDiagramTitle, o as getAccTitle, p as setAccTitle, _ as __name, u as log, a4 as selectSvgElement, v as configureSvgSize, U as clear, a2 as getConfig, y as sanitizeText, a0 as cleanAndMerge, a1 as defaultConfig_default, am as getThemeVariables3, an as band, ao as computeDimensionOfText, al as linear, ap as line } from "./router-A58OKuIG.js";
|
|
3
3
|
import "../server.js";
|
|
4
4
|
import "node:async_hooks";
|
|
5
5
|
import "node:stream";
|
package/dist/server/server.js
CHANGED
|
@@ -19381,7 +19381,7 @@ function getResponse() {
|
|
|
19381
19381
|
return event.res;
|
|
19382
19382
|
}
|
|
19383
19383
|
async function getStartManifest(matchedRoutes) {
|
|
19384
|
-
const { tsrStartManifest } = await import("./assets/_tanstack-start-manifest_v-
|
|
19384
|
+
const { tsrStartManifest } = await import("./assets/_tanstack-start-manifest_v-cBOqdEgL.js");
|
|
19385
19385
|
const startManifest = tsrStartManifest();
|
|
19386
19386
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes[rootRouteId] || {};
|
|
19387
19387
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -19957,7 +19957,7 @@ let entriesPromise;
|
|
|
19957
19957
|
let baseManifestPromise;
|
|
19958
19958
|
let cachedFinalManifestPromise;
|
|
19959
19959
|
async function loadEntries() {
|
|
19960
|
-
const routerEntry = await import("./assets/router-
|
|
19960
|
+
const routerEntry = await import("./assets/router-A58OKuIG.js").then((n2) => n2.d8);
|
|
19961
19961
|
const startEntry = await import("./assets/start-HYkvq4Ni.js");
|
|
19962
19962
|
return { startEntry, routerEntry };
|
|
19963
19963
|
}
|