@opencode/core 0.0.0-dev-19708 → 0.0.0-dev-19709
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 +66 -66
- package/dist/aisdk-native.js +65 -65
- package/dist/aisdk.js +70 -70
- package/dist/app.js +7 -7
- package/dist/bus.js +54 -54
- package/dist/chunks/{pty-qq11w61w.js → pty-00z3vp5f.js} +3 -3
- package/dist/chunks/{pty-6p3xbzsx.js → pty-06dxphr1.js} +3 -3
- package/dist/chunks/{pty-jdbtptns.js → pty-0d61r9h4.js} +11 -11
- package/dist/chunks/{pty-809q4hne.js → pty-0f9afca0.js} +3 -3
- package/dist/chunks/{pty-3w8b8hp3.js → pty-0gq5ttfh.js} +9 -9
- package/dist/chunks/{pty-7dqw4kz8.js → pty-0jwsre1p.js} +4 -4
- package/dist/chunks/{pty-gq6z7eg4.js → pty-0kk2g04a.js} +18 -18
- package/dist/chunks/{pty-5fwvr3fa.js → pty-0kv2ctep.js} +26 -26
- package/dist/chunks/pty-0qs04gjp.js +252 -0
- package/dist/chunks/{pty-2q6kkxxq.js → pty-0rd9v16n.js} +3 -3
- package/dist/chunks/{pty-vkwcxm6e.js → pty-0rgpk1ds.js} +1 -1
- package/dist/chunks/{pty-zz4khrmb.js → pty-10f3mqse.js} +26 -26
- package/dist/chunks/{pty-0jq9fyba.js → pty-11dqjexa.js} +8 -8
- package/dist/chunks/{pty-q9k3nk2m.js → pty-12b8t429.js} +14 -14
- package/dist/chunks/{pty-cq9vh2fv.js → pty-15nepkqg.js} +7 -7
- package/dist/chunks/{pty-d7tjjqf6.js → pty-1ajp4aa7.js} +5 -5
- package/dist/chunks/{pty-t4h1a8sm.js → pty-1as7yqy8.js} +8 -8
- package/dist/chunks/{pty-e41je68c.js → pty-1f62kj91.js} +2 -2
- package/dist/chunks/{pty-00f2f7q8.js → pty-1rgevqwt.js} +22 -22
- package/dist/chunks/{pty-hkjtz3an.js → pty-1vjy2hpw.js} +32 -32
- package/dist/chunks/{pty-bxgqktpk.js → pty-2acp3zpj.js} +16 -16
- package/dist/chunks/{pty-n7b52vzq.js → pty-2c4g75ke.js} +15 -15
- package/dist/chunks/{pty-8msxkbjy.js → pty-2gw9te71.js} +3 -3
- package/dist/chunks/{pty-tk66bvfd.js → pty-2k6s2zm4.js} +14 -14
- package/dist/chunks/{pty-sasa2c77.js → pty-2kbj14yf.js} +31 -31
- package/dist/chunks/{pty-r2m716tb.js → pty-2sejkfem.js} +7 -7
- package/dist/chunks/{pty-sk1rxzc5.js → pty-39dab3jh.js} +11 -11
- package/dist/chunks/{pty-cy7q8w9z.js → pty-3ad3156b.js} +8 -8
- package/dist/chunks/{pty-qz49fwgp.js → pty-3b1q5j1v.js} +5 -5
- package/dist/chunks/{pty-8ev4rrc0.js → pty-3ddaden9.js} +2 -2
- package/dist/chunks/{pty-tvkyymax.js → pty-3fax0mp7.js} +6 -6
- package/dist/chunks/{pty-jvt9z3v3.js → pty-3g5zqvsj.js} +29 -29
- package/dist/chunks/{pty-ykjzx05e.js → pty-3j6kc4fe.js} +17 -17
- package/dist/chunks/{pty-4ztghn5t.js → pty-3z40mttx.js} +15 -15
- package/dist/chunks/{pty-fkjmw100.js → pty-44ke2mar.js} +5 -5
- package/dist/chunks/{pty-dhwr7h25.js → pty-4b8tw1g7.js} +9 -9
- package/dist/chunks/{pty-r3grxea3.js → pty-4kgnd0zh.js} +3 -3
- package/dist/chunks/{pty-w7drg28q.js → pty-4v4zcyn8.js} +9 -9
- package/dist/chunks/{pty-k1gkpfdk.js → pty-4w5f3qm5.js} +7 -7
- package/dist/chunks/{pty-2akesbjx.js → pty-5019jpyd.js} +14 -14
- package/dist/chunks/{pty-be3g221r.js → pty-50jcqkpg.js} +13 -13
- package/dist/chunks/{pty-4b3p33ns.js → pty-51rpk3dg.js} +41 -41
- package/dist/chunks/{pty-v58jy1xd.js → pty-51sk06m6.js} +4 -4
- package/dist/chunks/{pty-hyag3rfz.js → pty-54qvpy9t.js} +8 -8
- package/dist/chunks/{pty-nc9nj3v7.js → pty-56caj4g6.js} +17 -17
- package/dist/chunks/{pty-fsmc1k8s.js → pty-5ac4s34f.js} +75 -75
- package/dist/chunks/{pty-czhz2k7d.js → pty-5dkyq3w9.js} +8 -8
- package/dist/chunks/{pty-ypvakwm4.js → pty-5ge7b1s9.js} +12 -12
- package/dist/chunks/{pty-kbmk2nk1.js → pty-5hazr681.js} +1 -1
- package/dist/chunks/{pty-e3qxr5gk.js → pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{pty-kpccdapq.js → pty-5rbd4j62.js} +8 -8
- package/dist/chunks/{pty-t4gdty5t.js → pty-5sevqzg5.js} +14 -14
- package/dist/chunks/{pty-abyxqag4.js → pty-5w8sdvf2.js} +2 -2
- package/dist/chunks/{pty-3b9qt4hj.js → pty-63kpjth9.js} +7 -7
- package/dist/chunks/{pty-23amh1yx.js → pty-66rzgmh2.js} +4 -4
- package/dist/chunks/{pty-pt8pcyxe.js → pty-6bh8btd9.js} +27 -27
- package/dist/chunks/{pty-eaznszq2.js → pty-6e1261xp.js} +20 -20
- package/dist/chunks/{pty-jqe5ka82.js → pty-6ep9m4sq.js} +13 -13
- package/dist/chunks/{pty-6ejv29z8.js → pty-6j9cmr93.js} +23 -23
- package/dist/chunks/{pty-m2taxsaw.js → pty-6n9a7w7g.js} +8 -8
- package/dist/chunks/{pty-kss3k1ej.js → pty-6sz4ttcn.js} +13 -13
- package/dist/chunks/{pty-qqrhpyxk.js → pty-6y05ew1d.js} +19 -19
- package/dist/chunks/{pty-bm3m92rh.js → pty-74rrnwt7.js} +1 -1
- package/dist/chunks/{pty-vg55cczh.js → pty-75ckhbr3.js} +23 -23
- package/dist/chunks/{pty-dcsznwm0.js → pty-76mn2m8t.js} +6 -6
- package/dist/chunks/{pty-bmsmevym.js → pty-7ha090w8.js} +9 -9
- package/dist/chunks/{pty-7nrhymjj.js → pty-7t28gyx8.js} +20 -20
- package/dist/chunks/{pty-4q5rhk67.js → pty-7ywv553p.js} +14 -14
- package/dist/chunks/{pty-qw4hy4dt.js → pty-84s7s0kh.js} +22 -22
- package/dist/chunks/{pty-rrnpfv6a.js → pty-856c6xfq.js} +13 -13
- package/dist/chunks/{pty-tcezcvh9.js → pty-89znhe33.js} +3 -3
- package/dist/chunks/{pty-2rqgkrfm.js → pty-8fxgy4be.js} +27 -27
- package/dist/chunks/{pty-vk5wtspy.js → pty-8pmgwz46.js} +29 -29
- package/dist/chunks/{pty-nsm4zd3z.js → pty-8rt8k92t.js} +9 -9
- package/dist/chunks/{pty-3ythc6yv.js → pty-8s8mxddj.js} +3 -3
- package/dist/chunks/{pty-08fd96st.js → pty-92aty353.js} +4 -4
- package/dist/chunks/{pty-5yzzbxa7.js → pty-9hn6k4tm.js} +7 -7
- package/dist/chunks/{pty-mwfspft0.js → pty-9mjv2j5h.js} +5 -5
- package/dist/chunks/{pty-beyt1gb5.js → pty-9p1nr3wb.js} +6 -6
- package/dist/chunks/{pty-c9g527t4.js → pty-9zct7zr5.js} +19 -19
- package/dist/chunks/{pty-g2yz86wh.js → pty-a3r4dcrj.js} +1 -1
- package/dist/chunks/{pty-sgq4gssm.js → pty-abpc31sx.js} +25 -25
- package/dist/chunks/{pty-apzx9pwh.js → pty-afve55vv.js} +22 -22
- package/dist/chunks/{pty-hn8hcjvd.js → pty-apyk6ttn.js} +1 -1
- package/dist/chunks/{pty-7xnx6cga.js → pty-avh5jyvb.js} +27 -27
- package/dist/chunks/{pty-htekf6zf.js → pty-b594zzbj.js} +7 -7
- package/dist/chunks/{pty-tptwhs54.js → pty-b5ymaj20.js} +6 -6
- package/dist/chunks/{pty-g9q532r4.js → pty-b6j8bg70.js} +1 -1
- package/dist/chunks/{pty-mm717ve8.js → pty-bczxr085.js} +26 -26
- package/dist/chunks/{pty-gydxxgyg.js → pty-beda3f75.js} +12 -12
- package/dist/chunks/{pty-eq9606cq.js → pty-bnepd0n1.js} +21 -21
- package/dist/chunks/{pty-6pmcb683.js → pty-bxfxz0qc.js} +13 -13
- package/dist/chunks/{pty-j5786zrt.js → pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{pty-v247sec1.js → pty-cmh35hj2.js} +8 -8
- package/dist/chunks/{pty-s1mn6qcj.js → pty-ctrx9nnj.js} +7 -7
- package/dist/chunks/{pty-137n2cjd.js → pty-dd95b6zp.js} +1 -1
- package/dist/chunks/{pty-y71avatq.js → pty-dpkg50ah.js} +3 -3
- package/dist/chunks/{pty-q3a5az1v.js → pty-dprzeqmr.js} +5 -5
- package/dist/chunks/{pty-74e549sx.js → pty-dqa43dhg.js} +12 -12
- package/dist/chunks/{pty-zav06jzw.js → pty-embw8kgh.js} +3 -3
- package/dist/chunks/{pty-59gkzar2.js → pty-etr222cf.js} +9 -9
- package/dist/chunks/{pty-hcs01tq7.js → pty-exfq5gv3.js} +5 -5
- package/dist/chunks/{pty-rf9y12ds.js → pty-f0v6spgv.js} +2 -2
- package/dist/chunks/{pty-cah9s9ss.js → pty-f1nmtkf4.js} +6 -6
- package/dist/chunks/{pty-sd8zp0nj.js → pty-f59eyknk.js} +1 -1
- package/dist/chunks/{pty-rjkasajw.js → pty-f6pbrr8w.js} +10 -10
- package/dist/chunks/{pty-q36t7h4b.js → pty-fanw3jjr.js} +1 -1
- package/dist/chunks/{pty-ry08j4r8.js → pty-fe1vvtkz.js} +9 -9
- package/dist/chunks/{pty-xseb90fg.js → pty-fkr83qb9.js} +8 -8
- package/dist/chunks/{pty-8npqseq9.js → pty-g7td5zdy.js} +6 -6
- package/dist/chunks/{pty-7qq3ahcc.js → pty-g8atgw3j.js} +3 -3
- package/dist/chunks/{pty-fm2qvscf.js → pty-g8d3gcyj.js} +6 -6
- package/dist/chunks/{pty-6tc74vrw.js → pty-gaf2f4t8.js} +9 -9
- package/dist/chunks/{pty-1e7y3jby.js → pty-gdfvffmy.js} +4 -4
- package/dist/chunks/{pty-x0vzmp4x.js → pty-gwydwvmj.js} +6 -6
- package/dist/chunks/{pty-m1brvmts.js → pty-h5prvwy2.js} +5 -5
- package/dist/chunks/{pty-kmrnkd77.js → pty-h64tyvph.js} +1 -1
- package/dist/chunks/{pty-m5mra8ny.js → pty-h66ycz74.js} +12 -12
- package/dist/chunks/{pty-2em355j9.js → pty-hht4hdr7.js} +35 -35
- package/dist/chunks/{pty-gjmk74th.js → pty-hq8zt1th.js} +5 -5
- package/dist/chunks/{pty-p91ndb2v.js → pty-j0d8kce8.js} +35 -35
- package/dist/chunks/{pty-2chp5681.js → pty-j5g2921s.js} +6 -6
- package/dist/chunks/{pty-8zqxjytc.js → pty-j7d1bz3z.js} +1 -1
- package/dist/chunks/{pty-xkhfjrgz.js → pty-jexxy024.js} +2 -2
- package/dist/chunks/{pty-bwbrqz0a.js → pty-jh55ed6j.js} +6 -6
- package/dist/chunks/{pty-1cr9kxrr.js → pty-jnwk8z6k.js} +3 -3
- package/dist/chunks/{pty-9mmr4cym.js → pty-jp67d8xq.js} +9 -9
- package/dist/chunks/{pty-r48hm6t1.js → pty-jpsrdk1d.js} +17 -17
- package/dist/chunks/{pty-t96c7fmv.js → pty-k5shenda.js} +18 -18
- package/dist/chunks/{pty-1c5ncfj1.js → pty-kbnfxfat.js} +18 -18
- package/dist/chunks/{pty-ch7ar4cr.js → pty-khny7pv9.js} +22 -22
- package/dist/chunks/{pty-04kxwwsn.js → pty-km08fevc.js} +7 -7
- package/dist/chunks/{pty-tgayy43x.js → pty-kmac05v5.js} +293 -293
- package/dist/chunks/{pty-t327jyvg.js → pty-m39c7hxd.js} +12 -12
- package/dist/chunks/{pty-vqwef2d8.js → pty-m5j3w5gw.js} +13 -13
- package/dist/chunks/{pty-bnt6z98e.js → pty-m77m9jq1.js} +20 -20
- package/dist/chunks/{pty-gzbkpp9m.js → pty-marnn1hp.js} +6 -6
- package/dist/chunks/{pty-3sqv75dt.js → pty-mgpyxjx6.js} +7 -7
- package/dist/chunks/{pty-1bbkgx8g.js → pty-mhkvc446.js} +2 -2
- package/dist/chunks/{pty-bky20j8j.js → pty-mjyryqn6.js} +8 -8
- package/dist/chunks/{pty-1g4qjxg5.js → pty-mrhxfjgm.js} +7 -7
- package/dist/chunks/{pty-rhafb4aa.js → pty-nq7qbqzc.js} +7 -7
- package/dist/chunks/{pty-vsp1fds9.js → pty-nrdmrqsx.js} +20 -20
- package/dist/chunks/{pty-gzfs38sx.js → pty-ntcc5ehh.js} +6 -6
- package/dist/chunks/{pty-zxacjnzd.js → pty-nvv66n76.js} +10 -10
- package/dist/chunks/{pty-p5hkqs15.js → pty-nwyqkjv9.js} +1 -1
- package/dist/chunks/{pty-02j327mk.js → pty-p2ezm693.js} +20 -20
- package/dist/chunks/{pty-byqk2fv6.js → pty-p2vgnhh6.js} +14 -14
- package/dist/chunks/{pty-nbqevg8t.js → pty-p3sqe4zf.js} +12 -12
- package/dist/chunks/{pty-p4nwj3gt.js → pty-p3wwg9fw.js} +11 -11
- package/dist/chunks/{pty-6avas0hs.js → pty-p5m64j98.js} +2 -2
- package/dist/chunks/{pty-rccz2tys.js → pty-pdg35gy8.js} +3 -3
- package/dist/chunks/{pty-d858xzj7.js → pty-ph842b28.js} +3 -3
- package/dist/chunks/{pty-qph7hyw7.js → pty-phrgc7s2.js} +2 -2
- package/dist/chunks/{pty-pf31ssb9.js → pty-phz3h32g.js} +4 -4
- package/dist/chunks/{pty-d58ea4wx.js → pty-pkgfky7d.js} +6 -6
- package/dist/chunks/pty-pysn9s93.js +26 -0
- package/dist/chunks/{pty-qtwarjwz.js → pty-q5rhn9x0.js} +6 -6
- package/dist/chunks/{pty-xftagwhq.js → pty-qc1pk71j.js} +22 -22
- package/dist/chunks/{pty-zwp73gaw.js → pty-qg5tx4hd.js} +14 -14
- package/dist/chunks/{pty-4hqncmrj.js → pty-qnk3khrz.js} +10 -10
- package/dist/chunks/{pty-8kgt14gf.js → pty-qsr74hn5.js} +22 -22
- package/dist/chunks/{pty-ynxbryrd.js → pty-qvrdgs7t.js} +14 -14
- package/dist/chunks/{pty-pyg9x9vb.js → pty-qyc8vy2s.js} +13 -13
- package/dist/chunks/{pty-7nzv51qx.js → pty-rh9ghw4z.js} +8 -8
- package/dist/chunks/{pty-waqpjwb8.js → pty-rqg791dd.js} +2 -2
- package/dist/chunks/{pty-0nw536sy.js → pty-rtvxz8am.js} +1 -1
- package/dist/chunks/{pty-cbaym82d.js → pty-s6n8ez8a.js} +24 -24
- package/dist/chunks/{pty-899tt7an.js → pty-shrcc9g3.js} +1 -1
- package/dist/chunks/{pty-wzdyyep8.js → pty-svvemcs6.js} +4 -4
- package/dist/chunks/{pty-rbs0ef4y.js → pty-t031qe01.js} +10 -10
- package/dist/chunks/{pty-z3pw5915.js → pty-t0fxg8b9.js} +3 -3
- package/dist/chunks/{pty-rsd57mk1.js → pty-t159kbzr.js} +1 -1
- package/dist/chunks/{pty-zw6ax8ke.js → pty-t8c9cnyg.js} +29 -29
- package/dist/chunks/{pty-sbbcq4qt.js → pty-th6p44mh.js} +10 -10
- package/dist/chunks/{pty-rkb5a4nr.js → pty-tja9b7zx.js} +31 -31
- package/dist/chunks/{pty-jnzdfagj.js → pty-tn5bgys5.js} +2 -2
- package/dist/chunks/{pty-9yyvrqyy.js → pty-v2sqwdfa.js} +19 -19
- package/dist/chunks/{pty-4hcrsjja.js → pty-v772zmrr.js} +43 -43
- package/dist/chunks/{pty-d6mg60jz.js → pty-vaa1zs5p.js} +29 -29
- package/dist/chunks/{pty-4kyk22vj.js → pty-vj5dzvyh.js} +39 -39
- package/dist/chunks/{pty-vydbjx2x.js → pty-vnrb3chg.js} +13 -13
- package/dist/chunks/{pty-pph8wkt5.js → pty-vx7vnxew.js} +115 -115
- package/dist/chunks/{pty-645gcfag.js → pty-w981yqz9.js} +81 -81
- package/dist/chunks/{pty-5tvckp52.js → pty-wcr3727a.js} +18 -18
- package/dist/chunks/{pty-xdw3myhw.js → pty-wfex9hf5.js} +13 -13
- package/dist/chunks/{pty-aqvz20a2.js → pty-wndtrgrh.js} +5 -5
- package/dist/chunks/{pty-nv4k505m.js → pty-wph04nnx.js} +38 -38
- package/dist/chunks/{pty-az62kead.js → pty-wv40thab.js} +8 -8
- package/dist/chunks/{pty-yqngptm3.js → pty-ww94c77x.js} +8 -8
- package/dist/chunks/{pty-6wkd5avw.js → pty-x1gfpc1p.js} +2 -2
- package/dist/chunks/{pty-wvh43mtc.js → pty-x7vb65wd.js} +13 -13
- package/dist/chunks/{pty-mg0hvqns.js → pty-xbckpkdq.js} +22 -22
- package/dist/chunks/{pty-7t8e8ps1.js → pty-xe6cmgbq.js} +9 -9
- package/dist/chunks/{pty-drwq78ky.js → pty-xfkkasph.js} +3 -3
- package/dist/chunks/{pty-s6qp1k48.js → pty-xfkknnqv.js} +1 -1
- package/dist/chunks/{pty-h3c20vca.js → pty-xp7gxvaq.js} +4 -4
- package/dist/chunks/{pty-1qkgdbp4.js → pty-xp8zvqfe.js} +30 -30
- package/dist/chunks/{pty-vhwvdgna.js → pty-xxpn3ren.js} +7 -7
- package/dist/chunks/{pty-z62c9ayt.js → pty-xzzedvdq.js} +8 -8
- package/dist/chunks/{pty-834a0b17.js → pty-ybhbtxjg.js} +5 -5
- package/dist/chunks/{pty-p1nm93x7.js → pty-yjptyezs.js} +3 -3
- package/dist/chunks/{pty-b6yzcphf.js → pty-yjq1h8wq.js} +6 -6
- package/dist/chunks/{pty-h9nzbdt3.js → pty-ykyjdacj.js} +4 -4
- package/dist/chunks/{pty-pxnzv34t.js → pty-ypnspery.js} +16 -16
- package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
- package/dist/chunks/{pty-72qck3dr.js → pty-z440px53.js} +63 -63
- package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
- package/dist/chunks/{pty-f1cvcqqp.js → pty-za55qz67.js} +16 -16
- package/dist/chunks/{pty-4p0kgrzt.js → pty-zerzqssk.js} +1 -1
- package/dist/chunks/{pty-a7nqw1aa.js → pty-zh0ytwzz.js} +9 -9
- package/dist/chunks/{pty-tb60vd7q.js → pty-zhp5m1zz.js} +3 -3
- package/dist/chunks/{pty-0fdmw6y0.js → pty-zncxtbv1.js} +12 -12
- package/dist/chunks/{pty-tqg72d4k.js → pty-zth7qvys.js} +7 -7
- package/dist/chunks/{pty-kafkdnde.js → pty-zvcgv5cx.js} +24 -24
- package/dist/chunks/{pty-mx4hjh21.js → pty-zvp4p5jk.js} +25 -25
- package/dist/chunks/{pty-4a0vtr9b.js → pty-zwejzy2c.js} +7 -7
- package/dist/chunks/{pty-r6zmwxjt.js → pty-zwks5p0r.js} +42 -42
- package/dist/chunks/{pty-44jfm9c6.js → pty-zyyjv7w6.js} +6 -6
- package/dist/codemode/instructions.js +5 -5
- package/dist/command.js +68 -68
- package/dist/config/discovery.js +63 -63
- package/dist/config/normalize.js +80 -80
- package/dist/config/plugin/agent.js +94 -94
- package/dist/config/plugin/command.js +170 -170
- package/dist/config/plugin/compaction.js +126 -126
- package/dist/config/plugin/compatibility.js +111 -111
- package/dist/config/plugin/formatter.js +95 -95
- package/dist/config/plugin/image.js +94 -94
- package/dist/config/plugin/instruction.js +68 -68
- package/dist/config/plugin/location-watcher.js +96 -96
- package/dist/config/plugin/mcp.js +101 -101
- package/dist/config/plugin/policy.js +94 -94
- package/dist/config/plugin/provider.js +92 -92
- package/dist/config/plugin/reference.js +95 -95
- package/dist/config/plugin/shell.js +96 -96
- package/dist/config/plugin/skill-file.js +75 -75
- package/dist/config/plugin/skill.js +114 -114
- package/dist/config/plugin/snapshot.js +94 -94
- package/dist/config/plugin/source.js +97 -97
- package/dist/config/plugin/tool-output.js +96 -96
- package/dist/config/plugin/websearch.js +95 -95
- package/dist/config/plugin/worktree.js +95 -95
- package/dist/config/variable.js +2 -2
- package/dist/config.js +100 -100
- package/dist/credential.js +55 -55
- package/dist/database/database.js +52 -52
- 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 +37 -37
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +230 -230
- 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 +78 -78
- package/dist/file-mutation.js +69 -69
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +186 -186
- package/dist/filesystem/protected.js +3 -3
- 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 +80 -80
- package/dist/form.js +55 -55
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +68 -68
- package/dist/generate.js +77 -77
- package/dist/git.js +2 -2
- 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 +75 -75
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- 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 +302 -302
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +65 -65
- package/dist/integration.js +58 -58
- package/dist/job.js +60 -60
- package/dist/kv.js +57 -57
- package/dist/location-activity.js +49 -49
- package/dist/location-lifecycle.js +80 -80
- package/dist/location-mutation.js +28 -28
- package/dist/location-service-map.js +65 -65
- package/dist/location-services.js +299 -299
- package/dist/location.js +60 -60
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +81 -81
- package/dist/mcp/instructions.js +93 -93
- package/dist/mcp/oauth.js +11 -11
- package/dist/mcp/stdio.js +65 -65
- package/dist/modal/models.js +75 -75
- package/dist/model-resolver.js +74 -74
- package/dist/model.js +70 -70
- package/dist/models-dev.js +82 -82
- package/dist/permission/saved.js +62 -62
- package/dist/permission.js +83 -83
- package/dist/persistent-pty/index.js +69 -69
- package/dist/persistent-pty.js +57 -57
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +177 -177
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +275 -275
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +71 -71
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +76 -76
- package/dist/plugin/provider/amazon-bedrock.js +66 -66
- package/dist/plugin/provider/azure.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +92 -92
- package/dist/plugin/provider/cloudflare-workers-ai.js +92 -92
- package/dist/plugin/provider/configured.js +91 -91
- package/dist/plugin/provider/digitalocean.js +68 -68
- package/dist/plugin/provider/github-copilot.js +69 -69
- package/dist/plugin/provider/gitlab.js +67 -67
- package/dist/plugin/provider/google-vertex.js +66 -66
- package/dist/plugin/provider/llmgateway.js +59 -59
- package/dist/plugin/provider/lmstudio.js +94 -94
- package/dist/plugin/provider/modal.js +68 -68
- package/dist/plugin/provider/ollama.js +94 -94
- package/dist/plugin/provider/openai.js +69 -69
- package/dist/plugin/provider/opencode.js +68 -68
- package/dist/plugin/provider/openrouter.js +67 -67
- package/dist/plugin/provider/poe.js +59 -59
- package/dist/plugin/provider/prompt-cache-key.js +66 -66
- package/dist/plugin/provider/sap-ai-core.js +66 -66
- package/dist/plugin/provider/snowflake-cortex.js +93 -93
- package/dist/plugin/provider/vercel.js +66 -66
- package/dist/plugin/provider/vllm.js +94 -94
- package/dist/plugin/provider/xai.js +67 -67
- package/dist/plugin/provider.js +125 -125
- package/dist/plugin/sdk.js +55 -55
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +110 -110
- package/dist/plugin/supervisor.js +289 -289
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +65 -65
- package/dist/plugin/vcs/hg.js +65 -65
- package/dist/plugin/warming.js +93 -93
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +7 -7
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +184 -184
- package/dist/project.js +59 -59
- package/dist/provider.js +65 -65
- package/dist/pty.js +71 -71
- package/dist/reference/instructions.js +69 -69
- package/dist/reference.js +71 -71
- package/dist/repository-cache.js +58 -58
- package/dist/ripgrep.js +69 -69
- package/dist/rpc.js +65 -65
- package/dist/session/command.js +59 -59
- package/dist/session/compaction.js +100 -100
- package/dist/session/context.js +115 -115
- package/dist/session/diff.js +65 -65
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +4 -4
- package/dist/session/execution/restart.js +114 -114
- package/dist/session/execution.js +95 -95
- package/dist/session/generate.js +116 -116
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +65 -65
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +60 -60
- package/dist/session/instructions.js +71 -71
- package/dist/session/model-request.js +90 -90
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +78 -78
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +66 -66
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +186 -186
- package/dist/session/runner/model.js +74 -74
- package/dist/session/runner/retry.js +85 -85
- package/dist/session/runner/step.js +91 -91
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +135 -135
- package/dist/session/shell.js +107 -107
- package/dist/session/skill.js +77 -77
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +65 -65
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +118 -118
- package/dist/session/to-session-error.js +82 -82
- package/dist/session/transfer.js +106 -106
- package/dist/session.js +174 -174
- package/dist/shell/parse.js +4 -4
- package/dist/shell/select.js +12 -12
- package/dist/shell.js +110 -110
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +79 -79
- package/dist/skill.js +86 -86
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +90 -90
- package/dist/tool/plugin/edit.js +85 -85
- package/dist/tool/plugin/glob.js +93 -93
- package/dist/tool/plugin/grep.js +89 -89
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +91 -91
- package/dist/tool/plugin/question.js +77 -77
- package/dist/tool/plugin/read.js +93 -93
- package/dist/tool/plugin/shell.js +176 -176
- package/dist/tool/plugin/skill.js +87 -87
- package/dist/tool/plugin/subagent.js +177 -177
- package/dist/tool/plugin/webfetch.js +83 -83
- package/dist/tool/plugin/websearch.js +88 -88
- 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 +9 -9
- package/dist/v1/config/agent.js +6 -6
- package/dist/v1/config/attachment.js +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +3 -3
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +67 -67
- 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/variant.js +67 -67
- package/dist/vcs.js +68 -68
- package/dist/websearch.js +67 -67
- package/dist/wellknown/plugin.js +57 -57
- package/dist/wellknown.js +64 -64
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +63 -63
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/strategies.js +67 -67
- package/dist/worktree.js +73 -73
- package/package.json +8 -8
- package/dist/chunks/pty-vs2zs2w9.js +0 -26
- package/dist/chunks/pty-ztp3jpvp.js +0 -252
- /package/dist/chunks/{pty-wr7ps67x.js → pty-207ajt2h.js} +0 -0
- /package/dist/chunks/{pty-qf8xbt1v.js → pty-935t04zr.js} +0 -0
- /package/dist/chunks/{pty-ssr8tzqd.js → pty-ar88qa8v.js} +0 -0
- /package/dist/chunks/{pty-v68hp2va.js → pty-b4h1fdev.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service41
|
|
3
|
+
} from "./pty-j0d8kce8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service9
|
|
6
|
+
} from "./pty-m77m9jq1.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./pty-qsdy395h.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin34
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service41;
|
|
26
|
+
const compaction = yield* Service9;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin17 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin34, exports_compaction };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
6
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -10,12 +10,12 @@ var exports_tavily = {};
|
|
|
10
10
|
__export(exports_tavily, {
|
|
11
11
|
Plugin: () => Plugin6,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -51,7 +51,7 @@ var Plugin6 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint6).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin6 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint6, Plugin6, exports_tavily };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-jnwk8z6k.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
6
|
} from "./pty-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./pty-
|
|
9
|
+
} from "./pty-92aty353.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./pty-
|
|
2
|
+
Service51
|
|
3
|
+
} from "./pty-5ge7b1s9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service21
|
|
6
|
+
} from "./pty-5ac4s34f.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
@@ -20,8 +20,8 @@ __export(exports_subagent_job, {
|
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
22
|
var make10 = Effect.gen(function* () {
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
23
|
+
const sessions = yield* Service21;
|
|
24
|
+
const jobs = yield* Service51;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-rqg791dd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
@@ -18,15 +18,15 @@ import {
|
|
|
18
18
|
// src/session/instruction-entry.ts
|
|
19
19
|
var exports_instruction_entry = {};
|
|
20
20
|
__export(exports_instruction_entry, {
|
|
21
|
-
Info: () =>
|
|
21
|
+
Info: () => Info4,
|
|
22
22
|
InstructionEntry: () => exports_instruction_entry,
|
|
23
23
|
Key: () => Key2,
|
|
24
24
|
MaxValueBytes: () => MaxValueBytes2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service28,
|
|
26
26
|
Snapshot: () => Snapshot2,
|
|
27
27
|
ValueTooLargeError: () => ValueTooLargeError2,
|
|
28
28
|
initialize: () => initialize2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node31,
|
|
30
30
|
snapshot: () => snapshot2
|
|
31
31
|
});
|
|
32
32
|
import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
|
|
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
|
|
|
34
34
|
import { InstructionEntry } from "@opencode/schema/instruction-entry";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
var Key2 = InstructionEntry.Key;
|
|
37
|
-
var
|
|
37
|
+
var Info4 = InstructionEntry.Info;
|
|
38
38
|
var Snapshot2 = InstructionEntry.Snapshot;
|
|
39
39
|
var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
|
|
40
40
|
var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
|
|
@@ -56,7 +56,7 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
|
|
|
56
56
|
}))).run().pipe(Effect.orDie), { discard: true });
|
|
57
57
|
});
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service28 extends Context.Service()("@opencode/InstructionEntry") {
|
|
60
60
|
}
|
|
61
61
|
var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
|
|
62
62
|
var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
|
|
@@ -75,7 +75,7 @@ var source = (entry) => make21({
|
|
|
75
75
|
removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
79
79
|
const { db } = yield* Service83;
|
|
80
80
|
const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
|
|
81
81
|
return yield* db.select({
|
|
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
108
108
|
const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
|
|
109
109
|
return combine2((yield* rows(sessionID, true)).map(source));
|
|
110
110
|
});
|
|
111
|
-
return
|
|
111
|
+
return Service28.of({ list, put, remove, load });
|
|
112
112
|
}));
|
|
113
|
-
var
|
|
113
|
+
var node31 = makeLocationNode({ service: Service28, layer, deps: [node87] });
|
|
114
114
|
|
|
115
|
-
export { Key2,
|
|
115
|
+
export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service28, node31, exports_instruction_entry };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-phrgc7s2.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
6
|
Event19
|
|
7
|
-
} from "./pty-
|
|
7
|
+
} from "./pty-x1gfpc1p.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./pty-
|
|
11
|
+
} from "./pty-2gw9te71.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./pty-
|
|
16
|
+
} from "./pty-jnwk8z6k.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID3,
|
|
19
|
+
Input13,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./pty-6j9cmr93.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID3
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -241,7 +241,7 @@ var OpencodePlugin2 = define({
|
|
|
241
241
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
242
242
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
243
243
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
244
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
244
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
245
245
|
query: input.query,
|
|
246
246
|
providerID: descriptor.providerID
|
|
247
247
|
}));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-t031qe01.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
6
|
+
Service41
|
|
7
|
+
} from "./pty-j0d8kce8.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./pty-
|
|
10
|
+
} from "./pty-92aty353.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make4(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service41;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make4();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make4, OllamaPlugin2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-mgpyxjx6.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./pty-
|
|
6
|
+
} from "./pty-phrgc7s2.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event19
|
|
10
|
-
} from "./pty-
|
|
10
|
+
} from "./pty-x1gfpc1p.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./pty-
|
|
14
|
+
} from "./pty-2gw9te71.js";
|
|
15
15
|
import {
|
|
16
16
|
ID13
|
|
17
|
-
} from "./pty-
|
|
17
|
+
} from "./pty-jnwk8z6k.js";
|
|
18
18
|
import {
|
|
19
19
|
ID12,
|
|
20
20
|
Family2
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./pty-t031qe01.js";
|
|
22
22
|
import {
|
|
23
23
|
bootstrap2
|
|
24
24
|
} from "./pty-pjvnvgmy.js";
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make20,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node68,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node68 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make20, RegistryService2, registry2, registryNode2, node68, exports_driver };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info15
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info15 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info17 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info15, exports_command4 };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
Ref4,
|
|
11
11
|
Service79,
|
|
12
12
|
node83
|
|
13
|
-
} from "./pty-
|
|
13
|
+
} from "./pty-t159kbzr.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./pty-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: () => Service16,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node19
|
|
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 Service16 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service82;
|
|
44
44
|
const location = yield* Service79;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service16.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node19 = makeLocationNode({ service: Service16, layer, deps: [node86, node83] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service16, node19, exports_rpc, define2 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./pty-
|
|
5
|
+
} from "./pty-zerzqssk.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./pty-
|
|
11
|
+
} from "./pty-1ajp4aa7.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin4,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin4 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin9 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin4, exports_exa };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
ID10,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./pty-
|
|
5
|
+
} from "./pty-za55qz67.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-hht4hdr7.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
var exports_agent = {};
|
|
15
15
|
__export(exports_agent, {
|
|
16
16
|
AgentPlugin: () => exports_agent,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin9
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin9 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -148,4 +148,4 @@ var Plugin12 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin9, exports_agent };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
5
|
+
Service63,
|
|
6
|
+
node66
|
|
7
|
+
} from "./pty-2acp3zpj.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
10
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node22,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service19 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service63;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service19.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node66] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service19, readText2, syncTextBom2, node22, exports_file_mutation };
|