@intent-hq/web 2.284.0 → 2.285.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/package.json +1 -1
- package/web/app/immutable/chunks/{BLEfessf.js → -KtznSS-.js} +1 -1
- package/web/app/immutable/chunks/{BfCf1CX7.js → 1lVCCXL6.js} +1 -1
- package/web/app/immutable/chunks/{rL78ODLZ.js → 2eBUyHOS.js} +1 -1
- package/web/app/immutable/chunks/{D-aPtTCv.js → 6ASkEKEx.js} +1 -1
- package/web/app/immutable/chunks/{C6Lk-C_n.js → 70g8kmTR.js} +1 -1
- package/web/app/immutable/chunks/{CclADFoZ.js → 9s6R6NFl.js} +1 -1
- package/web/app/immutable/chunks/{BghJZEqX.js → ASxUuKIZ.js} +1 -1
- package/web/app/immutable/chunks/{BYvXj8cv.js → B0UymEvm.js} +1 -1
- package/web/app/immutable/chunks/{BoffG-0C.js → B0a31Ljt.js} +1 -1
- package/web/app/immutable/chunks/{gNzz3jGE.js → B4GCMjY3.js} +1 -1
- package/web/app/immutable/chunks/B4kKZm1B.js +1 -0
- package/web/app/immutable/chunks/{Dkj8SIBR.js → B91hcydD.js} +1 -1
- package/web/app/immutable/chunks/{Bj2uvmt-.js → B9DD1rvd.js} +1 -1
- package/web/app/immutable/chunks/{B1s7HAuZ.js → BA2m5W5p.js} +1 -1
- package/web/app/immutable/chunks/{CajYOO74.js → BB-v27nE.js} +1 -1
- package/web/app/immutable/chunks/{CeMTgCB3.js → BDnf9UFd.js} +1 -1
- package/web/app/immutable/chunks/{DyQA18KQ.js → BEu9jjb7.js} +1 -1
- package/web/app/immutable/chunks/{Byp8PswU.js → BFDtkLj3.js} +1 -1
- package/web/app/immutable/chunks/{C-AxUu93.js → BFlCxloC.js} +1 -1
- package/web/app/immutable/chunks/{DR4RT4VO.js → BLT4lwJH.js} +1 -1
- package/web/app/immutable/chunks/{CyO8AnLs.js → BMCIczJY.js} +1 -1
- package/web/app/immutable/chunks/{BcemBG1g.js → BMqkZHSQ.js} +4 -4
- package/web/app/immutable/chunks/{DcoQTetB.js → BOxsG-23.js} +1 -1
- package/web/app/immutable/chunks/{D2hiI0dA.js → BRaDvZhu.js} +1 -1
- package/web/app/immutable/chunks/{BUtQhKox.js → BRiWAWWR.js} +1 -1
- package/web/app/immutable/chunks/{vICHfDZm.js → BRrnGZdq.js} +1 -1
- package/web/app/immutable/chunks/{8n4ougjP.js → BRsvqYQJ.js} +1 -1
- package/web/app/immutable/chunks/{Bj6-QOR3.js → BW5WMYMF.js} +1 -1
- package/web/app/immutable/chunks/{DZ-8K7hK.js → BYD9CrbJ.js} +1 -1
- package/web/app/immutable/chunks/{CEkEURUB.js → BerKnKvV.js} +1 -1
- package/web/app/immutable/chunks/{J2ZKQ-lu.js → BfCM8g6D.js} +1 -1
- package/web/app/immutable/chunks/{BFDD1pyQ.js → Bi5G5jdW.js} +1 -1
- package/web/app/immutable/chunks/{BSLrzoVf.js → BijxVENA.js} +1 -1
- package/web/app/immutable/chunks/{JqZ92YB_.js → BioKfdhs.js} +1 -1
- package/web/app/immutable/chunks/{5ZpW5rVB.js → Bj2REgAl.js} +1 -1
- package/web/app/immutable/chunks/{5BmKVYc1.js → Bj2YjLqH.js} +4 -4
- package/web/app/immutable/chunks/{B8xgoeqo.js → BkTES_s_.js} +1 -1
- package/web/app/immutable/chunks/{oPjZ8e3L.js → BlGCnZqu.js} +1 -1
- package/web/app/immutable/chunks/{CBF5TBJQ.js → BoAgG62K.js} +1 -1
- package/web/app/immutable/chunks/{cesw6DqW.js → Bpei5bK8.js} +1 -1
- package/web/app/immutable/chunks/{CqyYuyXE.js → BqEq2gS8.js} +1 -1
- package/web/app/immutable/chunks/{Bir-_mB8.js → BrPrpju0.js} +1 -1
- package/web/app/immutable/chunks/{DbdgMxO8.js → Btdv9Hrh.js} +1 -1
- package/web/app/immutable/chunks/{C1FIrZNw.js → BuKPgt_Y.js} +1 -1
- package/web/app/immutable/chunks/{CLDGr3DL.js → BuRX-tbO.js} +1 -1
- package/web/app/immutable/chunks/{BQqtq_EY.js → Butq4Y1l.js} +4 -4
- package/web/app/immutable/chunks/{CoEKpjkL.js → BwcCzTcz.js} +1 -1
- package/web/app/immutable/chunks/{DxyRwm0L.js → C-PJ15bY.js} +1 -1
- package/web/app/immutable/chunks/{D0GCGQZA.js → C4eeWJf-.js} +1 -1
- package/web/app/immutable/chunks/{lKWYFdqV.js → C4mRaa7L.js} +1 -1
- package/web/app/immutable/chunks/{BOV2-YtX.js → C5vTcsb2.js} +1 -1
- package/web/app/immutable/chunks/{Dwola7mR.js → C64d2sYd.js} +1 -1
- package/web/app/immutable/chunks/{D9ZfYqMq.js → C7A26Vlu.js} +1 -1
- package/web/app/immutable/chunks/{kjKGIJZ6.js → C8BEXIPc.js} +1 -1
- package/web/app/immutable/chunks/{DWW4w6Jk.js → C8xd2WWY.js} +1 -1
- package/web/app/immutable/chunks/{CWMWrTe0.js → C9o24MoC.js} +1 -1
- package/web/app/immutable/chunks/{7IZupueL.js → CAkMXI-6.js} +3 -3
- package/web/app/immutable/chunks/{LoyMyTg_.js → CDnN0LSW.js} +1 -1
- package/web/app/immutable/chunks/{Ri_Gwy-5.js → CEQqb3fD.js} +1 -1
- package/web/app/immutable/chunks/{DPd_IJJ7.js → CFzJYgT5.js} +1 -1
- package/web/app/immutable/chunks/{DSJT83nX.js → CHXt_ftw.js} +1 -1
- package/web/app/immutable/chunks/{RAzXpC6i.js → CHaUiotE.js} +1 -1
- package/web/app/immutable/chunks/{BIkNHTNp.js → CHjSilfW.js} +1 -1
- package/web/app/immutable/chunks/{CLCaT9pi.js → CJQrM64N.js} +3 -3
- package/web/app/immutable/chunks/{U9YbfUz9.js → CMO5zsjQ.js} +1 -1
- package/web/app/immutable/chunks/{BCkgwkHF.js → CMt5MqSJ.js} +1 -1
- package/web/app/immutable/chunks/{580ALcE7.js → COL0pyet.js} +1 -1
- package/web/app/immutable/chunks/{D_mcoMIN.js → CQ7Jnj9E.js} +1 -1
- package/web/app/immutable/chunks/{DoBcYmem.js → CRhgbDg2.js} +5 -5
- package/web/app/immutable/chunks/{DDi4fKeR.js → CTozw_6a.js} +1 -1
- package/web/app/immutable/chunks/{--3ZEJ9J.js → CTwzQE4y.js} +1 -1
- package/web/app/immutable/chunks/{Dk3JYfn4.js → CULilvBT.js} +1 -1
- package/web/app/immutable/chunks/{BnZq-I73.js → CV2PaujE.js} +2 -2
- package/web/app/immutable/chunks/{bin8Us0N.js → CVUNrf_6.js} +1 -1
- package/web/app/immutable/chunks/{GJVVHDkb.js → CWgAcLvx.js} +1 -1
- package/web/app/immutable/chunks/{CTthB0JK.js → CYElNz1m.js} +1 -1
- package/web/app/immutable/chunks/{CoQLGQdj.js → CZUDc12W.js} +1 -1
- package/web/app/immutable/chunks/{Bmnp4Cni.js → CdT170lG.js} +6 -6
- package/web/app/immutable/chunks/{B96HYSUr.js → Ceyasj46.js} +1 -1
- package/web/app/immutable/chunks/{IrWlayTZ.js → CfAqizJ3.js} +1 -1
- package/web/app/immutable/chunks/{D8GxmJaV.js → CfYh5raT.js} +1 -1
- package/web/app/immutable/chunks/{DkJafW99.js → CgWJ7tKh.js} +1 -1
- package/web/app/immutable/chunks/{CwYn_cZy.js → ChDcu7sM.js} +1 -1
- package/web/app/immutable/chunks/{C-tRLOED.js → ChmO5DTP.js} +1 -1
- package/web/app/immutable/chunks/{CXruy7R4.js → Cj_Tm5wU.js} +1 -1
- package/web/app/immutable/chunks/{BXwgWEmz.js → CkNc-1DL.js} +1 -1
- package/web/app/immutable/chunks/{DpiQDkOO.js → CkqPtSf5.js} +1 -1
- package/web/app/immutable/chunks/{Cci8BWX_.js → ClNs6jou.js} +1 -1
- package/web/app/immutable/chunks/{qb0bPcr5.js → CotgBJSP.js} +1 -1
- package/web/app/immutable/chunks/{CHK5bSfe.js → CoyHhRwd.js} +1 -1
- package/web/app/immutable/chunks/{Dd_avILP.js → CozIiFS7.js} +1 -1
- package/web/app/immutable/chunks/{B5HPrVzu.js → Cp09JH6d.js} +1 -1
- package/web/app/immutable/chunks/{BYhzE2Id.js → CpPsvdhC.js} +1 -1
- package/web/app/immutable/chunks/{v3KbAU5c.js → CrXlvCkv.js} +1 -1
- package/web/app/immutable/chunks/{DKwy0FDy.js → Crq4Js3_.js} +1 -1
- package/web/app/immutable/chunks/{BZjntufp.js → CvZhT_UL.js} +1 -1
- package/web/app/immutable/chunks/{Ds-TYeKV.js → Cve5pOPi.js} +2 -2
- package/web/app/immutable/chunks/{CQMmROUx.js → CwK4Fl7A.js} +2 -2
- package/web/app/immutable/chunks/{Bhov0MTz.js → Cwxvd99b.js} +1 -1
- package/web/app/immutable/chunks/{CbNazQqj.js → Cz9_gz0r.js} +1 -1
- package/web/app/immutable/chunks/{CXu6aWOL.js → Czc4IAh9.js} +1 -1
- package/web/app/immutable/chunks/{BmY5L1Op.js → Czzw_Pvc.js} +1 -1
- package/web/app/immutable/chunks/{BCHni7By.js → D0csyvlS.js} +1 -1
- package/web/app/immutable/chunks/{pl6-mRrC.js → D1dPbxoX.js} +1 -1
- package/web/app/immutable/chunks/{CNzOZ9MW.js → D2Fdja4t.js} +1 -1
- package/web/app/immutable/chunks/{DPfdnkfB.js → D38kCxZ9.js} +1 -1
- package/web/app/immutable/chunks/{DZpe54cf.js → D4K0RFHm.js} +1 -1
- package/web/app/immutable/chunks/{BLjf4WQt.js → D4RvTAYA.js} +1 -1
- package/web/app/immutable/chunks/{DG8rkBW-.js → D6XYE7JV.js} +1 -1
- package/web/app/immutable/chunks/{k5qVf45I.js → D6dtEt_1.js} +1 -1
- package/web/app/immutable/chunks/{DOdMtNpo.js → D72pFxfr.js} +1 -1
- package/web/app/immutable/chunks/{D6K58w6v.js → D7P2CXpO.js} +3 -3
- package/web/app/immutable/chunks/{BE5jLkkZ.js → D82TCSK5.js} +1 -1
- package/web/app/immutable/chunks/{CJuSN2hh.js → D8HMZQ9R.js} +1 -1
- package/web/app/immutable/chunks/{syg_Gxp6.js → D8U0PEIU.js} +1 -1
- package/web/app/immutable/chunks/{CrPyrftw.js → DB6_aOnf.js} +1 -1
- package/web/app/immutable/chunks/{4kHCfKWR.js → DB_2g4tK.js} +1 -1
- package/web/app/immutable/chunks/{1wcS2GHA.js → DBicYI5c.js} +1 -1
- package/web/app/immutable/chunks/{BQu3cSOx.js → DFXw4s8S.js} +1 -1
- package/web/app/immutable/chunks/{CCzzpn5X.js → DFvnP41F.js} +1 -1
- package/web/app/immutable/chunks/{BmeKmSN1.js → DG5KvEVf.js} +1 -1
- package/web/app/immutable/chunks/{oU2ii1bq.js → DKF2EjTY.js} +1 -1
- package/web/app/immutable/chunks/{BSIOWZWq.js → DOPcy6T2.js} +1 -1
- package/web/app/immutable/chunks/{Dzk1FZ-5.js → DPY72hn4.js} +1 -1
- package/web/app/immutable/chunks/{CAS7It7T.js → DQafeec3.js} +1 -1
- package/web/app/immutable/chunks/{D6CS23-9.js → DRdRLmUz.js} +1 -1
- package/web/app/immutable/chunks/{D5bYJMaB.js → DWzbf_aU.js} +1 -1
- package/web/app/immutable/chunks/{BAyTpaq3.js → DX0AlGFV.js} +1 -1
- package/web/app/immutable/chunks/{DI5O_gLl.js → DX0hE1oC.js} +1 -1
- package/web/app/immutable/chunks/{BxFP5cPu.js → DX3MlPN0.js} +1 -1
- package/web/app/immutable/chunks/{Tpzyol5T.js → DXJ3D6-0.js} +2 -2
- package/web/app/immutable/chunks/{wXtCM_sb.js → DYX4kEq9.js} +1 -1
- package/web/app/immutable/chunks/{BuSZooEw.js → DZRaa7LH.js} +1 -1
- package/web/app/immutable/chunks/{BMBobKUo.js → Dbuv3b_7.js} +2 -2
- package/web/app/immutable/chunks/{CEZnJlwn.js → DhQAmnDS.js} +1 -1
- package/web/app/immutable/chunks/{BrvhC6GL.js → DhkOw60r.js} +1 -1
- package/web/app/immutable/chunks/{D805RV1I.js → Dijv8faG.js} +1 -1
- package/web/app/immutable/chunks/{Djthn66V.js → DlYL66WK.js} +2 -2
- package/web/app/immutable/chunks/{BS6Z2wWv.js → DlYrPe_w.js} +1 -1
- package/web/app/immutable/chunks/{cfTDb37Y.js → Dlu0_GVa.js} +1 -1
- package/web/app/immutable/chunks/{BNfbL3_i.js → DpXfO8nM.js} +1 -1
- package/web/app/immutable/chunks/{BE6av5p4.js → DuKFlC9j.js} +1 -1
- package/web/app/immutable/chunks/{DqUTyEPN.js → DwW5MiN3.js} +1 -1
- package/web/app/immutable/chunks/{BRk6sSrF.js → DxJXJeWp.js} +1 -1
- package/web/app/immutable/chunks/{03ESLWB1.js → DxlpLNnB.js} +1 -1
- package/web/app/immutable/chunks/{BYB7SynS.js → F42L1irN.js} +1 -1
- package/web/app/immutable/chunks/{FcnPtqUv.js → I1eQnBry.js} +1 -1
- package/web/app/immutable/chunks/{B5KLQb3J.js → J5Q3706J.js} +1 -1
- package/web/app/immutable/chunks/{mf6N49ed.js → JUqct0gC.js} +1 -1
- package/web/app/immutable/chunks/{BxUDfZfX.js → KxpMwUsB.js} +1 -1
- package/web/app/immutable/chunks/{BKAQdyqG.js → LiYeJQ_y.js} +1 -1
- package/web/app/immutable/chunks/{CZ1Jg-sG.js → Qyi-W7KZ.js} +1 -1
- package/web/app/immutable/chunks/{CyBNkEuV.js → RDcDz1X1.js} +1 -1
- package/web/app/immutable/chunks/{Blhl4Kzo.js → SlH326tK.js} +1 -1
- package/web/app/immutable/chunks/{lLF0vfI3.js → UMObs5wi.js} +1 -1
- package/web/app/immutable/chunks/{BEQXbC7q.js → Uv0U-1kP.js} +1 -1
- package/web/app/immutable/chunks/{DIvWSFnj.js → WPmFGY7m.js} +1 -1
- package/web/app/immutable/chunks/{DRYCjR4c.js → Xb_csWgU.js} +1 -1
- package/web/app/immutable/chunks/{aVNMqNTp.js → Y3UAS5wV.js} +1 -1
- package/web/app/immutable/chunks/{CZFoI5QY.js → YpQeV5ep.js} +6 -6
- package/web/app/immutable/chunks/{DO0tFr72.js → _Y7Nvr11.js} +1 -1
- package/web/app/immutable/chunks/{lflImyZ6.js → _bgnudZi.js} +2 -2
- package/web/app/immutable/chunks/{CRQOCmwo.js → _eQjP0_7.js} +7 -7
- package/web/app/immutable/chunks/{C6NP7Wkf.js → c0MObYhr.js} +1 -1
- package/web/app/immutable/chunks/{CYvdhBss.js → hAyFyjes.js} +1 -1
- package/web/app/immutable/chunks/{BLjxHwvZ.js → iPSaMdjW.js} +1 -1
- package/web/app/immutable/chunks/{Jyr4akMd.js → ingscYYg.js} +1 -1
- package/web/app/immutable/chunks/{goXBWNik.js → lrd8vBcb.js} +1 -1
- package/web/app/immutable/chunks/{BlhXsK8K.js → nvBTDqJi.js} +1 -1
- package/web/app/immutable/chunks/{CzfXsXYz.js → oDL-pLcj.js} +1 -1
- package/web/app/immutable/chunks/{C83cffhG.js → s4JAFzR2.js} +1 -1
- package/web/app/immutable/chunks/{DyaiTi8A.js → sgXcAFR7.js} +1 -1
- package/web/app/immutable/chunks/{DQ_zmHT9.js → t61BPD62.js} +1 -1
- package/web/app/immutable/chunks/{CRqiQDbX.js → t7uelISx.js} +1 -1
- package/web/app/immutable/chunks/{CzTIJ9gY.js → tWOclZbM.js} +1 -1
- package/web/app/immutable/chunks/{i_sqIi_B.js → u9Jr5xJ2.js} +1 -1
- package/web/app/immutable/chunks/{CtwCGSFA.js → uKt9v9GZ.js} +1 -1
- package/web/app/immutable/chunks/{CsP-2ecL.js → xS44oH53.js} +1 -1
- package/web/app/immutable/chunks/{CX89Aogf.js → yQykulND.js} +1 -1
- package/web/app/immutable/chunks/{NfelpfPi.js → z5aynuor.js} +1 -1
- package/web/app/immutable/chunks/{B1P0TORE.js → zOdhHtWD.js} +1 -1
- package/web/app/immutable/chunks/{C1GRqLCq.js → zuhzlizP.js} +1 -1
- package/web/app/immutable/entry/{app.Cn1_ubOc.js → app.ZJRI8LL8.js} +2 -2
- package/web/app/immutable/entry/start.B_ChBWnN.js +1 -0
- package/web/app/immutable/nodes/{0.wKUTDWdz.js → 0.B_5IeAcY.js} +1 -1
- package/web/app/immutable/nodes/{1.DxJUaPzW.js → 1.D2RcMrk8.js} +1 -1
- package/web/app/immutable/nodes/{10.eeMW9oGM.js → 10.a-yBB_mg.js} +1 -1
- package/web/app/immutable/nodes/{14.DMbmYykJ.js → 14.BRMrhd95.js} +1 -1
- package/web/app/immutable/nodes/{16.D7z1ouJw.js → 16.DsObfcQu.js} +2 -2
- package/web/app/immutable/nodes/{2.BHOa4yl6.js → 2.BX2UV9md.js} +3 -3
- package/web/app/immutable/nodes/{3.DLeJMfu1.js → 3.BAb5j4vs.js} +1 -1
- package/web/app/immutable/nodes/{4.BEPpJpXB.js → 4.i3m7hv4J.js} +1 -1
- package/web/app/immutable/nodes/{5.Cb4CR-KH.js → 5.kQ7xzuNs.js} +1 -1
- package/web/app/immutable/nodes/{6.Bko4vkVy.js → 6.De5Z6N1w.js} +1 -1
- package/web/app/immutable/nodes/{7.z66lh95v.js → 7.Dqm5QJxM.js} +1 -1
- package/web/app/immutable/nodes/{8.Cykwxl0x.js → 8.BT-G_bE5.js} +2 -2
- package/web/app/immutable/nodes/{9.Bm3FCmVg.js → 9.DIcsOChV.js} +1 -1
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/DsYKN9zh.js +0 -1
- package/web/app/immutable/entry/start.7mFy7hlx.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{G2 as d,q1 as b,FQ as S}from"./C51KzdSG.js";import{F as A,aX as _}from"./C_fEvnNK.js";import{bs as k}from"./dimBDqRX.js";import{bl as y,bh as w}from"./
|
|
1
|
+
import{G2 as d,q1 as b,FQ as S}from"./C51KzdSG.js";import{F as A,aX as _}from"./C_fEvnNK.js";import{bs as k}from"./dimBDqRX.js";import{bl as y,bh as w}from"./1lVCCXL6.js";import{bo as n}from"./D4MoKNoK.js";import{t as P}from"./C8yAGnZY.js";const G=d.createSelector(e=>e.backgroundAgentSettings.defaultModel),L=d.createSelector(e=>e.backgroundAgentSettings.typeOverrides),z=d.createSelector((e,t)=>!!(e.backgroundAgentSettings.typeOverrides[t]||e.backgroundAgentSettings.typeReasoningEffortOverrides[t])),F=d.createSelector(e=>e.backgroundAgentSettings.defaultReasoningEffort),W=d.createSelector(e=>e.backgroundAgentSettings.typeReasoningEffortOverrides),j=d.createSelector(e=>e.backgroundAgentSettings);function r(e){return{category:"settings",...e}}const f=[{id:"new-workspace",tab:"",label:"New workspace",route:"/workspace/new",category:"navigation",description:"Create-workspace flow."},r({id:"utility-default-model",tab:"providers",hashAliases:["utility-default-model","default-model","quickActions.defaultModel","backgroundAgents.defaultModel"],scrollSelector:"#utility-default-model",highlightSelector:'[data-highlight-id="utility-default-model"]',label:"Settings: Default model",route:"/settings?tab=providers#utility-default-model",description:"Default AI behavior model selection."}),r({id:"global-instructions",tab:"agent-behavior",hashAliases:["global-instructions","agents","specialists","all-agents"],scrollSelector:"#global-instructions",highlightSelector:'[data-highlight-id="global-instructions"]',label:"Settings: Agent Behavior",route:"/settings?tab=agent-behavior#global-instructions",description:"Global agent instructions and defaults."}),r({id:"create-specialist",tab:"specialists",hashAliases:["create-specialist"],scrollSelector:"#create-specialist",highlightSelector:'[data-highlight-id="create-specialist"]',label:"Settings: Create specialist",route:"/settings?tab=specialists&view=create-specialist#create-specialist",description:"Create-specialist entry point."}),r({id:"providers",tab:"providers",hashAliases:["providers"],scrollSelector:"#providers",highlightSelector:'[data-highlight-id="providers"]',label:"Settings: AI coding CLIs",route:"/settings?tab=providers#providers",description:"Provider/account selector settings."}),r({id:"integrations",tab:"connections",hashAliases:["integrations"],scrollSelector:"#integrations",highlightSelector:'[data-highlight-id="integrations"]',label:"Settings: Connections",route:"/settings?tab=connections#integrations",description:"Connected integrations settings."}),r({id:"devices",tab:"devices",hashAliases:["devices","machines"],scrollSelector:"#devices",highlightSelector:"#devices",label:"Settings: Machines",route:"/settings?tab=devices#devices",description:"Saved remote machine settings."}),r({id:"mobile",tab:"mobile",hashAliases:["mobile"],scrollSelector:"#mobile",highlightSelector:'[data-highlight-id="mobile"]',label:"Settings: Mobile",route:"/settings?tab=mobile#mobile",description:"Remote access and Intent Mobile pairing."}),r({id:"guest-sessions",tab:"collaboration",hashAliases:["collaboration","guest-sessions","sharing"],scrollSelector:"#collaboration",highlightSelector:"#collaboration",label:"Settings: Collaboration",route:"/settings?tab=collaboration#collaboration",description:"Host membership, workspace guests and joined hosts."}),r({id:"websocket-api",tab:"mobile",hashAliases:["websocket-api","remote-access"],scrollSelector:"#websocket-api",highlightSelector:'[data-highlight-id="websocket-api"]',label:"Settings: Remote Access",route:"/settings?tab=mobile#websocket-api",description:"Remote access (WebSocket API) settings."}),...[["voice","Voice Dictation","Voice dictation settings.","input"],["keyboard-shortcuts","Keyboard Shortcuts","Keyboard shortcuts reference.","input"],["mcp-servers","MCP Servers","MCP server configuration.","connections"],["git-workspace","Git & Workspace","Git and workspace defaults.","setup"],["git","Git","Git defaults.","setup"],["shell","Shell","Shell and CLI optimization settings.","setup"],["workspace","Workspace","Workspace defaults.","setup"],["cli-optimization","CLI Optimization","RTK/CLI optimization settings.","setup"],["workspace-api","Tool Output & Retention","Tool output size and retention settings.","advanced"],["notifications","Notifications","Notification preferences.","app-behavior"],["updates","Updates","Application update preferences.","app-behavior"],["open-in","Open In","External editor/app launch preferences.","app-behavior"],["github-link-action","GitHub Links","GitHub issue and pull request link behavior.","app-behavior"],["agent-features","Agent Features","Agent feature settings.","agent-behavior"],["font-style","Font style","Font style settings.","display"],["language","Language","Application language settings.","display"],["agent-backend","Agent Backend","Agent backend settings.","advanced"],["connection","Connection","Daemon connection details.","advanced"],["hardware","Hardware","Hardware integration settings.","advanced"],["developer","Developer","Development-only settings.","advanced"]].map(([e,t,i,a])=>r({id:e,tab:a,hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=${a}#${e}`,description:i})),r({id:"appearance",tab:"display",hashAliases:["appearance","theme"],scrollSelector:"#theme",highlightSelector:'[data-highlight-id="appearance"]',label:"Settings: Appearance",route:"/settings?tab=display#theme",description:"Theme mode controls."}),...[["color-theme","Color theme","Color theme selection."],["note-font","Notes font","Notes/spec font style."],["agent-chat-font","Agent chat font","Agent chat font style."],["code-font","Code font","Code editor and diff font."]].map(([e,t,i])=>r({id:e,tab:"display",hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=display#${e}`,description:i})),r({id:"general",tab:"advanced",hashAliases:["general","reset"],scrollSelector:"#reset",highlightSelector:'[data-highlight-id="general"]',label:"Settings: Advanced",route:"/settings?tab=advanced#reset",description:"Advanced settings and reset controls."}),{id:"workspace-card",tab:"",hashAliases:["workspace-card"],highlightSelector:'[data-highlight-id^="workspace-"]',label:"Workspace card",category:"workspace",description:"A workspace card on workspace list surfaces.",dynamic:!0,idPattern:"workspace-{workspaceId}"},{id:"specialist-entry",tab:"specialists",highlightSelector:'[data-highlight-id^="specialist-"]',label:"Specialist entry",route:"/settings?tab=specialists&specialist={specialistId}#specialist-{specialistId}",category:"specialist",description:"A specific specialist row in settings.",dynamic:!0,idPattern:"specialist-{specialistId}"}];function m(e){const t=e.indexOf("#"),i=t>=0?e.slice(t+1):e;return decodeURIComponent(i.replace(/^#/,"")).trim()}function I(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M(e,t){if(!t.match(/\{[^}]+\}/g)?.length)return e===t;const a=t.split(/\{[^}]+\}/g).map(I).join("[^/]+");return new RegExp(`^${a}$`).test(e)}function R(e){const t=m(e);if(!t)return;const i=f.find(o=>o.id===t||o.hashAliases?.includes(t));if(i)return i;const a=f.find(o=>o.route&&o.dynamic&&o.idPattern&&M(t,o.idPattern));return a?{...a,id:t}:void 0}function T(e){try{return new URL(e,"app://intent").pathname||"/"}catch{const t=e.indexOf("?"),i=e.indexOf("#");let a=e.length;return t>=0&&(a=Math.min(a,t)),i>=0&&(a=Math.min(a,i)),e.slice(0,a)||"/"}}const E=new Set(f.flatMap(e=>e.route?[T(e.route)]:[])),C=[/^\/workspace\/[^/]+$/,/^\/agent\/[^/]+$/];function q(e){if(typeof e!="string")return!1;const t=e.trim();if(!t)return!1;if(t.startsWith("intent://"))return!0;let i,a;try{const o=new URL(t,"app://intent");if(o.protocol!=="app:")return!1;i=o.pathname||"/",a=m(o.hash)}catch{return!1}return E.has(i)?a?!!R(a):!0:C.some(o=>o.test(i))}const O=d.createSelector(e=>{const t=new Map,i=(s,c)=>{const g=t.get(s)??new Set;g.add(c),t.set(s,g)},a=k.select(e),o=A.select(e),h=_.select(e)[o];h&&o&&i(o,n.settings_providers_inUseDefaultModel_label({model:h})),b(o)&&!h&&i(o,n.settings_providers_inUseDefaultProvider_label());const u=e.backgroundAgentSettings?.providerId;u&&b(u)&&i(u,n.settings_providers_inUseQuickActions_label());for(const s of y.select(e)){const c=w.select(e,s.id),g=s.source?{project:n.settings_providers_pinSourceProject_label(),user:n.settings_providers_pinSourceUser_label(),bundled:n.settings_providers_pinSourceBundled_label(),builtin:n.settings_providers_pinSourceBuiltin_label(),"electron-store":n.settings_providers_pinSourceLegacy_label()}[s.source]:void 0,p=l=>g&&c?n.settings_providers_inUseSourcePath_label({reason:l,source:g,path:c}):g?n.settings_providers_inUseSource_label({reason:l,source:g}):c?n.settings_providers_inUsePath_label({reason:l,path:c}):l;if(s.codingAgent&&i(s.codingAgent,p(n.settings_providers_inUseSpecialistAgent_label({name:s.name}))),s.modelOptions?.forEach((l,v)=>{l.provider&&b(l.provider)&&i(l.provider,p(n.settings_providers_inUseSpecialistModelOption_label({name:s.name,position:P(v+1)})))}),s.defaultModel)if(s.defaultModel.includes(":")){const l=S(s.defaultModel).providerId??a;i(l,p(n.settings_providers_inUseSpecialistModel_label({name:s.name,model:s.defaultModel})))}else s.codingAgent||i(a,p(n.settings_providers_inUseSpecialistModel_label({name:s.name,model:s.defaultModel})))}return Object.fromEntries([...t].map(([s,c])=>[s,[...c].join(`
|
|
2
2
|
`)]))});d.createSelector((e,t)=>O.select(e)[t]??null);const U=[{id:"dracula",label:"Dracula"},{id:"nord",label:"Nord"},{id:"rose-pine",label:"Rosé Pine"},{id:"tokyo-night",label:"Tokyo Night"},{id:"solarized",label:"Solarized"},{id:"github",label:"GitHub"},{id:"high-contrast",label:"High Contrast"}],K=U.map(({id:e})=>e);export{K as T,U as a,F as b,j as c,L as d,W as e,z as f,O as g,q as i,R as r,G as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as O,bq as d,by as P,b as V,a_ as B,bo as L}from"./D4MoKNoK.js";import{bs as H,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as F,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./B8o4lNgr.js";import{s as ne,k as ie,d as oe}from"./WVYGrHqE.js";import{B as ae}from"./HfuFYz2u.js";import{I as se}from"./CS1d84Cn.js";import"./S9ot6IO_.js";import{L as le}from"./BQ-Vdhjp.js";import"./C_fEvnNK.js";import{D as ue,k as W}from"./
|
|
1
|
+
import{t as O,bq as d,by as P,b as V,a_ as B,bo as L}from"./D4MoKNoK.js";import{bs as H,b_ as z,W as _,bn as j,aA as p,aC as T,a7 as F,ay as I,aD as r,a5 as U,bS as X,bH as b,bA as Y,be as Z,b$ as $,bO as ee,c9 as c,aB as te,bV as k,bk as re}from"./B8o4lNgr.js";import{s as ne,k as ie,d as oe}from"./WVYGrHqE.js";import{B as ae}from"./HfuFYz2u.js";import{I as se}from"./CS1d84Cn.js";import"./S9ot6IO_.js";import{L as le}from"./BQ-Vdhjp.js";import"./C_fEvnNK.js";import{D as ue,k as W}from"./Dbuv3b_7.js";import{G as ce,F as y}from"./DQOyHGtr.js";var fe=T('<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M12 15.82L12 23.76M4.44 21L8.35 16.35A1.96 1.96 0 0 0 6.4 12.99L0.42 14.04M1.82 6.12L7.08 9.16A1.96 1.96 0 0 0 10.06 6.66L7.98 0.95M16.02 0.95L13.94 6.66A1.96 1.96 0 0 0 16.92 9.16L22.18 6.12M23.58 14.04L17.6 12.99A1.96 1.96 0 0 0 15.65 16.35L19.56 21" stroke="currentColor" stroke-width="2.06" stroke-linecap="butt" stroke-linejoin="round"></path></svg>');function me(f,o){if(new.target)return O({component:me,...f});H(o,!0);let e=d(o,"width",7,24),n=d(o,"class",7,"");var a={get width(){return e()},set width(s=24){e(s),p()},get class(){return n()},set class(s=""){n(s),p()},$set:P,$on:(s,m)=>V(o,s,m)},l=fe();return z(()=>{ne(l,"width",e()),ie(l,0,oe(n()))}),_(f,l),j(a)}var de=te('<div class="grid gap-2"><!> <!></div>');function E(f,o){if(new.target)return O({component:E,...f});H(o,!0);let e=d(o,"request",7),n=d(o,"value",15,""),a=d(o,"busy",7,!1),l=d(o,"static",7,!1),s=d(o,"onAccept",7),m=d(o,"onCancel",7),v=k(null);var A={get request(){return e()},set request(t){e(t),p()},get value(){return n()},set value(t=""){n(t),p()},get busy(){return a()},set busy(t=!1){a(t),p()},get static(){return l()},set static(t=!1){l(t),p()},get onAccept(){return s()},set onAccept(t){s(t),p()},get onCancel(){return m()},set onCancel(t){m(t),p()},$set:P,$on:(t,g)=>V(o,t,g)},h=F(),i=I(h);{var u=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_bulkActionConfirm_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_bulkActionConfirm_cancel_label()),S=c(()=>e().options.destructive??!1);ue(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get confirmLabel(){return r(g)},get cancelLabel(){return r(M)},get destructive(){return r(S)},get busy(){return a()},onConfirm:()=>s()(n()),get onCancel(){return m()}})}},q=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label()),M=c(()=>e().options.cancelLabel??L.modals_input_cancel_label()),S=c(()=>!e().options.field.required||n().trim().length>0);W(t,{open:!0,get static(){return l()},get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},get cancelLabel(){return r(M)},get canSubmit(){return r(S)},get busy(){return a()},get initialFocus(){return r(v)},onSubmit:()=>s()(n()),get onCancel(){return m()},children:(J,ge)=>{var D=de(),G=U(D);{var K=C=>{le(C,{for:"confirm-prompt-field",children:(R,w)=>{Z();var N=$();z(()=>ee(N,e().options.field.label)),_(R,N)},$$slots:{default:!0}})};B(G,C=>{e().options.field.label&&C(K)})}var Q=X(G,2);{let C=c(()=>e().options.field.type??"text"),R=c(()=>e().options.field.label?void 0:e().options.title);se(Q,{id:"confirm-prompt-field",get type(){return r(C)},get placeholder(){return e().options.field.placeholder},get"aria-label"(){return r(R)},get ref(){return r(v)},set ref(w){b(v,w,!0)},get value(){return n()},set value(w){n(w)}})}Y(D),_(J,D)},$$slots:{default:!0}})}},x=t=>{{let g=c(()=>e().options.confirmLabel??L.modals_input_confirm_label());W(t,{open:!0,get static(){return l()},role:"alertdialog",get title(){return e().options.title},get description(){return e().options.description},get submitLabel(){return r(g)},showCancel:!1,dismissOnInteractOutside:!1,get busy(){return a()},onSubmit:()=>s()(n()),onCancel:()=>s()(n())})}};B(i,t=>{e()?.kind==="confirm"?t(u):e()?.kind==="prompt"?t(q,1):e()?.kind==="alert"&&t(x,2)})}return _(f,h),j(A)}function pe(f,o){if(new.target)return O({component:pe,...f});H(o,!0);let e=k(null),n=k(""),a=k(!1);re(()=>ce(i=>{b(e,i,!0),b(n,i?.kind==="prompt"?i.options.field.initialValue??"":"",!0),b(a,!1)}));function l(){!r(e)||r(a)||y(r(e).id,r(e).kind==="confirm"?!1:null)}async function s(){if(!r(e)||r(a))return;const i=r(e);b(a,!0);try{i.kind==="confirm"?(await i.options.onConfirm?.(),y(i.id,!0)):i.kind==="prompt"?(await i.options.onConfirm?.(r(n).trim()),y(i.id,r(n).trim())):y(i.id,void 0)}catch(u){throw console.error("Confirm action failed:",u),b(a,!1),u}}var m={$set:P,$on:(i,u)=>V(o,i,u)},v=F(),A=I(v);{var h=i=>{var u=F(),q=I(u);ae(q,()=>r(e).id,x=>{E(x,{get request(){return r(e)},get busy(){return r(a)},onAccept:s,onCancel:l,get value(){return r(n)},set value(t){b(n,t,!0)}})}),_(i,u)};B(A,i=>{r(e)&&i(h)})}return _(f,v),j(m)}export{pe as C,me as L};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a3,bq as p,a_ as I,by as t3,b as s3}from"./D4MoKNoK.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as m,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as f,bH as B}from"./B8o4lNgr.js";import{Q as v3}from"./
|
|
1
|
+
import{t as a3,bq as p,a_ as I,by as t3,b as s3}from"./D4MoKNoK.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as m,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as f,bH as B}from"./B8o4lNgr.js";import{Q as v3}from"./Dbuv3b_7.js";import{k as _,l as x,s as F}from"./WVYGrHqE.js";import{F as m3,aP as f3,aH as g3,aX as p3,cl as u3,am as d3}from"./CG5J-qd_.js";var h3=f("<div></div>"),b3=f('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=f("<img/> <!>",1),C3=f('<span class="type-caption text-subtle font-medium"> </span>'),_3=f("<div><!></div>");function x3(y,n){if(new.target)return a3({component:x3,...y});r3(n,!0);let r=p(n,"iconName",7),i=p(n,"label",7),l=p(n,"size",7,20),d=p(n,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:f3},H=o(()=>j[r().toLowerCase()]),W=o(()=>h[r().toLowerCase()]||h.default),z=o(()=>E[r().toLowerCase()]||null),M=o(()=>U.has(r().toLowerCase()));let b=S(!1),k=S(!1);const V=o(()=>D[r().toLowerCase()]||(t(H)?`https://cdn.simpleicons.org/${t(H)}`:null));function q(){B(b,!0)}function O(){B(k,!0)}var P={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return i()},set label(e){i(e),u()},get size(){return l()},set size(e=20){l(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(n,e,a)},c=_3(),Q=l3(c);{var X=e=>{var a=h3();v3(a,()=>t(z),!0),L(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),m(e,a)},G=e=>{var a=w3(),s=n3(a);let g;var T=i3(s,2);{var Y=w=>{var C=b3(),$=Z(C,!0);v(e3=>{x(C,`font-size: ${l()*.45}px;`),A($,e3)},[()=>i().charAt(0)]),m(w,C)};I(T,w=>{t(b)||w(Y)})}v(()=>{F(s,"src",t(V)),F(s,"alt",i()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),N("load",s,q),N("error",s,O),c3(s),m(e,a)},J=e=>{{let a=o(()=>l()*.7);m3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},K=o(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=Z(a,!0);v(g=>{x(a,`font-size: ${l()*.45}px;`),A(s,g)},[()=>i().charAt(0)]),m(e,a)};I(Q,e=>{t(z)?e(X):t(V)&&!t(k)?e(G,1):t(K)?e(J,2):e(R,-1)})}return L(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${l()??""}px; height: ${l()??""}px;`)}),m(y,c),o3(P)}export{x3 as M};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{p as re}from"./
|
|
1
|
+
import{p as re}from"./UMObs5wi.js";import{aP as oe,c9 as se,c6 as de,aK as le,aL as ce,c7 as me,f as o,bC as g,aO as T,c3 as ue,ce as xe,a0 as fe,$ as ge,aN as M,ax as he,c2 as y,cA as P,T as pe}from"./CdT170lG.js";import{p as be,i as ve}from"./H_dyzYix.js";var $="position frame",N="frame positioned",S="position relation",C="relation positioned",we=o(function(e){g.debug("options str",e)},"setOptions"),ye=o(function(){return{}},"getOptions"),Pe=o(function(){D(),fe()},"clear");function D(){B={}}o(D,"reset");var Se=he.eventmodeling,ke=o(()=>ge({...Se,...M().eventmodeling}),"getConfig"),B={};function O(){let e=Fe;const{ast:n}=B,t=E();if(!n)throw new Error("No data for EventModel");return n.frames.forEach((i,a)=>{const r=G(i,n.dataEntities,t);e=v(e,{$kind:$,index:a,frame:i,textProps:r});let d;z(i)?(g.debug("source frame",i.sourceFrames),d=n.frames.filter(l=>i.sourceFrames.some(c=>c.$refText===l.name)),d.forEach(l=>{e=v(e,{$kind:S,index:a,frame:i,sourceFrame:l})})):e=v(e,{$kind:S,index:a,frame:i})}),e={...e,sortedSwimlanesArray:A(e.swimlanes)},e}o(O,"getState");function I(e){B.ast=e}o(I,"setAst");var s={swimlaneMinHeight:70,swimlanePadding:15,swimlaneGap:10,boxPadding:10,boxOverlap:90,boxDefaultY:0,boxMinWidth:80,boxMaxWidth:450,boxMinHeight:80,boxMaxHeight:750,contentStartX:250,textMaxWidth:430,boxTextFontWeight:"bold",boxTextPadding:10,swimlaneTextFontWeight:"bold",labelUiAutomation:"UI/Automation",labelUiAutomationPrefix:"UI/A: ",labelCommandReadModel:"Command/Read Model",labelCommandReadModelPrefix:"C/RM: ",labelEvents:"Events",labelEventsPrefix:"Stream: "};function E(){return s}o(E,"getDiagramProps");var Fe={boxes:[],swimlanes:{},relations:[],maxR:0,sortedSwimlanesArray:[]};function W(e){const n=e.split(".");if(n.length===2)return n[0]}o(W,"extractNamespace");function H(e){const n=e.split(".");return n.length===2?n[1]:e}o(H,"extractName");function U(e,n){if(!(!n||n.length===0))return Object.values(e).find(t=>t.namespace===n)}o(U,"findSwimlaneByNamespace");function b(e,n,t){return Math.max(n,...Object.keys(e).filter(i=>{const a=Number.parseInt(i);return a>n&&a<t}).map(i=>Number.parseInt(i)))+1}o(b,"findNextAvailableIndex");function L(e,n){const t=W(e.entityIdentifier),i=U(n,t);switch(e.modelEntityType){case"ui":case"pcr":case"processor":return i?{index:i.index,label:i.namespace||s.labelUiAutomation}:t?{index:b(n,0,100),label:s.labelUiAutomationPrefix+t}:{index:0,label:s.labelUiAutomation};case"rmo":case"readmodel":case"cmd":case"command":return i?{index:i.index,label:i.namespace||s.labelCommandReadModel}:t?{index:b(n,100,200),label:s.labelCommandReadModelPrefix+t}:{index:100,label:s.labelCommandReadModel};case"evt":case"event":default:return i?{index:i.index,label:i.namespace||s.labelEvents}:t?{index:b(n,200,300),label:s.labelEventsPrefix+t}:{index:200,label:s.labelEvents}}}o(L,"calculateSwimlaneProps");function _(e){const{themeVariables:n}=M();switch(e.modelEntityType){case"ui":return{fill:n.emUiFill??"white",stroke:n.emUiStroke??"#dbdada"};case"pcr":case"processor":return{fill:n.emProcessorFill??"#edb3f6",stroke:n.emProcessorStroke??"#b88cbf"};case"rmo":case"readmodel":return{fill:n.emReadModelFill??"#d3f1a2",stroke:n.emReadModelStroke??"#a3b732"};case"cmd":case"command":return{fill:n.emCommandFill??"#bcd6fe",stroke:n.emCommandStroke??"#679ac3"};case"evt":case"event":return{fill:n.emEventFill??"#ffb778",stroke:n.emEventStroke??"#c19a0f"};default:return{fill:"red",stroke:"black"}}}o(_,"calculateEntityVisualProps");function G(e,n,t){const i=M(),a=y(H(e.entityIdentifier)??"",i);let r;const d={fontSize:16,fontWeight:700,fontFamily:'"trebuchet ms", verdana, arial, sans-serif',joinWith:"<br/>"};let c=`<b>${P(a,t.textMaxWidth,d)}</b>`;if(e.dataInlineValue&&(r=e.dataInlineValue,r=r.substring(r.indexOf("{")+1),r=r.substring(0,r.lastIndexOf("}")-1),r=y(r,i),r=P(r,t.textMaxWidth,d),r=r.replaceAll(" "," ")),e.dataReference){const p=n.find(w=>w.name===e.dataReference?.$refText);p&&(r=p.dataBlockValue,r=r.substring(r.indexOf(`{
|
|
2
2
|
`)+2),r=r.substring(0,r.lastIndexOf("}")-1),r=y(r,i),r=P(r,t.textMaxWidth,d),r=r.replaceAll(" "," "),r+="<br/>")}const m=r!==void 0;m&&(c+=`<br/><br/><code style="text-align: left; display: block;max-width:${t.textMaxWidth}px">${r}</code>`);const x={fontSize:d.fontSize,fontWeight:d.fontWeight,fontFamily:d.fontFamily},u=pe(c,x),h=m?u.width/3:u.width,f={content:c,width:h,height:u.height};return g.debug(`[${e.name}] ${e.entityIdentifier} text`,f),f}o(G,"calculateTextProps");function V(e,n){const t=n,i=_(t.frame),a={width:t.textProps.width+2*s.boxTextPadding,height:t.textProps.height+2*s.boxTextPadding};return[{$kind:N,frame:t.frame,index:t.index,visual:i,dimension:a,textProps:t.textProps}]}o(V,"decidePositionFrame");function X(e,n,t){return n===void 0?s.contentStartX:n.index===e.index&&e.r?e.r+s.boxPadding:t===void 0?s.contentStartX:t.r-s.boxOverlap+s.boxPadding}o(X,"calculateX");function j(e,n){const t=[...e.map(i=>i.r),n];return Math.max(...t)}o(j,"calculateMaxRight");function A(e){return Object.values(e).sort((n,t)=>n.index-t.index)}o(A,"sortedSwimlanesArray");function Y(e,n){const t=n,i=L(t.frame,e.swimlanes);let a;i.index in e.swimlanes?a=e.swimlanes[i.index]:a={index:i.index,label:i.label,r:0,y:i.index*s.swimlaneMinHeight+s.swimlaneGap,height:s.swimlaneMinHeight,maxHeight:s.swimlaneMinHeight};const r=e.boxes.length>0?e.boxes[e.boxes.length-1]:void 0,d=e.previousSwimlaneNumber!==void 0?e.swimlanes[e.previousSwimlaneNumber]:void 0,l={width:Math.max(s.boxMinWidth,Math.min(s.boxMaxWidth,t.dimension.width))+2*s.boxPadding,height:Math.max(s.boxMinHeight,Math.min(s.boxMaxHeight,t.dimension.height))+2*s.boxPadding},c=X(a,d,r),m=c+l.width+s.boxPadding,x=j(Object.values(e.swimlanes),m);a.r=c+l.width,a.maxHeight=Math.max(a.maxHeight,l.height),a.height=Math.max(s.swimlaneMinHeight,a.maxHeight)+2*s.swimlanePadding;const u={x:c,y:s.swimlanePadding+a.y,r:m,dimension:l,leftSibling:!1,swimlane:a,visual:t.visual,text:t.textProps.content,frame:t.frame,index:t.index},h={...e,boxes:[...e.boxes,u],swimlanes:{...e.swimlanes,[`${a.index}`]:a},previousSwimlaneNumber:i.index,previousFrame:t.frame,maxR:x},f=A(h.swimlanes);f.length>0&&(f[0].y=0);for(let p=1;p<f.length;p++){const w=f[p],R=f[p-1];w.y=R.y+R.height+s.swimlaneGap}return h}o(Y,"evolveFramePositioned");function K(e,n){return e===0&&n.sourceFrames.length===0}o(K,"isFirstFrame");function z(e){return e.sourceFrames!==void 0&&e.sourceFrames!==null&&e.sourceFrames.length>0}o(z,"hasSourceFrame");function k(e,n){if(n!=null)return e.find(t=>t.frame.name===n.name)}o(k,"findBoxByFrame");function q(e,n,t){if(!(t<0))for(let i=t;i>=0;i--){const a=e[i];if(a.swimlane.index!==n)return a}}o(q,"findBoxByLineIndex");function J(e,n){const t=n;if(ve(t.frame)||K(t.index,t.frame))return[];const i=k(e.boxes,t.frame);if(i===void 0)throw new Error(`Target box not found for frame ${t.frame.name}`);let a;return t.sourceFrame?a=k(e.boxes,t.sourceFrame):a=q(e.boxes,i.swimlane.index,t.index-1),a===void 0?[]:[{$kind:C,frame:t.frame,index:t.index,sourceBox:a,targetBox:i}]}o(J,"decidePositionRelation");function Q(e,n){const t=n,i={visual:{fill:"none",stroke:"#000"},source:{x:t.sourceBox.x,y:t.sourceBox.y},target:{x:t.targetBox.x,y:t.targetBox.y},sourceBox:t.sourceBox,targetBox:t.targetBox};return{...e,relations:[...e.relations,i]}}o(Q,"evolveRelationPositioned");var Me={[$]:V,[S]:J},Be={[N]:Y,[C]:Q};function Z(e,n){const t=Me[n.$kind];if(t==null)return[];const i=t(e,n);return g.debug("decided events",i),i}o(Z,"decide");function ee(e,n){const t=n.reduce((i,a)=>{const r=Be[a.$kind];return r==null?i:r(i,a)},e);return g.debug("evolve events",{state:e,newState:t,events:n}),t}o(ee,"evolve");function v(e,n){const t=Z(e,n);return ee(e,t)}o(v,"dispatch");var F={getConfig:ke,setOptions:we,getOptions:ye,clear:Pe,setAccTitle:me,getAccTitle:ce,getAccDescription:le,setAccDescription:de,setDiagramTitle:se,getDiagramTitle:oe,setAst:I,getDiagramProps:E,getState:O},Ee={parse:o(async e=>{const n=await be("eventmodeling",e);g.debug(n),F.setAst(n),re(n,F)},"parse")},Ae=T(),Re=Ae?.eventmodeling;function te(e,n){return t=>{const i=t.swimlane.y+n.swimlanePadding,a=e.append("g").attr("class","em-box");a.append("rect").attr("x",t.x).attr("y",i).attr("rx","3").attr("width",t.dimension.width).attr("height",t.dimension.height).attr("stroke",t.visual.stroke).attr("fill",t.visual.fill),a.append("foreignObject").attr("x",t.x+n.boxPadding).attr("y",i+10).attr("width",t.dimension.width-2*n.boxPadding).attr("height",t.dimension.height-2*n.boxPadding).append("xhtml:div").style("display","table").style("height","100%").style("width","100%").append("span").style("display","table-cell").style("text-align","center").style("vertical-align","middle").html(t.text)}}o(te,"renderD3Box");function ne(e,n){return e>n}o(ne,"dirUpwards");function ie(e,n,t,i){return a=>{const r=a.sourceBox.swimlane.y+n.swimlanePadding,d=a.targetBox.swimlane.y+n.swimlanePadding,l=ne(r,d),c=a.sourceBox.x+a.sourceBox.dimension.width*2/3,m=a.targetBox.x+a.targetBox.dimension.width/3;let x,u;g.debug(`rendering relation up=${l} for `,{sourceBox:a.sourceBox,targetBox:a.targetBox}),l?(x=r,u=d+a.targetBox.dimension.height):(x=r+a.sourceBox.dimension.height,u=d);const h=i.emRelationStroke??a.visual.stroke;e.append("path").attr("class","em-relation").attr("fill",a.visual.fill).attr("stroke",h).attr("stroke-width","1").attr("marker-end",`url(#${t})`).attr("d",`M${c} ${x} L${m} ${u}`)}}o(ie,"renderD3Relation");function ae(e,n,t,i){return a=>{const r=e.append("g").attr("class","em-swimlane"),d=i.emSwimlaneBackgroundOdd??"rgb(250,250,250)",l=i.emSwimlaneBackgroundStroke??"rgb(240,240,240)";r.append("rect").attr("x",0).attr("y",a.y).attr("rx","3").attr("width",n+t.swimlanePadding).attr("height",a.height).attr("fill",d).attr("stroke",l),r.append("text").attr("font-weight",t.swimlaneTextFontWeight).attr("x",30).attr("y",a.y+30).text(a.label)}}o(ae,"renderD3Swimlane");var Te=o(function(e,n,t,i){if(g.debug("in eventmodeling renderer",e+`
|
|
3
3
|
`,"id:",n,t),!Re)throw new Error("EventModeling config not found");const a=i.db,{themeVariables:r,eventmodeling:d}=T(),l=ue(`[id="${n}"]`),c=a.getDiagramProps(),m=a.getState(),x=`em-arrowhead-${n}`,u=r.emArrowhead??"#000000";m.sortedSwimlanesArray.forEach(ae(l,m.maxR,c,r)),m.boxes.forEach(te(l,c)),m.relations.forEach(ie(l,c,x,r)),l.append("defs").append("marker").attr("id",x).attr("markerWidth","10").attr("markerHeight","7").attr("refX","10").attr("refY","3.5").attr("orient","auto").append("polygon").attr("points","0 0, 10 3.5, 0 7").attr("fill",u),xe(void 0,l,d?.padding??30,d?.useMaxWidth)},"draw"),$e={draw:Te},Ne=o(e=>"","getStyles"),Ce=Ne,We={parser:Ee,db:F,renderer:$e,styles:Ce};export{We as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as l,r as m,d as a}from"./
|
|
1
|
+
import{g as l,r as m,d as a}from"./DRdRLmUz.js";import{p}from"./UMObs5wi.js";import{f as t,bC as o}from"./CdT170lG.js";import{M as u,b as c}from"./H_dyzYix.js";var f=c().RailroadPeg.parser.LangiumParser,i=t(e=>{const r=e.alternatives.map(d);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformOrderedChoice"),d=t(e=>{const r=e.elements.map(P);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformSequence"),P=t(e=>{const r=g(e.suffix);return e.operator?{type:"special",text:e.operator==="&"?`&${s(r)}`:`!${s(r)}`}:r},"transformPrefix"),s=t(e=>{switch(e.type){case"terminal":return`"${e.value}"`;case"nonterminal":return e.name;case"special":return e.text;default:return"(...)"}},"nodeToLabel"),g=t(e=>{const r=v(e.primary);if(!e.operator)return r;switch(e.operator){case"?":return{type:"optional",element:r};case"*":return{type:"repetition",element:r,min:0,max:1/0};case"+":return{type:"repetition",element:r,min:1,max:1/0};default:throw new Error(`Unsupported PEG suffix operator: ${e.operator}`)}},"transformSuffix"),v=t(e=>{switch(e.$type){case"PegLiteral":return{type:"terminal",value:e.value};case"PegIdentifier":return{type:"nonterminal",name:e.name};case"PegGroup":return i(e.element);case"PegAny":return{type:"special",text:e.dot};default:throw new Error(`Unsupported PEG primary node: ${e.$type}`)}},"transformPrimary"),y=t(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=t(e=>{p(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(y(r)))},"populateDb"),b={parse:t(e=>{a.clear(),o.debug("[PEG Parser] Starting Langium parse");const r=f.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new u(r);const n=r.value;o.debug("[PEG Parser] Parsed rules:",n.rules.length),h(n),o.debug("[PEG Parser] Parse complete")},"parse"),parser:{yy:a}},$={parser:b,db:a,renderer:m,styles:l};export{$ as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as o,aO as ot,bQ as ut,c4 as dt,v as yt,a0 as ft,a4 as pt,c9 as it,aL as gt,c7 as kt,aK as mt,c6 as wt,aP as _t,a6 as bt}from"./
|
|
1
|
+
import{f as o,aO as ot,bQ as ut,c4 as dt,v as yt,a0 as ft,a4 as pt,c9 as it,aL as gt,c7 as kt,aK as mt,c6 as wt,aP as _t,a6 as bt}from"./CdT170lG.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],p=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,C=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var P in this.yy)Object.prototype.hasOwnProperty.call(this.yy,P)&&(S.yy[P]=this.yy[P]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var G=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function X(B){i.length=i.length-2*B,p.length=p.length-B,n.length=n.length-B}o(X,"popStack");function tt(){var B;return B=c.pop()||b.lex()||A,typeof B!="number"&&(B instanceof Array&&(c=B,B=c.pop()),B=s.symbols_[B]||B),B}o(tt,"lex");for(var M,W,N,Y,F={},U,V,et,Z;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var Q="";Z=[];for(U in v[W])this.terminals_[U]&&U>L&&Z.push("'"+this.terminals_[U]+"'");b.showPosition?Q="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+Z.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Q="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Q,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:Z})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(V=this.productions_[N[1]][1],F.$=p[p.length-V],F._$={first_line:n[n.length-(V||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(V||1)].first_column,last_column:n[n.length-1].last_column},G&&(F._$.range=[n[n.length-(V||1)].range[0],n[n.length-1].range[1]]),Y=this.performAction.apply(F,[w,$,I,S.yy,N[1],p,n].concat(C)),typeof Y<"u")return Y;V&&(i=i.slice(0,-1*V*2),p=p.slice(0,-1*V),n=n.slice(0,-1*V)),i.push(this.productions_[N[1]][0]),p.push(F.$),n.push(F._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|