@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./pty-
|
|
7
|
+
} from "./pty-ypnspery.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./pty-sk3qaz4a.js";
|
|
@@ -16,14 +16,14 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service14,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured2,
|
|
25
|
+
layer: () => layer8,
|
|
26
|
+
node: () => node17
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service14 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service82;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service14.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer8 = makeLayer();
|
|
259
|
+
var configured2 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service14,
|
|
261
|
+
layer: options === undefined ? layer8 : makeLayer(options),
|
|
262
262
|
deps: [node86, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node17 = configured2();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service14, layer8, configured2, node17, exports_persistent_pty, Handoff2 };
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service81,
|
|
9
9
|
node85
|
|
10
|
-
} from "./pty-
|
|
10
|
+
} from "./pty-74rrnwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
Service79,
|
|
13
13
|
node83
|
|
14
|
-
} from "./pty-
|
|
14
|
+
} from "./pty-t159kbzr.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
17
|
} from "./pty-rdw6cm16.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error2,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service36,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node39,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,9 +43,9 @@ class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service36 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service36.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node39 = makeLocationNode({
|
|
144
|
+
service: Service36,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error2, Service36, node39, noopLayer2, exports_snapshot2 };
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./pty-
|
|
8
|
+
Service53,
|
|
9
|
+
node56
|
|
10
|
+
} from "./pty-bnepd0n1.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./pty-
|
|
13
|
+
} from "./pty-jexxy024.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service49,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node52,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service49 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service53;
|
|
77
|
+
return Service49.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node52 = makeLocationNode({ service: Service49, layer, deps: [node56] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service49, resolved2, node52, exports_model };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-za55qz67.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./pty-
|
|
8
|
+
Info8
|
|
9
|
+
} from "./pty-4b8tw1g7.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./pty-
|
|
12
|
+
} from "./pty-5w8sdvf2.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./pty-
|
|
15
|
+
Service41
|
|
16
|
+
} from "./pty-j0d8kce8.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
19
|
} from "./pty-5daktx2q.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
var exports_agent2 = {};
|
|
26
26
|
__export(exports_agent2, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin33
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info8);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin33 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service41;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin33, exports_agent2 };
|
|
@@ -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-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
AbsolutePath2
|
|
6
6
|
} from "./pty-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./pty-
|
|
10
|
+
} from "./pty-khny7pv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
13
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
|
|
|
55
55
|
return {
|
|
56
56
|
_tag: "Parsed",
|
|
57
57
|
skill: {
|
|
58
|
-
id:
|
|
58
|
+
id: ID4.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin12,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin12 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin12, exports_identity };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-rqg791dd.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
8
|
} from "./pty-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./pty-
|
|
11
|
+
} from "./pty-dpkg50ah.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
14
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
var exports_service = {};
|
|
7
7
|
__export(exports_service, {
|
|
8
8
|
Plugin: () => exports_service,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service23,
|
|
10
10
|
awaitActivation: () => awaitActivation2
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
|
|
14
|
-
class
|
|
14
|
+
class Service23 extends Context.Service()("@opencode/Plugin") {
|
|
15
15
|
}
|
|
16
|
-
var awaitActivation2 =
|
|
16
|
+
var awaitActivation2 = Service23.use((plugins) => plugins.awaitActivation);
|
|
17
17
|
|
|
18
|
-
export {
|
|
18
|
+
export { Service23, awaitActivation2, exports_service };
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
fromPromise2
|
|
3
3
|
} from "./pty-zr2ceqn5.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service42
|
|
6
|
+
} from "./pty-xbckpkdq.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
9
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -13,7 +13,7 @@ var exports_module = {};
|
|
|
13
13
|
__export(exports_module, {
|
|
14
14
|
LoadError: () => LoadError2,
|
|
15
15
|
PluginModule: () => exports_module,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make3
|
|
17
17
|
});
|
|
18
18
|
import { Host } from "@opencode/plugin/host";
|
|
19
19
|
import { createPluginSources } from "@opencode/plugin/source";
|
|
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { stat } from "node:fs/promises";
|
|
24
24
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
25
|
-
var
|
|
26
|
-
const watcher = yield*
|
|
25
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
26
|
+
const watcher = yield* Service42;
|
|
27
27
|
const scope = yield* Effect.scope;
|
|
28
28
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
29
29
|
const changes = yield* PubSub.unbounded();
|
|
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
|
|
|
102
102
|
};
|
|
103
103
|
});
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin4
|
|
3
|
+
} from "./pty-gwydwvmj.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin3
|
|
6
|
+
} from "./pty-km08fevc.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin5
|
|
9
|
+
} from "./pty-xxpn3ren.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin6
|
|
12
|
+
} from "./pty-exfq5gv3.js";
|
|
13
|
+
import {
|
|
14
|
+
Plugin2
|
|
15
|
+
} from "./pty-mrhxfjgm.js";
|
|
16
|
+
|
|
17
|
+
// src/plugin/websearch/index.ts
|
|
18
|
+
var WebSearchPlugins2 = [
|
|
19
|
+
Plugin4,
|
|
20
|
+
Plugin3,
|
|
21
|
+
Plugin5,
|
|
22
|
+
Plugin6,
|
|
23
|
+
Plugin2
|
|
24
|
+
];
|
|
25
|
+
|
|
26
|
+
export { WebSearchPlugins2 };
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
17
|
+
var exports_instructions3 = {};
|
|
18
|
+
__export(exports_instructions3, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions3,
|
|
20
|
+
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
@@ -113,7 +113,7 @@ ${render2(current)}`;
|
|
|
113
113
|
}
|
|
114
114
|
var key = Key3.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
|
-
var
|
|
116
|
+
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
118
|
return make21({
|
|
119
119
|
key,
|
|
@@ -127,4 +127,4 @@ var make13 = (inventory) => {
|
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2, update3,
|
|
130
|
+
export { render2, update3, make14, exports_instructions3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./pty-
|
|
3
|
+
} from "./pty-t159kbzr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./pty-
|
|
5
|
+
Service63
|
|
6
|
+
} from "./pty-2acp3zpj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service19,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./pty-
|
|
11
|
+
} from "./pty-h66ycz74.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./pty-
|
|
13
|
+
Service59
|
|
14
|
+
} from "./pty-dqa43dhg.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./pty-
|
|
16
|
+
Service68
|
|
17
|
+
} from "./pty-hht4hdr7.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service67,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./pty-
|
|
21
|
+
} from "./pty-6ep9m4sq.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
24
|
} from "./pty-6prwharc.js";
|
|
@@ -31,8 +31,8 @@ var exports_edit = {};
|
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
33
|
Input: () => Input4,
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
34
|
+
Output: () => Output4,
|
|
35
|
+
Plugin: () => Plugin20,
|
|
36
36
|
name: () => name4
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
@@ -50,7 +50,7 @@ var Input4 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output4 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin20 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service67;
|
|
110
|
+
const fileMutation = yield* Service19;
|
|
111
|
+
const environment = yield* Service63;
|
|
112
|
+
const formatter = yield* Service59;
|
|
113
113
|
const location = yield* Service79;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service68;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
116
|
name: name4,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
119
|
input: Input4,
|
|
120
|
-
output:
|
|
120
|
+
output: Output4,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin37 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export { name4, Input4,
|
|
197
|
+
export { name4, Input4, Output4, Plugin20, exports_edit };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./pty-
|
|
4
|
+
} from "./pty-phrgc7s2.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./pty-
|
|
8
|
+
} from "./pty-t159kbzr.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
11
|
} from "./pty-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./pty-
|
|
13
|
+
Service69,
|
|
14
|
+
node73
|
|
15
|
+
} from "./pty-12b8t429.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
18
|
} from "./pty-9rqn6x4v.js";
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service7,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,12 +32,12 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service7 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
40
|
+
const store = yield* Service69;
|
|
41
41
|
const location = yield* Service79;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service7.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node, node83,
|
|
101
|
+
deps: [node86, FSUtil.node, node83, node73]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service7, node9, exports_instructions };
|