@opencode/core 0.0.0-dev-19567 → 0.0.0-dev-19568
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/agent.js +67 -67
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +53 -53
- package/dist/catalog.js +67 -67
- package/dist/chunks/{filesystem-bccb6npm.js → filesystem-06dxphr1.js} +3 -3
- package/dist/chunks/{filesystem-ehhvb1z1.js → filesystem-0b51tgne.js} +23 -23
- package/dist/chunks/{filesystem-f8652x2w.js → filesystem-0ezsa6vy.js} +40 -40
- package/dist/chunks/{filesystem-vncd6x2p.js → filesystem-0jsm5b6f.js} +18 -18
- package/dist/chunks/{filesystem-zdzb03tf.js → filesystem-0yf7gmgh.js} +1 -1
- package/dist/chunks/{filesystem-j8yes9fb.js → filesystem-0z4swx6k.js} +13 -13
- package/dist/chunks/{filesystem-f2n192rq.js → filesystem-1acjjqhc.js} +3 -3
- package/dist/chunks/{filesystem-k5734w4a.js → filesystem-1b5k9ny0.js} +8 -8
- package/dist/chunks/{filesystem-078gytam.js → filesystem-1q26ypmg.js} +14 -14
- package/dist/chunks/{filesystem-1s6ef6er.js → filesystem-1xzg4q7f.js} +7 -7
- package/dist/chunks/{filesystem-6rx9j4b0.js → filesystem-27fbez5x.js} +6 -6
- package/dist/chunks/{filesystem-6y0dpk3y.js → filesystem-298asx42.js} +25 -25
- package/dist/chunks/{filesystem-xn99z6n2.js → filesystem-2ah6ycde.js} +24 -24
- package/dist/chunks/{filesystem-t6xgqy70.js → filesystem-2b6sywcb.js} +10 -10
- package/dist/chunks/{filesystem-ywkfy99j.js → filesystem-2bt6bea8.js} +7 -7
- package/dist/chunks/{filesystem-vkxpz7g2.js → filesystem-2tfmgkzg.js} +2 -2
- package/dist/chunks/{filesystem-56gdpj1q.js → filesystem-33w4ejhs.js} +4 -4
- package/dist/chunks/{filesystem-9m209nhj.js → filesystem-3723sw29.js} +4 -4
- package/dist/chunks/{filesystem-caw866h7.js → filesystem-3bxse654.js} +9 -9
- package/dist/chunks/{filesystem-041s7t4d.js → filesystem-3e73f7fn.js} +18 -18
- package/dist/chunks/{filesystem-jjt6g8ec.js → filesystem-3p9h8pr0.js} +10 -10
- package/dist/chunks/{filesystem-vwedqk8m.js → filesystem-4as8h3gg.js} +13 -13
- package/dist/chunks/{filesystem-ekjywdh4.js → filesystem-4f8bfcxm.js} +10 -10
- package/dist/chunks/{filesystem-nh937vtg.js → filesystem-4f92c8s9.js} +16 -16
- package/dist/chunks/{filesystem-bezn74c1.js → filesystem-4fbncvv5.js} +6 -6
- package/dist/chunks/{filesystem-175mk5tz.js → filesystem-4mwvkeyx.js} +10 -10
- package/dist/chunks/{filesystem-9ftserdy.js → filesystem-4p7x74p9.js} +9 -9
- package/dist/chunks/{filesystem-439y12vh.js → filesystem-4skj9pjn.js} +2 -2
- package/dist/chunks/{filesystem-vsp1fds9.js → filesystem-50mzsvk4.js} +20 -20
- package/dist/chunks/{filesystem-ppf6v6e1.js → filesystem-5762gc32.js} +33 -33
- package/dist/chunks/{filesystem-ayp6cqfq.js → filesystem-57v6fmny.js} +15 -15
- package/dist/chunks/{filesystem-a1bz86dw.js → filesystem-5c4hm403.js} +1 -1
- package/dist/chunks/{filesystem-abe16e6q.js → filesystem-5ctrep3m.js} +9 -9
- package/dist/chunks/{filesystem-ytapak9r.js → filesystem-5m7h1hre.js} +14 -14
- package/dist/chunks/{filesystem-pmr4s4kc.js → filesystem-5q02cxx3.js} +3 -3
- package/dist/chunks/{filesystem-mgjabrz5.js → filesystem-5rjrjdee.js} +4 -4
- package/dist/chunks/{filesystem-5c91nd8t.js → filesystem-5whwrpxa.js} +8 -8
- package/dist/chunks/{filesystem-qgn6gcr1.js → filesystem-607tc6va.js} +4 -4
- package/dist/chunks/{filesystem-eyeb23k4.js → filesystem-631045jg.js} +28 -28
- package/dist/chunks/{filesystem-gqrjg9m0.js → filesystem-64ddj6v7.js} +1 -1
- package/dist/chunks/{filesystem-7qj23typ.js → filesystem-696tvegr.js} +27 -27
- package/dist/chunks/{filesystem-khbvvr7x.js → filesystem-6gwpwpyd.js} +22 -22
- package/dist/chunks/{filesystem-r1kfjs52.js → filesystem-6gypj2re.js} +23 -23
- package/dist/chunks/{filesystem-7n5ebxvb.js → filesystem-6j4fq2cq.js} +9 -9
- package/dist/chunks/filesystem-6kdq0pjd.js +4 -0
- package/dist/chunks/{filesystem-ssnweha5.js → filesystem-6kkxyhkv.js} +3 -3
- package/dist/chunks/{filesystem-gg8vxy2p.js → filesystem-6qxnajbz.js} +23 -23
- package/dist/chunks/{filesystem-mgp1xb0f.js → filesystem-6zp4xm1r.js} +22 -22
- package/dist/chunks/{filesystem-23279rje.js → filesystem-703jyx7f.js} +7 -7
- package/dist/chunks/{filesystem-w105trey.js → filesystem-7061gxvt.js} +23 -23
- package/dist/chunks/{filesystem-ecrg2nqv.js → filesystem-72jmdy6r.js} +19 -19
- package/dist/chunks/{filesystem-q8qk0cpb.js → filesystem-75va9qk2.js} +9 -9
- package/dist/chunks/{filesystem-3c1tgrea.js → filesystem-7bnzk546.js} +5 -5
- package/dist/chunks/{filesystem-ad7xdf9r.js → filesystem-7krdaasy.js} +5 -5
- package/dist/chunks/{filesystem-yya0sae6.js → filesystem-7nwp8zja.js} +9 -9
- package/dist/chunks/{filesystem-wj45sndb.js → filesystem-7pqa36gv.js} +11 -11
- package/dist/chunks/{filesystem-dhwr7h25.js → filesystem-7rrn560x.js} +9 -9
- package/dist/chunks/{filesystem-4frkg54w.js → filesystem-81swgkk7.js} +7 -7
- package/dist/chunks/{filesystem-av1zmrck.js → filesystem-84r56gr5.js} +1 -1
- package/dist/chunks/{filesystem-5et2ke9z.js → filesystem-85c4hbm5.js} +22 -22
- package/dist/chunks/{filesystem-55yqmepc.js → filesystem-8aabwx5n.js} +17 -17
- package/dist/chunks/{filesystem-jacaeees.js → filesystem-8akv9m9x.js} +15 -15
- package/dist/chunks/{filesystem-958js9br.js → filesystem-8et7pj57.js} +12 -12
- package/dist/chunks/{filesystem-hef24fn2.js → filesystem-8m5v51r2.js} +40 -40
- package/dist/chunks/{filesystem-ptytrkeg.js → filesystem-9104srmq.js} +16 -16
- package/dist/chunks/{filesystem-krhdd13z.js → filesystem-975yhv65.js} +17 -17
- package/dist/chunks/{filesystem-cf3tj770.js → filesystem-9c1k5ss1.js} +8 -8
- package/dist/chunks/{filesystem-tmz07czs.js → filesystem-9d82za01.js} +18 -18
- package/dist/chunks/{filesystem-zxnzg6kz.js → filesystem-9j5jfgtr.js} +22 -22
- package/dist/chunks/{filesystem-x159k7tn.js → filesystem-9qpqmwv0.js} +9 -9
- package/dist/chunks/{filesystem-dywhtpsx.js → filesystem-9s312kc4.js} +7 -7
- package/dist/chunks/{filesystem-p815bw41.js → filesystem-9v1c99ce.js} +75 -75
- package/dist/chunks/{filesystem-z46ew2vq.js → filesystem-a2hw0sqp.js} +45 -45
- package/dist/chunks/{filesystem-1ndypj5r.js → filesystem-a3r4dcrj.js} +1 -1
- package/dist/chunks/{filesystem-27ekamt2.js → filesystem-akfg16cj.js} +1 -1
- package/dist/chunks/{filesystem-9fvhjrgf.js → filesystem-arpbwta6.js} +22 -22
- package/dist/chunks/{filesystem-bv2jx7pw.js → filesystem-b1tz6w3s.js} +28 -28
- package/dist/chunks/{filesystem-b8mjdg95.js → filesystem-b762qnyw.js} +30 -30
- package/dist/chunks/{filesystem-yatbfktz.js → filesystem-bjbm878y.js} +4 -4
- package/dist/chunks/{filesystem-6xgghmbk.js → filesystem-bp0xbca5.js} +39 -39
- package/dist/chunks/{filesystem-yxc59d7f.js → filesystem-bs4q3tqg.js} +5 -5
- package/dist/chunks/{filesystem-v84z85pp.js → filesystem-c8266qxr.js} +11 -11
- package/dist/chunks/{filesystem-57gxc5pf.js → filesystem-cerc8atz.js} +16 -16
- package/dist/chunks/{filesystem-79h9wc7p.js → filesystem-cpcnfgyy.js} +27 -27
- package/dist/chunks/{filesystem-w2yvy5y9.js → filesystem-d979a45b.js} +4 -4
- package/dist/chunks/{filesystem-eraanh1f.js → filesystem-da6kr1wx.js} +5 -5
- package/dist/chunks/{filesystem-dkvg49fw.js → filesystem-dn7swrv3.js} +29 -29
- package/dist/chunks/{filesystem-y71avatq.js → filesystem-dpkg50ah.js} +3 -3
- package/dist/chunks/{filesystem-41k02yvh.js → filesystem-dq26kvy6.js} +16 -16
- package/dist/chunks/{filesystem-6bckx01s.js → filesystem-dzhcmde1.js} +5 -5
- package/dist/chunks/{filesystem-77xgrpmb.js → filesystem-e0tp7zzd.js} +21 -21
- package/dist/chunks/{filesystem-12v07r08.js → filesystem-e7tx2v0e.js} +8 -8
- package/dist/chunks/{filesystem-4jjph5sa.js → filesystem-e99qm4q4.js} +7 -7
- package/dist/chunks/{filesystem-0gdmqesm.js → filesystem-eaj1djv9.js} +7 -7
- package/dist/chunks/{filesystem-ntkt8hfw.js → filesystem-eb2yma87.js} +8 -8
- package/dist/chunks/{filesystem-sgm801mv.js → filesystem-eb4y5yy0.js} +25 -25
- package/dist/chunks/{filesystem-kh4cqp9s.js → filesystem-ecd1f3mq.js} +4 -4
- package/dist/chunks/{filesystem-2qxnj2tc.js → filesystem-ecfkvkmx.js} +10 -10
- package/dist/chunks/{filesystem-eh1r3epm.js → filesystem-ee5p72rr.js} +3 -3
- package/dist/chunks/{filesystem-kk05wj6g.js → filesystem-efttx8x1.js} +5 -5
- package/dist/chunks/{filesystem-2da2wngq.js → filesystem-epn31rr5.js} +6 -6
- package/dist/chunks/{filesystem-gx8gn256.js → filesystem-erhcz2jb.js} +25 -25
- package/dist/chunks/{filesystem-h85jpfa0.js → filesystem-es5dr4fw.js} +7 -7
- package/dist/chunks/{filesystem-8z6dw92s.js → filesystem-ethbh4z7.js} +16 -16
- package/dist/chunks/{filesystem-2f0bjgcj.js → filesystem-evbgk2k8.js} +3 -3
- package/dist/chunks/{filesystem-65tvvp9r.js → filesystem-ez02qrbp.js} +1 -1
- package/dist/chunks/{filesystem-6fatt4mk.js → filesystem-f7ehr2sm.js} +8 -8
- package/dist/chunks/{filesystem-kkdq4gv9.js → filesystem-fc5gyn3k.js} +8 -8
- package/dist/chunks/{filesystem-4xwhw091.js → filesystem-fgsjaxv0.js} +2 -2
- package/dist/chunks/{filesystem-9v4y56cw.js → filesystem-fm98w790.js} +8 -8
- package/dist/chunks/{filesystem-v36j07s8.js → filesystem-fpnq3hwf.js} +12 -12
- package/dist/chunks/{filesystem-trwj2ymr.js → filesystem-fsma24dd.js} +4 -4
- package/dist/chunks/{filesystem-ysg8hvve.js → filesystem-ftyr94h4.js} +28 -28
- package/dist/chunks/{filesystem-kjc7y5he.js → filesystem-fyvhdr9h.js} +7 -7
- package/dist/chunks/{filesystem-rzj44daq.js → filesystem-ga5yzwkb.js} +15 -15
- package/dist/chunks/{filesystem-q9sh34kg.js → filesystem-gb4851xq.js} +29 -29
- package/dist/chunks/{filesystem-k394pqej.js → filesystem-gea7vc3h.js} +4 -4
- package/dist/chunks/{filesystem-qm7jrdpz.js → filesystem-gft05b0a.js} +7 -7
- package/dist/chunks/{filesystem-n8dshb08.js → filesystem-h0vwgry8.js} +11 -11
- package/dist/chunks/{filesystem-6b0jwvmt.js → filesystem-haa1g6we.js} +27 -27
- package/dist/chunks/{filesystem-f828m53h.js → filesystem-hdnk95c8.js} +1 -1
- package/dist/chunks/{filesystem-f8rh72t3.js → filesystem-hfk3zaat.js} +9 -9
- package/dist/chunks/{filesystem-nhy5jxhy.js → filesystem-hjt4xg1x.js} +3 -3
- package/dist/chunks/{filesystem-sk6yq7gh.js → filesystem-jexxy024.js} +3 -3
- package/dist/chunks/{filesystem-r7yb2281.js → filesystem-jjf0vtdq.js} +10 -10
- package/dist/chunks/{filesystem-87c2hcfn.js → filesystem-jxn345vr.js} +16 -16
- package/dist/chunks/{filesystem-4xhf45yx.js → filesystem-k1j6gk9a.js} +6 -6
- package/dist/chunks/{filesystem-0z4fxwj8.js → filesystem-k2qtg38n.js} +27 -27
- package/dist/chunks/{filesystem-se105tye.js → filesystem-k6z5z3xm.js} +4 -4
- package/dist/chunks/{filesystem-4b4yfk1e.js → filesystem-ka7bdmkm.js} +41 -41
- package/dist/chunks/{filesystem-6a2hk3n2.js → filesystem-kdsged9e.js} +8 -8
- package/dist/chunks/{filesystem-4j9ew2rr.js → filesystem-kfs8rg3h.js} +1 -1
- package/dist/chunks/{filesystem-5wvv95xm.js → filesystem-ky7as88a.js} +19 -19
- package/dist/chunks/{filesystem-cfpkc3c9.js → filesystem-m0jqrx5p.js} +1 -1
- package/dist/chunks/{filesystem-45vv7gab.js → filesystem-m87kjwf8.js} +9 -9
- package/dist/chunks/{filesystem-1bbkgx8g.js → filesystem-mhkvc446.js} +2 -2
- package/dist/chunks/{filesystem-aycy0v5g.js → filesystem-mmgf1rqt.js} +10 -10
- package/dist/chunks/{filesystem-y88ze32q.js → filesystem-mrjzwcm0.js} +9 -9
- package/dist/chunks/{filesystem-dsqq6j4y.js → filesystem-mtd6x72z.js} +5 -5
- package/dist/chunks/{filesystem-nnwnj3kt.js → filesystem-myekw2gp.js} +10 -10
- package/dist/chunks/{filesystem-v5eees2g.js → filesystem-mz2wz6jn.js} +19 -19
- package/dist/chunks/{filesystem-rv6e4z41.js → filesystem-mzhavs24.js} +35 -35
- package/dist/chunks/{filesystem-axc3cb0n.js → filesystem-n7ghmjtx.js} +7 -7
- package/dist/chunks/{filesystem-zzzpg4zy.js → filesystem-n8v6jt5n.js} +11 -11
- package/dist/chunks/{filesystem-w9s2bh3f.js → filesystem-nbvvbhgb.js} +74 -74
- package/dist/chunks/{filesystem-jaqemzyz.js → filesystem-nhj3pk2g.js} +16 -16
- package/dist/chunks/{filesystem-p6hxwm8v.js → filesystem-nm2epvtw.js} +22 -22
- package/dist/chunks/{filesystem-hwma07pt.js → filesystem-nrtb1m71.js} +13 -13
- package/dist/chunks/{filesystem-wyzh7da2.js → filesystem-p0hmzt3n.js} +7 -7
- package/dist/chunks/{filesystem-zf0cgqdy.js → filesystem-p0ydpdje.js} +1 -1
- package/dist/chunks/{filesystem-gacr8fx6.js → filesystem-p5w9prz9.js} +24 -24
- package/dist/chunks/{filesystem-4fy5a9h5.js → filesystem-p6j6tyky.js} +17 -17
- package/dist/chunks/{filesystem-j935v87r.js → filesystem-paphc93g.js} +2 -2
- package/dist/chunks/{filesystem-th2mpfrx.js → filesystem-pbky73a2.js} +3 -3
- package/dist/chunks/{filesystem-p44d8wdy.js → filesystem-pecb0brz.js} +3 -3
- package/dist/chunks/{filesystem-zjyfgt6w.js → filesystem-pge2bfmc.js} +18 -18
- package/dist/chunks/{filesystem-0300fd29.js → filesystem-px514bpm.js} +19 -19
- package/dist/chunks/{filesystem-1x11rq2a.js → filesystem-q509s3k3.js} +4 -4
- package/dist/chunks/{filesystem-4zqmmk7v.js → filesystem-qen1jmg8.js} +32 -32
- package/dist/chunks/{filesystem-wbkyxrgf.js → filesystem-qjnxxf51.js} +3 -3
- package/dist/chunks/{filesystem-bkfa2z39.js → filesystem-re9amv7g.js} +163 -163
- package/dist/chunks/{filesystem-hr4rc9dq.js → filesystem-rfp29srv.js} +23 -23
- package/dist/chunks/{filesystem-xvkeykba.js → filesystem-rgrjgzhx.js} +18 -18
- package/dist/chunks/{filesystem-jay4nmce.js → filesystem-rgyfsfc5.js} +32 -32
- package/dist/chunks/filesystem-rh7ezj45.js +26 -0
- package/dist/chunks/{filesystem-87bjq7d8.js → filesystem-rk9hj1v7.js} +47 -47
- package/dist/chunks/{filesystem-x6aajhkr.js → filesystem-rnfn6xxq.js} +21 -21
- package/dist/chunks/{filesystem-gb7ervf3.js → filesystem-rph3zd4r.js} +5 -5
- package/dist/chunks/{filesystem-ndaapn5x.js → filesystem-rr25vpab.js} +8 -8
- package/dist/chunks/{filesystem-a9pdx8gz.js → filesystem-rvzfv4w1.js} +7 -7
- package/dist/chunks/{filesystem-a4kfj0a0.js → filesystem-rxdk16p3.js} +17 -17
- package/dist/chunks/{filesystem-ahnqppdj.js → filesystem-rxjvbk8n.js} +1 -1
- package/dist/chunks/{filesystem-jhvzetwt.js → filesystem-s9q5j7ef.js} +39 -39
- package/dist/chunks/{filesystem-r8dnm4fk.js → filesystem-sf0gthgt.js} +11 -11
- package/dist/chunks/{filesystem-25jf9b0a.js → filesystem-t000jqpf.js} +17 -17
- package/dist/chunks/{filesystem-6ck2t1rv.js → filesystem-t0x5rdq8.js} +7 -7
- package/dist/chunks/{filesystem-cj0ynpdk.js → filesystem-t15xvjkv.js} +16 -16
- package/dist/chunks/{filesystem-12v7y99v.js → filesystem-t7nbeyr2.js} +12 -12
- package/dist/chunks/{filesystem-g9mjxn54.js → filesystem-tdk2wfqj.js} +8 -8
- package/dist/chunks/{filesystem-h39eyz0q.js → filesystem-thcje0ms.js} +16 -16
- package/dist/chunks/{filesystem-88bvrjqm.js → filesystem-tj8y1zy0.js} +14 -14
- package/dist/chunks/{filesystem-1g7epwpd.js → filesystem-tkmwgdpd.js} +3 -3
- package/dist/chunks/{filesystem-0c4e0yvv.js → filesystem-tm94zk3c.js} +29 -29
- package/dist/chunks/{filesystem-gthqyac3.js → filesystem-tryb73nk.js} +3 -3
- package/dist/chunks/{filesystem-ey1y6cx4.js → filesystem-tv2fxbte.js} +7 -7
- package/dist/chunks/{filesystem-tpw6cwsb.js → filesystem-v4hmzr0r.js} +7 -7
- package/dist/chunks/{filesystem-c0msvw2j.js → filesystem-v7t6t3ee.js} +20 -20
- package/dist/chunks/filesystem-v8z7968n.js +247 -0
- package/dist/chunks/{filesystem-t1waf9zt.js → filesystem-vcybtvp5.js} +7 -7
- package/dist/chunks/{filesystem-m142jtgy.js → filesystem-vd431jt0.js} +10 -10
- package/dist/chunks/{filesystem-nkvjcq56.js → filesystem-vjstzn3j.js} +12 -12
- package/dist/chunks/{filesystem-gzxx6bgm.js → filesystem-vm9edkyf.js} +14 -14
- package/dist/chunks/{filesystem-em33emqj.js → filesystem-vywwb7xw.js} +1 -1
- package/dist/chunks/{filesystem-dsyn576s.js → filesystem-vz4k8wbp.js} +2 -2
- package/dist/chunks/{filesystem-wh1jz8sn.js → filesystem-w2w9rvzr.js} +44 -44
- package/dist/chunks/{filesystem-d7swqpa7.js → filesystem-w7cks01r.js} +16 -16
- package/dist/chunks/{filesystem-cqk3ba3b.js → filesystem-wbcpzrvz.js} +4 -4
- package/dist/chunks/{filesystem-pwxjd99w.js → filesystem-wcft5t0g.js} +17 -17
- package/dist/chunks/{filesystem-9grmh3gg.js → filesystem-wcy83pfm.js} +12 -12
- package/dist/chunks/{filesystem-sqhed6c7.js → filesystem-wprd8xj9.js} +16 -16
- package/dist/chunks/{filesystem-f0q97ex4.js → filesystem-wqntmd11.js} +6 -6
- package/dist/chunks/{filesystem-qwwrayhn.js → filesystem-x1cde7tm.js} +10 -10
- package/dist/chunks/{filesystem-n2g8w3nt.js → filesystem-x6h9ntm8.js} +25 -25
- package/dist/chunks/{filesystem-0vag3j8x.js → filesystem-xb3nqwnp.js} +60 -60
- package/dist/chunks/{filesystem-kqn78m91.js → filesystem-xb7w47hd.js} +9 -9
- package/dist/chunks/{filesystem-kzs1nj2w.js → filesystem-xbv0k4ba.js} +38 -38
- package/dist/chunks/{filesystem-w28ya9nv.js → filesystem-xez80017.js} +17 -17
- package/dist/chunks/{filesystem-rdfsynn7.js → filesystem-xg954myy.js} +5 -5
- package/dist/chunks/{filesystem-37jfsww8.js → filesystem-xrr0m7w9.js} +15 -15
- package/dist/chunks/{filesystem-18e56dsp.js → filesystem-xwwz9aqf.js} +3 -3
- package/dist/chunks/{filesystem-8czw5t31.js → filesystem-xxj3pgp3.js} +1 -1
- package/dist/chunks/{filesystem-yy6wawb8.js → filesystem-y3xz725g.js} +24 -24
- package/dist/chunks/{filesystem-nmedgzjr.js → filesystem-y45wrhxb.js} +6 -6
- package/dist/chunks/{filesystem-z2erpwqc.js → filesystem-y80z5qnm.js} +16 -16
- package/dist/chunks/{filesystem-2w43xsrz.js → filesystem-y9mn02hf.js} +10 -10
- package/dist/chunks/{filesystem-2ctqm5ex.js → filesystem-yawef6kw.js} +1 -1
- package/dist/chunks/{filesystem-qxe1e9q5.js → filesystem-ypz4327q.js} +3 -3
- package/dist/chunks/{filesystem-av40d20f.js → filesystem-yqtqx2tb.js} +1 -1
- package/dist/chunks/{filesystem-ks78zxsa.js → filesystem-yrr26vyh.js} +27 -27
- package/dist/chunks/{filesystem-60qw2sva.js → filesystem-yrz8q0k0.js} +5 -5
- package/dist/chunks/{filesystem-s4enseaf.js → filesystem-yrznvahk.js} +1 -1
- package/dist/chunks/{filesystem-bm5ycmby.js → filesystem-yvrn8c55.js} +9 -9
- package/dist/chunks/{filesystem-5y27wggs.js → filesystem-yx6mkdzk.js} +48 -48
- package/dist/chunks/{filesystem-8jt463w9.js → filesystem-z2708axn.js} +27 -27
- package/dist/chunks/{filesystem-29x78va6.js → filesystem-z63w68vq.js} +4 -4
- package/dist/chunks/{filesystem-rnm8ebdw.js → filesystem-zb3fmyt6.js} +300 -300
- package/dist/chunks/{filesystem-cdt344wa.js → filesystem-zdx06d9s.js} +32 -32
- package/dist/chunks/{filesystem-f8gcejx1.js → filesystem-zqngs88h.js} +12 -12
- package/dist/chunks/{filesystem-9ewzbff8.js → filesystem-zshj55xc.js} +23 -23
- package/dist/chunks/{filesystem-hn57h045.js → filesystem-zvt5dnpc.js} +3 -3
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +67 -67
- package/dist/config/discovery.js +61 -61
- package/dist/config/normalize.js +16 -16
- package/dist/config/plugin/agent.js +95 -95
- package/dist/config/plugin/command.js +180 -180
- package/dist/config/plugin/compaction.js +133 -133
- package/dist/config/plugin/compatibility.js +111 -111
- package/dist/config/plugin/formatter.js +94 -94
- package/dist/config/plugin/image.js +93 -93
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +93 -93
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +92 -92
- package/dist/config/plugin/provider.js +91 -91
- package/dist/config/plugin/reference.js +94 -94
- package/dist/config/plugin/shell.js +95 -95
- package/dist/config/plugin/skill-file.js +77 -77
- package/dist/config/plugin/skill.js +114 -114
- package/dist/config/plugin/snapshot.js +93 -93
- package/dist/config/plugin/source.js +95 -95
- package/dist/config/plugin/tool-output.js +95 -95
- package/dist/config/plugin/websearch.js +93 -93
- package/dist/config/plugin/worktree.js +96 -96
- package/dist/config/variable.js +2 -2
- package/dist/config.js +98 -98
- package/dist/credential.js +67 -67
- package/dist/database/database.js +51 -51
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +11 -11
- package/dist/database/migration.gen.js +35 -35
- package/dist/database/migration.js +36 -36
- package/dist/database/v1-migration.bun.js +11 -11
- package/dist/effect/app-node-builder.js +242 -242
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +68 -68
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +80 -80
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +190 -190
- package/dist/filesystem/search.js +77 -77
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +14 -14
- package/dist/filesystem.js +76 -76
- package/dist/form.js +68 -68
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +75 -75
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/responses/openai-responses-language-model.js +5 -5
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +313 -313
- package/dist/instruction-discovery.js +68 -68
- package/dist/instructions/builtins.js +66 -66
- package/dist/instructions/index.js +5 -5
- package/dist/integration.js +70 -70
- package/dist/job.js +61 -61
- package/dist/kv.js +56 -56
- package/dist/location-activity.js +59 -59
- package/dist/location-mutation.js +35 -35
- package/dist/location-service-map.js +65 -65
- package/dist/location-services.js +310 -310
- package/dist/location.js +68 -68
- package/dist/mcp/client.js +20 -20
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +95 -95
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +70 -70
- package/dist/model.js +8 -8
- package/dist/models-dev.js +70 -70
- package/dist/permission/saved.js +65 -65
- package/dist/permission/sql.js +3 -3
- package/dist/permission.js +87 -87
- package/dist/persistent-pty/index.js +68 -68
- package/dist/persistent-pty.js +56 -56
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +76 -76
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +183 -183
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +285 -285
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +59 -59
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +78 -78
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +95 -95
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +95 -95
- package/dist/plugin/provider/cloudflare-workers-ai.js +95 -95
- package/dist/plugin/provider/configured.js +93 -93
- package/dist/plugin/provider/digitalocean.js +62 -62
- package/dist/plugin/provider/github-copilot.js +64 -64
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +60 -60
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/modal.js +63 -63
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +96 -96
- package/dist/plugin/provider/openai.js +63 -63
- package/dist/plugin/provider/opencode.js +62 -62
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/sap-ai-core.js +2 -2
- package/dist/plugin/provider/snowflake-cortex.js +95 -95
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +61 -61
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +129 -129
- package/dist/plugin/sdk.js +58 -58
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +112 -112
- package/dist/plugin/supervisor.js +302 -302
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +91 -91
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +194 -194
- package/dist/project/schema.js +7 -7
- package/dist/project/sql.js +2 -2
- package/dist/project.js +69 -69
- package/dist/provider.js +5 -5
- package/dist/pty/schema.js +3 -3
- package/dist/pty.js +74 -74
- package/dist/reference/instructions.js +66 -66
- package/dist/reference.js +68 -68
- package/dist/repository-cache.js +61 -61
- package/dist/ripgrep.js +70 -70
- package/dist/rpc.js +65 -65
- package/dist/session/command.js +58 -58
- package/dist/session/compaction.js +105 -105
- package/dist/session/context.js +120 -120
- package/dist/session/diff.js +66 -66
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +121 -121
- package/dist/session/execution.js +103 -103
- package/dist/session/generate.js +121 -121
- package/dist/session/history.js +11 -11
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +62 -62
- package/dist/session/instruction-state.js +5 -5
- package/dist/session/instructions.js +74 -74
- package/dist/session/model-request.js +92 -92
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +106 -106
- package/dist/session/projector.js +65 -65
- package/dist/session/prompt.js +81 -81
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +67 -67
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +193 -193
- package/dist/session/runner/model.js +70 -70
- package/dist/session/runner/retry.js +91 -91
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +142 -142
- package/dist/session/shell.js +105 -105
- package/dist/session/skill.js +79 -79
- package/dist/session/sql.js +3 -3
- package/dist/session/stats.js +10 -10
- package/dist/session/store.js +68 -68
- package/dist/session/subagent-job.js +176 -176
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +123 -123
- package/dist/session/to-session-error.js +88 -88
- package/dist/session/transfer.js +118 -118
- package/dist/session.js +178 -178
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +106 -106
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +88 -88
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +92 -92
- package/dist/tool/plugin/edit.js +91 -91
- package/dist/tool/plugin/glob.js +91 -91
- package/dist/tool/plugin/grep.js +95 -95
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +93 -93
- package/dist/tool/plugin/question.js +79 -79
- package/dist/tool/plugin/read.js +96 -96
- package/dist/tool/plugin/shell.js +184 -184
- package/dist/tool/plugin/skill.js +89 -89
- package/dist/tool/plugin/subagent.js +179 -179
- package/dist/tool/plugin/webfetch.js +84 -84
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +91 -91
- package/dist/tool/read-filesystem.js +71 -71
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +3 -3
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +3 -3
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/v1/config/skills.js +3 -3
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +66 -66
- package/dist/wellknown/plugin.js +58 -58
- package/dist/wellknown.js +61 -61
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +64 -64
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +301 -301
- package/dist/worktree/sql.js +3 -3
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/filesystem-0mesazry.js +0 -4
- package/dist/chunks/filesystem-cfbhz4sy.js +0 -26
- package/dist/chunks/filesystem-kshn8saw.js +0 -247
- /package/dist/chunks/{filesystem-kay20y4r.js → filesystem-4v46yx8e.js} +0 -0
- /package/dist/chunks/{filesystem-0dfv01xh.js → filesystem-5nrew705.js} +0 -0
- /package/dist/chunks/{filesystem-8p4f9s12.js → filesystem-dj2t23y0.js} +0 -0
- /package/dist/chunks/{filesystem-rwdrjh9g.js → filesystem-nyr44rzh.js} +0 -0
- /package/dist/chunks/{filesystem-mrrn9raq.js → filesystem-yzpfgjrz.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-fgsjaxv0.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./filesystem-
|
|
7
|
+
} from "./filesystem-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Binding2,
|
|
10
10
|
RegistryService2,
|
|
11
|
-
|
|
12
|
-
} from "./filesystem-
|
|
11
|
+
node77
|
|
12
|
+
} from "./filesystem-bs4q3tqg.js";
|
|
13
13
|
import {
|
|
14
14
|
WorkspaceTable2
|
|
15
15
|
} from "./filesystem-faypxj3z.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
var exports_workspace = {};
|
|
22
22
|
__export(exports_workspace, {
|
|
23
23
|
CreateConflict: () => CreateConflict2,
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
24
|
+
ID: () => ID14,
|
|
25
|
+
Info: () => Info29,
|
|
26
26
|
NotFound: () => NotFound3,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service72,
|
|
28
28
|
Workspace: () => exports_workspace,
|
|
29
|
-
configured: () =>
|
|
30
|
-
node: () =>
|
|
29
|
+
configured: () => configured10,
|
|
30
|
+
node: () => node76
|
|
31
31
|
});
|
|
32
32
|
import { Workspace } from "@opencode/schema/workspace";
|
|
33
33
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
|
|
|
35
35
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
36
36
|
import { systemError } from "effect/PlatformError";
|
|
37
37
|
import { make } from "effect/unstable/process/ChildProcessSpawner";
|
|
38
|
-
var
|
|
38
|
+
var ID14 = Workspace.ID;
|
|
39
39
|
|
|
40
|
-
class
|
|
41
|
-
id:
|
|
40
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
41
|
+
id: ID14,
|
|
42
42
|
provider: Schema.String,
|
|
43
43
|
binding: Binding2,
|
|
44
44
|
createdAt: Schema.Number,
|
|
@@ -46,24 +46,24 @@ class Info25 extends Schema.Class("Workspace.Info")({
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
49
|
+
class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID14 }) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
53
|
-
workspaceID:
|
|
53
|
+
workspaceID: ID14,
|
|
54
54
|
provider: Schema.String,
|
|
55
55
|
existingProvider: Schema.String
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service72 extends Context.Service()("@opencode/Workspace") {
|
|
60
60
|
}
|
|
61
|
-
var
|
|
62
|
-
service:
|
|
61
|
+
var configured10 = (options = {}) => makeGlobalNode({
|
|
62
|
+
service: Service72,
|
|
63
63
|
layer: layer(options),
|
|
64
|
-
deps: [node85,
|
|
64
|
+
deps: [node85, node77]
|
|
65
65
|
});
|
|
66
|
-
var layer = (options) => Layer.effect(
|
|
66
|
+
var layer = (options) => Layer.effect(Service72, Effect.gen(function* () {
|
|
67
67
|
const db = (yield* Service80).db;
|
|
68
68
|
const registry = yield* RegistryService2;
|
|
69
69
|
const lifetime = yield* Scope.Scope;
|
|
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
80
80
|
return row;
|
|
81
81
|
});
|
|
82
82
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
83
|
-
const info = (row, binding) => new
|
|
83
|
+
const info = (row, binding) => new Info29({
|
|
84
84
|
id: row.id,
|
|
85
85
|
provider: row.provider,
|
|
86
86
|
binding,
|
|
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
154
154
|
yield* Scope.close(connection.scope, Exit.void);
|
|
155
155
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
156
156
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
157
|
-
return
|
|
157
|
+
return Service72.of({
|
|
158
158
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
159
|
-
const workspaceID = input.id ??
|
|
159
|
+
const workspaceID = input.id ?? ID14.create();
|
|
160
160
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
161
161
|
if (existing) {
|
|
162
162
|
if (existing.provider === input.provider)
|
|
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
223
|
}));
|
|
224
|
-
var
|
|
224
|
+
var node76 = configured10();
|
|
225
225
|
|
|
226
|
-
export {
|
|
226
|
+
export { ID14, Info29, NotFound3, CreateConflict2, Service72, configured10, node76, exports_workspace };
|
|
@@ -7,18 +7,18 @@ var exports_app = {};
|
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer17,
|
|
12
|
+
make: () => make16,
|
|
13
|
+
node: () => node42,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make16()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make16(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer17 = (input) => Layer.succeed(Metadata2, make16(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer17(input), deps: [] });
|
|
33
|
+
var node42 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make16, useragent2, layer17, configured6, node42, exports_app };
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service11,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service11 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service11.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node14 = makeGlobalNode({ service: Service11, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service11, node14, exports_discovery };
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./filesystem-
|
|
8
|
+
} from "./filesystem-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./filesystem-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./filesystem-
|
|
15
|
+
} from "./filesystem-5c4hm403.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
9
|
+
var exports_mcp = {};
|
|
10
|
+
__export(exports_mcp, {
|
|
11
11
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
12
|
-
WebSearchMcp: () =>
|
|
12
|
+
WebSearchMcp: () => exports_mcp,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export { MAX_RESPONSE_BYTES3, parseResponse2, call2,
|
|
64
|
+
export { MAX_RESPONSE_BYTES3, parseResponse2, call2, exports_mcp };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./filesystem-
|
|
3
|
+
} from "./filesystem-cpcnfgyy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./filesystem-
|
|
7
|
+
} from "./filesystem-b1tz6w3s.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID6.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer12,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service27.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer12, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service27, makeLayer2, layer12, node31, exports_model_transport };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-fgsjaxv0.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./filesystem-
|
|
8
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
11
|
} from "./filesystem-5t3nmthw.js";
|
|
@@ -17,28 +17,28 @@ import {
|
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./filesystem-
|
|
20
|
+
} from "./filesystem-06dxphr1.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./filesystem-
|
|
22
|
+
load3
|
|
23
|
+
} from "./filesystem-9qpqmwv0.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
26
|
} from "./filesystem-kg06axw8.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./filesystem-
|
|
29
|
+
} from "./filesystem-64ddj6v7.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./filesystem-
|
|
34
|
+
} from "./filesystem-gb4851xq.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./filesystem-
|
|
37
|
+
} from "./filesystem-wbcpzrvz.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./filesystem-
|
|
41
|
+
} from "./filesystem-5rjrjdee.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
44
|
} from "./filesystem-h6vf3j39.js";
|
|
@@ -54,12 +54,12 @@ import {
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service9,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer6,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -296,7 +296,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
296
296
|
};
|
|
297
297
|
var hasSummarySection = (summary) => summary.split(`
|
|
298
298
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
299
|
-
var layer6 = Layer.effect(
|
|
299
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
300
300
|
const bus = yield* Service79;
|
|
301
301
|
const llm = yield* LLMClient.Service;
|
|
302
302
|
const db = (yield* Service80).db;
|
|
@@ -372,7 +372,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
372
372
|
webSocket
|
|
373
373
|
});
|
|
374
374
|
};
|
|
375
|
-
const original = (sessionID) =>
|
|
375
|
+
const original = (sessionID) => load3(db, sessionID, "local").pipe(Effect.orDie);
|
|
376
376
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
377
377
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
378
378
|
const context = input.context;
|
|
@@ -605,7 +605,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
605
605
|
}
|
|
606
606
|
}));
|
|
607
607
|
});
|
|
608
|
-
return
|
|
608
|
+
return Service9.of({
|
|
609
609
|
transform: state.transform,
|
|
610
610
|
reload: state.reload,
|
|
611
611
|
enabled: () => state.get().auto,
|
|
@@ -614,10 +614,10 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
614
614
|
compactManual
|
|
615
615
|
});
|
|
616
616
|
}));
|
|
617
|
-
var
|
|
618
|
-
service:
|
|
617
|
+
var node12 = makeLocationNode({
|
|
618
|
+
service: Service9,
|
|
619
619
|
layer: layer6,
|
|
620
620
|
deps: [node84, node85, llmClient2]
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
export {
|
|
623
|
+
export { Service9, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer6, node12, exports_compaction2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./filesystem-
|
|
2
|
+
ID13
|
|
3
|
+
} from "./filesystem-7pqa36gv.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./filesystem-
|
|
5
|
+
Service32
|
|
6
|
+
} from "./filesystem-8m5v51r2.js";
|
|
7
7
|
import {
|
|
8
8
|
foldSettings2
|
|
9
|
-
} from "./filesystem-
|
|
9
|
+
} from "./filesystem-p0hmzt3n.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/vllm.ts
|
|
12
12
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -21,12 +21,12 @@ var RemoteModel = Schema.Struct({
|
|
|
21
21
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
22
22
|
var discovery = new Map;
|
|
23
23
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
24
|
-
function
|
|
24
|
+
function make6(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
25
25
|
return define({
|
|
26
26
|
id: "opencode.provider.vllm",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
28
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
29
|
-
const config = yield*
|
|
29
|
+
const config = yield* Service32;
|
|
30
30
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
31
31
|
const loaded = { models: [], hash: "[]" };
|
|
32
32
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -53,7 +53,7 @@ function make3(origin = "http://127.0.0.1:8000", interval = "30 seconds") {
|
|
|
53
53
|
});
|
|
54
54
|
for (const item of loaded.models) {
|
|
55
55
|
catalog.model.update(providerID, item.id, (model) => {
|
|
56
|
-
model.modelID =
|
|
56
|
+
model.modelID = ID13.make(item.id);
|
|
57
57
|
model.name = item.id;
|
|
58
58
|
model.capabilities = { tools: false, input: ["text"], output: ["text"] };
|
|
59
59
|
if (typeof item.max_model_len === "number" && item.max_model_len > 0)
|
|
@@ -112,7 +112,7 @@ ${current.modelsEndpoint}`;
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
|
-
var VLLMPlugin2 =
|
|
115
|
+
var VLLMPlugin2 = make6();
|
|
116
116
|
function configured(entries, origin) {
|
|
117
117
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
118
118
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -134,4 +134,4 @@ function configured(entries, origin) {
|
|
|
134
134
|
return { baseURL, apiKey, healthEndpoint: health.toString(), modelsEndpoint: models.toString() };
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
export {
|
|
137
|
+
export { make6, VLLMPlugin2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./filesystem-
|
|
2
|
+
Service33
|
|
3
|
+
} from "./filesystem-6zp4xm1r.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./filesystem-
|
|
6
|
+
} from "./filesystem-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
9
|
} from "./filesystem-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./filesystem-
|
|
12
|
+
Service74
|
|
13
|
+
} from "./filesystem-6qxnajbz.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./filesystem-
|
|
15
|
+
Service76
|
|
16
|
+
} from "./filesystem-ethbh4z7.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
19
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -22,24 +22,24 @@ import {
|
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin43
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin43 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service74;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service76;
|
|
42
|
+
const watcher = yield* Service33;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin43, exports_instruction };
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./filesystem-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./filesystem-
|
|
5
|
+
Service76
|
|
6
|
+
} from "./filesystem-ethbh4z7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./filesystem-
|
|
8
|
+
Service32
|
|
9
|
+
} from "./filesystem-8m5v51r2.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./filesystem-
|
|
13
|
+
} from "./filesystem-v7t6t3ee.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
16
|
} from "./filesystem-qsdy395h.js";
|
|
@@ -22,17 +22,17 @@ import {
|
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin32
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin32 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service32;
|
|
35
|
+
const location = yield* Service76;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin32, exports_reference };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./filesystem-
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./filesystem-ethbh4z7.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./filesystem-kg06axw8.js";
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Formatter: () =>
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
13
|
+
var exports_formatter3 = {};
|
|
14
|
+
__export(exports_formatter3, {
|
|
15
|
+
Formatter: () => exports_formatter3,
|
|
16
|
+
Service: () => Service63,
|
|
17
|
+
node: () => node67
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/unstable/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service63 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service76;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service63.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node67 = makeLocationNode({
|
|
91
|
+
service: Service63,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node81, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service63, node67, exports_formatter3 };
|