@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
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info22,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info22 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -3,31 +3,31 @@ import {
|
|
|
3
3
|
} from "./pty-h6r3nrb9.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
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
19
|
Service75
|
|
20
|
-
} from "./pty-
|
|
20
|
+
} from "./pty-jnwk8z6k.js";
|
|
21
21
|
import {
|
|
22
22
|
ID12
|
|
23
|
-
} from "./pty-
|
|
23
|
+
} from "./pty-t031qe01.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./pty-
|
|
25
|
+
load3,
|
|
26
|
+
derive3
|
|
27
|
+
} from "./pty-wfex9hf5.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./pty-
|
|
30
|
+
} from "./pty-mgpyxjx6.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -175,7 +175,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
176
|
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
|
-
try: () =>
|
|
178
|
+
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
180
180
|
Authorization: `Bearer ${credential.refresh}`,
|
|
181
181
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -200,7 +200,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
200
200
|
if (loaded.models) {
|
|
201
201
|
evt.add({
|
|
202
202
|
info: item.provider,
|
|
203
|
-
models: Array.from(
|
|
203
|
+
models: Array.from(derive3(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
204
204
|
sourceConnection: loaded.connection
|
|
205
205
|
});
|
|
206
206
|
return;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
var exports_mcp5 = {};
|
|
10
10
|
__export(exports_mcp5, {
|
|
11
11
|
ConfigMCPV1: () => exports_mcp5,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info13,
|
|
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 Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
|
|
68
68
|
|
|
69
|
-
export { Local2, OAuth2, Remote2,
|
|
69
|
+
export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./pty-
|
|
3
|
+
Service41
|
|
4
|
+
} from "./pty-j0d8kce8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./pty-
|
|
6
|
+
Service36
|
|
7
|
+
} from "./pty-p2vgnhh6.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./pty-qsdy395h.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin41
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin41 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service41;
|
|
27
|
+
const snapshot = yield* Service36;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin21 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin41, exports_snapshot };
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -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
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
Service37,
|
|
17
17
|
node40
|
|
18
|
-
} from "./pty-
|
|
18
|
+
} from "./pty-ntcc5ehh.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
21
|
} from "./pty-rdw6cm16.js";
|
|
@@ -26,28 +26,28 @@ import {
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info5,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service34,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node37
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event5 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info5 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service34 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service82;
|
|
53
53
|
const cache = yield* Service37;
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info5.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info5.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service34.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node37 = makeLocationNode({
|
|
116
|
+
service: Service34,
|
|
117
117
|
layer,
|
|
118
118
|
deps: [Global.node, node86, node40]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info5, Service34, node37, exports_reference2, Event5 };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-74rrnwt7.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node83
|
|
12
|
-
} from "./pty-
|
|
12
|
+
} from "./pty-t159kbzr.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./pty-
|
|
15
|
+
} from "./pty-phz3h32g.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./pty-
|
|
17
|
+
Service42,
|
|
18
|
+
node45
|
|
19
|
+
} from "./pty-xbckpkdq.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./pty-
|
|
21
|
+
node15
|
|
22
|
+
} from "./pty-5sevqzg5.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./pty-
|
|
24
|
+
Service11,
|
|
25
|
+
node13
|
|
26
|
+
} from "./pty-2sejkfem.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./pty-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service5,
|
|
36
|
+
node: () => node6
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service5 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service79;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service42;
|
|
48
48
|
const bus = yield* Service82;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service81;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service11;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service5.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node6 = makeLocationNode({
|
|
106
|
+
service: Service5,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node45, FSUtil.node, node83, node85, node86, node15, node13]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service5, node6, exports_location_watcher };
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node75
|
|
3
|
+
} from "./pty-za55qz67.js";
|
|
4
|
+
import {
|
|
5
|
+
node82
|
|
6
|
+
} from "./pty-shrcc9g3.js";
|
|
7
|
+
import {
|
|
8
|
+
node80
|
|
9
|
+
} from "./pty-2gw9te71.js";
|
|
10
|
+
import {
|
|
11
|
+
node83,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./pty-t159kbzr.js";
|
|
14
|
+
import {
|
|
15
|
+
node79
|
|
16
|
+
} from "./pty-jnwk8z6k.js";
|
|
17
|
+
import {
|
|
18
|
+
node57
|
|
19
|
+
} from "./pty-5dkyq3w9.js";
|
|
20
|
+
import {
|
|
21
|
+
node78
|
|
22
|
+
} from "./pty-t031qe01.js";
|
|
23
|
+
import {
|
|
24
|
+
node58
|
|
25
|
+
} from "./pty-7t28gyx8.js";
|
|
26
|
+
import {
|
|
27
|
+
configured4,
|
|
28
|
+
node44
|
|
29
|
+
} from "./pty-j0d8kce8.js";
|
|
30
|
+
import {
|
|
31
|
+
node66
|
|
32
|
+
} from "./pty-2acp3zpj.js";
|
|
33
|
+
import {
|
|
34
|
+
node22
|
|
35
|
+
} from "./pty-h66ycz74.js";
|
|
36
|
+
import {
|
|
37
|
+
node62
|
|
38
|
+
} from "./pty-dqa43dhg.js";
|
|
39
|
+
import {
|
|
40
|
+
node64
|
|
41
|
+
} from "./pty-zvp4p5jk.js";
|
|
42
|
+
import {
|
|
43
|
+
node63
|
|
44
|
+
} from "./pty-abpc31sx.js";
|
|
45
|
+
import {
|
|
46
|
+
node56
|
|
47
|
+
} from "./pty-bnepd0n1.js";
|
|
48
|
+
import {
|
|
49
|
+
node23
|
|
50
|
+
} from "./pty-k5shenda.js";
|
|
51
|
+
import {
|
|
52
|
+
node49
|
|
53
|
+
} from "./pty-63kpjth9.js";
|
|
54
|
+
import {
|
|
55
|
+
node36
|
|
56
|
+
} from "./pty-3g5zqvsj.js";
|
|
57
|
+
import {
|
|
58
|
+
Service50,
|
|
59
|
+
node53
|
|
60
|
+
} from "./pty-hq8zt1th.js";
|
|
61
|
+
import {
|
|
62
|
+
node31
|
|
63
|
+
} from "./pty-f6pbrr8w.js";
|
|
64
|
+
import {
|
|
65
|
+
node76
|
|
66
|
+
} from "./pty-4w5f3qm5.js";
|
|
67
|
+
import {
|
|
68
|
+
node72
|
|
69
|
+
} from "./pty-hht4hdr7.js";
|
|
70
|
+
import {
|
|
71
|
+
node52
|
|
72
|
+
} from "./pty-p3sqe4zf.js";
|
|
73
|
+
import {
|
|
74
|
+
configured11,
|
|
75
|
+
node77
|
|
76
|
+
} from "./pty-kbnfxfat.js";
|
|
77
|
+
import {
|
|
78
|
+
node29
|
|
79
|
+
} from "./pty-ww94c77x.js";
|
|
80
|
+
import {
|
|
81
|
+
node48
|
|
82
|
+
} from "./pty-v2sqwdfa.js";
|
|
83
|
+
import {
|
|
84
|
+
node33
|
|
85
|
+
} from "./pty-s6n8ez8a.js";
|
|
86
|
+
import {
|
|
87
|
+
node37
|
|
88
|
+
} from "./pty-0kk2g04a.js";
|
|
89
|
+
import {
|
|
90
|
+
node30
|
|
91
|
+
} from "./pty-2k6s2zm4.js";
|
|
92
|
+
import {
|
|
93
|
+
node38
|
|
94
|
+
} from "./pty-khny7pv9.js";
|
|
95
|
+
import {
|
|
96
|
+
node32
|
|
97
|
+
} from "./pty-50jcqkpg.js";
|
|
98
|
+
import {
|
|
99
|
+
node27
|
|
100
|
+
} from "./pty-w981yqz9.js";
|
|
101
|
+
import {
|
|
102
|
+
node39
|
|
103
|
+
} from "./pty-p2vgnhh6.js";
|
|
104
|
+
import {
|
|
105
|
+
node70
|
|
106
|
+
} from "./pty-ypnspery.js";
|
|
107
|
+
import {
|
|
108
|
+
node43
|
|
109
|
+
} from "./pty-xzzedvdq.js";
|
|
110
|
+
import {
|
|
111
|
+
node41
|
|
112
|
+
} from "./pty-51rpk3dg.js";
|
|
113
|
+
import {
|
|
114
|
+
node19
|
|
115
|
+
} from "./pty-gaf2f4t8.js";
|
|
116
|
+
import {
|
|
117
|
+
node61
|
|
118
|
+
} from "./pty-856c6xfq.js";
|
|
119
|
+
import {
|
|
120
|
+
node16
|
|
121
|
+
} from "./pty-6j9cmr93.js";
|
|
122
|
+
import {
|
|
123
|
+
node21
|
|
124
|
+
} from "./pty-x7vb65wd.js";
|
|
125
|
+
import {
|
|
126
|
+
node15
|
|
127
|
+
} from "./pty-5sevqzg5.js";
|
|
128
|
+
import {
|
|
129
|
+
node6
|
|
130
|
+
} from "./pty-0kv2ctep.js";
|
|
131
|
+
import {
|
|
132
|
+
Service15,
|
|
133
|
+
node18
|
|
134
|
+
} from "./pty-6e1261xp.js";
|
|
135
|
+
import {
|
|
136
|
+
node71
|
|
137
|
+
} from "./pty-6ep9m4sq.js";
|
|
138
|
+
import {
|
|
139
|
+
node4,
|
|
140
|
+
bound2
|
|
141
|
+
} from "./pty-9hn6k4tm.js";
|
|
142
|
+
import {
|
|
143
|
+
node11
|
|
144
|
+
} from "./pty-m77m9jq1.js";
|
|
145
|
+
import {
|
|
146
|
+
node9
|
|
147
|
+
} from "./pty-qg5tx4hd.js";
|
|
148
|
+
import {
|
|
149
|
+
node10
|
|
150
|
+
} from "./pty-vnrb3chg.js";
|
|
151
|
+
import {
|
|
152
|
+
node2
|
|
153
|
+
} from "./pty-vaa1zs5p.js";
|
|
154
|
+
import {
|
|
155
|
+
node69
|
|
156
|
+
} from "./pty-9zct7zr5.js";
|
|
157
|
+
import {
|
|
158
|
+
node8
|
|
159
|
+
} from "./pty-84s7s0kh.js";
|
|
160
|
+
import {
|
|
161
|
+
node7
|
|
162
|
+
} from "./pty-z440px53.js";
|
|
163
|
+
import {
|
|
164
|
+
__export
|
|
165
|
+
} from "./pty-9rqn6x4v.js";
|
|
166
|
+
|
|
167
|
+
// src/instance.ts
|
|
168
|
+
var exports_instance = {};
|
|
169
|
+
__export(exports_instance, {
|
|
170
|
+
Instance: () => exports_instance,
|
|
171
|
+
Service: () => Service50,
|
|
172
|
+
graph: () => graph2,
|
|
173
|
+
layer: () => layer2,
|
|
174
|
+
node: () => node53
|
|
175
|
+
});
|
|
176
|
+
import { Context, Effect, Layer } from "effect";
|
|
177
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
178
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
179
|
+
var nodes = [
|
|
180
|
+
node83,
|
|
181
|
+
node18,
|
|
182
|
+
node66,
|
|
183
|
+
node44,
|
|
184
|
+
node75,
|
|
185
|
+
node58,
|
|
186
|
+
node37,
|
|
187
|
+
node19,
|
|
188
|
+
node16,
|
|
189
|
+
node80,
|
|
190
|
+
node79,
|
|
191
|
+
node78,
|
|
192
|
+
node56,
|
|
193
|
+
node57,
|
|
194
|
+
node15,
|
|
195
|
+
node76,
|
|
196
|
+
node4,
|
|
197
|
+
node2,
|
|
198
|
+
node21,
|
|
199
|
+
node64,
|
|
200
|
+
node63,
|
|
201
|
+
node70,
|
|
202
|
+
node69,
|
|
203
|
+
node41,
|
|
204
|
+
node38,
|
|
205
|
+
node29,
|
|
206
|
+
node77,
|
|
207
|
+
node71,
|
|
208
|
+
node22,
|
|
209
|
+
node62,
|
|
210
|
+
node36,
|
|
211
|
+
node72,
|
|
212
|
+
node48,
|
|
213
|
+
node43,
|
|
214
|
+
node49,
|
|
215
|
+
node32,
|
|
216
|
+
node30,
|
|
217
|
+
node31,
|
|
218
|
+
node82,
|
|
219
|
+
node23,
|
|
220
|
+
node10,
|
|
221
|
+
node33,
|
|
222
|
+
node9,
|
|
223
|
+
node52,
|
|
224
|
+
node11,
|
|
225
|
+
node8,
|
|
226
|
+
node27,
|
|
227
|
+
node39,
|
|
228
|
+
node7,
|
|
229
|
+
node61,
|
|
230
|
+
node6
|
|
231
|
+
];
|
|
232
|
+
var graph2 = LayerNode.group(nodes);
|
|
233
|
+
var vanillaReplacements = [
|
|
234
|
+
node44.replace(configured4({ project: false, global: false })),
|
|
235
|
+
node77.replace(configured11({ project: false, global: false }))
|
|
236
|
+
];
|
|
237
|
+
function layer2(ref, options = {}) {
|
|
238
|
+
const startedAt = performance.now();
|
|
239
|
+
const replacements = [
|
|
240
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
241
|
+
...options.replacements ?? [],
|
|
242
|
+
node83.replace(boundNode2(ref, { discovery: options.discovery })),
|
|
243
|
+
node4.replace(bound2(options.plugins ?? []))
|
|
244
|
+
];
|
|
245
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service15).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
246
|
+
directory: ref.directory,
|
|
247
|
+
workspaceID: ref.workspaceID,
|
|
248
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
249
|
+
})));
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export { graph2, layer2, exports_instance };
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin18,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin18 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin43 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin18, exports_opencode };
|