@intent-hq/web 2.290.0 → 2.290.1
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/{DeXgzEXt.js → -8bl9H3j.js} +1 -1
- package/web/app/immutable/chunks/{B_tLm3FX.js → 1H7i14Jq.js} +1 -1
- package/web/app/immutable/chunks/{CVoR5NDH.js → 1NjHIsWL.js} +1 -1
- package/web/app/immutable/chunks/{BuPFKHtN.js → 2zyiBICC.js} +1 -1
- package/web/app/immutable/chunks/{7bnNetCh.js → 4cIwmSuD.js} +4 -4
- package/web/app/immutable/chunks/{DOzFltDq.js → 86pQg5ba.js} +1 -1
- package/web/app/immutable/chunks/{9mpJnkDG.js → 8DpW-FUQ.js} +1 -1
- package/web/app/immutable/chunks/{DFhWc3Xl.js → 8ZymRjAb.js} +1 -1
- package/web/app/immutable/chunks/{DTh2IQKZ.js → B05yODFj.js} +1 -1
- package/web/app/immutable/chunks/{xFioAb_b.js → B1uw4k3u.js} +1 -1
- package/web/app/immutable/chunks/{3Hx-xwhh.js → B4ARXgVr.js} +1 -1
- package/web/app/immutable/chunks/{BUGkkCym.js → B7WsW6mB.js} +2 -2
- package/web/app/immutable/chunks/{bGIBa4-r.js → BB-rM-bv.js} +1 -1
- package/web/app/immutable/chunks/{zCZWMH02.js → BCqLW1sk.js} +1 -1
- package/web/app/immutable/chunks/{Cx7iLEYy.js → BFxAoZrN.js} +3 -3
- package/web/app/immutable/chunks/{DIbPNVg7.js → BJiYgQMg.js} +1 -1
- package/web/app/immutable/chunks/{C6dKjZk_.js → BLV57oiS.js} +1 -1
- package/web/app/immutable/chunks/{VI8s0N-a.js → BLwubCUL.js} +1 -1
- package/web/app/immutable/chunks/{BJClJd-t.js → BME2e0zx.js} +1 -1
- package/web/app/immutable/chunks/{BLfTJyKw.js → BMI9BPVJ.js} +1 -1
- package/web/app/immutable/chunks/{BGG3Zscy.js → BOrf8iaF.js} +2 -2
- package/web/app/immutable/chunks/{BDn01g3q.js → BPomlxD-.js} +5 -5
- package/web/app/immutable/chunks/{DaNfseRw.js → BQAjYSZn.js} +1 -1
- package/web/app/immutable/chunks/{XG9LuART.js → BUfDnmlv.js} +1 -1
- package/web/app/immutable/chunks/{BeteiAtg.js → BVf1OKWM.js} +1 -1
- package/web/app/immutable/chunks/{DyTkTh0C.js → BVkABTn_.js} +1 -1
- package/web/app/immutable/chunks/{CFBH989r.js → BZML3c09.js} +1 -1
- package/web/app/immutable/chunks/{Bm0FPS2G.js → BZrGNaMY.js} +4 -4
- package/web/app/immutable/chunks/{Mb97pGy9.js → B_ZXH4Bf.js} +1 -1
- package/web/app/immutable/chunks/{_0mq0vvG.js → Ba-TS5vR.js} +1 -1
- package/web/app/immutable/chunks/{DI6oKJrr.js → BffyNBKQ.js} +1 -1
- package/web/app/immutable/chunks/{BXzaNdSF.js → Bfq2PcjA.js} +1 -1
- package/web/app/immutable/chunks/{TPpS6DWt.js → BgerNePf.js} +1 -1
- package/web/app/immutable/chunks/{DUMeb8Tg.js → BiCS5wL3.js} +1 -1
- package/web/app/immutable/chunks/{czyBPXbO.js → BjBW4i6w.js} +1 -1
- package/web/app/immutable/chunks/{2Zse_zlb.js → BjJW_Stw.js} +1 -1
- package/web/app/immutable/chunks/{DywBWiWr.js → BmwLKx4A.js} +2 -2
- package/web/app/immutable/chunks/{DwKgqaL_.js → BoHfk-5t.js} +1 -1
- package/web/app/immutable/chunks/{w9Jeqnt9.js → BpOXeNkx.js} +1 -1
- package/web/app/immutable/chunks/{txAmNNfN.js → BpxCnE9X.js} +2 -2
- package/web/app/immutable/chunks/{BX_hW0qI.js → BsqGui1M.js} +1 -1
- package/web/app/immutable/chunks/{DualWjmg.js → BssOKdq0.js} +1 -1
- package/web/app/immutable/chunks/{HWRbLPjE.js → BtVjR42p.js} +1 -1
- package/web/app/immutable/chunks/{BeZSE8qD.js → BvtLLvEi.js} +1 -1
- package/web/app/immutable/chunks/{CTNvudJn.js → BvypOCfp.js} +1 -1
- package/web/app/immutable/chunks/{BOV2yVmE.js → BwDb1jNr.js} +1 -1
- package/web/app/immutable/chunks/{ZahkIG5A.js → BxE5JflA.js} +1 -1
- package/web/app/immutable/chunks/{LgC5iPo9.js → Byu82QgX.js} +1 -1
- package/web/app/immutable/chunks/{CsBmR9QJ.js → C-BS-coA.js} +1 -1
- package/web/app/immutable/chunks/{CB5rZSQk.js → C0fOehTZ.js} +1 -1
- package/web/app/immutable/chunks/{CLCbFeGH.js → C1H4_ssx.js} +1 -1
- package/web/app/immutable/chunks/{BMAdQvY4.js → C4hboqwm.js} +1 -1
- package/web/app/immutable/chunks/{l8G_rqMf.js → C7KdCylX.js} +3 -3
- package/web/app/immutable/chunks/{Cf5LD9TB.js → C7mmIZCH.js} +1 -1
- package/web/app/immutable/chunks/{CBQ9Dj27.js → C9AcsTi0.js} +1 -1
- package/web/app/immutable/chunks/{DWVb7mpY.js → CAaAIfXJ.js} +1 -1
- package/web/app/immutable/chunks/{2p97_N8F.js → CEAZJuV2.js} +1 -1
- package/web/app/immutable/chunks/{DHyS0o2Q.js → CECSRFPp.js} +1 -1
- package/web/app/immutable/chunks/{CT_RWC-b.js → CETsvapu.js} +1 -1
- package/web/app/immutable/chunks/{BaL0o0Td.js → CG-2eU4S.js} +1 -1
- package/web/app/immutable/chunks/{CeJvKYEf.js → CJcw2WA-.js} +1 -1
- package/web/app/immutable/chunks/{BwTgppku.js → CKuYPUu0.js} +1 -1
- package/web/app/immutable/chunks/{CnRB4N94.js → CN15iJiw.js} +1 -1
- package/web/app/immutable/chunks/{CC2jdDPt.js → CNWeExHy.js} +1 -1
- package/web/app/immutable/chunks/{O7y8odEy.js → CQk4XJFx.js} +1 -1
- package/web/app/immutable/chunks/{D6XmzNBT.js → CSJ0J5sC.js} +1 -1
- package/web/app/immutable/chunks/{1RFrLNza.js → CT1GHsTn.js} +1 -1
- package/web/app/immutable/chunks/{DMEnrA6r.js → CU1rgNTy.js} +1 -1
- package/web/app/immutable/chunks/{D_TiJ_fE.js → CW92V9X1.js} +1 -1
- package/web/app/immutable/chunks/{FQxEz28M.js → CYEJX57C.js} +1 -1
- package/web/app/immutable/chunks/{R4VbyJYi.js → CYH5KIcO.js} +1 -1
- package/web/app/immutable/chunks/{CB3E3AyJ.js → CZiA6iY8.js} +1 -1
- package/web/app/immutable/chunks/{cfooBVHs.js → C_dZqjuM.js} +1 -1
- package/web/app/immutable/chunks/{Ce9YhY2C.js → Car8OZH2.js} +1 -1
- package/web/app/immutable/chunks/{Ico6LbU5.js → CaxwpItd.js} +1 -1
- package/web/app/immutable/chunks/{Bg4Uz_3j.js → CbVYqaBE.js} +1 -1
- package/web/app/immutable/chunks/{Bx7BNLnp.js → Ccxm74iK.js} +1 -1
- package/web/app/immutable/chunks/{DbNaInRh.js → CfV9aH5z.js} +2 -2
- package/web/app/immutable/chunks/{CtBQs9aW.js → Ch36jfts.js} +1 -1
- package/web/app/immutable/chunks/{Cyjl25fy.js → ChRkiYOJ.js} +1 -1
- package/web/app/immutable/chunks/{CjrYYJVA.js → CiyXcVwM.js} +1 -1
- package/web/app/immutable/chunks/{Dw68b__v.js → CjUzEyu9.js} +1 -1
- package/web/app/immutable/chunks/{DrDFJIB-.js → CkmJMnjs.js} +1 -1
- package/web/app/immutable/chunks/{BG92xiA-.js → ClHM0gRH.js} +1 -1
- package/web/app/immutable/chunks/{BZrxWDyC.js → Clm-X79i.js} +1 -1
- package/web/app/immutable/chunks/{DhkrcYPH.js → Cm8yeV3M.js} +1 -1
- package/web/app/immutable/chunks/{D_uZvS29.js → Cmd7Q9e2.js} +2 -2
- package/web/app/immutable/chunks/{uw9q9ubw.js → CpWIfz5C.js} +1 -1
- package/web/app/immutable/chunks/{gywQvRwA.js → CpZlxc5c.js} +1 -1
- package/web/app/immutable/chunks/{u43L-bVE.js → Cqsec-yx.js} +1 -1
- package/web/app/immutable/chunks/{YnEJ07_G.js → Cro1ceUg.js} +1 -1
- package/web/app/immutable/chunks/{aeIQN6XF.js → Cs1191LV.js} +1 -1
- package/web/app/immutable/chunks/{BSqZ5g0_.js → CvNRUlp4.js} +1 -1
- package/web/app/immutable/chunks/{4YAlYQZK.js → CvlQZpOV.js} +1 -1
- package/web/app/immutable/chunks/{DdTOR-fK.js → Cx9nrScM.js} +1 -1
- package/web/app/immutable/chunks/{DWH0KAf0.js → CzeJNa_N.js} +1 -1
- package/web/app/immutable/chunks/{QuwJBwI-.js → D-USmFEk.js} +1 -1
- package/web/app/immutable/chunks/{CR_QOSeH.js → D-nuXMbz.js} +1 -1
- package/web/app/immutable/chunks/{BxiHCJA9.js → D226daYk.js} +1 -1
- package/web/app/immutable/chunks/{DOd666za.js → D4KaTH-V.js} +1 -1
- package/web/app/immutable/chunks/{B-CzqeN8.js → D6rPVTS4.js} +1 -1
- package/web/app/immutable/chunks/{DUwPI6pr.js → D7RRnWwO.js} +1 -1
- package/web/app/immutable/chunks/{C17qLLZy.js → DC4NL8YS.js} +1 -1
- package/web/app/immutable/chunks/{pCx1Hl6T.js → DCpi1ytG.js} +1 -1
- package/web/app/immutable/chunks/{CDc4alpJ.js → DD8c9eUJ.js} +1 -1
- package/web/app/immutable/chunks/{DLg9iehs.js → DFT4lZL_.js} +1 -1
- package/web/app/immutable/chunks/{DNPPDjbf.js → DG2MKLyJ.js} +1 -1
- package/web/app/immutable/chunks/{CbcJLLbX.js → DG9YtBZO.js} +1 -1
- package/web/app/immutable/chunks/{CTm1UFNm.js → DK1Nq2tK.js} +1 -1
- package/web/app/immutable/chunks/{NnQLq3da.js → DKDZTli0.js} +1 -1
- package/web/app/immutable/chunks/{D2HP95As.js → DKs113YH.js} +1 -1
- package/web/app/immutable/chunks/{BORhTadA.js → DNWjwuC6.js} +1 -1
- package/web/app/immutable/chunks/{O7VU9svd.js → DPRoG8qR.js} +1 -1
- package/web/app/immutable/chunks/{D7KQ-C2a.js → DQcbLXPp.js} +1 -1
- package/web/app/immutable/chunks/{Bc1TTOKX.js → DR8eV9N8.js} +1 -1
- package/web/app/immutable/chunks/{Cw7IfVO4.js → DTTAQR6U.js} +1 -1
- package/web/app/immutable/chunks/{C_T_V_cz.js → DUEahgsi.js} +1 -1
- package/web/app/immutable/chunks/{DV5DGvsr.js → DV1BB3if.js} +1 -1
- package/web/app/immutable/chunks/{DaXfyPpV.js → DVOiawfp.js} +1 -1
- package/web/app/immutable/chunks/{C2VPDjeo.js → DVbZ5oZ8.js} +1 -1
- package/web/app/immutable/chunks/{DNUaZj8_.js → DX09WtDr.js} +1 -1
- package/web/app/immutable/chunks/{LIohq1To.js → DX8x4w_C.js} +1 -1
- package/web/app/immutable/chunks/{DVeZQ6um.js → DZyz0CaB.js} +1 -1
- package/web/app/immutable/chunks/{BeUBep3b.js → Darv-bZj.js} +1 -1
- package/web/app/immutable/chunks/{Cou180Vm.js → DbD4A30t.js} +1 -1
- package/web/app/immutable/chunks/{D-YtOwPX.js → Df8Itx2l.js} +1 -1
- package/web/app/immutable/chunks/{BbTuJlco.js → Dfw44tJF.js} +1 -1
- package/web/app/immutable/chunks/{sUO-mR-D.js → DknXCwG-.js} +1 -1
- package/web/app/immutable/chunks/{d5zYr7fC.js → Dl6wwL68.js} +1 -1
- package/web/app/immutable/chunks/{CYK_6j38.js → DlcwslMx.js} +1 -1
- package/web/app/immutable/chunks/{Bk3MUF5Z.js → Dlfu53Jt.js} +1 -1
- package/web/app/immutable/chunks/{DvM0Oc_2.js → DpDR6yW3.js} +1 -1
- package/web/app/immutable/chunks/{C28hhXd4.js → DqNPF1Kv.js} +1 -1
- package/web/app/immutable/chunks/{BU_GHz5Q.js → DsEt8_PJ.js} +1 -1
- package/web/app/immutable/chunks/{BuUX281b.js → Dt4GGs4d.js} +1 -1
- package/web/app/immutable/chunks/{PnAug6me.js → Dug6137y.js} +1 -1
- package/web/app/immutable/chunks/{cUFAcBAC.js → DxGgdCHB.js} +1 -1
- package/web/app/immutable/chunks/{CAoXCf6s.js → Dynz04e1.js} +1 -1
- package/web/app/immutable/chunks/{8pTk55sx.js → DzbhMJUu.js} +1 -1
- package/web/app/immutable/chunks/{C9hosAov.js → HK2fZqOM.js} +1 -1
- package/web/app/immutable/chunks/{DoRZvIjE.js → IorbBySt.js} +1 -1
- package/web/app/immutable/chunks/{FxlwG_cR.js → IuNsAsbW.js} +1 -1
- package/web/app/immutable/chunks/{bOHL4iEd.js → Kr-Hl0sp.js} +1 -1
- package/web/app/immutable/chunks/{CobcHKt3.js → LhLTjc8B.js} +6 -6
- package/web/app/immutable/chunks/{Bbg7YJDS.js → LwsqbQ0C.js} +1 -1
- package/web/app/immutable/chunks/{C1oWz50Y.js → Q0BLEqss.js} +3 -3
- package/web/app/immutable/chunks/{D3Vc9t57.js → Qe1_731c.js} +1 -1
- package/web/app/immutable/chunks/{DKCiaCAE.js → RiB0F36z.js} +1 -1
- package/web/app/immutable/chunks/RmgPTyFU.js +1 -0
- package/web/app/immutable/chunks/{D0xGfXvZ.js → SEnfPRC9.js} +1 -1
- package/web/app/immutable/chunks/{CSYt80U-.js → S_AAYsIr.js} +2 -2
- package/web/app/immutable/chunks/{CNP_2GEv.js → SpDQ1yhe.js} +1 -1
- package/web/app/immutable/chunks/{KjSY_6tg.js → Wtp4gWgF.js} +1 -1
- package/web/app/immutable/chunks/{v6v2loc1.js → Xz2JgrtK.js} +1 -1
- package/web/app/immutable/chunks/{CD6znF_9.js → ZBCGBGeT.js} +1 -1
- package/web/app/immutable/chunks/{D2WFqoJa.js → ZsIzkx4b.js} +1 -1
- package/web/app/immutable/chunks/{DYlMDxfy.js → _es_q85K.js} +1 -1
- package/web/app/immutable/chunks/{CqiIZBSl.js → bAWH0D1a.js} +7 -7
- package/web/app/immutable/chunks/{DqYyUQgu.js → dpToMVNV.js} +1 -1
- package/web/app/immutable/chunks/{B2D_mcko.js → fciB9y8B.js} +1 -1
- package/web/app/immutable/chunks/{MR-g1_iF.js → ihEwdinj.js} +1 -1
- package/web/app/immutable/chunks/{CjK0D9QS.js → jsY6ocH0.js} +1 -1
- package/web/app/immutable/chunks/{_u30tumF.js → kIb2FXed.js} +1 -1
- package/web/app/immutable/chunks/{WD5eiIht.js → kXKukUHU.js} +1 -1
- package/web/app/immutable/chunks/{AZdZd6y3.js → kza5UJ4U.js} +1 -1
- package/web/app/immutable/chunks/{UMrFWomj.js → mMBlGZk9.js} +1 -1
- package/web/app/immutable/chunks/{BvWLkg--.js → n-WVnUeH.js} +1 -1
- package/web/app/immutable/chunks/{hBdy3DXS.js → nR6RXxA9.js} +1 -1
- package/web/app/immutable/chunks/{C_Xkhy7Z.js → pBEY1Dg2.js} +1 -1
- package/web/app/immutable/chunks/{RDBJJxOY.js → pEUfw1x0.js} +1 -1
- package/web/app/immutable/chunks/{Bsgnuc3k.js → prrfQq6f.js} +1 -1
- package/web/app/immutable/chunks/{DVa-kQtc.js → puEh5oJr.js} +4 -4
- package/web/app/immutable/chunks/{DRmM5gTo.js → q6-D_vn6.js} +1 -1
- package/web/app/immutable/chunks/{B-vv1agI.js → qshqk_Zv.js} +1 -1
- package/web/app/immutable/chunks/{C1r6VU8i.js → qvHk51jx.js} +2 -2
- package/web/app/immutable/chunks/{a4fF0apV.js → r8ylcc1d.js} +1 -1
- package/web/app/immutable/chunks/{R9tUAGJO.js → u8Ybsqvl.js} +1 -1
- package/web/app/immutable/chunks/{DMAAeEjh.js → wk8l4Vfb.js} +1 -1
- package/web/app/immutable/chunks/{B10IM79i.js → wz1UgZlY.js} +1 -1
- package/web/app/immutable/chunks/{fdlSdJMU.js → yW5sglFu.js} +1 -1
- package/web/app/immutable/chunks/{BEN2zFww.js → ydrF5SOC.js} +1 -1
- package/web/app/immutable/chunks/{jRjYIDnt.js → zgX_Rwbq.js} +1 -1
- package/web/app/immutable/entry/{app.DwRPZdEe.js → app.DF_Qftdw.js} +2 -2
- package/web/app/immutable/entry/start.DzVa4jHd.js +1 -0
- package/web/app/immutable/nodes/{0.Opr0LpNR.js → 0.KW34tjG8.js} +1 -1
- package/web/app/immutable/nodes/{1.DxR1peSG.js → 1.CHhQxwtD.js} +1 -1
- package/web/app/immutable/nodes/{10.BMejDu10.js → 10.CGdaTN_a.js} +1 -1
- package/web/app/immutable/nodes/{14.C8M6elt-.js → 14.BTTvfbc0.js} +1 -1
- package/web/app/immutable/nodes/{16.Buvqlzgi.js → 16.DD-jxx3d.js} +2 -2
- package/web/app/immutable/nodes/{2.DGI0QMTl.js → 2.CTO1JTL7.js} +3 -3
- package/web/app/immutable/nodes/{3.CDWebO9a.js → 3.BE75vqzp.js} +1 -1
- package/web/app/immutable/nodes/{4.Dxmt1auu.js → 4.BUm0nN8e.js} +1 -1
- package/web/app/immutable/nodes/{5.CSz7wDme.js → 5.BRXD3vaZ.js} +1 -1
- package/web/app/immutable/nodes/{6.C8qeE1kc.js → 6.CWxGKv_E.js} +1 -1
- package/web/app/immutable/nodes/{7.BicRzjRG.js → 7.DI6-BnKI.js} +1 -1
- package/web/app/immutable/nodes/{8.BB2n9bBQ.js → 8.5BsghwEn.js} +2 -2
- package/web/app/immutable/nodes/{9.B1_vasqC.js → 9.-PRJswf6.js} +1 -1
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/chunks/C1pLdIna.js +0 -1
- package/web/app/immutable/entry/start.ksbZjpza.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as r,a as s,c as e,C as t}from"./
|
|
1
|
+
import{s as r,a as s,c as e,C as t}from"./CZiA6iY8.js";import{a as i}from"./bAWH0D1a.js";import"./LhLTjc8B.js";import"./DqNPF1Kv.js";var u={parser:e,get db(){return new t},renderer:s,styles:r,init:i(a=>{a.class||(a.class={}),a.class.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")};export{u as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as _t,bq as _,a_ as L,by as mt,bs as gt,b as vt,bo as x,bu as be,bt as Te}from"./CgPr4hs2.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as Be,bA as me,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./B8o4lNgr.js";import{k as $t,h as Pt,s as De,c as At}from"./CsstSIr0.js";import{s as We}from"./D3ROSEe0.js";import{c as S}from"./Co_Aa6ij.js";import{cz as Et,bi as Ot,aI as Ft,F as ne,aU as Tt,aJ as Bt,bj as Dt,a6 as je,at as Lt}from"./B7NNbItI.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Mt,V as Wt}from"./D5jBmJQo.js";import{f as ge}from"./Ps9iRbKd.js";import{i as jt}from"./DbNaInRh.js";import{n as Gt,R as Vt,r as qt,q as Jt,p as Ut,o as Ge}from"./C9tAiYT0.js";import{n as ve}from"./Bo4f3vLH.js";import{c as Kt}from"./ChTqQfQN.js";import"./D32qvOGn.js";import{G9 as Ve,lS as Xt,C$ as Yt}from"./BL_sVoge.js";import{v as Qt}from"./P80hEEPK.js";import{i as K}from"./CvXnZ-8G.js";import{b5 as Zt,aO as er,aM as tr}from"./YnEJ07_G.js";import{cj as rr}from"./Df2ohObb.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Mt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function qe(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Le)||se.has(Le)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(Ke,"$installedEditors$",ie),X=()=>be(Xe,"$hiddenEditorIds$",ie),Y=()=>be(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ue,"$openAction",ie),[ie,Je]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Vt,(te,V)=>{V(te,{get value(){return t(v).id},children:(F,D)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var q=N(),h=m(q);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();W(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var M=N(),B=m(M);S(B,()=>t(A),(J,re)=>{re(J,{size:16})}),r(l,M)},P=l=>{{let A=o(()=>t(c).faIcon??qe(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>Gt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var M=B=>{var J=ur(),re=oe(J,!0);W(()=>ae(re,t(c).shortcut)),r(B,J)};L(A,B=>{t(c).shortcut&&B(M)})}W(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,q)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Kt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),j=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),G=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>j()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ue=Zt(),Ke=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{Ve.dispatch(Xt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Ze||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await K("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await K("shell:showItemInFolder",{path:d});break;case"vscode":await K("vscode:open",Ee());break;case"jetbrains":await K("jetbrains:open",Ee());break;case"xcode":await K("xcode:open",Ee());break;case"generic":default:{await K("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ve.dispatch(Yt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return j()},set variant(e="default"){j(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return G()},set iconOnly(e=!1){G(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=V=>{var F=he(),D=m(F);S(D,()=>Ut,(T,C)=>{C(T,{children:(c,q)=>{var h=he(),$=m(h);S($,()=>qt,(a,i)=>{i(a,{get icon(){return je},children:(y,H)=>{var b=fr(),P=oe(b,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Jt,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(D,2);S(k,()=>Ge,(T,C)=>{C(T,{})}),r(V,F)};L(u,V=>{t(fe).length&&V(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);We(i,R),me(a),r(n,a)},q=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>G()&&j()!=="sidebar"?"plain":"ghost"),y=o(()=>G()?j()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>G()&&j()==="sidebar"&&t(ee)),b=o(()=>!G()),P=o(()=>G()?j()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var M=N(),B=m(M);We(B,R),r(l,M)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return je},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,M)=>{var B=mr(),J=m(B);{var re=w=>{var U=_r();W(()=>{De(U,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(U,"alt",t(v).label)}),r(w,U)},it=w=>{const U=o(()=>t(v).icon);var Me=N(),pt=m(Me);S(pt,()=>t(U),(ft,bt)=>{bt(ft,{size:14})}),r(w,Me)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let U=o(()=>qe(t(v).category));ne(w,{get icon(){return t(U)},class:"w-3.5 h-3.5 opacity-60"})}};L(J,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(J,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(q,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=_e(D);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>Ge,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var q=z(C,2);le(q,()=>t(Se)),me(D),r(F,D)};let V=o(()=>Z()&&R()?"contents!":"");jt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(V)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),W(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Je(),st}export{wr as O,sr as a,qe as r,ir as s};
|
|
1
|
+
import{t as _t,bq as _,a_ as L,by as mt,bs as gt,b as vt,bo as x,bu as be,bt as Te}from"./CgPr4hs2.js";import{bs as ht,cd as yt,ca as wt,bk as xt,a7 as N,ay as m,W as r,bn as It,aA as g,aD as t,bS as z,a5 as _e,bH as Be,bA as me,b_ as W,aB as E,c9 as o,bf as kt,bl as oe,bO as ae,bV as Ct}from"./B8o4lNgr.js";import{k as $t,h as Pt,s as De,c as At}from"./CsstSIr0.js";import{s as We}from"./D3ROSEe0.js";import{c as S}from"./Co_Aa6ij.js";import{cz as Et,bi as Ot,aI as Ft,F as ne,aU as Tt,aJ as Bt,bj as Dt,a6 as je,at as Lt}from"./B7NNbItI.js";import{W as Nt,T as zt,G as St,C as Rt,X as Ht,J as Mt,V as Wt}from"./D5jBmJQo.js";import{f as ge}from"./Ps9iRbKd.js";import{i as jt}from"./CfV9aH5z.js";import{n as Gt,R as Vt,r as qt,q as Jt,p as Ut,o as Ge}from"./C9tAiYT0.js";import{n as ve}from"./Bo4f3vLH.js";import{c as Kt}from"./ChTqQfQN.js";import"./D32qvOGn.js";import{G9 as Ve,lS as Xt,C$ as Yt}from"./BL_sVoge.js";import{v as Qt}from"./P80hEEPK.js";import{i as K}from"./CvXnZ-8G.js";import{b5 as Zt,aO as er,aM as tr}from"./Cro1ceUg.js";import{cj as rr}from"./Df2ohObb.js";import{t as or}from"./H2jLkRRS.js";const ar={cursor:Rt,ghostty:St,terminal:zt,warp:Nt},nr={vscode:Wt,jetbrains:Mt,xcode:Ht};function sr(O){return ar[O.id]??nr[O.handlerType]??null}function qe(O){return O==="terminal"?Et:O==="finder"?Ot:Ft}const ir="shrink-0 text-muted-foreground hover:text-foreground focus-visible:text-foreground [&_svg]:size-4",Le="finder",lr={id:Le,name:"Finder",shortLabel:"Finder",appName:"Finder",category:"finder",handlerType:"finder",installed:!0,priority:0};function cr(O,s=[]){const se=new Set(s),X=O.filter(({installed:Y,id:ye})=>Y&&!se.has(ye));return X.some(({id:Y})=>Y===Le)||se.has(Le)?X:[...X,lr]}var dr=E('<img alt="" class="size-4"/>'),ur=E('<kbd class="type-caption ml-4 text-muted-foreground" aria-hidden="true"> </kbd>'),pr=E('<span class="min-w-0 flex-1 truncate"> </span> <!>',1),fr=E("<span> </span>"),he=E("<!> <!>",1),br=E("<span><!></span>"),_r=E('<img class="w-4 h-4"/>'),mr=E('<!> <span class="text-muted-foreground"> </span>',1),gr=E('<div class="inline-flex items-stretch rounded-md border border-border" data-open-combo-control=""><!> <!></div>'),vr=E('<div class="type-caption px-2 py-1.5 text-subtle"> </div>'),hr=E('<div class="w-60 max-w-full"><!> <!> <!></div>'),yr=E("<div><!></div>");function wr(O,s){if(new.target)return _t({component:wr,...O});ht(s,!0);const se=()=>be(Ke,"$installedEditors$",ie),X=()=>be(Xe,"$hiddenEditorIds$",ie),Y=()=>be(Ye,"$isWorkspaceHostLocal$",ie),ye=()=>be(Ue,"$openAction",ie),[ie,Je]=gt(),le=(e,d=kt)=>{var u=N(),p=m(u);S(p,()=>Vt,(te,V)=>{V(te,{get value(){return t(v).id},children:(F,D)=>{var k=N(),T=m(k);Pt(T,17,d,C=>C.id,(C,c)=>{var q=N(),h=m(q);{const $=a=>{var i=N(),y=m(i);{var H=l=>{var A=dr();W(()=>De(A,"src",`data:image/png;base64,${t(c).iconBase64??""}`)),r(l,A)},b=l=>{const A=o(()=>t(c).icon);var M=N(),B=m(M);S(B,()=>t(A),(J,re)=>{re(J,{size:16})}),r(l,M)},P=l=>{{let A=o(()=>t(c).faIcon??qe(t(c).category));ne(l,{get icon(){return t(A)},class:"size-4 text-muted-foreground"})}};L(y,l=>{t(c).iconBase64?l(H):t(c).icon?l(b,1):l(P,-1)})}r(a,i)};let n=o(()=>!I());S(h,()=>Gt,(a,i)=>{i(a,{get value(){return t(c).id},closeOnSelect:!0,get disabled(){return t(n)},onSelect:()=>tt(t(c).id),get textValue(){return t(c).label},leading:$,children:(y,H)=>{var b=pr(),P=m(b),l=oe(P,!0),A=z(P,2);{var M=B=>{var J=ur(),re=oe(J,!0);W(()=>ae(re,t(c).shortcut)),r(B,J)};L(A,B=>{t(c).shortcut&&B(M)})}W(()=>ae(l,t(c).label)),r(y,b)},$$slots:{leading:!0,default:!0}})})}r(C,q)}),r(F,k)},$$slots:{default:!0}})}),r(e,u)},Ne=Kt("OpenComboButton");let I=_(s,"filePath",7),ce=_(s,"workspaceId",7,""),de=_(s,"isDirectory",7,!0),we=_(s,"workspaceFolderPath",7),xe=_(s,"class",7,""),ue=_(s,"headerText",7),Ie=_(s,"usePortal",7,!0),ke=_(s,"side",7,"bottom"),j=_(s,"variant",7,"default"),Q=_(s,"branchName",7),Ce=_(s,"compact",7,!1),$e=_(s,"embedded",7,!1),Z=_(s,"inline",7,!1),G=_(s,"iconOnly",7,!1),R=_(s,"children",7,void 0);const ze=o(()=>j()==="sidebar"?"bg-sidebar hover:bg-sidebar/80":"bg-background hover:bg-muted"),Pe=yt(ce());wt(()=>{Pe.set(ce())});const Ue=Zt(),Ke=er(Pe),Xe=tr(),Ye=rr(Pe);let ee=Ct(!1);xt(()=>{Ve.dispatch(Xt())});function Qe(e){return{id:e.id,label:e.name,shortLabel:e.shortLabel,icon:sr(e),shortcut:e.shortcut,handlerType:e.handlerType,appName:e.appName,category:e.category,iconBase64:e.iconBase64}}const Ze=Qt("externalEditors");let f=o(()=>{const e=se(),d=cr(e,X()).map(Qe),u={id:"other",label:x.ui_openCombo_other_label(),shortLabel:x.ui_openCombo_other_label(),icon:null,faIcon:Dt,handlerType:"generic"},p=[{id:"copy",label:x.ui_openCombo_copyPath_label(),shortLabel:x.ui_openCombo_copy_shortLabel(),icon:null,faIcon:Tt},...Q()?[{id:"copy-branch",label:x.ui_openCombo_copyBranch_label(),shortLabel:x.ui_openCombo_copyBranch_shortLabel(),icon:null,faIcon:Bt}]:[]];return!Ze||!Y()?p:[...d,u,...p]});const pe=o(()=>t(f).some(e=>e.id!=="copy"&&e.id!=="copy-branch")),fe=o(()=>t(f).filter(e=>e.id!=="copy"&&e.id!=="copy-branch")),Se=o(()=>t(f).filter(e=>e.id==="copy"||e.id==="copy-branch")),v=o(()=>t(pe)?t(f).find(e=>e.id===ye())||t(f)[0]:t(f).find(e=>e.id==="copy")||t(f)[0]),Ae=o(()=>t(pe)?x.ui_openCombo_openIn_tooltip({name:t(v).label}):t(v).label);function Ee(){if(de())return I();const e=we()||I().substring(0,I().lastIndexOf("/"));return e?{folder:e,file:I()}:I()}async function Oe(e){if(!I())return;const d=de()?I():I().substring(0,I().lastIndexOf("/"));try{if(e==="copy"){await navigator.clipboard.writeText(or(I())),ve.success(x.ui_openCombo_pathCopied_label());return}if(e==="copy-branch"){Q()&&(await navigator.clipboard.writeText(Q()),ve.success(x.ui_openCombo_branchCopied_label()));return}if(e==="other"){const p=await K("external-editors:open-with-other",{path:d});p?.success?Be(ee,!1):p?.error&&p.error!=="No application selected"&&ve.error(p.error);return}const u=t(f).find(p=>p.id===e);if(!u){Ne.warn(`Unknown action: ${e}`);return}switch(u.handlerType){case"finder":await K("shell:showItemInFolder",{path:d});break;case"vscode":await K("vscode:open",Ee());break;case"jetbrains":await K("jetbrains:open",Ee());break;case"xcode":await K("xcode:open",Ee());break;case"generic":default:{await K("external-editors:open",{editorId:u.id,path:d});break}}}catch(u){Ne.error(`Failed to execute action ${e}:`,u),ve.error(u instanceof Error?u.message:x.ui_openCombo_openFailed_error({name:e}))}}function Fe(e){e.stopPropagation(),Oe(t(v).id)}function et(e){e.key!=="Enter"&&e.key!==" "||(e.preventDefault(),e.stopPropagation(),Oe(t(v).id))}function Re(e){e.stopPropagation()}function tt(e){Ve.dispatch(Yt(e)),Oe(e),Be(ee,!1)}var rt={get filePath(){return I()},set filePath(e){I(e),g()},get workspaceId(){return ce()},set workspaceId(e=""){ce(e),g()},get isDirectory(){return de()},set isDirectory(e=!0){de(e),g()},get workspaceFolderPath(){return we()},set workspaceFolderPath(e){we(e),g()},get class(){return xe()},set class(e=""){xe(e),g()},get headerText(){return ue()},set headerText(e){ue(e),g()},get usePortal(){return Ie()},set usePortal(e=!0){Ie(e),g()},get side(){return ke()},set side(e="bottom"){ke(e),g()},get variant(){return j()},set variant(e="default"){j(e),g()},get branchName(){return Q()},set branchName(e){Q(e),g()},get compact(){return Ce()},set compact(e=!1){Ce(e),g()},get embedded(){return $e()},set embedded(e=!1){$e(e),g()},get inline(){return Z()},set inline(e=!1){Z(e),g()},get iconOnly(){return G()},set iconOnly(e=!1){G(e),g()},get children(){return R()},set children(e=void 0){R(e),g()},$set:mt,$on:(e,d)=>vt(s,e,d)},He=N(),ot=m(He);{var at=e=>{var d=he(),u=m(d);{var p=V=>{var F=he(),D=m(F);S(D,()=>Ut,(T,C)=>{C(T,{children:(c,q)=>{var h=he(),$=m(h);S($,()=>qt,(a,i)=>{i(a,{get icon(){return je},children:(y,H)=>{var b=fr(),P=oe(b,!0);W(l=>ae(P,l),[()=>x.ui_openCombo_openInApp_tooltip()]),r(y,b)},$$slots:{default:!0}})});var n=z($,2);S(n,()=>Jt,(a,i)=>{i(a,{class:"w-60",children:(y,H)=>{le(y,()=>t(fe))},$$slots:{default:!0}})}),r(c,h)},$$slots:{default:!0}})});var k=z(D,2);S(k,()=>Ge,(T,C)=>{C(T,{})}),r(V,F)};L(u,V=>{t(fe).length&&V(p)})}var te=z(u,2);le(te,()=>t(Se)),r(e,d)},nt=e=>{var d=yr(),u=_e(d);{const p=(F,D)=>{let k=()=>(D?.()).props;var T=N(),C=m(T);{var c=n=>{var a=br();At(a,()=>({role:"button",tabindex:"0",onclick:t(f).length>1?void 0:Fe,onkeydown:t(f).length>1?void 0:et,...t(f).length>1?k():{},class:"cursor-pointer break-words rounded-sm text-inherit underline decoration-muted-foreground/20 underline-offset-2 hover:decoration-current focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",title:t(Ae)}));var i=_e(a);We(i,R),me(a),r(n,a)},q=n=>{{let a=o(()=>t(f).length>1?void 0:Fe),i=o(()=>G()&&j()!=="sidebar"?"plain":"ghost"),y=o(()=>G()?j()==="sidebar"?"icon-compact":"icon-sm":void 0),H=o(()=>G()&&j()==="sidebar"&&t(ee)),b=o(()=>!G()),P=o(()=>G()?j()==="sidebar"?ir:"cursor-pointer text-muted-foreground hover:text-foreground focus-visible:text-foreground":"cursor-pointer");ge(n,Te({type:"button",get onclick(){return t(a)}},()=>t(f).length>1?k():{},{get variant(){return t(i)},get size(){return t(y)},get active(){return t(H)},get wrapContent(){return t(b)},get class(){return t(P)},get title(){return t(Ae)},children:(l,A)=>{var M=N(),B=m(M);We(B,R),r(l,M)},$$slots:{default:!0}}))}},h=n=>{{let a=o(()=>x.ui_openCombo_openInApp_tooltip());ge(n,Te(k,{variant:"ghost-light",size:"icon-xs",get tooltip(){return t(a)},tooltipSide:"bottom",children:(i,y)=>{ne(i,{get icon(){return je},size:"xs"})},$$slots:{default:!0}}))}},$=n=>{var a=gr(),i=_e(a);{let b=o(()=>t(f).length>1?"rounded-r-none":""),P=o(()=>t(ze)),l=o(()=>t(pe)?t(Ae):void 0);ge(i,{type:"button",variant:"ghost",size:"sm",get class(){return`gap-1.5 px-2 ${t(b)??""} ${t(P)??""}`},onpointerdown:Re,onkeydown:Re,onclick:Fe,get title(){return t(l)},children:(A,M)=>{var B=mr(),J=m(B);{var re=w=>{var U=_r();W(()=>{De(U,"src",`data:image/png;base64,${t(v).iconBase64??""}`),De(U,"alt",t(v).label)}),r(w,U)},it=w=>{const U=o(()=>t(v).icon);var Me=N(),pt=m(Me);S(pt,()=>t(U),(ft,bt)=>{bt(ft,{size:14})}),r(w,Me)},lt=w=>{ne(w,{get icon(){return t(v).faIcon},class:"w-3.5 h-3.5 opacity-60"})},ct=w=>{{let U=o(()=>qe(t(v).category));ne(w,{get icon(){return t(U)},class:"w-3.5 h-3.5 opacity-60"})}};L(J,w=>{t(v).iconBase64?w(re):t(v).icon?w(it,1):t(v).faIcon?w(lt,2):w(ct,-1)})}var dt=z(J,2),ut=oe(dt,!0);W(w=>ae(ut,w),[()=>t(pe)?x.ui_openCombo_open_label():t(v).label]),r(A,B)},$$slots:{default:!0}})}var y=z(i,2);{var H=b=>{{let P=o(()=>x.ui_openCombo_openInApp_tooltip());ge(b,Te(k,{type:"button",variant:"ghost",size:"icon-sm",get"aria-label"(){return t(P)},get class(){return`rounded-l-none border-l border-border ${t(ze)??""}`},children:(l,A)=>{ne(l,{get icon(){return Lt},class:"size-3! text-muted-foreground"})},$$slots:{default:!0}}))}};L(y,b=>{t(f).length>1&&b(H)})}me(a),r(n,a)};L(C,n=>{Z()&&R()?n(c):R()?n(q,1):Ce()?n(h,2):n($,-1)})}r(F,T)},te=F=>{var D=hr(),k=_e(D);{var T=h=>{var $=vr(),n=oe($,!0);W(()=>ae(n,ue())),r(h,$)};L(k,h=>{ue()&&h(T)})}var C=z(k,2);{var c=h=>{var $=he(),n=m($);le(n,()=>t(fe));var a=z(n,2);S(a,()=>Ge,(i,y)=>{y(i,{})}),r(h,$)};L(C,h=>{t(fe).length&&h(c)})}var q=z(C,2);le(q,()=>t(Se)),me(D),r(F,D)};let V=o(()=>Z()&&R()?"contents!":"");jt(u,{align:"end",get portal(){return Ie()},get side(){return ke()},get class(){return t(V)},get open(){return t(ee)},set open(F){Be(ee,F,!0)},trigger:p,content:te,$$slots:{trigger:!0,content:!0}})}me(d),W(()=>$t(d,1,`${Z()&&R()?"contents":"inline-flex items-center"} ${xe()??""}`)),r(e,d)};L(ot,e=>{$e()?e(at):e(nt,-1)})}r(O,He);var st=It(rt);return Je(),st}export{wr as O,sr as a,qe as r,ir as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c6 as pi,aK as mi,aP as $t,c9 as yi,aL as bi,c7 as Ai,f as n,bC as Ut,c4 as wi,a6 as Ci,a0 as Si,aN as Tt,c2 as Ri,$ as Gt,ax as _i,aX as ki,a5 as Ti,bz as Wt}from"./
|
|
1
|
+
import{c6 as pi,aK as mi,aP as $t,c9 as yi,aL as bi,c7 as Ai,f as n,bC as Ut,c4 as wi,a6 as Ci,a0 as Si,aN as Tt,c2 as Ri,$ as Gt,ax as _i,aX as ki,a5 as Ti,bz as Wt}from"./LhLTjc8B.js";import{b as Xt}from"./CyfBUrNA.js";import{l as Nt}from"./ChRkiYOJ.js";var St=(function(){var e=n(function(V,r,g,u){for(g=g||{},u=V.length;u--;g[V[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],l=[1,7],y=[1,5,10,12,14,16,18,19,21,23,36,37,38],d=[1,25],p=[1,26],_=[1,28],k=[1,29],P=[1,30],F=[1,31],W=[1,32],v=[1,33],B=[1,34],b=[1,35],T=[1,36],c=[1,37],I=[1,43],O=[1,42],X=[1,47],N=[1,50],S=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],w=[1,65],M=[26,28],R={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,C,o,lt){var f=o.length-1;switch(C){case 5:x.setOrientation(o[f]);break;case 9:x.setDiagramTitle(o[f].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[f]);break;case 13:x.setLineData(o[f-1],o[f]);break;case 14:x.setBarData({text:"",type:"text"},o[f]);break;case 15:x.setBarData(o[f-1],o[f]);break;case 16:this.$=o[f].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[f].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[f-1];break;case 20:case 30:this.$=[o[f-2],...o[f]];break;case 21:case 31:this.$=[o[f]];break;case 22:this.$={value:Number(o[f-1]),label:o[f]};break;case 23:this.$={value:Number(o[f]),label:""};break;case 24:x.setXAxisTitle(o[f]);break;case 25:x.setXAxisTitle(o[f-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[f]);break;case 28:x.setXAxisRangeData(Number(o[f-2]),Number(o[f]));break;case 29:this.$=o[f-1];break;case 32:x.setYAxisTitle(o[f]);break;case 33:x.setYAxisTitle(o[f-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[f-2]),Number(o[f]));break;case 39:this.$={text:o[f],type:"text"};break;case 40:this.$={text:o[f],type:"text"};break;case 41:this.$={text:o[f],type:"markdown"};break;case 42:this.$=o[f];break;case 43:this.$=o[f-1]+""+o[f];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:l}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:l}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:l}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(y,[2,36]),e(y,[2,37]),e(y,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:l}),{1:[2,3]},e(y,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:l}),{11:23,30:d,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},{11:39,13:38,24:I,29:O,30:d,31:40,32:41,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},{11:45,15:44,29:X,30:d,35:46,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},{11:49,17:48,24:N,30:d,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},{11:52,17:51,24:N,30:d,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},{20:[1,53]},{22:[1,54]},e(S,[2,18]),{1:[2,2]},e(S,[2,8]),e(S,[2,9]),e(H,[2,39],{41:55,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(S,[2,10]),e(S,[2,24],{32:41,31:56,24:I,29:O}),e(S,[2,26]),e(S,[2,27]),{33:[1,57]},{11:59,30:d,34:58,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},e(S,[2,11]),e(S,[2,32],{35:60,29:X}),e(S,[2,34]),{33:[1,61]},e(S,[2,12]),{17:62,24:N},{25:63,27:64,29:w},e(S,[2,14]),{17:66,24:N},e(S,[2,16]),e(S,[2,17]),e(A,[2,43]),e(S,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(S,[2,33]),{29:[1,70]},e(S,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(S,[2,15]),e(S,[2,28]),e(S,[2,29]),{11:59,30:d,34:74,39:24,40:p,41:27,42:_,43:k,44:P,45:F,46:W,47:v,48:B,49:b,50:T,51:c},e(S,[2,35]),e(S,[2,19]),{25:75,27:64,29:w},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],C=[null],o=[],lt=this.table,f="",xt=0,Bt=0,ui=2,Ot=1,xi=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var di=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,C.length=C.length-E,o.length=o.length-E}n(fi,"popStack");function Vt(){var E;return E=x.pop()||D.lex()||Ot,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Vt,"lex");for(var L,U,z,wt,j={},dt,Y,Ft,ft;;){if(U=u[u.length-1],this.defaultActions[U]?z=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Vt()),z=lt[U]&<[U][L]),typeof z>"u"||!z.length||!z[0]){var Ct="";ft=[];for(dt in lt[U])this.terminals_[dt]&&dt>ui&&ft.push("'"+this.terminals_[dt]+"'");D.showPosition?Ct="Parse error on line "+(xt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ct="Parse error on line "+(xt+1)+": Unexpected "+(L==Ot?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:At,expected:ft})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+L);switch(z[0]){case 1:u.push(L),C.push(D.yytext),o.push(D.yylloc),u.push(z[1]),L=null,Bt=D.yyleng,f=D.yytext,xt=D.yylineno,At=D.yylloc;break;case 2:if(Y=this.productions_[z[1]][1],j.$=C[C.length-Y],j._$={first_line:o[o.length-(Y||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(Y||1)].first_column,last_column:o[o.length-1].last_column},di&&(j._$.range=[o[o.length-(Y||1)].range[0],o[o.length-1].range[1]]),wt=this.performAction.apply(j,[f,Bt,xt,$.yy,z[1],C,o].concat(xi)),typeof wt<"u")return wt;Y&&(u=u.slice(0,-1*Y*2),C=C.slice(0,-1*Y),o=o.slice(0,-1*Y)),u.push(this.productions_[z[1]][0]),C.push(j.$),o.push(j._$),Ft=lt[u[u.length-2]][u[u.length-1]],u.push(Ft);break;case 3:return!0}}return!0},"parse")},rt=(function(){var V={EOF:1,parseError:n(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:n(function(r,g){return this.yy=g||this.yy||{},this._input=r,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:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=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),u.length-1&&(this.yylineno-=u.length-1);var C=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:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(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:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{G9 as d,q4 as b,FX as S}from"./BL_sVoge.js";import{F as A,aX as _}from"./CE7ZtQHh.js";import{bs as k}from"./Df2ohObb.js";import{bm as y,bi as w}from"./
|
|
1
|
+
import{G9 as d,q4 as b,FX as S}from"./BL_sVoge.js";import{F as A,aX as _}from"./CE7ZtQHh.js";import{bs as k}from"./Df2ohObb.js";import{bm as y,bi as w}from"./Cro1ceUg.js";import{bo as n}from"./CgPr4hs2.js";import{t as P}from"./CFHzcj7N.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,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{bo as c,_ as p}from"./CgPr4hs2.js";import{n as w}from"./Bo4f3vLH.js";import"./B8o4lNgr.js";import"./CsstSIr0.js";import"./D3ROSEe0.js";import{bw as A}from"./Ps9iRbKd.js";import"./ChTqQfQN.js";import"./D32qvOGn.js";import{g as L,G9 as d,tk as g,tm as y}from"./BL_sVoge.js";import{$ as R}from"./Df2ohObb.js";import{l as v}from"./wSFhIxGo.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,I;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=m(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=m(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),h=A(E+l);return i=m(h.path.split("/")),I=h.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...I!==void 0?{line:I}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function m(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return w.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/1NjHIsWL.js","/app/immutable/chunks/D-Zd1oaK.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/BL_sVoge.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/chunks/D3ROSEe0.js","/app/immutable/chunks/CgPr4hs2.js","/app/immutable/chunks/P80hEEPK.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/BRqvd9LR.js","/app/immutable/chunks/Ps9iRbKd.js","/app/immutable/chunks/CsstSIr0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/Co_Aa6ij.js","/app/immutable/chunks/DJuSbP_R.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BKANDKfj.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Df2ohObb.js","/app/immutable/chunks/B7NNbItI.js","/app/immutable/chunks/rpeM9FmT.js","/app/immutable/chunks/CFHzcj7N.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/S_AAYsIr.js","/app/immutable/chunks/Car8OZH2.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bo as c,_ as p}from"./CgPr4hs2.js";import{n as w}from"./Bo4f3vLH.js";import"./B8o4lNgr.js";import"./CsstSIr0.js";import"./D3ROSEe0.js";import{bw as A}from"./Ps9iRbKd.js";import"./ChTqQfQN.js";import"./D32qvOGn.js";import{g as L,G9 as d,tk as g,tm as y}from"./BL_sVoge.js";import{$ as R}from"./Df2ohObb.js";import{l as v}from"./wSFhIxGo.js";const F="intent://local/note/{note-id}",S="intent://local/{workspace-id}/note/{note-id}";function f(){return c.ui_linkHandler_invalidFormat_error({shortFormat:F,longFormat:S})}class u extends Error{constructor(r){super(r),this.name="NotFoundError"}}function W(e){try{const r=new URL(e.replace("intent://","http://")),t=r.hostname,n=r.pathname.replace(/^\/+/,"").split("/").filter(l=>l.length>0),a=e.replace("intent://","").split(/[?#]/)[0].split("/").slice(1);if(!t||n.length<2)return{type:"unknown",orgId:t||"",resourceId:"",valid:!1,error:f()};let o,s,i,_,I;if(a[0]==="workspace"&&(a.length===2||a.length===3&&a[2]==="")){const l=O(a[1]);if(!l)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};o=l,s="workspace",i=l}else if(a[0]==="file")s="file",i=m(a.slice(1));else if(a.length>=3&&k(a[0])&&a[1]==="file")o=a[0],s="file",i=m(a.slice(2));else if(a.length===5&&a[1]==="agent"&&a[3]==="message"&&k(a[0])&&k(a[2])&&k(a[4])&&n.length===5&&n[1]==="agent"&&n[3]==="message")o=n[0],s="message",_=n[2],i=n[4];else if(n[0]==="note"||n[0]==="task")s=n[0],i=n[1];else if(n.length>=3&&(n[1]==="note"||n[1]==="task"))o=n[0],s=n[1],i=n[2];else return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:f()};if(!i||i.trim().length===0)return{type:"unknown",orgId:t,resourceId:"",valid:!1,error:c.ui_linkHandler_emptyResourceId_error()};if(s==="note"||s==="task")return{type:s,orgId:t,workspaceId:o,resourceId:i,valid:!0};if(s==="file"){const l=/^#L\d+(?:-\d+|C\d+)?$/.test(r.hash)?r.hash:"",E=a.slice(o?2:1).join("/"),h=A(E+l);return i=m(h.path.split("/")),I=h.line,H(i)?{type:"file",orgId:t,workspaceId:o,resourceId:i,...I!==void 0?{line:I}:{},valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:"",valid:!1,error:c.ui_linkHandler_invalidFilePath_error()}}return s==="workspace"&&o?{type:"workspace",orgId:t,workspaceId:o,resourceId:i,valid:!0}:s==="message"&&o&&_?{type:"message",orgId:t,workspaceId:o,resourceId:i,agentId:_,valid:!0}:{type:"unknown",orgId:t,workspaceId:o,resourceId:i,valid:!1,error:c.ui_linkHandler_unknownResourceType_error({type:s})}}catch(r){return{type:"unknown",orgId:"",resourceId:"",valid:!1,error:r instanceof Error?r.message:c.ui_linkHandler_parseFailed_error()}}}function m(e){return e.map(r=>decodeURIComponent(r)).join("/")}function H(e){return/^[A-Za-z]:/.test(e)?!1:e.split(/[\\/]/).every(t=>t.length>0&&t!=="."&&t!=="..")}const j=new Set([L,"new"]);function O(e){if(e===void 0||!k(e))return null;const r=decodeURIComponent(e);return j.has(r)?null:r}function k(e){let r;try{r=decodeURIComponent(e)}catch{return!1}return r.length>0&&r!=="."&&r!==".."&&!/[\\/]/.test(r)}async function T(e,r={}){if(!e.startsWith("intent://"))return!1;const t=W(e);if(!t.valid)return w.error(c.ui_linkHandler_invalidLink_title(),{description:t.error||c.ui_linkHandler_invalidLink_description()}),!0;try{switch(t.type){case"note":case"task":await N(t,r);break;case"file":await b(t,r);break;case"workspace":await C(t.resourceId);break;case"message":{const{openMessage:n}=await p(async()=>{const{openMessage:a}=await import("./1NjHIsWL.js");return{openMessage:a}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29]),import.meta.url);await n({workspaceId:t.workspaceId,agentId:t.agentId,messageId:t.resourceId});break}default:w.error(c.ui_linkHandler_unsupportedLink_title(),{description:c.ui_linkHandler_unsupportedLink_description({type:t.type})})}}catch(n){n instanceof u?w.error(c.ui_linkHandler_notFound_title(),{description:n.message}):w.error(c.ui_linkHandler_navigationFailed_title(),{description:n instanceof Error?n.message:c.ui_linkHandler_unknownError_label()})}return!0}function Z(e,r){return R(e,r)}function B(){return async(e,r,t)=>{const a=t.target.closest("a");return a?.href?.startsWith("intent://")?(t.preventDefault(),await T(a.href)):!1}}async function C(e){const{appClient:r}=await p(async()=>{const{appClient:a}=await import("./BRqvd9LR.js").then(o=>o.X);return{appClient:a}},__vite__mapDeps([13,1,2,3,4,5,6,7,8,9,10,11,14,15,16,17,18,19,20,12,21,22]),import.meta.url);if(!await r.workspaces.get(e).catch(()=>null))throw new u(c.workspace_loader_notFound_title());const{openAndShowWorkspace:n}=await p(async()=>{const{openAndShowWorkspace:a}=await import("./Car8OZH2.js").then(o=>o.s);return{openAndShowWorkspace:a}},__vite__mapDeps([29,2,3,4,5,6,7,8,9,10,11,28]),import.meta.url);await n(e)}async function N(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const a=!t||e.workspaceId!==t;if(!await P(e.workspaceId,e.resourceId))throw new u(c.ui_linkHandler_noteNotFound_error({noteId:e.resourceId,workspaceId:e.workspaceId}));if(a){const{openAndShowWorkspace:s}=await p(async()=>{const{openAndShowWorkspace:i}=await import("./Car8OZH2.js").then(_=>_.s);return{openAndShowWorkspace:i}},__vite__mapDeps([29,2,3,4,5,6,7,8,9,10,11,28]),import.meta.url);await s(e.workspaceId,{query:{note:e.resourceId}})}else d.dispatch(y(e.workspaceId,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());if(!await P(t,e.resourceId))throw new u(c.ui_linkHandler_noteNotFoundCurrent_error({noteId:e.resourceId}));d.dispatch(y(t,e.resourceId,{openInAdjacentPanel:r.openInAdjacentPanel??!1,openInNewAdjacentPanel:r.openInNewAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function b(e,r){const t=r.workspaceId??v.select(d.state)??void 0;if(e.workspaceId){const n=!t||e.workspaceId!==t;if(n){const{openAndShowWorkspace:a}=await p(async()=>{const{openAndShowWorkspace:o}=await import("./Car8OZH2.js").then(s=>s.s);return{openAndShowWorkspace:o}},__vite__mapDeps([29,2,3,4,5,6,7,8,9,10,11,28]),import.meta.url);if(!await a(e.workspaceId))return}d.dispatch(g(e.workspaceId,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:n?!1:r.openInAdjacentPanel??!1,sourcePanelId:n?void 0:r.sourcePanelId}));return}if(!t)throw new u(c.ui_linkHandler_noSpaceOpen_error());d.dispatch(g(t,e.resourceId,{filePathIsLiteral:!0,...e.line!==void 0?{line:e.line}:{},openInAdjacentPanel:r.openInAdjacentPanel??!1,sourcePanelId:r.sourcePanelId}))}async function P(e,r){try{const{backendRequest:t}=await p(async()=>{const{backendRequest:o}=await import("./Ps9iRbKd.js").then(s=>s.az);return{backendRequest:o}},__vite__mapDeps([14,10,3,9,15,8,16,17,18,11,19,7,20]),import.meta.url),n=await t("note.get",{workspaceId:e,noteId:r}),a=n&&typeof n=="object"&&"note"in n?n.note:n;return a!=null&&typeof a=="object"}catch{return!1}}export{u as NotFoundError,B as createIntentLinkClickHandler,Z as generateNoteLink,T as handleIntentLink,W as parseIntentLink};
|