zen-code 4.8.2 → 4.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +93 -93
- package/dist/{chunk-8kk9kv6s.js → chunk-03bb6pab.js} +1 -1
- package/dist/{chunk-jva13pdt.js → chunk-03d08304.js} +1 -1
- package/dist/{chunk-e3narvkn.js → chunk-04kzaj7h.js} +2 -2
- package/dist/{chunk-10stn7rc.js → chunk-09f94dtz.js} +1 -1
- package/dist/chunk-0bpvpy2e.js +1 -0
- package/dist/{chunk-r53nsqbh.js → chunk-0ch9bkct.js} +1 -1
- package/dist/{chunk-645r8yk7.js → chunk-0cz1ygrn.js} +1 -1
- package/dist/{chunk-3xfw5w0d.js → chunk-0dstjr38.js} +1 -1
- package/dist/chunk-0gb5n1jp.js +1 -0
- package/dist/{chunk-j07r3an3.js → chunk-0gpa9n28.js} +1 -1
- package/dist/{chunk-exj3mryv.js → chunk-0mryaqgb.js} +1 -1
- package/dist/{chunk-4cg3jh38.js → chunk-0myk23dw.js} +1 -1
- package/dist/{chunk-zxqs1xns.js → chunk-0qrqmmqt.js} +1 -1
- package/dist/{chunk-yzgwn422.js → chunk-1163kxya.js} +1 -1
- package/dist/chunk-13f0qh77.js +1 -0
- package/dist/chunk-17zj2hd5.js +1 -0
- package/dist/{chunk-ntc51kg0.js → chunk-1a5zv67s.js} +1 -1
- package/dist/{chunk-tfqwrnhz.js → chunk-1dwn0qqb.js} +1 -1
- package/dist/{chunk-kz78gsrq.js → chunk-1efcgvx0.js} +1 -1
- package/dist/{chunk-6qce4a2z.js → chunk-1ggv4msc.js} +1 -1
- package/dist/{chunk-7kb8ygdr.js → chunk-1jj1bxmb.js} +1 -1
- package/dist/{chunk-9dhex1sf.js → chunk-1mdbzd7e.js} +1 -1
- package/dist/{chunk-665a7fke.js → chunk-1pm5qfkm.js} +1 -1
- package/dist/{chunk-1a34fyjt.js → chunk-1q8wzky6.js} +1 -1
- package/dist/{chunk-ft4z3z88.js → chunk-1w5m9c5y.js} +1 -1
- package/dist/{chunk-axn0n4dh.js → chunk-21w7a0t2.js} +1 -1
- package/dist/{chunk-8w10sa5e.js → chunk-25es8s2e.js} +1 -1
- package/dist/{chunk-yynk0bam.js → chunk-28p35k17.js} +1 -1
- package/dist/{chunk-p8pfkf84.js → chunk-2gr7rdv0.js} +1 -1
- package/dist/{chunk-dee62n5c.js → chunk-2hjzw0cx.js} +1 -1
- package/dist/{chunk-8fzw4gqz.js → chunk-2kka9ex2.js} +1 -1
- package/dist/chunk-2m3g6fah.js +1 -0
- package/dist/{chunk-fsqndb8n.js → chunk-2qx9kzj1.js} +1 -1
- package/dist/{chunk-9n2ge60j.js → chunk-2vtz4ypn.js} +1 -1
- package/dist/{chunk-vfwh7m86.js → chunk-2w2pzwmm.js} +1 -1
- package/dist/{chunk-4w4ezegn.js → chunk-323aj0k7.js} +1 -1
- package/dist/{chunk-j4c847h3.js → chunk-3b8bw2gg.js} +1 -1
- package/dist/{chunk-1ja6becj.js → chunk-3c791dd5.js} +1 -1
- package/dist/{chunk-j7dazkh4.js → chunk-3dqan531.js} +1 -1
- package/dist/{chunk-bmb36b05.js → chunk-3ek4pcr6.js} +1 -1
- package/dist/{chunk-xxwnet5y.js → chunk-3mzwewcx.js} +1 -1
- package/dist/{chunk-g1z6k96z.js → chunk-3ns6c29z.js} +1 -1
- package/dist/{chunk-tv25zrtk.js → chunk-3p4khpea.js} +1 -1
- package/dist/{chunk-1yq51mb3.js → chunk-3pd9zqn2.js} +1 -1
- package/dist/{chunk-bnma63xz.js → chunk-3pqm74e3.js} +1 -1
- package/dist/{chunk-qhs3hh67.js → chunk-3s6j6d1z.js} +1 -1
- package/dist/{chunk-srtwf73c.js → chunk-3tq80kwe.js} +1 -1
- package/dist/{chunk-9frwhzz8.js → chunk-3z87tvcn.js} +1 -1
- package/dist/chunk-40fxbk0k.js +1 -0
- package/dist/{chunk-mwqg224k.js → chunk-41hzdwnx.js} +1 -1
- package/dist/{chunk-54j5njdj.js → chunk-45dyg3fv.js} +1 -1
- package/dist/{chunk-hqhqqe9q.js → chunk-4ecfe9a1.js} +1 -1
- package/dist/{chunk-bwvxp5dp.js → chunk-4g796wg5.js} +1 -1
- package/dist/{chunk-j3c65h0m.js → chunk-4j4w856j.js} +1 -1
- package/dist/{chunk-kbaz8s34.js → chunk-4mw5szy1.js} +1 -1
- package/dist/{chunk-dchaphvw.js → chunk-4n978rje.js} +2 -2
- package/dist/chunk-4pa2a33z.js +1 -0
- package/dist/{chunk-35bvsa6m.js → chunk-4qs8qf3g.js} +1 -1
- package/dist/{chunk-30hxw04w.js → chunk-4s6z4724.js} +1 -1
- package/dist/{chunk-httqsv3p.js → chunk-4tgv8687.js} +1 -1
- package/dist/{chunk-sdr9ywjt.js → chunk-4vr7sc1e.js} +1 -1
- package/dist/{chunk-5kns073z.js → chunk-4wmmjwq3.js} +1 -1
- package/dist/{chunk-f4cn2y4x.js → chunk-4z0wk36t.js} +1 -1
- package/dist/{chunk-9skn642s.js → chunk-4zemyepb.js} +1 -1
- package/dist/{chunk-x0xaw21f.js → chunk-501c35tf.js} +1 -1
- package/dist/{chunk-xg586hyh.js → chunk-50hw7e2n.js} +1 -1
- package/dist/{chunk-a07p1cfs.js → chunk-51cf1nrg.js} +1 -1
- package/dist/{chunk-ffyj4q4f.js → chunk-51h1tm3c.js} +1 -1
- package/dist/{chunk-zj03ksjd.js → chunk-5743qc09.js} +1 -1
- package/dist/{chunk-54ya969p.js → chunk-5g0asgdm.js} +1 -1
- package/dist/{chunk-84nqfeqh.js → chunk-5gaygdyf.js} +1 -1
- package/dist/{chunk-my5y2p5a.js → chunk-5n3h6mhr.js} +1 -1
- package/dist/{chunk-46ac6010.js → chunk-5vzt6z7d.js} +1 -1
- package/dist/{chunk-yd3vzgxs.js → chunk-62zhdx11.js} +1 -1
- package/dist/{chunk-khd8ds90.js → chunk-63ghca0g.js} +1 -1
- package/dist/{chunk-9xcz69sj.js → chunk-6a35z43a.js} +1 -1
- package/dist/{chunk-kkk1k414.js → chunk-6e734rff.js} +1 -1
- package/dist/chunk-6ezeq351.js +1 -0
- package/dist/{chunk-tr01bt0h.js → chunk-6gxwe3hq.js} +1 -1
- package/dist/chunk-6hbnk94n.js +1 -0
- package/dist/{chunk-00jvgph3.js → chunk-6meyz753.js} +1 -1
- package/dist/{chunk-en2d49a7.js → chunk-6nhdwm44.js} +1 -1
- package/dist/{chunk-dtha8g8n.js → chunk-6r7b9pg1.js} +1 -1
- package/dist/{chunk-2cj25dc6.js → chunk-6rzyzk0g.js} +1 -1
- package/dist/{chunk-hd39y2wf.js → chunk-6v5eepr1.js} +1 -1
- package/dist/{chunk-fyay9ztg.js → chunk-70gnwjt8.js} +1 -1
- package/dist/{chunk-jeavnd8g.js → chunk-72h39xc8.js} +1 -1
- package/dist/{chunk-8p1ebpny.js → chunk-76gx2wc0.js} +1 -1
- package/dist/{chunk-zqg7xzex.js → chunk-77gv3r7z.js} +1 -1
- package/dist/{chunk-4g2gfvyd.js → chunk-7893pky5.js} +1 -1
- package/dist/{chunk-v6faz3vj.js → chunk-7dmms791.js} +1 -1
- package/dist/{chunk-v667b8k4.js → chunk-7h9sjfmy.js} +1 -1
- package/dist/{chunk-n4s96jdz.js → chunk-7hvw60gp.js} +1 -1
- package/dist/{chunk-sw4h382q.js → chunk-7pntzqpm.js} +1 -1
- package/dist/{chunk-4k9xgsq4.js → chunk-7zprjevz.js} +1 -1
- package/dist/chunk-80jab8dy.js +1 -0
- package/dist/{chunk-e43hpgc8.js → chunk-85j75g9q.js} +1 -1
- package/dist/{chunk-ajxzbnbp.js → chunk-86em0evs.js} +1 -1
- package/dist/{chunk-sbcw8d8z.js → chunk-86exrje1.js} +1 -1
- package/dist/{chunk-wgwaq8q1.js → chunk-88191bqb.js} +1 -1
- package/dist/{chunk-daahmb61.js → chunk-8chx87e7.js} +1 -1
- package/dist/{chunk-d20g16c2.js → chunk-8evmvqza.js} +1 -1
- package/dist/{chunk-sexnhyqf.js → chunk-8hp4t30w.js} +1 -1
- package/dist/{chunk-k45jk0ge.js → chunk-8kv8e5sn.js} +1 -1
- package/dist/{chunk-a5k1t6aj.js → chunk-8m5dqftt.js} +1 -1
- package/dist/{chunk-8ynj83n2.js → chunk-8m6adpjf.js} +1 -1
- package/dist/{chunk-sy7vf5c5.js → chunk-8mmvxxyj.js} +1 -1
- package/dist/{chunk-en6q3h2k.js → chunk-8nkp692y.js} +1 -1
- package/dist/{chunk-2p664mgv.js → chunk-8tg10bhe.js} +1 -1
- package/dist/{chunk-qddn1sea.js → chunk-91rrbsk7.js} +1 -1
- package/dist/{chunk-x0gm6db7.js → chunk-952k4ak8.js} +1 -1
- package/dist/{chunk-3f6xf4mm.js → chunk-97bsgfnr.js} +1 -1
- package/dist/chunk-9c0wnb5t.js +1 -0
- package/dist/{chunk-kwhma00c.js → chunk-9dh8d15f.js} +1 -1
- package/dist/chunk-9dn65rqp.js +1 -0
- package/dist/{chunk-mnxav3bw.js → chunk-9gnhztzd.js} +1 -1
- package/dist/{chunk-2mesyv20.js → chunk-9hkn5b8e.js} +1 -1
- package/dist/{chunk-xtrkc4bn.js → chunk-9kydh60d.js} +1 -1
- package/dist/{chunk-fm4a6pgp.js → chunk-9ynmrc70.js} +1 -1
- package/dist/{chunk-bkan2fr3.js → chunk-acceg8yk.js} +1 -1
- package/dist/{chunk-xqhnnbfr.js → chunk-afdat9a4.js} +1 -1
- package/dist/{chunk-zgnjqvkp.js → chunk-ajtch74a.js} +1 -1
- package/dist/{chunk-9a6kwz9e.js → chunk-ak0aqr2c.js} +1 -1
- package/dist/{chunk-ewgpt1pm.js → chunk-ak2n1ckf.js} +1 -1
- package/dist/{chunk-7wqcxfc4.js → chunk-ak43xwf1.js} +1 -1
- package/dist/{chunk-vxggg3ea.js → chunk-anbr96y3.js} +1 -1
- package/dist/{chunk-q37swcyw.js → chunk-aqyqcpz2.js} +1 -1
- package/dist/{chunk-2kw6zxt8.js → chunk-arppjtcv.js} +1 -1
- package/dist/{chunk-s4ksgmax.js → chunk-azxn0zvz.js} +1 -1
- package/dist/chunk-b2pfdcdb.js +1 -0
- package/dist/{chunk-7wnxdt11.js → chunk-b4fn3tre.js} +1 -1
- package/dist/{chunk-vxzy50p0.js → chunk-b68ekt52.js} +1 -1
- package/dist/{chunk-pht0yvya.js → chunk-b6xencpw.js} +1 -1
- package/dist/{chunk-wxm0c8ec.js → chunk-b9fn4n7z.js} +1 -1
- package/dist/{chunk-r038t2rw.js → chunk-ba18by4y.js} +1 -1
- package/dist/{chunk-2yrz4qdk.js → chunk-bb9mvt9d.js} +1 -1
- package/dist/{chunk-dne3hqde.js → chunk-bd35cx5s.js} +1 -1
- package/dist/{chunk-ky2zgpqq.js → chunk-bf0pjbfa.js} +1 -1
- package/dist/chunk-bfm294j1.js +1 -0
- package/dist/{chunk-vbwkgvhq.js → chunk-bh33p34p.js} +1 -1
- package/dist/{chunk-0y6jq0a0.js → chunk-bngqptzm.js} +1 -1
- package/dist/{chunk-pr8jrhq9.js → chunk-bwjh7xrm.js} +1 -1
- package/dist/{chunk-04mq56m4.js → chunk-bwnx1zht.js} +1 -1
- package/dist/{chunk-9dse3mh2.js → chunk-c1345z85.js} +1 -1
- package/dist/{chunk-ny0zjscg.js → chunk-c1gpr8nz.js} +1 -1
- package/dist/{chunk-czkt4sv0.js → chunk-c1r7zjt3.js} +1 -1
- package/dist/{chunk-satxmrvx.js → chunk-c3b7gwkd.js} +1 -1
- package/dist/{chunk-vdd1xyrt.js → chunk-c5d87fzk.js} +1 -1
- package/dist/{chunk-zv0nefnm.js → chunk-cd37w7qk.js} +1 -1
- package/dist/chunk-cegx2zze.js +1 -0
- package/dist/{chunk-by1h1fy3.js → chunk-cm6vfvym.js} +1 -1
- package/dist/{chunk-15zc0x9q.js → chunk-cp9xkgbn.js} +3 -3
- package/dist/chunk-crjf70s3.js +1 -0
- package/dist/{chunk-b79d73fy.js → chunk-crvp4wnc.js} +1 -1
- package/dist/{chunk-yj3fncjn.js → chunk-cwvb8zr5.js} +1 -1
- package/dist/{chunk-6fzgq7sb.js → chunk-cyd358a8.js} +1 -1
- package/dist/chunk-d08qq3wd.js +1 -0
- package/dist/chunk-d9xgby9w.js +1 -0
- package/dist/{chunk-ggwb349q.js → chunk-dhgjjhh7.js} +1 -1
- package/dist/{chunk-07fnyy77.js → chunk-djmxgj5c.js} +1 -1
- package/dist/{chunk-55pfd4pp.js → chunk-dvmzq40v.js} +1 -1
- package/dist/{chunk-jpkm78je.js → chunk-dw3081wb.js} +1 -1
- package/dist/{chunk-jmp4rprf.js → chunk-e112438q.js} +1 -1
- package/dist/{chunk-667brfhx.js → chunk-e2qmvzgm.js} +1 -1
- package/dist/{chunk-t1pybn6p.js → chunk-e2vdc3vs.js} +1 -1
- package/dist/{chunk-0dvy62vd.js → chunk-eh3cemzk.js} +1 -1
- package/dist/{chunk-w4kh5s54.js → chunk-ehpz2t7m.js} +1 -1
- package/dist/{chunk-p1e4d1an.js → chunk-ek58k066.js} +1 -1
- package/dist/{chunk-1w5vehgm.js → chunk-emdn1c33.js} +1 -1
- package/dist/{chunk-dxyv2b1c.js → chunk-eyty7ng4.js} +1 -1
- package/dist/{chunk-fg2zmrdg.js → chunk-f3jbz60e.js} +1 -1
- package/dist/{chunk-fj71pv2k.js → chunk-f40x0w1g.js} +1 -1
- package/dist/{chunk-vpbyhd1b.js → chunk-f6cbjh6q.js} +1 -1
- package/dist/{chunk-f7rxszbz.js → chunk-fbf3gztk.js} +1 -1
- package/dist/{chunk-z578v7vz.js → chunk-fcexqvhh.js} +1 -1
- package/dist/{chunk-583jqck6.js → chunk-fcxgd3qb.js} +1 -1
- package/dist/{chunk-kn8f91na.js → chunk-feptb1bb.js} +1 -1
- package/dist/{chunk-cmfrm6a7.js → chunk-fmmsa2ry.js} +1 -1
- package/dist/{chunk-yyr27vj3.js → chunk-frzyyytq.js} +1 -1
- package/dist/{chunk-v02wftj8.js → chunk-fs2mzcgs.js} +1 -1
- package/dist/chunk-g1yt0qc9.js +1 -0
- package/dist/{chunk-33xp86w3.js → chunk-g30bcqjk.js} +1 -1
- package/dist/{chunk-51rhc5g1.js → chunk-g8k4dhcx.js} +1 -1
- package/dist/{chunk-5pt6e5bh.js → chunk-g9q5nbz0.js} +1 -1
- package/dist/{chunk-wkvnhk36.js → chunk-geyhpd32.js} +1 -1
- package/dist/{chunk-k06v7jh2.js → chunk-gh5vbn9x.js} +1 -1
- package/dist/{chunk-46bmfch2.js → chunk-gp1ensbx.js} +1 -1
- package/dist/chunk-gphyz2x3.js +1 -0
- package/dist/{chunk-qcyfn6sh.js → chunk-gpmj4w3z.js} +1 -1
- package/dist/{chunk-33j3j89j.js → chunk-gqdapzfq.js} +1 -1
- package/dist/{chunk-d7b0m60j.js → chunk-gtms11w9.js} +1 -1
- package/dist/{chunk-5eg3bn3m.js → chunk-gy4p2qnz.js} +1 -1
- package/dist/{chunk-9as23fmk.js → chunk-h5k1z56v.js} +1 -1
- package/dist/{chunk-c2gqabg2.js → chunk-h8ay3dqc.js} +1 -1
- package/dist/{chunk-nzfjhsr7.js → chunk-h8de6gyf.js} +1 -1
- package/dist/{chunk-x6je1qsq.js → chunk-hgpmrbsr.js} +1 -1
- package/dist/{chunk-ftc3mh9t.js → chunk-htgt048s.js} +1 -1
- package/dist/{chunk-a1s72wx6.js → chunk-hvekwfwd.js} +1 -1
- package/dist/{chunk-ksx0ymk7.js → chunk-hxw717c2.js} +1 -1
- package/dist/{chunk-n3e766aj.js → chunk-hzejh175.js} +1 -1
- package/dist/{chunk-mttnv195.js → chunk-j5e4dmw7.js} +1 -1
- package/dist/{chunk-b3s0bcp6.js → chunk-j8b7x5pr.js} +1 -1
- package/dist/{chunk-g1r86637.js → chunk-jafhgffb.js} +1 -1
- package/dist/{chunk-3k4101h5.js → chunk-jam7nh0r.js} +1 -1
- package/dist/chunk-jh6wwc9v.js +1 -0
- package/dist/chunk-jhjbxj1k.js +1 -0
- package/dist/chunk-jhwm3phf.js +1 -0
- package/dist/{chunk-b6xdt5xb.js → chunk-jmzy9per.js} +1 -1
- package/dist/{chunk-fwmc6hwy.js → chunk-jppcve2j.js} +1 -1
- package/dist/{chunk-m0k36mwn.js → chunk-jy5kmp4s.js} +1 -1
- package/dist/{chunk-kny33kyv.js → chunk-k1kzp019.js} +1 -1
- package/dist/{chunk-c04rr3mc.js → chunk-k7e2abhq.js} +1 -1
- package/dist/chunk-k97swe5s.js +1 -0
- package/dist/{chunk-fesyrdnx.js → chunk-ke9tpkk2.js} +1 -1
- package/dist/{chunk-6tf8wacp.js → chunk-kncs6js6.js} +1 -1
- package/dist/{chunk-q9wkyq6a.js → chunk-ksr76npa.js} +1 -1
- package/dist/chunk-ksy4d0za.js +1 -0
- package/dist/{chunk-962ms02t.js → chunk-kwgygr4z.js} +1 -1
- package/dist/{chunk-p3yymm16.js → chunk-m3zge9wv.js} +1 -1
- package/dist/{chunk-2xrccbwa.js → chunk-m7bwshtn.js} +1 -1
- package/dist/{chunk-gt6xd3pb.js → chunk-m8mdqeye.js} +1 -1
- package/dist/{chunk-jw043xpz.js → chunk-mcrmg4m8.js} +1 -1
- package/dist/{chunk-pdfvchxr.js → chunk-mfexzmw2.js} +1 -1
- package/dist/{chunk-dn2fe6a4.js → chunk-mjwypsrz.js} +1 -1
- package/dist/{chunk-2xr9jk3t.js → chunk-mp6yhf6a.js} +1 -1
- package/dist/chunk-mr7em8w4.js +1 -0
- package/dist/{chunk-66s9chr5.js → chunk-msha9pw1.js} +1 -1
- package/dist/{chunk-bcwnznke.js → chunk-mvv3ktys.js} +1 -1
- package/dist/{chunk-a4ah9wgn.js → chunk-mymqnpgf.js} +1 -1
- package/dist/{chunk-74j5prfv.js → chunk-n220pha2.js} +1 -1
- package/dist/{chunk-mx8stxha.js → chunk-n65ycayf.js} +1 -1
- package/dist/{chunk-pz1y3zyg.js → chunk-n72x5y7a.js} +1 -1
- package/dist/{chunk-5c13nrde.js → chunk-n9x46wsq.js} +1 -1
- package/dist/{chunk-8kt765dh.js → chunk-n9zmzbyq.js} +1 -1
- package/dist/{chunk-sd9rvjt6.js → chunk-nbcah8mh.js} +1 -1
- package/dist/chunk-ncs4rnsn.js +1 -0
- package/dist/{chunk-sjkk13dd.js → chunk-nt5n8jcr.js} +1 -1
- package/dist/{chunk-131cad67.js → chunk-nv58ta3s.js} +1 -1
- package/dist/{chunk-eceb8jjd.js → chunk-nw76mbwc.js} +1 -1
- package/dist/{chunk-cypczp4s.js → chunk-p2z2bacg.js} +1 -1
- package/dist/{chunk-zq5ncapf.js → chunk-p3mpqeqw.js} +1 -1
- package/dist/{chunk-t3q0fpe0.js → chunk-p3p6a3ht.js} +1 -1
- package/dist/{chunk-h1j74efh.js → chunk-p46at2ts.js} +1 -1
- package/dist/{chunk-5em7s1at.js → chunk-p6dgtz38.js} +1 -1
- package/dist/{chunk-nay5m04y.js → chunk-p70r0dds.js} +1 -1
- package/dist/{chunk-ntcxtgqe.js → chunk-p89xw4y2.js} +1 -1
- package/dist/{chunk-rnpfchb9.js → chunk-pd4wysbn.js} +1 -1
- package/dist/{chunk-5yv6fsvn.js → chunk-pe45n68n.js} +1 -1
- package/dist/{chunk-01tsa9cq.js → chunk-pf09ha3g.js} +1 -1
- package/dist/{chunk-v6nssgv7.js → chunk-pn04v4sv.js} +1 -1
- package/dist/{chunk-fdvezfdb.js → chunk-pr7vzg5y.js} +1 -1
- package/dist/{chunk-kz9rfhe3.js → chunk-psdrzwp5.js} +1 -1
- package/dist/{chunk-t6bb31dn.js → chunk-px75djc6.js} +1 -1
- package/dist/{chunk-m0czpwvf.js → chunk-q3x300wy.js} +1 -1
- package/dist/{chunk-mxwqk6ht.js → chunk-q56ns9ta.js} +1 -1
- package/dist/{chunk-zed64rf0.js → chunk-q86xqx6c.js} +1 -1
- package/dist/{chunk-gc0daqhj.js → chunk-q9711zm8.js} +1 -1
- package/dist/{chunk-5gp7nsdp.js → chunk-qejfdzc7.js} +1 -1
- package/dist/{chunk-m5rj1w7e.js → chunk-qpkn7wvc.js} +1 -1
- package/dist/{chunk-5q1qtbx4.js → chunk-r1enj0f0.js} +1 -1
- package/dist/{chunk-0qys39ww.js → chunk-r9r1v9kw.js} +1 -1
- package/dist/{chunk-p0ys44e5.js → chunk-rc027n67.js} +1 -1
- package/dist/{chunk-zcg0fy8h.js → chunk-rmrp92n9.js} +1 -1
- package/dist/{chunk-1r67ngsh.js → chunk-rv0x9fbs.js} +1 -1
- package/dist/chunk-rvxb17kx.js +1 -0
- package/dist/{chunk-5gjt4v98.js → chunk-rxs4gexg.js} +1 -1
- package/dist/{chunk-jk42e7d2.js → chunk-s6t5vxm9.js} +1 -1
- package/dist/chunk-s6xjfvvd.js +1 -0
- package/dist/{chunk-t7qx43hg.js → chunk-s719ttj9.js} +1 -1
- package/dist/{chunk-2mb0trr0.js → chunk-sd6qvm4t.js} +1 -1
- package/dist/chunk-shc3fcge.js +1 -0
- package/dist/chunk-ss233wsa.js +1 -0
- package/dist/{chunk-0b5e8zpy.js → chunk-stp38gza.js} +1 -1
- package/dist/{chunk-1mrzmr8f.js → chunk-sws9653v.js} +1 -1
- package/dist/{chunk-yk20e377.js → chunk-syme57ea.js} +1 -1
- package/dist/{chunk-07em03a3.js → chunk-t0tznkac.js} +1 -1
- package/dist/{chunk-zf96st2f.js → chunk-t32zj7ah.js} +1 -1
- package/dist/{chunk-vrjcy7h1.js → chunk-t5z5e89a.js} +1 -1
- package/dist/{chunk-87w588zd.js → chunk-t8w9hqaa.js} +1 -1
- package/dist/chunk-t97kks4j.js +1 -0
- package/dist/{chunk-f6rsbhs6.js → chunk-tamfhbc6.js} +1 -1
- package/dist/{chunk-s6qt552a.js → chunk-tchg9ygq.js} +1 -1
- package/dist/{chunk-6dat5vvb.js → chunk-te7k3eqj.js} +1 -1
- package/dist/{chunk-6r8jhnde.js → chunk-tpgf3t6p.js} +1 -1
- package/dist/{chunk-j2vek58t.js → chunk-tpyp8wqr.js} +1 -1
- package/dist/{chunk-vg1dem7m.js → chunk-trx18gxg.js} +1 -1
- package/dist/chunk-ts98e90r.js +1 -0
- package/dist/{chunk-brcvpmwp.js → chunk-tv1kqdv9.js} +1 -1
- package/dist/{chunk-zv3jegxm.js → chunk-tvbj84md.js} +1 -1
- package/dist/{chunk-16jx4h98.js → chunk-tx71e422.js} +1 -1
- package/dist/{chunk-3pzth5e2.js → chunk-ty5eswjv.js} +1 -1
- package/dist/{chunk-zwhbdwnt.js → chunk-v1e0cwqh.js} +1 -1
- package/dist/{chunk-3tfjvh53.js → chunk-v28dexnx.js} +1 -1
- package/dist/{chunk-cfsnygh0.js → chunk-v3bw2mnd.js} +1 -1
- package/dist/{chunk-10qr9jk1.js → chunk-v3ta4qyy.js} +1 -1
- package/dist/{chunk-8vsqygpz.js → chunk-v85y10pz.js} +1 -1
- package/dist/{chunk-9qtsjepd.js → chunk-v8ag7wgx.js} +1 -1
- package/dist/{chunk-x866vcqf.js → chunk-v9b5r8aq.js} +1 -1
- package/dist/{chunk-3mjwhvpy.js → chunk-vjvr9n6y.js} +1 -1
- package/dist/{chunk-vxdkfxtq.js → chunk-vkfhjhhh.js} +1 -1
- package/dist/{chunk-xkfzt78k.js → chunk-vxzscaap.js} +1 -1
- package/dist/{chunk-jrmcscsp.js → chunk-vyfvrrc8.js} +1 -1
- package/dist/{chunk-5hcvm27y.js → chunk-w0me5x6g.js} +1 -1
- package/dist/{chunk-vpah11mp.js → chunk-w69pf8zx.js} +1 -1
- package/dist/{chunk-e07gx0kg.js → chunk-w895krdx.js} +1 -1
- package/dist/{chunk-zgyww0w8.js → chunk-w8vzpn90.js} +1 -1
- package/dist/{chunk-18k4wz02.js → chunk-wb0ms9q0.js} +1 -1
- package/dist/{chunk-9rks3bc7.js → chunk-wk8sx9ev.js} +1 -1
- package/dist/{chunk-myx87v1y.js → chunk-wtwgpw9g.js} +1 -1
- package/dist/{chunk-vs72fgve.js → chunk-x0mnchxz.js} +1 -1
- package/dist/{chunk-9b45fe34.js → chunk-x0qb9311.js} +1 -1
- package/dist/chunk-x7g4cwft.js +1 -0
- package/dist/{chunk-t7zrr341.js → chunk-xb46b3bf.js} +1 -1
- package/dist/{chunk-b9s35wb6.js → chunk-xk0abc6t.js} +1 -1
- package/dist/{chunk-95963acy.js → chunk-xmp5jp4r.js} +1 -1
- package/dist/{chunk-wbcfbyft.js → chunk-xzpqbfjh.js} +1 -1
- package/dist/{chunk-s7qqrnzh.js → chunk-y1f3hfaq.js} +1 -1
- package/dist/{chunk-b7h6wk4v.js → chunk-y3d9nwzf.js} +1 -1
- package/dist/{chunk-mkzpj7ht.js → chunk-y3gfd4y3.js} +1 -1
- package/dist/{chunk-xc8efvab.js → chunk-y5pf2d0x.js} +1 -1
- package/dist/{chunk-6yk2jj1m.js → chunk-y6vatv51.js} +1 -1
- package/dist/{chunk-6wbgc1xz.js → chunk-y971vkwy.js} +1 -1
- package/dist/{chunk-w3y3sdmt.js → chunk-yb2kp04v.js} +1 -1
- package/dist/chunk-yctck6wf.js +1 -0
- package/dist/{chunk-vsedmhna.js → chunk-ye6d9r5f.js} +1 -1
- package/dist/{chunk-nvynvczn.js → chunk-yfasv01s.js} +1 -1
- package/dist/{chunk-bj4851d8.js → chunk-yj27rmw2.js} +1 -1
- package/dist/{chunk-y62ja3na.js → chunk-ypj2k2de.js} +1 -1
- package/dist/{chunk-n9yfs19q.js → chunk-yr04s6b7.js} +1 -1
- package/dist/{chunk-xkvnfywa.js → chunk-yr48as8z.js} +1 -1
- package/dist/{chunk-35ncgr15.js → chunk-ywas7wb8.js} +1 -1
- package/dist/{chunk-jv8shhgk.js → chunk-ywp666sg.js} +1 -1
- package/dist/{chunk-1ek0xjkr.js → chunk-yx4mdqvf.js} +1 -1
- package/dist/{chunk-9xtq15gy.js → chunk-yxwramd1.js} +1 -1
- package/dist/{chunk-2kqs0amy.js → chunk-yz8sseev.js} +1 -1
- package/dist/{chunk-6jdfap4a.js → chunk-z0abvgpr.js} +1 -1
- package/dist/{chunk-wp436n3r.js → chunk-z46zzhqf.js} +1 -1
- package/dist/{chunk-dj82prdc.js → chunk-z6rwg7bs.js} +1 -1
- package/dist/{chunk-yd6e0k1x.js → chunk-zb9wth64.js} +1 -1
- package/dist/chunk-zf08x9b0.js +434 -0
- package/dist/{chunk-p57dfnmm.js → chunk-zkfa00mf.js} +1 -1
- package/dist/{chunk-7jy1478y.js → chunk-znpdxhep.js} +1 -1
- package/dist/{chunk-4mj1r6nd.js → chunk-zpes0b8m.js} +1 -1
- package/dist/{chunk-5xhjmcrr.js → chunk-ztpff54v.js} +1 -1
- package/dist/cli.js +1 -1
- package/dist/nonInteractive.js +3 -3
- package/dist/zen-keyboard.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-0c25y7k9.js +0 -1
- package/dist/chunk-29tmghhd.js +0 -1
- package/dist/chunk-3b63e6mc.js +0 -1
- package/dist/chunk-3st09pbw.js +0 -1
- package/dist/chunk-3zf20ctr.js +0 -1
- package/dist/chunk-4h4fdqy9.js +0 -1
- package/dist/chunk-87s313qe.js +0 -1
- package/dist/chunk-8n9e3wbs.js +0 -1
- package/dist/chunk-9xp471ze.js +0 -1
- package/dist/chunk-a0jc9gfw.js +0 -1
- package/dist/chunk-a22ebaj5.js +0 -1
- package/dist/chunk-bc95nfbs.js +0 -1
- package/dist/chunk-cd3rdhh1.js +0 -424
- package/dist/chunk-cdp5c1vf.js +0 -1
- package/dist/chunk-fsh8c4gw.js +0 -1
- package/dist/chunk-g0c5mmdz.js +0 -1
- package/dist/chunk-gz0bg0j5.js +0 -1
- package/dist/chunk-h77takma.js +0 -1
- package/dist/chunk-j9bkjc22.js +0 -1
- package/dist/chunk-jn4wgzaz.js +0 -1
- package/dist/chunk-jwtpf45z.js +0 -1
- package/dist/chunk-kephawnc.js +0 -1
- package/dist/chunk-kzafnaxn.js +0 -1
- package/dist/chunk-mgkmr3xy.js +0 -1
- package/dist/chunk-nq1k5tw4.js +0 -1
- package/dist/chunk-q2qcexv0.js +0 -1
- package/dist/chunk-s237yqg5.js +0 -1
- package/dist/chunk-sch9d3fe.js +0 -1
- package/dist/chunk-skh4rx0s.js +0 -1
- package/dist/chunk-svcy27ht.js +0 -1
- package/dist/chunk-t49vbac9.js +0 -1
- package/dist/chunk-txdyy4ya.js +0 -1
- package/dist/chunk-vcbgawge.js +0 -1
- package/dist/chunk-y7qk76sv.js +0 -1
- package/dist/chunk-yhpg01ds.js +0 -1
- package/dist/chunk-ynjy01zm.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-kn8f91na.js";var e=Object.freeze(JSON.parse('{"displayName":"Batch File","injections":{"L:meta.block.repeat.batchfile":{"patterns":[{"include":"#repeatParameter"}]}},"name":"bat","patterns":[{"include":"#commands"},{"include":"#comments"},{"include":"#constants"},{"include":"#controls"},{"include":"#escaped_characters"},{"include":"#labels"},{"include":"#numbers"},{"include":"#operators"},{"include":"#parens"},{"include":"#strings"},{"include":"#variables"}],"repository":{"command_set":{"patterns":[{"begin":"(?<=^|[@\\\\s])(?i:SET)(?=$|\\\\s)","beginCaptures":{"0":{"name":"keyword.command.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#command_set_inside"}]}]},"command_set_group":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.batchfile"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.batchfile"}},"patterns":[{"include":"#command_set_inside_arithmetic"}]}]},"command_set_inside":{"patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#parens"},{"include":"#command_set_strings"},{"include":"#strings"},{"begin":"([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#parens"},{"include":"#strings"}]},{"begin":"\\\\s+/[Aa]\\\\s+","end":"(?=$\\\\n|[\\\\&)<>|])","name":"meta.expression.set.batchfile","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.batchfile"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"include":"#command_set_inside_arithmetic"},{"include":"#command_set_group"},{"include":"#variables"}]},{"include":"#command_set_inside_arithmetic"},{"include":"#command_set_group"}]},{"begin":"\\\\s+/[Pp]\\\\s+","end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#command_set_strings"},{"begin":"([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","name":"meta.prompt.set.batchfile","patterns":[{"include":"#strings"}]}]}]},"command_set_inside_arithmetic":{"patterns":[{"include":"#command_set_operators"},{"include":"#numbers"},{"match":",","name":"punctuation.separator.batchfile"}]},"command_set_operators":{"patterns":[{"captures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.augmented.batchfile"}},"match":"([^ ]*)((?:[-*+/]|%%|[\\\\&^|]|<<|>>)=)"},{"match":"[-*+/]|%%|[\\\\&^|]|<<|>>|~","name":"keyword.operator.arithmetic.batchfile"},{"match":"!","name":"keyword.operator.logical.batchfile"},{"captures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"match":"([^ =]*)(=)"}]},"command_set_strings":{"patterns":[{"begin":"(\\")\\\\s*([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.batchfile"},"2":{"name":"variable.other.readwrite.batchfile"},"3":{"name":"keyword.operator.assignment.batchfile"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"include":"#variables"},{"include":"#numbers"},{"include":"#escaped_characters"}]}]},"commands":{"patterns":[{"match":"(?<=^|[@\\\\s])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net user??|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|sc|schtasks|scp|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|sftp|shadow|shift|showmount|shutdown|sort|ssh|ssh-add|ssh-agent|ssh-keygen|ssh-keyscan|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|wmic|wscript|wsl|xcopy)(?=$|\\\\s)","name":"keyword.command.batchfile"},{"begin":"(?i)(?<=^|[@\\\\s])(echo)(?:(?=$|[.:])|\\\\s+(?:(o(?:n|ff))(?=\\\\s*$))?)","beginCaptures":{"1":{"name":"keyword.command.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#strings"}]},{"captures":{"1":{"name":"keyword.command.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"match":"(?i)(?<=^|[@\\\\s])(setlocal)(?:\\\\s*$|\\\\s+((?:En|Dis)able(?:Extensions|DelayedExpansion))(?=\\\\s*$))"},{"include":"#command_set"}]},"comments":{"patterns":[{"begin":"(?:^|(&))\\\\s*(?=(:[ +,:;=]))","beginCaptures":{"1":{"name":"keyword.operator.conditional.batchfile"}},"end":"\\\\n","patterns":[{"begin":"(:[ +,:;=])","beginCaptures":{"1":{"name":"punctuation.definition.comment.batchfile"}},"end":"(?=\\\\n)","name":"comment.line.colon.batchfile"}]},{"begin":"(?<=^|[@\\\\s])(?i)(REM)(\\\\.)","beginCaptures":{"1":{"name":"keyword.command.rem.batchfile"},"2":{"name":"punctuation.separator.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","name":"comment.line.rem.batchfile"},{"begin":"(?<=^|[@\\\\s])(?i:rem)\\\\b","beginCaptures":{"0":{"name":"keyword.command.rem.batchfile"}},"end":"\\\\n","name":"comment.line.rem.batchfile","patterns":[{"match":"[<>|]","name":"invalid.illegal.unexpected-character.batchfile"}]}]},"constants":{"patterns":[{"match":"\\\\b(?i:NUL)\\\\b","name":"constant.language.batchfile"}]},"controls":{"patterns":[{"match":"(?i)(?<=^|\\\\s)(?:call|exit(?=$|\\\\s)|goto(?=$|[:\\\\s]))","name":"keyword.control.statement.batchfile"},{"captures":{"1":{"name":"keyword.control.conditional.batchfile"},"2":{"name":"keyword.operator.logical.batchfile"},"3":{"name":"keyword.other.special-method.batchfile"}},"match":"(?<=^|\\\\s)(?i)(if)\\\\s+(?:(not)\\\\s+)?(exist|defined|errorlevel|cmdextversion)(?=\\\\s)"},{"match":"(?<=^|\\\\s)(?i)(?:if|else)(?=$|\\\\s)","name":"keyword.control.conditional.batchfile"},{"begin":"(?<=^|[\\\\&(^\\\\s])(?i)for(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.control.repeat.batchfile"}},"end":"\\\\n","name":"meta.block.repeat.batchfile","patterns":[{"begin":"(?<=[\\\\^\\\\s])(?i)in(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.control.repeat.in.batchfile"}},"end":"(?<=[)^\\\\s])(?i)do(?=\\\\s)|\\\\n","endCaptures":{"0":{"name":"keyword.control.repeat.do.batchfile"}},"patterns":[{"include":"$self"}]},{"include":"$self"}]}]},"escaped_characters":{"patterns":[{"match":"%%|\\\\^\\\\^!|\\\\^(?=.)|\\\\^\\\\n","name":"constant.character.escape.batchfile"}]},"labels":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"match":"(?i)(?:^\\\\s*|(?<=call|goto)\\\\s*)(:)([^+,:;=\\\\s]\\\\S*)"}]},"numbers":{"patterns":[{"match":"(?<=^|[=\\\\s])(0[Xx]\\\\h*|[-+]?\\\\d+)(?=$|[<>\\\\s])","name":"constant.numeric.batchfile"}]},"operators":{"patterns":[{"match":"@(?=\\\\S)","name":"keyword.operator.at.batchfile"},{"match":"(?<=\\\\s)(?i:EQU|NEQ|LSS|LEQ|GTR|GEQ)(?=\\\\s)|==","name":"keyword.operator.comparison.batchfile"},{"match":"(?<=\\\\s)(?i)(NOT)(?=\\\\s)","name":"keyword.operator.logical.batchfile"},{"match":"(?<!\\\\^)&&?|\\\\|\\\\|","name":"keyword.operator.conditional.batchfile"},{"match":"(?<!\\\\^)\\\\|","name":"keyword.operator.pipe.batchfile"},{"match":"<&?|>[\\\\&>]?","name":"keyword.operator.redirection.batchfile"}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.batchfile"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.batchfile"}},"name":"meta.group.batchfile","patterns":[{"match":"[,;]","name":"punctuation.separator.batchfile"},{"include":"$self"}]}]},"repeatParameter":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.batchfile"}},"match":"(%%)(?i:~[adfnpstxz]*(?:\\\\$PATH:)?)?[A-Za-z]","name":"variable.parameter.repeat.batchfile"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.batchfile"}},"end":"(\\")|(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.batchfile"},"2":{"name":"invalid.illegal.newline.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"match":"%%","name":"constant.character.escape.batchfile"},{"include":"#variables"}]}]},"variable":{"patterns":[{"begin":"%(?=[^%]+%)","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.batchfile"}},"end":"(%)|\\\\n","endCaptures":{"1":{"name":"punctuation.definition.variable.end.batchfile"}},"name":"variable.other.readwrite.batchfile","patterns":[{"begin":":~","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","name":"meta.variable.substring.batchfile","patterns":[{"include":"#variable_substring"}]},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","name":"meta.variable.substitution.batchfile","patterns":[{"include":"#variable_replace"},{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","patterns":[{"include":"#variable_delayed_expansion"},{"match":"[^%]+","name":"string.unquoted.batchfile"}]}]}]}]},"variable_delayed_expansion":{"patterns":[{"begin":"!(?=[^!]+!)","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.batchfile"}},"end":"(!)|\\\\n","endCaptures":{"1":{"name":"punctuation.definition.variable.end.batchfile"}},"name":"variable.other.readwrite.batchfile","patterns":[{"begin":":~","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","name":"meta.variable.substring.batchfile","patterns":[{"include":"#variable_substring"}]},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","name":"meta.variable.substitution.batchfile","patterns":[{"include":"#escaped_characters"},{"include":"#variable_replace"},{"include":"#variable"},{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","patterns":[{"include":"#variable"},{"match":"[^!]+","name":"string.unquoted.batchfile"}]}]}]}]},"variable_replace":{"patterns":[{"match":"[^\\\\n!%=]+","name":"string.unquoted.batchfile"}]},"variable_substring":{"patterns":[{"captures":{"1":{"name":"constant.numeric.batchfile"},"2":{"name":"punctuation.separator.batchfile"},"3":{"name":"constant.numeric.batchfile"}},"match":"([-+]?\\\\d+)(?:(,)([-+]?\\\\d+))?"}]},"variables":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.batchfile"}},"match":"(%)(?:(?i:~[adfnpstxz]*(?:\\\\$PATH:)?)?\\\\d|\\\\*)","name":"variable.parameter.batchfile"},{"include":"#variable"},{"include":"#variable_delayed_expansion"}]}},"scopeName":"source.batchfile","aliases":["batch"]}')),t=[e];export{t as default};
|
|
1
|
+
import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Batch File","injections":{"L:meta.block.repeat.batchfile":{"patterns":[{"include":"#repeatParameter"}]}},"name":"bat","patterns":[{"include":"#commands"},{"include":"#comments"},{"include":"#constants"},{"include":"#controls"},{"include":"#escaped_characters"},{"include":"#labels"},{"include":"#numbers"},{"include":"#operators"},{"include":"#parens"},{"include":"#strings"},{"include":"#variables"}],"repository":{"command_set":{"patterns":[{"begin":"(?<=^|[@\\\\s])(?i:SET)(?=$|\\\\s)","beginCaptures":{"0":{"name":"keyword.command.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#command_set_inside"}]}]},"command_set_group":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.batchfile"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.batchfile"}},"patterns":[{"include":"#command_set_inside_arithmetic"}]}]},"command_set_inside":{"patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#parens"},{"include":"#command_set_strings"},{"include":"#strings"},{"begin":"([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#parens"},{"include":"#strings"}]},{"begin":"\\\\s+/[Aa]\\\\s+","end":"(?=$\\\\n|[\\\\&)<>|])","name":"meta.expression.set.batchfile","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.batchfile"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"include":"#command_set_inside_arithmetic"},{"include":"#command_set_group"},{"include":"#variables"}]},{"include":"#command_set_inside_arithmetic"},{"include":"#command_set_group"}]},{"begin":"\\\\s+/[Pp]\\\\s+","end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#command_set_strings"},{"begin":"([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","name":"meta.prompt.set.batchfile","patterns":[{"include":"#strings"}]}]}]},"command_set_inside_arithmetic":{"patterns":[{"include":"#command_set_operators"},{"include":"#numbers"},{"match":",","name":"punctuation.separator.batchfile"}]},"command_set_operators":{"patterns":[{"captures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.augmented.batchfile"}},"match":"([^ ]*)((?:[-*+/]|%%|[\\\\&^|]|<<|>>)=)"},{"match":"[-*+/]|%%|[\\\\&^|]|<<|>>|~","name":"keyword.operator.arithmetic.batchfile"},{"match":"!","name":"keyword.operator.logical.batchfile"},{"captures":{"1":{"name":"variable.other.readwrite.batchfile"},"2":{"name":"keyword.operator.assignment.batchfile"}},"match":"([^ =]*)(=)"}]},"command_set_strings":{"patterns":[{"begin":"(\\")\\\\s*([^ ][^=]*)(=)","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.batchfile"},"2":{"name":"variable.other.readwrite.batchfile"},"3":{"name":"keyword.operator.assignment.batchfile"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"include":"#variables"},{"include":"#numbers"},{"include":"#escaped_characters"}]}]},"commands":{"patterns":[{"match":"(?<=^|[@\\\\s])(?i:adprep|append|arp|assoc|at|atmadm|attrib|auditpol|autochk|autoconv|autofmt|bcdboot|bcdedit|bdehdcfg|bitsadmin|bootcfg|brea|cacls|cd|certreq|certutil|change|chcp|chdir|chglogon|chgport|chgusr|chkdsk|chkntfs|choice|cipher|clip|cls|clscluadmin|cluster|cmd|cmdkey|cmstp|color|comp|compact|convert|copy|cprofile|cscript|csvde|date|dcdiag|dcgpofix|dcpromo|defra|del|dfscmd|dfsdiag|dfsrmig|diantz|dir|dirquota|diskcomp|diskcopy|diskpart|diskperf|diskraid|diskshadow|dispdiag|doin|dnscmd|doskey|driverquery|dsacls|dsadd|dsamain|dsdbutil|dsget|dsmgmt|dsmod|dsmove|dsquery|dsrm|edit|endlocal|eraseesentutl|eventcreate|eventquery|eventtriggers|evntcmd|expand|extract|fc|filescrn|find|findstr|finger|flattemp|fonde|forfiles|format|freedisk|fsutil|ftp|ftype|fveupdate|getmac|gettype|gpfixup|gpresult|gpupdate|graftabl|hashgen|hep|helpctr|hostname|icacls|iisreset|inuse|ipconfig|ipxroute|irftp|ismserv|jetpack|klist|ksetup|ktmutil|ktpass|label|ldifd|ldp|lodctr|logman|logoff|lpq|lpr|macfile|makecab|manage-bde|mapadmin|md|mkdir|mklink|mmc|mode|more|mount|mountvol|move|mqbup|mqsvc|mqtgsvc|msdt|msg|msiexec|msinfo32|mstsc|nbtstat|net computer|net group|net localgroup|net print|net session|net share|net start|net stop|net user??|net view|net|netcfg|netdiag|netdom|netsh|netstat|nfsadmin|nfsshare|nfsstat|nlb|nlbmgr|nltest|nslookup|ntackup|ntcmdprompt|ntdsutil|ntfrsutl|openfiles|pagefileconfig|path|pathping|pause|pbadmin|pentnt|perfmon|ping|pnpunatten|pnputil|popd|powercfg|powershell|powershell_ise|print|prncnfg|prndrvr|prnjobs|prnmngr|prnport|prnqctl|prompt|pubprn|pushd|pushprinterconnections|pwlauncher|qappsrv|qprocess|query|quser|qwinsta|rasdial|rcp|rd|rdpsign|regentc|recover|redircmp|redirusr|reg|regini|regsvr32|relog|ren|rename|rendom|repadmin|repair-bde|replace|reset session|rxec|risetup|rmdir|robocopy|route|rpcinfo|rpcping|rsh|runas|rundll32|rwinsta|sc|schtasks|scp|scwcmd|secedit|serverceipoptin|servrmanagercmd|serverweroptin|setspn|setx|sfc|sftp|shadow|shift|showmount|shutdown|sort|ssh|ssh-add|ssh-agent|ssh-keygen|ssh-keyscan|start|storrept|subst|sxstrace|ysocmgr|systeminfo|takeown|tapicfg|taskkill|tasklist|tcmsetup|telnet|tftp|time|timeout|title|tlntadmn|tpmvscmgr|tacerpt|tracert|tree|tscon|tsdiscon|tsecimp|tskill|tsprof|type|typeperf|tzutil|uddiconfig|umount|unlodctr|ver|verifier|verif|vol|vssadmin|w32tm|waitfor|wbadmin|wdsutil|wecutil|wevtutil|where|whoami|winnt|winnt32|winpop|winrm|winrs|winsat|wlbs|wmic|wscript|wsl|xcopy)(?=$|\\\\s)","name":"keyword.command.batchfile"},{"begin":"(?i)(?<=^|[@\\\\s])(echo)(?:(?=$|[.:])|\\\\s+(?:(o(?:n|ff))(?=\\\\s*$))?)","beginCaptures":{"1":{"name":"keyword.command.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","patterns":[{"include":"#escaped_characters"},{"include":"#variables"},{"include":"#numbers"},{"include":"#strings"}]},{"captures":{"1":{"name":"keyword.command.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"match":"(?i)(?<=^|[@\\\\s])(setlocal)(?:\\\\s*$|\\\\s+((?:En|Dis)able(?:Extensions|DelayedExpansion))(?=\\\\s*$))"},{"include":"#command_set"}]},"comments":{"patterns":[{"begin":"(?:^|(&))\\\\s*(?=(:[ +,:;=]))","beginCaptures":{"1":{"name":"keyword.operator.conditional.batchfile"}},"end":"\\\\n","patterns":[{"begin":"(:[ +,:;=])","beginCaptures":{"1":{"name":"punctuation.definition.comment.batchfile"}},"end":"(?=\\\\n)","name":"comment.line.colon.batchfile"}]},{"begin":"(?<=^|[@\\\\s])(?i)(REM)(\\\\.)","beginCaptures":{"1":{"name":"keyword.command.rem.batchfile"},"2":{"name":"punctuation.separator.batchfile"}},"end":"(?=$\\\\n|[\\\\&)<>|])","name":"comment.line.rem.batchfile"},{"begin":"(?<=^|[@\\\\s])(?i:rem)\\\\b","beginCaptures":{"0":{"name":"keyword.command.rem.batchfile"}},"end":"\\\\n","name":"comment.line.rem.batchfile","patterns":[{"match":"[<>|]","name":"invalid.illegal.unexpected-character.batchfile"}]}]},"constants":{"patterns":[{"match":"\\\\b(?i:NUL)\\\\b","name":"constant.language.batchfile"}]},"controls":{"patterns":[{"match":"(?i)(?<=^|\\\\s)(?:call|exit(?=$|\\\\s)|goto(?=$|[:\\\\s]))","name":"keyword.control.statement.batchfile"},{"captures":{"1":{"name":"keyword.control.conditional.batchfile"},"2":{"name":"keyword.operator.logical.batchfile"},"3":{"name":"keyword.other.special-method.batchfile"}},"match":"(?<=^|\\\\s)(?i)(if)\\\\s+(?:(not)\\\\s+)?(exist|defined|errorlevel|cmdextversion)(?=\\\\s)"},{"match":"(?<=^|\\\\s)(?i)(?:if|else)(?=$|\\\\s)","name":"keyword.control.conditional.batchfile"},{"begin":"(?<=^|[\\\\&(^\\\\s])(?i)for(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.control.repeat.batchfile"}},"end":"\\\\n","name":"meta.block.repeat.batchfile","patterns":[{"begin":"(?<=[\\\\^\\\\s])(?i)in(?=\\\\s)","beginCaptures":{"0":{"name":"keyword.control.repeat.in.batchfile"}},"end":"(?<=[)^\\\\s])(?i)do(?=\\\\s)|\\\\n","endCaptures":{"0":{"name":"keyword.control.repeat.do.batchfile"}},"patterns":[{"include":"$self"}]},{"include":"$self"}]}]},"escaped_characters":{"patterns":[{"match":"%%|\\\\^\\\\^!|\\\\^(?=.)|\\\\^\\\\n","name":"constant.character.escape.batchfile"}]},"labels":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.batchfile"},"2":{"name":"keyword.other.special-method.batchfile"}},"match":"(?i)(?:^\\\\s*|(?<=call|goto)\\\\s*)(:)([^+,:;=\\\\s]\\\\S*)"}]},"numbers":{"patterns":[{"match":"(?<=^|[=\\\\s])(0[Xx]\\\\h*|[-+]?\\\\d+)(?=$|[<>\\\\s])","name":"constant.numeric.batchfile"}]},"operators":{"patterns":[{"match":"@(?=\\\\S)","name":"keyword.operator.at.batchfile"},{"match":"(?<=\\\\s)(?i:EQU|NEQ|LSS|LEQ|GTR|GEQ)(?=\\\\s)|==","name":"keyword.operator.comparison.batchfile"},{"match":"(?<=\\\\s)(?i)(NOT)(?=\\\\s)","name":"keyword.operator.logical.batchfile"},{"match":"(?<!\\\\^)&&?|\\\\|\\\\|","name":"keyword.operator.conditional.batchfile"},{"match":"(?<!\\\\^)\\\\|","name":"keyword.operator.pipe.batchfile"},{"match":"<&?|>[\\\\&>]?","name":"keyword.operator.redirection.batchfile"}]},"parens":{"patterns":[{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.section.group.begin.batchfile"}},"end":"\\\\)","endCaptures":{"0":{"name":"punctuation.section.group.end.batchfile"}},"name":"meta.group.batchfile","patterns":[{"match":"[,;]","name":"punctuation.separator.batchfile"},{"include":"$self"}]}]},"repeatParameter":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.batchfile"}},"match":"(%%)(?i:~[adfnpstxz]*(?:\\\\$PATH:)?)?[A-Za-z]","name":"variable.parameter.repeat.batchfile"}]},"strings":{"patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.batchfile"}},"end":"(\\")|(\\\\n)","endCaptures":{"1":{"name":"punctuation.definition.string.end.batchfile"},"2":{"name":"invalid.illegal.newline.batchfile"}},"name":"string.quoted.double.batchfile","patterns":[{"match":"%%","name":"constant.character.escape.batchfile"},{"include":"#variables"}]}]},"variable":{"patterns":[{"begin":"%(?=[^%]+%)","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.batchfile"}},"end":"(%)|\\\\n","endCaptures":{"1":{"name":"punctuation.definition.variable.end.batchfile"}},"name":"variable.other.readwrite.batchfile","patterns":[{"begin":":~","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","name":"meta.variable.substring.batchfile","patterns":[{"include":"#variable_substring"}]},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","name":"meta.variable.substitution.batchfile","patterns":[{"include":"#variable_replace"},{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n%])","patterns":[{"include":"#variable_delayed_expansion"},{"match":"[^%]+","name":"string.unquoted.batchfile"}]}]}]}]},"variable_delayed_expansion":{"patterns":[{"begin":"!(?=[^!]+!)","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.batchfile"}},"end":"(!)|\\\\n","endCaptures":{"1":{"name":"punctuation.definition.variable.end.batchfile"}},"name":"variable.other.readwrite.batchfile","patterns":[{"begin":":~","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","name":"meta.variable.substring.batchfile","patterns":[{"include":"#variable_substring"}]},{"begin":":","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","name":"meta.variable.substitution.batchfile","patterns":[{"include":"#escaped_characters"},{"include":"#variable_replace"},{"include":"#variable"},{"begin":"=","beginCaptures":{"0":{"name":"punctuation.separator.batchfile"}},"end":"(?=[\\\\n!])","patterns":[{"include":"#variable"},{"match":"[^!]+","name":"string.unquoted.batchfile"}]}]}]}]},"variable_replace":{"patterns":[{"match":"[^\\\\n!%=]+","name":"string.unquoted.batchfile"}]},"variable_substring":{"patterns":[{"captures":{"1":{"name":"constant.numeric.batchfile"},"2":{"name":"punctuation.separator.batchfile"},"3":{"name":"constant.numeric.batchfile"}},"match":"([-+]?\\\\d+)(?:(,)([-+]?\\\\d+))?"}]},"variables":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.variable.batchfile"}},"match":"(%)(?:(?i:~[adfnpstxz]*(?:\\\\$PATH:)?)?\\\\d|\\\\*)","name":"variable.parameter.batchfile"},{"include":"#variable"},{"include":"#variable_delayed_expansion"}]}},"scopeName":"source.batchfile","aliases":["batch"]}')),t=[e];export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Dart","name":"dart","patterns":[{"match":"^(#!.*)$","name":"meta.preprocessor.script.dart"},{"begin":"^\\\\w*\\\\b(augment\\\\s+library|library|import\\\\s+augment|import|part\\\\s+of|part|export)\\\\b","beginCaptures":{"0":{"name":"keyword.other.import.dart"}},"end":";","endCaptures":{"0":{"name":"punctuation.terminator.dart"}},"name":"meta.declaration.dart","patterns":[{"include":"#strings"},{"include":"#comments"},{"match":"\\\\b(as|show|hide)\\\\b","name":"keyword.other.import.dart"},{"match":"\\\\b(if)\\\\b","name":"keyword.control.dart"}]},{"include":"#comments"},{"include":"#punctuation"},{"include":"#annotations"},{"include":"#keywords"},{"include":"#constants-and-special-vars"},{"include":"#operators"},{"include":"#strings"}],"repository":{"annotations":{"patterns":[{"match":"@[A-Za-z]+","name":"storage.type.annotation.dart"}]},"class-identifier":{"patterns":[{"match":"(?<!\\\\$)\\\\b(bool|num|int|double|dynamic)\\\\b(?!\\\\$)","name":"support.class.dart"},{"match":"(?<!\\\\$)\\\\bvoid\\\\b(?!\\\\$)","name":"storage.type.primitive.dart"},{"begin":"(?<![$0-9A-Z_a-z])([$_]*[A-Z][$0-9A-Z_a-z]*)\\\\b","beginCaptures":{"1":{"name":"support.class.dart"}},"end":"(?!<)","patterns":[{"include":"#type-args"}]}]},"comments":{"patterns":[{"captures":{"0":{"name":"punctuation.definition.comment.dart"}},"match":"/\\\\*\\\\*/","name":"comment.block.empty.dart"},{"include":"#comments-doc-oldschool"},{"include":"#comments-doc"},{"include":"#comments-inline"}]},"comments-block":{"patterns":[{"begin":"/\\\\*","end":"\\\\*/","name":"comment.block.dart","patterns":[{"include":"#comments-block"}]}]},"comments-doc":{"patterns":[{"begin":"///","end":"^(?!\\\\s*///)","name":"comment.block.documentation.dart","patterns":[{"include":"#dartdoc"}]}]},"comments-doc-oldschool":{"patterns":[{"begin":"/\\\\*\\\\*","end":"\\\\*/","name":"comment.block.documentation.dart","patterns":[{"include":"#comments-doc-oldschool"},{"include":"#comments-block"},{"include":"#dartdoc"}]}]},"comments-inline":{"patterns":[{"include":"#comments-block"},{"captures":{"1":{"name":"comment.line.double-slash.dart"}},"match":"((//).*)$"}]},"constants-and-special-vars":{"patterns":[{"match":"(?<!\\\\$)\\\\b(true|false|null)\\\\b(?!\\\\$)","name":"constant.language.dart"},{"match":"(?<!\\\\$)\\\\b(this|super|augmented)\\\\b(?!\\\\$)","name":"variable.language.dart"},{"match":"(?<!\\\\$)\\\\b((0([Xx])\\\\h[_\\\\h]*)|(([0-9][0-9_]*\\\\.?[0-9_]*)|(\\\\.[0-9][0-9_]*))(([Ee])([-+])?[0-9][0-9_]*)?)\\\\b(?!\\\\$)","name":"constant.numeric.dart"},{"include":"#class-identifier"},{"include":"#function-identifier"}]},"dartdoc":{"patterns":[{"captures":{"0":{"name":"variable.name.source.dart"}},"match":"(\\\\[.*?])"},{"begin":"^\\\\s*///\\\\s*(```)","end":"^(?:\\\\s*///\\\\s*(```)|(?!\\\\s*///))","patterns":[{"include":"#dartdoc-codeblock-triple"}]},{"begin":"^\\\\s*\\\\*\\\\s*(```)","end":"^(?:\\\\s*\\\\*\\\\s*(```)|(?=\\\\s*\\\\*/))","patterns":[{"include":"#dartdoc-codeblock-block"}]},{"match":"`[^\\\\n`]+`","name":"variable.other.source.dart"},{"captures":{"1":{"name":"variable.other.source.dart"}},"match":"(?:\\\\*|//)\\\\s{4,}(.*?)(?=($|\\\\*/))"}]},"dartdoc-codeblock-block":{"begin":"^\\\\s*\\\\*\\\\s*(?!(\\\\s*```|/))","contentName":"variable.other.source.dart","end":"\\\\n"},"dartdoc-codeblock-triple":{"begin":"^\\\\s*///\\\\s*(?!\\\\s*```)","contentName":"variable.other.source.dart","end":"\\\\n"},"expression":{"patterns":[{"include":"#constants-and-special-vars"},{"include":"#strings"},{"match":"[0-9A-Z_a-z]+","name":"variable.parameter.dart"},{"begin":"\\\\{","end":"}","patterns":[{"include":"#expression"}]}]},"function-identifier":{"patterns":[{"captures":{"1":{"name":"entity.name.function.dart"},"2":{"patterns":[{"include":"#type-args"}]}},"match":"([$_]*[a-z][$0-9A-Z_a-z]*)(<(?:[$0-9<>?A-Z_a-z]|,\\\\s*|\\\\s+extends\\\\s+)+>)?[!?]?\\\\("}]},"keywords":{"patterns":[{"match":"(?<!\\\\$)\\\\bas\\\\b(?!\\\\$)","name":"keyword.cast.dart"},{"match":"(?<!\\\\$)\\\\b(try|on|catch|finally|throw|rethrow)\\\\b(?!\\\\$)","name":"keyword.control.catch-exception.dart"},{"match":"(?<!\\\\$)\\\\b(break|case|continue|default|do|else|for|if|in|switch|while|when)\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\b(sync(\\\\*)?|async(\\\\*)?|await|yield(\\\\*)?)\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\bassert\\\\b(?!\\\\$)","name":"keyword.control.dart"},{"match":"(?<!\\\\$)\\\\b(new)\\\\b(?!\\\\$)","name":"keyword.control.new.dart"},{"match":"(?<!\\\\$)\\\\b(return)\\\\b(?!\\\\$)","name":"keyword.control.return.dart"},{"match":"(?<!\\\\$)\\\\b(abstract|sealed|base|interface|class|enum|extends|extension\\\\s+type|extension|external|factory|implements|get(?![(<])|mixin|native|operator|set(?![(<])|typedef|with|covariant)\\\\b(?!\\\\$)","name":"keyword.declaration.dart"},{"match":"(?<!\\\\$)\\\\b(macro|augment|static|final|const|required|late)\\\\b(?!\\\\$)","name":"storage.modifier.dart"},{"match":"(?<!\\\\$)\\\\bv(?:oid|ar)\\\\b(?!\\\\$)","name":"storage.type.primitive.dart"}]},"operators":{"patterns":[{"match":"(?<!\\\\$)\\\\b(is!?)\\\\b(?!\\\\$)","name":"keyword.operator.dart"},{"match":"[:?]","name":"keyword.operator.ternary.dart"},{"match":"(<<|>>>?|[\\\\&^|~])","name":"keyword.operator.bitwise.dart"},{"match":"(([\\\\&^|]|<<|>>>?)=)","name":"keyword.operator.assignment.bitwise.dart"},{"match":"(=>)","name":"keyword.operator.closure.dart"},{"match":"(==|!=|<=?|>=?)","name":"keyword.operator.comparison.dart"},{"match":"(([-%*+/~])=)","name":"keyword.operator.assignment.arithmetic.dart"},{"match":"(=)","name":"keyword.operator.assignment.dart"},{"match":"(--|\\\\+\\\\+)","name":"keyword.operator.increment-decrement.dart"},{"match":"([-*+/]|~/|%)","name":"keyword.operator.arithmetic.dart"},{"match":"(!|&&|\\\\|\\\\|)","name":"keyword.operator.logical.dart"}]},"punctuation":{"patterns":[{"match":",","name":"punctuation.comma.dart"},{"match":";","name":"punctuation.terminator.dart"},{"match":"\\\\.","name":"punctuation.dot.dart"}]},"string-interp":{"patterns":[{"captures":{"1":{"name":"variable.parameter.dart"}},"match":"\\\\$([0-9A-Z_a-z]+)","name":"meta.embedded.expression.dart"},{"begin":"\\\\$\\\\{","end":"}","name":"meta.embedded.expression.dart","patterns":[{"include":"#expression"}]},{"match":"\\\\\\\\.","name":"constant.character.escape.dart"}]},"strings":{"patterns":[{"begin":"(?<!r)\\"\\"\\"","end":"\\"\\"\\"(?!\\")","name":"string.interpolated.triple.double.dart","patterns":[{"include":"#string-interp"}]},{"begin":"(?<!r)\'\'\'","end":"\'\'\'(?!\')","name":"string.interpolated.triple.single.dart","patterns":[{"include":"#string-interp"}]},{"begin":"r\\"\\"\\"","end":"\\"\\"\\"(?!\\")","name":"string.quoted.triple.double.dart"},{"begin":"r\'\'\'","end":"\'\'\'(?!\')","name":"string.quoted.triple.single.dart"},{"begin":"(?<!\\\\|r)\\"","end":"\\"","name":"string.interpolated.double.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"},{"include":"#string-interp"}]},{"begin":"r\\"","end":"\\"","name":"string.quoted.double.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"}]},{"begin":"(?<!\\\\|r)\'","end":"\'","name":"string.interpolated.single.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"},{"include":"#string-interp"}]},{"begin":"r\'","end":"\'","name":"string.quoted.single.dart","patterns":[{"match":"\\\\n","name":"invalid.string.newline"}]}]},"type-args":{"begin":"(<)","beginCaptures":{"1":{"name":"other.source.dart"}},"end":"(>)","endCaptures":{"1":{"name":"other.source.dart"}},"patterns":[{"include":"#class-identifier"},{"match":","},{"match":"extends","name":"keyword.declaration.dart"},{"include":"#comments"}]}},"scopeName":"source.dart"}')),t=[e];export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse(`{"displayName":"Scheme","fileTypes":["scm","ss","sch","rkt"],"name":"scheme","patterns":[{"include":"#comment"},{"include":"#block-comment"},{"include":"#sexp"},{"include":"#string"},{"include":"#language-functions"},{"include":"#quote"},{"include":"#illegal"}],"repository":{"block-comment":{"begin":"#\\\\|","contentName":"comment","end":"\\\\|#","name":"comment","patterns":[{"include":"#block-comment","name":"comment"}]},"comment":{"begin":"(^[\\\\t ]+)?(?=;)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.scheme"}},"end":"(?!\\\\G)","patterns":[{"begin":";","beginCaptures":{"0":{"name":"punctuation.definition.comment.scheme"}},"end":"\\\\n","name":"comment.line.semicolon.scheme"}]},"constants":{"patterns":[{"match":"#[ft|]","name":"constant.language.boolean.scheme"},{"match":"(?<=[(\\\\s])((#[ei])?[0-9]+(\\\\.[0-9]+)?|(#x)\\\\h+|(#o)[0-7]+|(#b)[01]+)(?=[]\\"'(),;\\\\[\\\\s])","name":"constant.numeric.scheme"}]},"illegal":{"match":"[]()\\\\[]","name":"invalid.illegal.parenthesis.scheme"},"language-functions":{"patterns":[{"match":"(?<=([(\\\\[\\\\s]))(do|or|and|else|quasiquote|begin|if|case|set!|cond|let|unquote|define|let\\\\*|unquote-splicing|delay|letrec)(?=([(\\\\s]))","name":"keyword.control.scheme"},{"match":"(?<=([(\\\\s]))(char-alphabetic|char-lower-case|char-numeric|char-ready|char-upper-case|char-whitespace|(?:char|string)(?:-ci)?(?:=|<=?|>=?)|atom|boolean|bound-identifier=|char|complex|identifier|integer|symbol|free-identifier=|inexact|eof-object|exact|list|(?:in|out)put-port|pair|real|rational|zero|vector|negative|odd|null|string|eq|equal|eqv|even|number|positive|procedure)(\\\\?)(?=([(\\\\s]))","name":"support.function.boolean-test.scheme"},{"match":"(?<=([(\\\\s]))(char->integer|exact->inexact|inexact->exact|integer->char|symbol->string|list->vector|list->string|identifier->symbol|vector->list|string->list|string->number|string->symbol|number->string)(?=([(\\\\s]))","name":"support.function.convert-type.scheme"},{"match":"(?<=([(\\\\s]))(set-c[ad]r|(?:vector|string)-(?:fill|set))(!)(?=([(\\\\s]))","name":"support.function.with-side-effects.scheme"},{"match":"(?<=([(\\\\s]))(>=?|<=?|[-*+/=])(?=([(\\\\s]))","name":"keyword.operator.arithmetic.scheme"},{"match":"(?<=([(\\\\s]))(append|apply|approximate|call-with-current-continuation|call/cc|catch|construct-identifier|define-syntax|display|foo|for-each|force|format|cd|gen-counter|gen-loser|generate-identifier|last-pair|length|let-syntax|letrec-syntax|list|list-ref|list-tail|load|log|macro|magnitude|map|map-streams|max|member|memq|memv|min|newline|nil|not|peek-char|rationalize|read|read-char|return|reverse|sequence|substring|syntax|syntax-rules|transcript-off|transcript-on|truncate|unwrap-syntax|values-list|write|write-char|cons|c([ad]){1,4}r|abs|acos|angle|asin|assoc|assq|assv|atan|ceiling|cos|floor|round|sin|sqrt|tan|(?:real|imag)-part|numerator|denominatormodulo|expt??|remainder|quotient|lcm|call-with-(?:in|out)put-file|c(?:lose|urrent)-(?:in|out)put-port|with-(?:in|out)put-from-file|open-(?:in|out)put-file|char-(?:downcase|upcase|ready)|make-(?:polar|promise|rectangular|string|vector)string(?:-(?:append|copy|length|ref))?|vector-(?:length|ref))(?=([(\\\\s]))","name":"support.function.general.scheme"}]},"quote":{"patterns":[{"captures":{"1":{"name":"punctuation.section.quoted.symbol.scheme"}},"match":"(')\\\\s*(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*)","name":"constant.other.symbol.scheme"},{"captures":{"1":{"name":"punctuation.section.quoted.empty-list.scheme"},"2":{"name":"meta.expression.scheme"},"3":{"name":"punctuation.section.expression.begin.scheme"},"4":{"name":"punctuation.section.expression.end.scheme"}},"match":"(')\\\\s*((\\\\()\\\\s*(\\\\)))","name":"constant.other.empty-list.schem"},{"begin":"(')\\\\s*","beginCaptures":{"1":{"name":"punctuation.section.quoted.scheme"}},"end":"(?=[()\\\\s])|(?<=\\\\n)","name":"string.other.quoted-object.scheme","patterns":[{"include":"#quoted"}]}]},"quote-sexp":{"begin":"(?<=\\\\()\\\\s*(quote)\\\\s+","beginCaptures":{"1":{"name":"keyword.control.quote.scheme"}},"contentName":"string.other.quote.scheme","end":"(?=[)\\\\s])|(?<=\\\\n)","patterns":[{"include":"#quoted"}]},"quoted":{"patterns":[{"include":"#string"},{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.scheme"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.section.expression.end.scheme"}},"name":"meta.expression.scheme","patterns":[{"include":"#quoted"}]},{"include":"#quote"},{"include":"#illegal"}]},"sexp":{"begin":"(\\\\()","beginCaptures":{"1":{"name":"punctuation.section.expression.begin.scheme"}},"end":"(\\\\))(\\\\n)?","endCaptures":{"1":{"name":"punctuation.section.expression.end.scheme"},"2":{"name":"meta.after-expression.scheme"}},"name":"meta.expression.scheme","patterns":[{"include":"#comment"},{"begin":"(?<=\\\\()(define)\\\\s+(\\\\()(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*)((\\\\s+(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*|[._]))*)\\\\s*(\\\\))","captures":{"1":{"name":"keyword.control.scheme"},"2":{"name":"punctuation.definition.function.scheme"},"3":{"name":"entity.name.function.scheme"},"4":{"name":"variable.parameter.function.scheme"},"7":{"name":"punctuation.definition.function.scheme"}},"end":"(?=\\\\))","name":"meta.declaration.procedure.scheme","patterns":[{"include":"#comment"},{"include":"#sexp"},{"include":"#illegal"}]},{"begin":"(?<=\\\\()(lambda)\\\\s+(\\\\()((?:(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*|[._])\\\\s+)*(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*|[._])?)(\\\\))","captures":{"1":{"name":"keyword.control.scheme"},"2":{"name":"punctuation.definition.variable.scheme"},"3":{"name":"variable.parameter.scheme"},"6":{"name":"punctuation.definition.variable.scheme"}},"end":"(?=\\\\))","name":"meta.declaration.procedure.scheme","patterns":[{"include":"#comment"},{"include":"#sexp"},{"include":"#illegal"}]},{"begin":"(?<=\\\\()(define)\\\\s(\\\\p{alnum}[!$%\\\\&*-/:<-@^_~[:alnum:]]*)\\\\s*.*?","captures":{"1":{"name":"keyword.control.scheme"},"2":{"name":"variable.other.scheme"}},"end":"(?=\\\\))","name":"meta.declaration.variable.scheme","patterns":[{"include":"#comment"},{"include":"#sexp"},{"include":"#illegal"}]},{"include":"#quote-sexp"},{"include":"#quote"},{"include":"#language-functions"},{"include":"#string"},{"include":"#constants"},{"match":"(?<=[(\\\\s])(#\\\\\\\\)(space|newline|tab)(?=[)\\\\s])","name":"constant.character.named.scheme"},{"match":"(?<=[(\\\\s])(#\\\\\\\\)x[0-9A-F]{2,4}(?=[)\\\\s])","name":"constant.character.hex-literal.scheme"},{"match":"(?<=[(\\\\s])(#\\\\\\\\).(?=[)\\\\s])","name":"constant.character.escape.scheme"},{"match":"(?<=[ ()])\\\\.(?=[ ()])","name":"punctuation.separator.cons.scheme"},{"include":"#sexp"},{"include":"#illegal"}]},"string":{"begin":"(\\")","beginCaptures":{"1":{"name":"punctuation.definition.string.begin.scheme"}},"end":"(\\")","endCaptures":{"1":{"name":"punctuation.definition.string.end.scheme"}},"name":"string.quoted.double.scheme","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.scheme"}]}},"scopeName":"source.scheme"}`)),n=[e];export{n as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import{Low as K}from"lowdb";import{JSONFile as M}from"lowdb/node";import Q from"os";import E from"path";import z from"fs";import R from"proper-lockfile";var A={config:{provider_id:"default",provider_type:"openai",model_id:"glm-5",providers:[{id:"default",type:"openai",apiKey:"",baseUrl:"https://api.openai.com/v1"}],compact_mode:!0}};function T(j){return"main_model"in j&&!("providers"in j)}function U(j){let q=[];if(j.model_provider==="openai"||j.openai_api_key||j.openai_base_url)q.push({id:"openai",type:"openai",apiKey:j.openai_api_key||"",baseUrl:j.openai_base_url||"https://api.openai.com/v1"});if(j.model_provider==="anthropic"||j.anthropic_api_key||j.anthropic_base_url)q.push({id:"anthropic",type:"anthropic",apiKey:j.anthropic_api_key||"",baseUrl:j.anthropic_base_url||"https://api.anthropic.com"});if(q.length===0)q.push({id:"default",type:"openai",apiKey:"",baseUrl:"https://api.openai.com/v1"});let x=j.model_provider==="anthropic"?"anthropic":"openai",B=q.find((G)=>G.id===x)||q[0];return{provider_id:B.id,provider_type:B.type,model_id:j.main_model,providers:q,mcp_config:j.mcp_config,stream_refresh_interval:j.stream_refresh_interval,enable_thinking:j.enable_thinking,switch_command:j.switch_command,compact_mode:j.compact_mode,permissions:j.permissions}}class V{db;zenConfigDir;dbPath;getLockfilePath(){return`${this.dbPath}.lock`}lockOptions={stale:5000,retries:{retries:5,minTimeout:100,maxTimeout:1000}};constructor(){let j=Q.homedir();this.zenConfigDir=E.join(j,".zen-code");let q=E.join(this.zenConfigDir,"settings.json"),x=new M(q);this.dbPath=q,this.db=new K(x,A)}async withLock(j){if(await z.promises.mkdir(this.zenConfigDir,{recursive:!0}),!z.existsSync(this.dbPath))await z.promises.writeFile(this.dbPath,JSON.stringify(A,null,2),"utf-8");let q=await R.lock(this.dbPath,{...this.lockOptions,lockfilePath:this.getLockfilePath()});try{return await j()}finally{await q()}}async initialize(){await this.withLock(async()=>{if(await this.db.read(),!this.db.data||!this.db.data.config)this.db.data=A,await this.db.write();else if(T(this.db.data.config))console.log("Migrating legacy config to new format..."),this.db.data.config=U(this.db.data.config),await this.db.write(),console.log("Config migration completed.");this.syncEnvFromConfig()})}async getConfig(){return this.withLock(async()=>{return await this.db.read(),this.db.data.config})}async updateConfig(j){await this.withLock(async()=>{await this.db.read(),Object.assign(this.db.data.config,j),await this.db.write(),this.syncEnvFromConfig()})}syncEnvFromConfig(){let j=this.db.data.config,q=j.providers.find((x)=>x.id===j.provider_id);if(q){if(q.type==="openai")process.env.MODEL_PROVIDER="openai",process.env.OPENAI_API_KEY=q.apiKey,process.env.OPENAI_BASE_URL=q.baseUrl;else if(q.type==="anthropic")process.env.MODEL_PROVIDER="anthropic",process.env.ANTHROPIC_API_KEY=q.apiKey,process.env.ANTHROPIC_BASE_URL=q.baseUrl;else if(q.type==="gemini"||q.type==="google")process.env.MODEL_PROVIDER="gemini",process.env.GOOGLE_API_KEY=q.apiKey,process.env.GOOGLE_BASE_URL=q.baseUrl}}getZenConfigDir(){return this.zenConfigDir}}
|
|
2
|
-
export{V as
|
|
2
|
+
export{V as dc};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-kn8f91na.js";var a=Object.freeze(JSON.parse('{"displayName":"MATLAB","fileTypes":["m"],"name":"matlab","patterns":[{"include":"#all_before_command_dual"},{"include":"#command_dual"},{"include":"#all_after_command_dual"}],"repository":{"all_after_command_dual":{"patterns":[{"include":"#string"},{"include":"#line_continuation"},{"include":"#comments"},{"include":"#conjugate_transpose"},{"include":"#transpose"},{"include":"#constants"},{"include":"#variables"},{"include":"#numbers"},{"include":"#operators"}]},"all_before_command_dual":{"patterns":[{"include":"#classdef"},{"include":"#function"},{"include":"#blocks"},{"include":"#control_statements"},{"include":"#global_persistent"},{"include":"#parens"},{"include":"#square_brackets"},{"include":"#indexing_curly_brackets"},{"include":"#curly_brackets"}]},"blocks":{"patterns":[{"begin":"\\\\s*(?:^|[,;\\\\s])(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.for.matlab"}},"name":"meta.for.matlab","patterns":[{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(if)\\\\b","beginCaptures":{"1":{"name":"keyword.control.if.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.if.matlab"},"2":{"patterns":[{"include":"$self"}]}},"name":"meta.if.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.elseif.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(elseif)\\\\b(.*)$\\\\n?","name":"meta.elseif.matlab"},{"captures":{"2":{"name":"keyword.control.else.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(else)\\\\b(.*)?$\\\\n?","name":"meta.else.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(parfor)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.for.matlab"}},"name":"meta.parfor.matlab","patterns":[{"begin":"\\\\G(?!$)","end":"$\\\\n?","name":"meta.parfor-quantity.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(spmd)\\\\b","beginCaptures":{"1":{"name":"keyword.control.spmd.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.spmd.matlab"}},"name":"meta.spmd.matlab","patterns":[{"begin":"\\\\G(?!$)","end":"$\\\\n?","name":"meta.spmd-statement.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(switch)\\\\b","beginCaptures":{"1":{"name":"keyword.control.switch.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.switch.matlab"}},"name":"meta.switch.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.case.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(case)\\\\b(.*)$\\\\n?","name":"meta.case.matlab"},{"captures":{"2":{"name":"keyword.control.otherwise.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(otherwise)\\\\b(.*)?$\\\\n?","name":"meta.otherwise.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(try)\\\\b","beginCaptures":{"1":{"name":"keyword.control.try.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.try.matlab"}},"name":"meta.try.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.catch.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(catch)\\\\b(.*)?$\\\\n?","name":"meta.catch.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.while.matlab"}},"name":"meta.while.matlab","patterns":[{"include":"$self"}]}]},"braced_validator_list":{"begin":"\\\\s*(\\\\{)\\\\s*","beginCaptures":{"1":{"name":"storage.type.matlab"}},"end":"(})","endCaptures":{"1":{"name":"storage.type.matlab"}},"patterns":[{"include":"#braced_validator_list"},{"include":"#validator_strings"},{"include":"#line_continuation"},{"captures":{"1":{"name":"storage.type.matlab"}},"match":"([^\\"\'.{}]+)"},{"match":"\\\\.","name":"storage.type.matlab"}]},"classdef":{"patterns":[{"begin":"^(\\\\s*)(classdef)\\\\b\\\\s*(.*)","beginCaptures":{"2":{"name":"storage.type.class.matlab"},"3":{"patterns":[{"captures":{"1":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.class.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"include":"#string"}]}]},"2":{"name":"meta.class-declaration.matlab"},"3":{"name":"entity.name.section.class.matlab"},"4":{"name":"keyword.operator.other.matlab"},"5":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*(\\\\.[A-Za-z][0-9A-Z_a-z]*)*","name":"entity.other.inherited-class.matlab"},{"match":"&","name":"keyword.operator.other.matlab"}]},"6":{"patterns":[{"include":"$self"}]}},"match":"(\\\\([^)]*\\\\))?\\\\s*(([A-Za-z][0-9A-Z_a-z]*)(?:\\\\s*(<)\\\\s*([^%]*))?)\\\\s*($|(?=(%|...)).*)"}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.class.matlab"}},"name":"meta.class.matlab","patterns":[{"begin":"^(\\\\s*)(properties)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.properties.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.properties.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.properties.matlab"}},"name":"meta.properties.matlab","patterns":[{"include":"#validators"},{"include":"$self"}]},{"begin":"^(\\\\s*)(methods)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.methods.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.methods.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.methods.matlab"}},"name":"meta.methods.matlab","patterns":[{"include":"$self"}]},{"begin":"^(\\\\s*)(events)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.events.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.events.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.events.matlab"}},"name":"meta.events.matlab","patterns":[{"include":"$self"}]},{"begin":"^(\\\\s*)(enumeration)\\\\b([^%]*)\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.enumeration.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.enumeration.matlab"}},"name":"meta.enumeration.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]}]},"command_dual":{"captures":{"1":{"name":"string.interpolated.matlab"},"2":{"name":"variable.other.command.matlab"},"28":{"name":"comment.line.percentage.matlab"}},"match":"^\\\\s*(([A-HJ-MO-Zbcdfghklmoq-z]\\\\w*|an??|a([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-rt-z]\\\\w*|ns\\\\w+)|ep??|e([0-9A-Z_a-oq-z]\\\\w*|p[0-9A-Z_a-rt-z]\\\\w*|ps\\\\w+)|in|i([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-eg-z]\\\\w*|nf\\\\w+)|In??|I([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-eg-z]\\\\w*|nf\\\\w+)|j\\\\w+|Na??|N([0-9A-Z_b-z]\\\\w*|a[0-9A-MO-Z_a-z]\\\\w*|aN\\\\w+)|na??|narg??|nargi|nargou??|n([0-9A-Z_b-z]\\\\w*|a([0-9A-Z_a-mopqs-z]\\\\w*|n\\\\w+|r([0-9A-Z_a-fh-z]\\\\w*|g([0-9A-Z_a-hj-nq-z]\\\\w*|i([0-9A-Z_a-mo-z]\\\\w*|n\\\\w+)|o([0-9A-Z_a-tv-z]\\\\w*|u([A-Za-su-z]\\\\w*|t\\\\w+))))))|p|p[0-9A-Z_a-hj-z]\\\\w*|pi\\\\w+)\\\\s+((([^\\"%-/:->@\\\\\\\\^{|~\\\\s]|(?=\')|(?=\\"))|(\\\\.\\\\^|\\\\.\\\\*|\\\\./|\\\\.\\\\\\\\|\\\\.\'|\\\\.\\\\(|&&|==|\\\\|\\\\||&(?=[^\\\\&])|\\\\|(?=[^|])|~=|<=|>=|~(?!=)|<(?!=)|>(?!=)|[-*+/:@\\\\\\\\^])(\\\\S|\\\\s*(?=%)|\\\\s+$|\\\\s+([]\\\\&)*,/:->@\\\\\\\\^|}]|(\\\\.(?:[^.\\\\d]|\\\\.[^.]))))|(\\\\.[^\'(*/A-Z\\\\\\\\^a-z\\\\s]))([^%]|\'[^\']*\'|\\"[^\\"]*\\")*|(\\\\.(?=\\\\s)|\\\\.[A-Za-z]|(?=\\\\{))([^\\"%\'(=]|==|\'[^\']*\'|\\"[^\\"]*\\"|\\\\(|\\\\([^%)]*\\\\)|\\\\[|\\\\[[^]%]*]|\\\\{|\\\\{[^%}]*})*(\\\\.\\\\.\\\\.[^%]*)?((?=%)|$)))(%.*)?$"},"comment_block":{"begin":"^(\\\\s*)%\\\\{[^\\\\n\\\\S]*+\\\\n","beginCaptures":{"1":{"name":"punctuation.definition.comment.matlab"}},"end":"^\\\\s*%}[^\\\\n\\\\S]*+(?:\\\\n|$)","name":"comment.block.percentage.matlab","patterns":[{"include":"#comment_block"},{"match":"^[^\\\\n]*\\\\n"}]},"comments":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=%%\\\\s)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.matlab"}},"end":"(?!\\\\G)","patterns":[{"begin":"%%","beginCaptures":{"0":{"name":"punctuation.definition.comment.matlab"}},"end":"\\\\n","name":"comment.line.double-percentage.matlab","patterns":[{"begin":"\\\\G[^\\\\n\\\\S]*(?![\\\\n\\\\s])","contentName":"meta.cell.matlab","end":"(?=\\\\n)"}]}]},{"include":"#comment_block"},{"begin":"(^[\\\\t ]+)?(?=%)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.matlab"}},"end":"(?!\\\\G)","patterns":[{"begin":"%","beginCaptures":{"0":{"name":"punctuation.definition.comment.matlab"}},"end":"\\\\n","name":"comment.line.percentage.matlab"}]}]},"conjugate_transpose":{"match":"((?<=\\\\S)|(?<=])|(?<=\\\\))|(?<=}))\'","name":"keyword.operator.transpose.matlab"},"constants":{"match":"(?<!\\\\.)\\\\b(eps|false|Inf|inf|intmax|intmin|namelengthmax|NaN|nan|on|off|realmax|realmin|true|pi)\\\\b","name":"constant.language.matlab"},"control_statements":{"captures":{"1":{"name":"keyword.control.matlab"}},"match":"\\\\s*(?:^|[,;\\\\s])(break|continue|return)\\\\b","name":"meta.control.matlab"},"curly_brackets":{"begin":"\\\\{","end":"}","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#end_in_parens"},{"include":"#block_keywords"}]},"end_in_parens":{"match":"\\\\bend\\\\b","name":"keyword.operator.symbols.matlab"},"function":{"patterns":[{"begin":"^(\\\\s*)(function)\\\\s+(?:(?:(\\\\[)([^]]*)(])|([A-Za-z][0-9A-Z_a-z]*))\\\\s*=\\\\s*)?([A-Za-z][0-9A-Z_a-z]*(\\\\.[A-Za-z][0-9A-Z_a-z]*)*)\\\\s*","beginCaptures":{"2":{"name":"storage.type.function.matlab"},"3":{"name":"punctuation.definition.arguments.begin.matlab"},"4":{"patterns":[{"match":"\\\\w+","name":"variable.parameter.output.matlab"}]},"5":{"name":"punctuation.definition.arguments.end.matlab"},"6":{"name":"variable.parameter.output.function.matlab"},"7":{"name":"entity.name.function.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b(\\\\s*\\\\n)?","endCaptures":{"1":{"name":"keyword.control.end.function.matlab"}},"name":"meta.function.matlab","patterns":[{"begin":"\\\\G\\\\(","end":"\\\\)","name":"meta.arguments.function.matlab","patterns":[{"include":"#line_continuation"},{"match":"\\\\w+","name":"variable.parameter.input.matlab"}]},{"begin":"^(\\\\s*)(arguments)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.arguments.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.arguments.matlab"}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.arguments.matlab"}},"name":"meta.arguments.matlab","patterns":[{"include":"#validators"},{"include":"$self"}]},{"include":"$self"}]}]},"global_persistent":{"captures":{"1":{"name":"keyword.control.globalpersistent.matlab"}},"match":"^\\\\s*(global|persistent)\\\\b","name":"meta.globalpersistent.matlab"},"indexing_curly_brackets":{"Comment":"Match identifier{idx, idx, } and stop at newline without ... This helps with partially written code like x{idx ","begin":"([A-Za-z][.0-9A-Z_a-z]*\\\\s*)\\\\{","beginCaptures":{"1":{"patterns":[{"include":"$self"}]}},"end":"(}|(?<!\\\\.\\\\.\\\\.).\\\\n)","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#end_in_parens"},{"include":"#block_keywords"}]},"line_continuation":{"captures":{"1":{"name":"keyword.operator.symbols.matlab"},"2":{"name":"comment.line.continuation.matlab"}},"match":"(\\\\.\\\\.\\\\.)(.*)$","name":"meta.linecontinuation.matlab"},"numbers":{"match":"(?<=[(*-\\\\-/:=\\\\[\\\\\\\\{\\\\s]|^)\\\\d*\\\\.?\\\\d+([Ee][-+]?\\\\d)?([0-9&&[^.]])*([ij])?\\\\b","name":"constant.numeric.matlab"},"operators":{"match":"(?<=\\\\s)(==|~=|>=??|<=??|&&??|[:|]|\\\\|\\\\||[-*+]|\\\\.\\\\*|/|\\\\./|\\\\\\\\|\\\\.\\\\\\\\|\\\\^|\\\\.\\\\^)(?=\\\\s)","name":"keyword.operator.symbols.matlab"},"parens":{"begin":"\\\\(","end":"(\\\\)|(?<!\\\\.\\\\.\\\\.).\\\\n)","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#block_keywords"}]},"square_brackets":{"begin":"\\\\[","end":"]","patterns":[{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#block_keywords"}]},"string":{"patterns":[{"captures":{"1":{"name":"string.interpolated.matlab"},"2":{"name":"punctuation.definition.string.begin.matlab"}},"match":"^\\\\s*((!).*$\\\\n?)"},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.matlab"}},"end":"\'(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","endCaptures":{"0":{"name":"punctuation.definition.string.end.matlab"}},"name":"string.quoted.single.matlab","patterns":[{"match":"\'\'","name":"constant.character.escape.matlab"},{"match":"\'(?=.)","name":"invalid.illegal.unescaped-quote.matlab"},{"match":"((%([-+0]?\\\\d{0,3}(\\\\.\\\\d{1,3})?)([EGc-gs]|(([bt])?([Xoux]))))|%%|\\\\\\\\([\\\\\\\\bfnrt]))","name":"constant.character.escape.matlab"}]},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.matlab"}},"end":"\\"(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","endCaptures":{"0":{"name":"punctuation.definition.string.end.matlab"}},"name":"string.quoted.double.matlab","patterns":[{"match":"\\"\\"","name":"constant.character.escape.matlab"},{"match":"\\"(?=.)","name":"invalid.illegal.unescaped-quote.matlab"}]}]},"transpose":{"match":"\\\\.\'","name":"keyword.operator.transpose.matlab"},"validator_strings":{"patterns":[{"patterns":[{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\'","end":"\'(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","name":"storage.type.matlab","patterns":[{"match":"\'\'"},{"match":"\'(?=.)"},{"match":"([^\']+)"}]},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\\"","end":"\\"(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","name":"storage.type.matlab","patterns":[{"match":"\\"\\""},{"match":"\\"(?=.)"},{"match":"[^\\"]+"}]}]}]},"validators":{"begin":"\\\\s*;?\\\\s*([A-Za-z][.0-9?A-Z_a-z]*)","end":"([\\\\n%;=].*)","endCaptures":{"1":{"patterns":[{"captures":{"1":{"patterns":[{"include":"$self"}]}},"match":"(%.*)"},{"captures":{"1":{"patterns":[{"include":"$self"}]}},"match":"(=[^;]*)"},{"captures":{"1":{"patterns":[{"include":"#validators"}]}},"match":"([\\\\n;]\\\\s*[A-Za-z].*)"},{"include":"$self"}]}},"patterns":[{"include":"#line_continuation"},{"match":"\\\\s*(\\\\([^)]*\\\\))","name":"storage.type.matlab"},{"match":"([A-Za-z][.0-9A-Z_a-z]*)","name":"storage.type.matlab"},{"include":"#braced_validator_list"}]},"variables":{"match":"(?<!\\\\.)\\\\b(nargin|nargout|varargin|varargout)\\\\b","name":"variable.other.function.matlab"}},"scopeName":"source.matlab"}')),e=[a];export{e as default};
|
|
1
|
+
import"./chunk-feptb1bb.js";var a=Object.freeze(JSON.parse('{"displayName":"MATLAB","fileTypes":["m"],"name":"matlab","patterns":[{"include":"#all_before_command_dual"},{"include":"#command_dual"},{"include":"#all_after_command_dual"}],"repository":{"all_after_command_dual":{"patterns":[{"include":"#string"},{"include":"#line_continuation"},{"include":"#comments"},{"include":"#conjugate_transpose"},{"include":"#transpose"},{"include":"#constants"},{"include":"#variables"},{"include":"#numbers"},{"include":"#operators"}]},"all_before_command_dual":{"patterns":[{"include":"#classdef"},{"include":"#function"},{"include":"#blocks"},{"include":"#control_statements"},{"include":"#global_persistent"},{"include":"#parens"},{"include":"#square_brackets"},{"include":"#indexing_curly_brackets"},{"include":"#curly_brackets"}]},"blocks":{"patterns":[{"begin":"\\\\s*(?:^|[,;\\\\s])(for)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.for.matlab"}},"name":"meta.for.matlab","patterns":[{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(if)\\\\b","beginCaptures":{"1":{"name":"keyword.control.if.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.if.matlab"},"2":{"patterns":[{"include":"$self"}]}},"name":"meta.if.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.elseif.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(elseif)\\\\b(.*)$\\\\n?","name":"meta.elseif.matlab"},{"captures":{"2":{"name":"keyword.control.else.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(else)\\\\b(.*)?$\\\\n?","name":"meta.else.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(parfor)\\\\b","beginCaptures":{"1":{"name":"keyword.control.for.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.for.matlab"}},"name":"meta.parfor.matlab","patterns":[{"begin":"\\\\G(?!$)","end":"$\\\\n?","name":"meta.parfor-quantity.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(spmd)\\\\b","beginCaptures":{"1":{"name":"keyword.control.spmd.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.spmd.matlab"}},"name":"meta.spmd.matlab","patterns":[{"begin":"\\\\G(?!$)","end":"$\\\\n?","name":"meta.spmd-statement.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(switch)\\\\b","beginCaptures":{"1":{"name":"keyword.control.switch.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.switch.matlab"}},"name":"meta.switch.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.case.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(case)\\\\b(.*)$\\\\n?","name":"meta.case.matlab"},{"captures":{"2":{"name":"keyword.control.otherwise.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(otherwise)\\\\b(.*)?$\\\\n?","name":"meta.otherwise.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(try)\\\\b","beginCaptures":{"1":{"name":"keyword.control.try.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.try.matlab"}},"name":"meta.try.matlab","patterns":[{"captures":{"2":{"name":"keyword.control.catch.matlab"},"3":{"patterns":[{"include":"$self"}]}},"end":"^","match":"(\\\\s*)(?:^|[,;\\\\s])(catch)\\\\b(.*)?$\\\\n?","name":"meta.catch.matlab"},{"include":"$self"}]},{"begin":"\\\\s*(?:^|[,;\\\\s])(while)\\\\b","beginCaptures":{"1":{"name":"keyword.control.while.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.while.matlab"}},"name":"meta.while.matlab","patterns":[{"include":"$self"}]}]},"braced_validator_list":{"begin":"\\\\s*(\\\\{)\\\\s*","beginCaptures":{"1":{"name":"storage.type.matlab"}},"end":"(})","endCaptures":{"1":{"name":"storage.type.matlab"}},"patterns":[{"include":"#braced_validator_list"},{"include":"#validator_strings"},{"include":"#line_continuation"},{"captures":{"1":{"name":"storage.type.matlab"}},"match":"([^\\"\'.{}]+)"},{"match":"\\\\.","name":"storage.type.matlab"}]},"classdef":{"patterns":[{"begin":"^(\\\\s*)(classdef)\\\\b\\\\s*(.*)","beginCaptures":{"2":{"name":"storage.type.class.matlab"},"3":{"patterns":[{"captures":{"1":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.class.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"include":"#string"}]}]},"2":{"name":"meta.class-declaration.matlab"},"3":{"name":"entity.name.section.class.matlab"},"4":{"name":"keyword.operator.other.matlab"},"5":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*(\\\\.[A-Za-z][0-9A-Z_a-z]*)*","name":"entity.other.inherited-class.matlab"},{"match":"&","name":"keyword.operator.other.matlab"}]},"6":{"patterns":[{"include":"$self"}]}},"match":"(\\\\([^)]*\\\\))?\\\\s*(([A-Za-z][0-9A-Z_a-z]*)(?:\\\\s*(<)\\\\s*([^%]*))?)\\\\s*($|(?=(%|...)).*)"}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.class.matlab"}},"name":"meta.class.matlab","patterns":[{"begin":"^(\\\\s*)(properties)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.properties.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.properties.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.properties.matlab"}},"name":"meta.properties.matlab","patterns":[{"include":"#validators"},{"include":"$self"}]},{"begin":"^(\\\\s*)(methods)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.methods.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.methods.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.methods.matlab"}},"name":"meta.methods.matlab","patterns":[{"include":"$self"}]},{"begin":"^(\\\\s*)(events)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.events.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.events.matlab"},{"begin":"=\\\\s*","end":",|(?=\\\\))","patterns":[{"match":"true|false","name":"constant.language.boolean.matlab"},{"match":"p(?:ublic|rotected|rivate)","name":"constant.language.access.matlab"}]}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.events.matlab"}},"name":"meta.events.matlab","patterns":[{"include":"$self"}]},{"begin":"^(\\\\s*)(enumeration)\\\\b([^%]*)\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.enumeration.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.enumeration.matlab"}},"name":"meta.enumeration.matlab","patterns":[{"include":"$self"}]},{"include":"$self"}]}]},"command_dual":{"captures":{"1":{"name":"string.interpolated.matlab"},"2":{"name":"variable.other.command.matlab"},"28":{"name":"comment.line.percentage.matlab"}},"match":"^\\\\s*(([A-HJ-MO-Zbcdfghklmoq-z]\\\\w*|an??|a([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-rt-z]\\\\w*|ns\\\\w+)|ep??|e([0-9A-Z_a-oq-z]\\\\w*|p[0-9A-Z_a-rt-z]\\\\w*|ps\\\\w+)|in|i([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-eg-z]\\\\w*|nf\\\\w+)|In??|I([0-9A-Z_a-mo-z]\\\\w*|n[0-9A-Z_a-eg-z]\\\\w*|nf\\\\w+)|j\\\\w+|Na??|N([0-9A-Z_b-z]\\\\w*|a[0-9A-MO-Z_a-z]\\\\w*|aN\\\\w+)|na??|narg??|nargi|nargou??|n([0-9A-Z_b-z]\\\\w*|a([0-9A-Z_a-mopqs-z]\\\\w*|n\\\\w+|r([0-9A-Z_a-fh-z]\\\\w*|g([0-9A-Z_a-hj-nq-z]\\\\w*|i([0-9A-Z_a-mo-z]\\\\w*|n\\\\w+)|o([0-9A-Z_a-tv-z]\\\\w*|u([A-Za-su-z]\\\\w*|t\\\\w+))))))|p|p[0-9A-Z_a-hj-z]\\\\w*|pi\\\\w+)\\\\s+((([^\\"%-/:->@\\\\\\\\^{|~\\\\s]|(?=\')|(?=\\"))|(\\\\.\\\\^|\\\\.\\\\*|\\\\./|\\\\.\\\\\\\\|\\\\.\'|\\\\.\\\\(|&&|==|\\\\|\\\\||&(?=[^\\\\&])|\\\\|(?=[^|])|~=|<=|>=|~(?!=)|<(?!=)|>(?!=)|[-*+/:@\\\\\\\\^])(\\\\S|\\\\s*(?=%)|\\\\s+$|\\\\s+([]\\\\&)*,/:->@\\\\\\\\^|}]|(\\\\.(?:[^.\\\\d]|\\\\.[^.]))))|(\\\\.[^\'(*/A-Z\\\\\\\\^a-z\\\\s]))([^%]|\'[^\']*\'|\\"[^\\"]*\\")*|(\\\\.(?=\\\\s)|\\\\.[A-Za-z]|(?=\\\\{))([^\\"%\'(=]|==|\'[^\']*\'|\\"[^\\"]*\\"|\\\\(|\\\\([^%)]*\\\\)|\\\\[|\\\\[[^]%]*]|\\\\{|\\\\{[^%}]*})*(\\\\.\\\\.\\\\.[^%]*)?((?=%)|$)))(%.*)?$"},"comment_block":{"begin":"^(\\\\s*)%\\\\{[^\\\\n\\\\S]*+\\\\n","beginCaptures":{"1":{"name":"punctuation.definition.comment.matlab"}},"end":"^\\\\s*%}[^\\\\n\\\\S]*+(?:\\\\n|$)","name":"comment.block.percentage.matlab","patterns":[{"include":"#comment_block"},{"match":"^[^\\\\n]*\\\\n"}]},"comments":{"patterns":[{"begin":"(^[\\\\t ]+)?(?=%%\\\\s)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.matlab"}},"end":"(?!\\\\G)","patterns":[{"begin":"%%","beginCaptures":{"0":{"name":"punctuation.definition.comment.matlab"}},"end":"\\\\n","name":"comment.line.double-percentage.matlab","patterns":[{"begin":"\\\\G[^\\\\n\\\\S]*(?![\\\\n\\\\s])","contentName":"meta.cell.matlab","end":"(?=\\\\n)"}]}]},{"include":"#comment_block"},{"begin":"(^[\\\\t ]+)?(?=%)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.matlab"}},"end":"(?!\\\\G)","patterns":[{"begin":"%","beginCaptures":{"0":{"name":"punctuation.definition.comment.matlab"}},"end":"\\\\n","name":"comment.line.percentage.matlab"}]}]},"conjugate_transpose":{"match":"((?<=\\\\S)|(?<=])|(?<=\\\\))|(?<=}))\'","name":"keyword.operator.transpose.matlab"},"constants":{"match":"(?<!\\\\.)\\\\b(eps|false|Inf|inf|intmax|intmin|namelengthmax|NaN|nan|on|off|realmax|realmin|true|pi)\\\\b","name":"constant.language.matlab"},"control_statements":{"captures":{"1":{"name":"keyword.control.matlab"}},"match":"\\\\s*(?:^|[,;\\\\s])(break|continue|return)\\\\b","name":"meta.control.matlab"},"curly_brackets":{"begin":"\\\\{","end":"}","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#end_in_parens"},{"include":"#block_keywords"}]},"end_in_parens":{"match":"\\\\bend\\\\b","name":"keyword.operator.symbols.matlab"},"function":{"patterns":[{"begin":"^(\\\\s*)(function)\\\\s+(?:(?:(\\\\[)([^]]*)(])|([A-Za-z][0-9A-Z_a-z]*))\\\\s*=\\\\s*)?([A-Za-z][0-9A-Z_a-z]*(\\\\.[A-Za-z][0-9A-Z_a-z]*)*)\\\\s*","beginCaptures":{"2":{"name":"storage.type.function.matlab"},"3":{"name":"punctuation.definition.arguments.begin.matlab"},"4":{"patterns":[{"match":"\\\\w+","name":"variable.parameter.output.matlab"}]},"5":{"name":"punctuation.definition.arguments.end.matlab"},"6":{"name":"variable.parameter.output.function.matlab"},"7":{"name":"entity.name.function.matlab"}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b(\\\\s*\\\\n)?","endCaptures":{"1":{"name":"keyword.control.end.function.matlab"}},"name":"meta.function.matlab","patterns":[{"begin":"\\\\G\\\\(","end":"\\\\)","name":"meta.arguments.function.matlab","patterns":[{"include":"#line_continuation"},{"match":"\\\\w+","name":"variable.parameter.input.matlab"}]},{"begin":"^(\\\\s*)(arguments)\\\\b([^%]*)\\\\s*(\\\\([^)]*\\\\))?\\\\s*($|(?=%))","beginCaptures":{"2":{"name":"keyword.control.arguments.matlab"},"3":{"patterns":[{"match":"[A-Za-z][0-9A-Z_a-z]*","name":"variable.parameter.arguments.matlab"}]}},"end":"\\\\s*(?:^|[,;\\\\s])(end)\\\\b","endCaptures":{"1":{"name":"keyword.control.end.arguments.matlab"}},"name":"meta.arguments.matlab","patterns":[{"include":"#validators"},{"include":"$self"}]},{"include":"$self"}]}]},"global_persistent":{"captures":{"1":{"name":"keyword.control.globalpersistent.matlab"}},"match":"^\\\\s*(global|persistent)\\\\b","name":"meta.globalpersistent.matlab"},"indexing_curly_brackets":{"Comment":"Match identifier{idx, idx, } and stop at newline without ... This helps with partially written code like x{idx ","begin":"([A-Za-z][.0-9A-Z_a-z]*\\\\s*)\\\\{","beginCaptures":{"1":{"patterns":[{"include":"$self"}]}},"end":"(}|(?<!\\\\.\\\\.\\\\.).\\\\n)","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#end_in_parens"},{"include":"#block_keywords"}]},"line_continuation":{"captures":{"1":{"name":"keyword.operator.symbols.matlab"},"2":{"name":"comment.line.continuation.matlab"}},"match":"(\\\\.\\\\.\\\\.)(.*)$","name":"meta.linecontinuation.matlab"},"numbers":{"match":"(?<=[(*-\\\\-/:=\\\\[\\\\\\\\{\\\\s]|^)\\\\d*\\\\.?\\\\d+([Ee][-+]?\\\\d)?([0-9&&[^.]])*([ij])?\\\\b","name":"constant.numeric.matlab"},"operators":{"match":"(?<=\\\\s)(==|~=|>=??|<=??|&&??|[:|]|\\\\|\\\\||[-*+]|\\\\.\\\\*|/|\\\\./|\\\\\\\\|\\\\.\\\\\\\\|\\\\^|\\\\.\\\\^)(?=\\\\s)","name":"keyword.operator.symbols.matlab"},"parens":{"begin":"\\\\(","end":"(\\\\)|(?<!\\\\.\\\\.\\\\.).\\\\n)","patterns":[{"include":"#end_in_parens"},{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#block_keywords"}]},"square_brackets":{"begin":"\\\\[","end":"]","patterns":[{"include":"#all_before_command_dual"},{"include":"#all_after_command_dual"},{"include":"#block_keywords"}]},"string":{"patterns":[{"captures":{"1":{"name":"string.interpolated.matlab"},"2":{"name":"punctuation.definition.string.begin.matlab"}},"match":"^\\\\s*((!).*$\\\\n?)"},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.matlab"}},"end":"\'(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","endCaptures":{"0":{"name":"punctuation.definition.string.end.matlab"}},"name":"string.quoted.single.matlab","patterns":[{"match":"\'\'","name":"constant.character.escape.matlab"},{"match":"\'(?=.)","name":"invalid.illegal.unescaped-quote.matlab"},{"match":"((%([-+0]?\\\\d{0,3}(\\\\.\\\\d{1,3})?)([EGc-gs]|(([bt])?([Xoux]))))|%%|\\\\\\\\([\\\\\\\\bfnrt]))","name":"constant.character.escape.matlab"}]},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.matlab"}},"end":"\\"(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","endCaptures":{"0":{"name":"punctuation.definition.string.end.matlab"}},"name":"string.quoted.double.matlab","patterns":[{"match":"\\"\\"","name":"constant.character.escape.matlab"},{"match":"\\"(?=.)","name":"invalid.illegal.unescaped-quote.matlab"}]}]},"transpose":{"match":"\\\\.\'","name":"keyword.operator.transpose.matlab"},"validator_strings":{"patterns":[{"patterns":[{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\'","end":"\'(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","name":"storage.type.matlab","patterns":[{"match":"\'\'"},{"match":"\'(?=.)"},{"match":"([^\']+)"}]},{"begin":"((?<=([\\\\&(*-/:->\\\\[\\\\\\\\^{|~\\\\s]))|^)\\"","end":"\\"(?=([\\\\&(-/:->\\\\[-^{-~\\\\s]))","name":"storage.type.matlab","patterns":[{"match":"\\"\\""},{"match":"\\"(?=.)"},{"match":"[^\\"]+"}]}]}]},"validators":{"begin":"\\\\s*;?\\\\s*([A-Za-z][.0-9?A-Z_a-z]*)","end":"([\\\\n%;=].*)","endCaptures":{"1":{"patterns":[{"captures":{"1":{"patterns":[{"include":"$self"}]}},"match":"(%.*)"},{"captures":{"1":{"patterns":[{"include":"$self"}]}},"match":"(=[^;]*)"},{"captures":{"1":{"patterns":[{"include":"#validators"}]}},"match":"([\\\\n;]\\\\s*[A-Za-z].*)"},{"include":"$self"}]}},"patterns":[{"include":"#line_continuation"},{"match":"\\\\s*(\\\\([^)]*\\\\))","name":"storage.type.matlab"},{"match":"([A-Za-z][.0-9A-Z_a-z]*)","name":"storage.type.matlab"},{"include":"#braced_validator_list"}]},"variables":{"match":"(?<!\\\\.)\\\\b(nargin|nargout|varargin|varargout)\\\\b","name":"variable.other.function.matlab"}},"scopeName":"source.matlab"}')),e=[a];export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-
|
|
1
|
+
import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Rel","name":"rel","patterns":[{"include":"#strings"},{"include":"#comment"},{"include":"#single-line-comment-consuming-line-ending"},{"include":"#deprecated-temporary"},{"include":"#operators"},{"include":"#symbols"},{"include":"#keywords"},{"include":"#otherkeywords"},{"include":"#types"},{"include":"#constants"}],"repository":{"comment":{"patterns":[{"begin":"/\\\\*\\\\*(?!/)","beginCaptures":{"0":{"name":"punctuation.definition.comment.rel"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.rel"}},"name":"comment.block.documentation.rel","patterns":[{"include":"#docblock"}]},{"begin":"(/\\\\*)(?:\\\\s*((@)internal)(?=\\\\s|(\\\\*/)))?","beginCaptures":{"1":{"name":"punctuation.definition.comment.rel"},"2":{"name":"storage.type.internaldeclaration.rel"},"3":{"name":"punctuation.decorator.internaldeclaration.rel"}},"end":"\\\\*/","endCaptures":{"0":{"name":"punctuation.definition.comment.rel"}},"name":"comment.block.rel"},{"begin":"doc\\"\\"\\"","end":"\\"\\"\\"","name":"comment.block.documentation.rel"},{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.rel"},"2":{"name":"comment.line.double-slash.rel"},"3":{"name":"punctuation.definition.comment.rel"},"4":{"name":"storage.type.internaldeclaration.rel"},"5":{"name":"punctuation.decorator.internaldeclaration.rel"}},"contentName":"comment.line.double-slash.rel","end":"(?=$)"}]},"constants":{"patterns":[{"match":"\\\\b((true|false))\\\\b","name":"constant.language.rel"}]},"deprecated-temporary":{"patterns":[{"match":"@inspect","name":"keyword.other.rel"}]},"keywords":{"patterns":[{"match":"\\\\b((def|entity|bound|include|ic|forall|exists|[∀∃]|return|module|^end))\\\\b|(((<)?\\\\|(>)?)|[∀∃])","name":"keyword.control.rel"}]},"operators":{"patterns":[{"match":"\\\\b((if|then|else|and|or|not|eq|neq|lt|lt_eq|gt|gt_eq))\\\\b|([-%*+/=^÷]|!=|[<≠]|<=|[>≤]|>=|[\\\\&≥])|\\\\s+(end)","name":"keyword.other.rel"}]},"otherkeywords":{"patterns":[{"match":"\\\\s*(@inline)\\\\s*|\\\\s*(@auto_number)\\\\s*|\\\\s*(function)\\\\s|\\\\b((implies|select|from|∈|where|for|in))\\\\b|(((<)?\\\\|(>)?)|∈)","name":"keyword.other.rel"}]},"single-line-comment-consuming-line-ending":{"begin":"(^[\\\\t ]+)?((//)(?:\\\\s*((@)internal)(?=\\\\s|$))?)","beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.rel"},"2":{"name":"comment.line.double-slash.rel"},"3":{"name":"punctuation.definition.comment.rel"},"4":{"name":"storage.type.internaldeclaration.rel"},"5":{"name":"punctuation.decorator.internaldeclaration.rel"}},"contentName":"comment.line.double-slash.rel","end":"(?=^)"},"strings":{"begin":"\\"","end":"\\"","name":"string.quoted.double.rel","patterns":[{"match":"\\\\\\\\.","name":"constant.character.escape.rel"}]},"symbols":{"patterns":[{"match":"(:[$\\\\[_[:alpha:]](]|[$_[:alnum:]]*))","name":"variable.parameter.rel"}]},"types":{"patterns":[{"match":"\\\\b((Symbol|Char|Bool|Rational|FixedDecimal|Float16|Float32|Float64|Int8|Int16|Int32|Int64|Int128|UInt8|UInt16|UInt32|UInt64|UInt128|Date|DateTime|Day|Week|Month|Year|Nanosecond|Microsecond|Millisecond|Second|Minute|Hour|FilePos|HashValue|AutoNumberValue))\\\\b","name":"entity.name.type.rel"}]}},"scopeName":"source.rel"}')),n=[e];export{n as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{G as a}from"./chunk-bh05aqrf.js";import"./chunk-feptb1bb.js";export{a as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{va as n}from"./chunk-
|
|
1
|
+
import{va as n}from"./chunk-b9fn4n7z.js";import{wa as o}from"./chunk-k1kzp019.js";import{Aa as m,Da as d,Ea as x}from"./chunk-vyfvrrc8.js";import{Ya as u,Za as X,_a as G,bb as a,eb as g,fb as D,gb as E}from"./chunk-04kzaj7h.js";import"./chunk-v28dexnx.js";import"./chunk-4n978rje.js";import"./chunk-wtwgpw9g.js";import"./chunk-vkfhjhhh.js";import"./chunk-0gpa9n28.js";import{gc as S}from"./chunk-feptb1bb.js";var H=S(u(),1);var b=S(u(),1);var _=S(D(),1);function Xz(Y){try{let $=JSON.parse(Y);if(typeof $!=="object"||$===null)return{isValid:!1,error:{message:"配置必须是 JSON 对象"}};if(!$.command&&!$.url)return{isValid:!1,error:{message:'配置必须包含 "command" (stdio) 或 "url" (SSE)'}};return{isValid:!0,config:$}}catch($){let L=$ instanceof Error?$.message:String($),B=L.match(/position (\d+)/),Q=B?parseInt(B[1],10):void 0;return{isValid:!1,error:{message:`JSON 格式错误: ${L}`,line:Q}}}}function Yz(Y,$,L){if(!Y||Y.length<2||Y.length>32)return"名称必须为 2-32 个字符";if(!/^[a-zA-Z0-9_-]+$/.test(Y))return"名称只能包含字母、数字、下划线和连字符";if($.includes(Y)&&Y!==L)return"名称已存在";return null}function Zz(Y,$=2){return JSON.stringify(Y,null,$)}var _z=[{key:"serverName",label:"Server ID"},{key:"config",label:"Config (JSON)"}],$z=({mode:Y,serverName:$,serverConfig:L,onCancel:B,onSave:Q})=>{let[O,y]=b.useState({serverName:$||"",configJSON:L?Zz(L):""}),[F,I]=b.useState(0),[j,V]=b.useState(null),M=b.useMemo(()=>{return[]},[]),U=b.useMemo(()=>{return Xz(O.configJSON)},[O.configJSON]),k=b.useCallback(()=>{let A=Yz(O.serverName,M,Y==="edit"?$:void 0);return V(A),A===null},[O.serverName,M,$,Y]),N=b.useCallback(()=>{if(Y==="add"&&!k())return;if(!U.isValid||!U.config)return;Q(O.serverName,U.config)},[Y,O.serverName,U,Q,k]),w=b.useCallback((A)=>{let h=Y==="add"?_z.length-1:1,q=A==="next"?(F+1)%h:(F-1+h)%h;I(q)},[F,Y]),f=()=>{if(Y!=="add")return null;let A=F===0,h=j!==null;return _.jsxDEV(X,{marginBottom:1,children:[_.jsxDEV(G,{color:A?"cyan":h?"red":"gray",children:"Server ID: "},void 0,!1,void 0,this),A?_.jsxDEV(X,{width:40,children:_.jsxDEV(E,{value:O.serverName,onChange:(q)=>{y((K)=>({...K,serverName:q})),V(null)},onSubmit:N,placeholder:"my-server",maxVisibleLines:1,showCursor:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this):_.jsxDEV(G,{children:O.serverName||"my-server"},void 0,!1,void 0,this),h&&_.jsxDEV(G,{color:"red",children:[" ",j]},void 0,!0,void 0,this)]},void 0,!0,void 0,this)},p=()=>{let A=Y==="add"?F===1:F===0,h=U.isValid;return _.jsxDEV(X,{flexDirection:"column",marginBottom:1,children:[_.jsxDEV(G,{color:A?"cyan":"gray",children:"Config (JSON):"},void 0,!1,void 0,this),_.jsxDEV(X,{marginTop:1,children:_.jsxDEV(E,{value:O.configJSON,onChange:(q)=>y((K)=>({...K,configJSON:q})),onSubmit:N,placeholder:`{
|
|
2
2
|
"command": "npx",
|
|
3
3
|
"args": ["-y", "..."]
|
|
4
4
|
}`,showCursor:!0},void 0,!1,void 0,this)},void 0,!1,void 0,this),O.configJSON&&_.jsxDEV(X,{marginTop:1,children:h?_.jsxDEV(G,{color:"green",children:"✓ JSON 格式有效"},void 0,!1,void 0,this):_.jsxDEV(G,{color:"red",children:["✗ ",U.error?.message||"JSON 格式错误"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},P=()=>_.jsxDEV(X,{marginTop:1,children:_.jsxDEV(G,{color:"gray",dimColor:!0,children:[_.jsxDEV(G,{color:"cyan",children:"Enter"},void 0,!1,void 0,this)," 保存 ",_.jsxDEV(G,{color:"cyan",children:"Tab"},void 0,!1,void 0,this)," 切换字段"," ",_.jsxDEV(G,{color:"cyan",children:"Esc"},void 0,!1,void 0,this)," 取消"]},void 0,!0,void 0,this)},void 0,!1,void 0,this);return _.jsxDEV(X,{flexDirection:"column",paddingX:2,children:[_.jsxDEV(X,{marginBottom:1,children:_.jsxDEV(G,{bold:!0,color:"cyan",children:Y==="add"?"Add MCP Server":`Edit MCP Server: ${$}`},void 0,!1,void 0,this)},void 0,!1,void 0,this),_.jsxDEV(X,{flexDirection:"column",gap:1,children:[f(),p()]},void 0,!0,void 0,this),P()]},void 0,!0,void 0,this)},l=$z;function i({mcpConfig:Y,updateConfig:$}){let L=m(),B=d({mutationFn:async(Q)=>{return await $({mcp_config:Q}),Q},onSuccess:(Q)=>{L.setQueryData(x.mcp.config(),Q)}});return{mcpConfig:Y,updateMcpConfig:B.mutateAsync,isUpdating:B.isPending}}var z=S(D(),1),Hz=({onClose:Y})=>{let{config:$,updateConfig:L}=o(),B=$?.mcp_config||{},{mcpConfig:Q,updateMcpConfig:O}=i({mcpConfig:B,updateConfig:L}),[y,F]=H.useState("list"),[I,j]=H.useState("add"),[V,M]=H.useState(null),[U,k]=H.useState(0),[N,w]=H.useState(null),[f,p]=H.useState(null),[P,A]=H.useState(null),h=H.useCallback(()=>w(null),[]);n(h,N?3000:null);let q=Object.keys(Q),K=q[U],R=K?Q[K]:null,v=H.useCallback((W)=>{if(W.command)return"stdio";if(W.url)return"SSE";return"unknown"},[]),r=H.useCallback(()=>{j("add"),M(null),F("json"),w(null)},[]),t=H.useCallback(()=>{if(!K||!R)return;j("edit"),M(K),F("json"),w(null)},[K,R]),s=H.useCallback(async()=>{if(!K||!R)return;p(K),A(null),F("test");try{let W=!!(R.command&&R.args),Z=!!R.url;if(!W&&!Z){A({success:!1,message:"配置无效:必须包含 command (stdio) 或 url (SSE)"});return}if(W&&(!R.command||!Array.isArray(R.args))){A({success:!1,message:"配置无效:stdio 模式需要 command 和 args 字段"});return}A({success:!0,message:`配置格式验证通过 (${Z?"SSE":"stdio"} 模式)`,tools:[]})}catch(W){A({success:!1,message:`验证失败: ${W instanceof Error?W.message:String(W)}`})}},[K,R]),C=H.useCallback(()=>{F("list"),M(null),A(null),w(null)},[]),e=H.useCallback(async(W,Z)=>{let J={...Q};if(J[W]=Z,await O(J),w(I==="add"?`已添加服务器: ${W}`:`已更新服务器: ${W}`),I==="add"){let T=Object.keys(J).findIndex((c)=>c===W);k(T>=0?T:0)}C()},[I,Q,O,C]),zz=H.useCallback(async()=>{if(!K)return;let W={...Q};delete W[K],await O(W);let Z=Math.min(U,Object.keys(W).length-1);k(Z>=0?Z:0),w(`已删除服务器: ${K}`)},[K,U,Q,O]);g((W,Z)=>{if(y==="json"||y==="test"){if(Z.escape)C();return}if(Z.upArrow)k((J)=>J>0?J-1:q.length-1);else if(Z.downArrow)k((J)=>J<q.length-1?J+1:0);else if(W==="n"||W==="N")r();else if((W==="e"||W==="E"||Z.return)&&K)t();else if((W==="d"||W==="D")&&K)zz();else if((W==="t"||W==="T")&&K)s();else if(Z.escape)Y()},{isActive:!0});let Gz=H.useMemo(()=>{if(q.length===0)return z.jsxDEV(X,{paddingX:2,paddingY:1,children:[z.jsxDEV(G,{color:"yellow",children:"未配置任何 MCP 服务器"},void 0,!1,void 0,this),z.jsxDEV(X,{marginTop:1,children:z.jsxDEV(G,{color:"gray",dimColor:!0,children:["按 ",z.jsxDEV(G,{color:"cyan",children:"n"},void 0,!1,void 0,this)," 添加新服务器"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);return z.jsxDEV(X,{flexDirection:"column",paddingX:2,gap:1,children:[q.map((W,Z)=>{let J=Q[W],T=v(J);return z.jsxDEV(X,{marginBottom:0,gap:1,children:[z.jsxDEV(G,{color:Z===U?"cyan":"gray",bold:Z===U,children:Z===U?">":" "},void 0,!1,void 0,this),z.jsxDEV(G,{bold:Z===U,color:Z===U?"cyan":void 0,children:W},void 0,!1,void 0,this),z.jsxDEV(a,{},void 0,!1,void 0,this),z.jsxDEV(G,{color:T==="stdio"?"green":T==="SSE"?"blue":"yellow",dimColor:Z!==U,children:["[",T.toUpperCase(),"]"]},void 0,!0,void 0,this)]},`server-${Z}-${W}`,!0,void 0,this)}),z.jsxDEV(X,{marginTop:1,children:z.jsxDEV(G,{color:"gray",dimColor:!0,children:[z.jsxDEV(G,{color:"cyan",children:"↑↓"},void 0,!1,void 0,this)," 导航 ",z.jsxDEV(G,{color:"cyan",children:"n"},void 0,!1,void 0,this)," 新增 ",z.jsxDEV(G,{color:"cyan",children:"e"},void 0,!1,void 0,this)," ","编辑 ",z.jsxDEV(G,{color:"cyan",children:"d"},void 0,!1,void 0,this)," 删除 ",z.jsxDEV(G,{color:"cyan",children:"t"},void 0,!1,void 0,this)," 测试"," ",z.jsxDEV(G,{color:"cyan",children:"Esc"},void 0,!1,void 0,this)," 关闭"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},[q,Q,U,v]),Wz=H.useMemo(()=>{if(!f||!P)return z.jsxDEV(X,{paddingX:2,paddingY:1,children:z.jsxDEV(G,{color:"yellow",children:"正在验证配置..."},void 0,!1,void 0,this)},void 0,!1,void 0,this);if(P.success)return z.jsxDEV(X,{flexDirection:"column",paddingX:2,gap:1,children:[z.jsxDEV(X,{children:z.jsxDEV(G,{color:"green",children:["✓ ",P.message]},void 0,!0,void 0,this)},void 0,!1,void 0,this),P.tools&&P.tools.length>0&&z.jsxDEV(X,{flexDirection:"column",marginTop:1,children:[z.jsxDEV(G,{color:"gray",children:["发现 ",P.tools.length," 个工具:"]},void 0,!0,void 0,this),P.tools.slice(0,10).map((W)=>z.jsxDEV(X,{paddingLeft:2,children:z.jsxDEV(G,{color:"gray",children:["- ",W]},void 0,!0,void 0,this)},W,!1,void 0,this)),P.tools.length>10&&z.jsxDEV(X,{paddingLeft:2,children:z.jsxDEV(G,{color:"gray",children:["... 还有 ",P.tools.length-10," 个工具"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z.jsxDEV(X,{marginTop:1,children:z.jsxDEV(G,{color:"gray",dimColor:!0,children:["按 ",z.jsxDEV(G,{color:"cyan",children:"Enter"},void 0,!1,void 0,this)," 关闭"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this);else return z.jsxDEV(X,{flexDirection:"column",paddingX:2,gap:1,children:[z.jsxDEV(X,{children:z.jsxDEV(G,{color:"red",children:"✗ 验证失败"},void 0,!1,void 0,this)},void 0,!1,void 0,this),z.jsxDEV(X,{children:z.jsxDEV(G,{color:"yellow",children:P.message},void 0,!1,void 0,this)},void 0,!1,void 0,this),z.jsxDEV(X,{marginTop:1,children:[z.jsxDEV(G,{color:"gray",children:"建议检查:"},void 0,!1,void 0,this),z.jsxDEV(G,{color:"gray",children:"- 配置格式是否正确"},void 0,!1,void 0,this),z.jsxDEV(G,{color:"gray",children:"- 命令是否已安装(stdio 模式)"},void 0,!1,void 0,this),z.jsxDEV(G,{color:"gray",children:"- URL 是否可访问(SSE 模式)"},void 0,!1,void 0,this)]},void 0,!0,void 0,this),z.jsxDEV(X,{marginTop:1,children:z.jsxDEV(G,{color:"gray",dimColor:!0,children:["按 ",z.jsxDEV(G,{color:"cyan",children:"Enter"},void 0,!1,void 0,this)," 关闭"]},void 0,!0,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},[f,P]);return g((W,Z)=>{if(y==="test"&&Z.return)C()},{isActive:y==="test"}),z.jsxDEV(X,{flexDirection:"column",children:[z.jsxDEV(X,{paddingX:2,paddingY:1,children:z.jsxDEV(G,{bold:!0,color:"cyan",children:"MCP Servers"},void 0,!1,void 0,this)},void 0,!1,void 0,this),y==="list"?Gz:y==="json"?z.jsxDEV(l,{mode:I,serverName:V||void 0,serverConfig:R||void 0,onCancel:C,onSave:e},void 0,!1,void 0,this):Wz,N&&z.jsxDEV(X,{paddingX:2,paddingY:0,children:z.jsxDEV(G,{color:"green",children:N},void 0,!1,void 0,this)},void 0,!1,void 0,this)]},void 0,!0,void 0,this)},kz=Hz;export{kz as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-kn8f91na.js";var e=Object.freeze(JSON.parse('{"displayName":"Fish","name":"fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#command"},{"include":"#keywords"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#variable"},{"include":"#escape"}],"repository":{"command":{"captures":{"2":{"name":"keyword.operator.pipe.fish"},"3":{"name":"keyword.control.fish"},"5":{"name":"support.function.command.fish"}},"match":"(^\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)"},"command-subshell":{"captures":{"2":{"name":"keyword.operator.pipe.fish"},"3":{"name":"keyword.control.fish"},"5":{"name":"support.function.command.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)"},"comment":{"captures":{"1":{"name":"punctuation.definition.comment.fish"}},"match":"(?<!\\\\$)(#)(?!\\\\{).*$\\\\n?","name":"comment.line.number-sign.fish"},"escape":{"patterns":[{"match":"\\\\\\\\[] \\"#$\\\\&-*;<>?\\\\[^abefnrtv{-~]","name":"constant.character.escape.string.fish"},{"match":"\\\\\\\\x\\\\h{1,2}","name":"constant.character.escape.hex-ascii.fish"},{"match":"\\\\\\\\X\\\\h{1,2}","name":"constant.character.escape.hex-byte.fish"},{"match":"\\\\\\\\[0-7]{1,3}","name":"constant.character.escape.octal.fish"},{"match":"\\\\\\\\u\\\\h{1,4}","name":"constant.character.escape.unicode-16-bit.fish"},{"match":"\\\\\\\\U\\\\h{1,8}","name":"constant.character.escape.unicode-32-bit.fish"},{"match":"\\\\\\\\c[A-Za-z]","name":"constant.character.escape.control.fish"}]},"io-redirection":{"patterns":[{"captures":{"1":{"name":"keyword.operator.redirect.fish"},"2":{"name":"keyword.operator.redirect.target.fish"}},"match":"(<|(?:[>^]|>>|\\\\^\\\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\\\s*(?!\\\\()([\\\\--9A-Z_a-z]+)"},{"match":"<|([>^]|>>|\\\\^\\\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?","name":"keyword.operator.redirect.fish"}]},"keywords":{"patterns":[{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])"},{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])"},{"match":"\\\\b(in)\\\\b(?![!?])","name":"keyword.control.fish"}]},"keywords-subshell":{"patterns":[{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])"},{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])"},{"match":"\\\\b(in)\\\\b(?![!?])","name":"keyword.control.fish"}]},"operators":{"patterns":[{"match":"&","name":"keyword.operator.background.fish"},{"match":"\\\\*\\\\*|[*?]","name":"keyword.operator.glob.fish"}]},"options":{"captures":{"1":{"name":"source.option.fish"}},"match":"\\\\s(-{1,2}[-0-9A-Z_a-z]+|-\\\\w)\\\\b"},"slice":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.slice.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.slice.end.fish"}},"name":"meta.embedded.slice.fish variable.interpolation.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"slice-string-double":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.slice.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.slice.end.fish"}},"name":"meta.embedded.slice.fish variable.interpolation.string.fish","patterns":[{"include":"#subshell"},{"include":"#variable"},{"match":"\\\\\\\\([\\"$]|$|\\\\\\\\)","name":"constant.character.escape.fish"}]},"string-double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.fish"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.fish"}},"name":"string.quoted.double.fish","patterns":[{"include":"#subshell"},{"include":"#variable-string-double"},{"match":"\\\\\\\\([\\"$]|$|\\\\\\\\)","name":"constant.character.escape.fish"}]},"string-single":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.fish"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.fish"}},"name":"string.quoted.single.fish","patterns":[{"match":"\\\\\\\\([\'\\\\\\\\`])","name":"constant.character.escape.fish"}]},"subshell":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(\\\\))","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.subshell.end.fish"}},"name":"meta.embedded.subshell.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#keywords-subshell"},{"include":"#command-subshell"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"subshell-bare":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(\\\\))","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.subshell.end.fish"}},"name":"meta.embedded.subshell.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#keywords-subshell"},{"include":"#command-subshell"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"variable":{"patterns":[{"begin":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.language.fish"}},"end":"(?<=])","name":"variable.language.fish","patterns":[{"include":"#slice"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b","name":"variable.language.fish"},{"begin":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.other.normal.fish"}},"end":"(?<=])","name":"variable.other.normal.fish","patterns":[{"include":"#slice"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.normal.fish"}]},"variable-string-double":{"patterns":[{"begin":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.language.fish"}},"end":"(?<=])","name":"variable.language.fish","patterns":[{"include":"#slice-string-double"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b","name":"variable.language.fish"},{"begin":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.other.normal.fish"}},"end":"(?<=])","name":"variable.other.normal.fish","patterns":[{"include":"#slice-string-double"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.normal.fish"}]}},"scopeName":"source.fish"}')),i=[e];export{i as default};
|
|
1
|
+
import"./chunk-feptb1bb.js";var e=Object.freeze(JSON.parse('{"displayName":"Fish","name":"fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#command"},{"include":"#keywords"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#variable"},{"include":"#escape"}],"repository":{"command":{"captures":{"2":{"name":"keyword.operator.pipe.fish"},"3":{"name":"keyword.control.fish"},"5":{"name":"support.function.command.fish"}},"match":"(^\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)"},"command-subshell":{"captures":{"2":{"name":"keyword.operator.pipe.fish"},"3":{"name":"keyword.control.fish"},"5":{"name":"support.function.command.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|\\\\b(if|while)\\\\b\\\\s+)(?!(?<!\\\\.)\\\\b(function|while|if|else|switch|case|for|in|begin|end|continue|break|return|source|exit|wait|and|or|not)\\\\b(?![!?]))([-\\\\].0-9A-\\\\[_a-z]+)"},"comment":{"captures":{"1":{"name":"punctuation.definition.comment.fish"}},"match":"(?<!\\\\$)(#)(?!\\\\{).*$\\\\n?","name":"comment.line.number-sign.fish"},"escape":{"patterns":[{"match":"\\\\\\\\[] \\"#$\\\\&-*;<>?\\\\[^abefnrtv{-~]","name":"constant.character.escape.string.fish"},{"match":"\\\\\\\\x\\\\h{1,2}","name":"constant.character.escape.hex-ascii.fish"},{"match":"\\\\\\\\X\\\\h{1,2}","name":"constant.character.escape.hex-byte.fish"},{"match":"\\\\\\\\[0-7]{1,3}","name":"constant.character.escape.octal.fish"},{"match":"\\\\\\\\u\\\\h{1,4}","name":"constant.character.escape.unicode-16-bit.fish"},{"match":"\\\\\\\\U\\\\h{1,8}","name":"constant.character.escape.unicode-32-bit.fish"},{"match":"\\\\\\\\c[A-Za-z]","name":"constant.character.escape.control.fish"}]},"io-redirection":{"patterns":[{"captures":{"1":{"name":"keyword.operator.redirect.fish"},"2":{"name":"keyword.operator.redirect.target.fish"}},"match":"(<|(?:[>^]|>>|\\\\^\\\\^)(?:&[-012])?|[012](?:[<>]|>>)(?:&[-012])?)\\\\s*(?!\\\\()([\\\\--9A-Z_a-z]+)"},{"match":"<|([>^]|>>|\\\\^\\\\^)(&[-012])?|[012]([<>]|>>)(&[-012])?","name":"keyword.operator.redirect.fish"}]},"keywords":{"patterns":[{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])"},{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(^\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])"},{"match":"\\\\b(in)\\\\b(?![!?])","name":"keyword.control.fish"}]},"keywords-subshell":{"patterns":[{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*|(?<=\\\\bwhile\\\\b)\\\\s+|(?<=\\\\bif\\\\b)\\\\s+|(?<=\\\\band\\\\b)\\\\s+|(?<=\\\\bor\\\\b)\\\\s+|(?<=\\\\bnot\\\\b)\\\\s+)(?<!\\\\.)\\\\b(while|if|and|or|not)\\\\b(?![!?])"},{"captures":{"2":{"name":"keyword.control.fish"}},"match":"(\\\\G\\\\s*|&&\\\\s*|(?<=\\\\|)\\\\s*|\\\\(\\\\s*|;\\\\s*)(?<!\\\\.)\\\\b(function|else|switch|case|for|begin|end|continue|break|return|source|exit|wait)\\\\b(?![!?])"},{"match":"\\\\b(in)\\\\b(?![!?])","name":"keyword.control.fish"}]},"operators":{"patterns":[{"match":"&","name":"keyword.operator.background.fish"},{"match":"\\\\*\\\\*|[*?]","name":"keyword.operator.glob.fish"}]},"options":{"captures":{"1":{"name":"source.option.fish"}},"match":"\\\\s(-{1,2}[-0-9A-Z_a-z]+|-\\\\w)\\\\b"},"slice":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.slice.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.slice.end.fish"}},"name":"meta.embedded.slice.fish variable.interpolation.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"slice-string-double":{"begin":"\\\\[","beginCaptures":{"0":{"name":"punctuation.definition.slice.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(])","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.slice.end.fish"}},"name":"meta.embedded.slice.fish variable.interpolation.string.fish","patterns":[{"include":"#subshell"},{"include":"#variable"},{"match":"\\\\\\\\([\\"$]|$|\\\\\\\\)","name":"constant.character.escape.fish"}]},"string-double":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.fish"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.fish"}},"name":"string.quoted.double.fish","patterns":[{"include":"#subshell"},{"include":"#variable-string-double"},{"match":"\\\\\\\\([\\"$]|$|\\\\\\\\)","name":"constant.character.escape.fish"}]},"string-single":{"begin":"\'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.fish"}},"end":"\'","endCaptures":{"0":{"name":"punctuation.definition.string.end.fish"}},"name":"string.quoted.single.fish","patterns":[{"match":"\\\\\\\\([\'\\\\\\\\`])","name":"constant.character.escape.fish"}]},"subshell":{"begin":"\\\\$\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(\\\\))","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.subshell.end.fish"}},"name":"meta.embedded.subshell.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#keywords-subshell"},{"include":"#command-subshell"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"subshell-bare":{"begin":"\\\\(","beginCaptures":{"0":{"name":"punctuation.definition.subshell.begin.fish"}},"end":"(?<!\\\\\\\\)((\\\\\\\\\\\\\\\\)*)(\\\\))","endCaptures":{"1":{"name":"constant.character.escape.string.fish"},"3":{"name":"punctuation.definition.subshell.end.fish"}},"name":"meta.embedded.subshell.fish","patterns":[{"include":"#string-double"},{"include":"#string-single"},{"include":"#comment"},{"include":"#keywords-subshell"},{"include":"#command-subshell"},{"include":"#io-redirection"},{"include":"#operators"},{"include":"#options"},{"include":"#subshell-bare"},{"include":"#subshell"},{"include":"#variable"},{"include":"#escape"}]},"variable":{"patterns":[{"begin":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.language.fish"}},"end":"(?<=])","name":"variable.language.fish","patterns":[{"include":"#slice"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b","name":"variable.language.fish"},{"begin":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.other.normal.fish"}},"end":"(?<=])","name":"variable.other.normal.fish","patterns":[{"include":"#slice"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.normal.fish"}]},"variable-string-double":{"patterns":[{"begin":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.language.fish"}},"end":"(?<=])","name":"variable.language.fish","patterns":[{"include":"#slice-string-double"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)(argv|CMD_DURATION|COLUMNS|fish_bind_mode|fish_color_autosuggestion|fish_color_cancel|fish_color_command|fish_color_comment|fish_color_cwd|fish_color_cwd_root|fish_color_end|fish_color_error|fish_color_escape|fish_color_hg_added|fish_color_hg_clean|fish_color_hg_copied|fish_color_hg_deleted|fish_color_hg_dirty|fish_color_hg_modified|fish_color_hg_renamed|fish_color_hg_unmerged|fish_color_hg_untracked|fish_color_history_current|fish_color_host|fish_color_host_remote|fish_color_match|fish_color_normal|fish_color_operator|fish_color_param|fish_color_quote|fish_color_redirection|fish_color_search_match|fish_color_selection|fish_color_status|fish_color_user|fish_color_valid_path|fish_complete_path|fish_function_path|fish_greeting|fish_key_bindings|fish_pager_color_completion|fish_pager_color_description|fish_pager_color_prefix|fish_pager_color_progress|fish_pid|fish_prompt_hg_status_added|fish_prompt_hg_status_copied|fish_prompt_hg_status_deleted|fish_prompt_hg_status_modified|fish_prompt_hg_status_order|fish_prompt_hg_status_unmerged|fish_prompt_hg_status_untracked|FISH_VERSION|history|hostname|IFS|LINES|pipestatus|status|umask|version)\\\\b","name":"variable.language.fish"},{"begin":"(\\\\$)([A-Z_a-z][0-9A-Z_a-z]*)(?=\\\\[)","beginCaptures":{"1":{"name":"punctuation.definition.variable.fish"},"2":{"name":"variable.other.normal.fish"}},"end":"(?<=])","name":"variable.other.normal.fish","patterns":[{"include":"#slice-string-double"}]},{"captures":{"1":{"name":"punctuation.definition.variable.fish"}},"match":"(\\\\$)[A-Z_a-z][0-9A-Z_a-z]*","name":"variable.other.normal.fish"}]}},"scopeName":"source.fish"}')),i=[e];export{i as default};
|