@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
|
@@ -2,14 +2,14 @@ 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
|
+
Service42
|
|
9
|
+
} from "./filesystem-wprd8xj9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./filesystem-
|
|
11
|
+
Service6
|
|
12
|
+
} from "./filesystem-p6j6tyky.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
15
|
} from "./filesystem-2a5m3afh.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service5
|
|
27
|
-
} from "./filesystem-
|
|
27
|
+
} from "./filesystem-fm98w790.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input11,
|
|
36
|
+
Plugin: () => Plugin12,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name11,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name11 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input11 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin12 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service5;
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
62
|
+
const access = yield* Service42;
|
|
63
|
+
const sessionInstructions = yield* Service6;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name11,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input11,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin23 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent6 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name11, Input11, Plugin12, toModelContent6, exports_read };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service53,
|
|
3
|
+
node57,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./filesystem-
|
|
5
|
+
} from "./filesystem-5ctrep3m.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./filesystem-
|
|
7
|
+
Service46,
|
|
8
|
+
node50
|
|
9
|
+
} from "./filesystem-7bnzk546.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./filesystem-
|
|
11
|
+
Service41
|
|
12
|
+
} from "./filesystem-pge2bfmc.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./filesystem-
|
|
15
|
+
} from "./filesystem-v8z7968n.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service53, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service41).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node50.replace(Layer.succeed(Service46, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node57.replace(Layer.succeed(Service53, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./filesystem-
|
|
3
|
+
} from "./filesystem-xg954myy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./filesystem-
|
|
5
|
+
Service50
|
|
6
|
+
} from "./filesystem-zshj55xc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./filesystem-
|
|
8
|
+
Service32
|
|
9
|
+
} from "./filesystem-8m5v51r2.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service50;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service32);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./filesystem-
|
|
2
|
+
ID10,
|
|
3
|
+
Service57
|
|
4
|
+
} from "./filesystem-6gwpwpyd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./filesystem-
|
|
6
|
+
Service76
|
|
7
|
+
} from "./filesystem-ethbh4z7.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./filesystem-
|
|
9
|
+
Service32
|
|
10
|
+
} from "./filesystem-8m5v51r2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service66,
|
|
13
13
|
args2
|
|
14
|
-
} from "./filesystem-
|
|
14
|
+
} from "./filesystem-ecfkvkmx.js";
|
|
15
15
|
import {
|
|
16
16
|
Service17
|
|
17
|
-
} from "./filesystem-
|
|
17
|
+
} from "./filesystem-nbvvbhgb.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./filesystem-
|
|
19
|
+
make10
|
|
20
|
+
} from "./filesystem-vcybtvp5.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
23
|
} from "./filesystem-5daktx2q.js";
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
} from "./filesystem-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin44
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin44 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service32;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin19 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service76;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
59
|
+
const shell = yield* Service66;
|
|
60
60
|
const sessions = yield* Service17;
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
61
|
+
const agents = yield* Service57;
|
|
62
|
+
const subagents = yield* make10;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin19 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID10.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin44, exports_command2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./filesystem-
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./filesystem-ethbh4z7.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./filesystem-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./filesystem-
|
|
13
|
+
Service55,
|
|
14
|
+
node59
|
|
15
|
+
} from "./filesystem-8akv9m9x.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service79;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service55;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node84, FSUtil.node,
|
|
101
|
+
deps: [node84, FSUtil.node, node81, node59]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node9, exports_instructions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load2() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-xg954myy.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID15.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info10,
|
|
13
13
|
Local: () => Local2,
|
|
14
14
|
OAuth: () => OAuth2,
|
|
15
15
|
Remote: () => Remote2
|
|
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
|
|
|
64
64
|
description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
|
|
65
65
|
})
|
|
66
66
|
}).annotate({ identifier: "McpRemoteConfig" });
|
|
67
|
-
var
|
|
67
|
+
var Info10 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info10, exports_mcp5 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
8
|
} from "./filesystem-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./filesystem-
|
|
10
|
+
Ref4,
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./filesystem-ethbh4z7.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./filesystem-9rqn6x4v.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service41,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node46
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service41 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service79;
|
|
44
|
-
const location = yield*
|
|
45
|
-
const ref =
|
|
44
|
+
const location = yield* Service76;
|
|
45
|
+
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
48
48
|
error: (type, message, data) => new DeclaredError(type, message, data)
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
82
82
|
const event = registered.event;
|
|
83
83
|
const data = yield* encode(event.schema, args[1]);
|
|
84
84
|
return yield* bus.publish(registered.definition, data, {
|
|
85
|
-
location:
|
|
85
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
86
86
|
}).pipe(Effect.asVoid);
|
|
87
87
|
})
|
|
88
88
|
}
|
|
@@ -118,19 +118,19 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service41.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node46 = makeLocationNode({ service: Service41, layer, deps: [node84, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
132
132
|
metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
|
|
133
|
-
location: optional2(
|
|
133
|
+
location: optional2(Ref4)
|
|
134
134
|
};
|
|
135
135
|
var EventData = Schema.Record(Schema.String, Schema.Unknown);
|
|
136
136
|
var jsonSchemas = new WeakMap;
|
|
@@ -206,8 +206,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
206
206
|
...payload,
|
|
207
207
|
type: eventType(definition, name),
|
|
208
208
|
data,
|
|
209
|
-
location:
|
|
209
|
+
location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service41, node46, exports_rpc, define2 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./filesystem-
|
|
4
|
+
} from "./filesystem-vz4k8wbp.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
7
|
} from "./filesystem-kg06axw8.js";
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
var exports_command5 = {};
|
|
14
14
|
__export(exports_command5, {
|
|
15
15
|
Command: () => exports_command5,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event17,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info27,
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Service: () => Service64,
|
|
21
|
+
layer: () => layer22,
|
|
22
|
+
node: () => node68
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event17 } from "@opencode/schema/command";
|
|
28
|
+
var Info27 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError8 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service64 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer22 = Layer.effect(Service64, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service79;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info27.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service64.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer23 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node68 = makeLocationNode({
|
|
75
|
+
service: Service64,
|
|
76
|
+
layer: layer22,
|
|
77
77
|
deps: [node84]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info27, NotFoundError8, ExecutionError2, Service64, layer22, node68, exports_command5, Event17 };
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
var exports_service = {};
|
|
7
7
|
__export(exports_service, {
|
|
8
8
|
Plugin: () => exports_service,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service25,
|
|
10
10
|
awaitActivation: () => awaitActivation2
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class Service25 extends Context.Service()("@opencode/Plugin") {
|
|
15
15
|
}
|
|
16
|
-
var awaitActivation2 =
|
|
16
|
+
var awaitActivation2 = Service25.use((plugins) => plugins.awaitActivation);
|
|
17
17
|
|
|
18
|
-
export {
|
|
18
|
+
export { Service25, awaitActivation2, exports_service };
|