@opencode/core 0.0.0-dev-20055 → 0.0.0-dev-20059
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/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{persistent-pty-y6agey15.js → aisdk-04t848g5.js} +4 -4
- package/dist/chunks/{persistent-pty-xzzwhxmb.js → aisdk-0bbxgxn7.js} +23 -23
- package/dist/chunks/{persistent-pty-27gsfrrn.js → aisdk-0c4bec69.js} +1 -1
- package/dist/chunks/{persistent-pty-rxhvjhx4.js → aisdk-0g56z2th.js} +8 -8
- package/dist/chunks/{persistent-pty-0paq2nw3.js → aisdk-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-b6ev060k.js → aisdk-0ph0c1gb.js} +86 -86
- package/dist/chunks/{persistent-pty-1dazxqgg.js → aisdk-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-3fmtxraa.js → aisdk-1ed2t66p.js} +4 -4
- package/dist/chunks/{persistent-pty-sxcbscrm.js → aisdk-1f6ypbxw.js} +7 -7
- package/dist/chunks/{persistent-pty-w7q5193v.js → aisdk-1g4tm2g7.js} +31 -31
- package/dist/chunks/{persistent-pty-jrarfqr6.js → aisdk-1gt61qd4.js} +20 -20
- package/dist/chunks/{persistent-pty-6ysrkrkr.js → aisdk-1p7f10vm.js} +8 -8
- package/dist/chunks/{persistent-pty-m57zmrhq.js → aisdk-1rcsqgm2.js} +24 -24
- package/dist/chunks/aisdk-1x9sndgh.js +252 -0
- package/dist/chunks/{persistent-pty-21r38tys.js → aisdk-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2402vzrj.js → aisdk-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → aisdk-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-30846h32.js → aisdk-2eegacq4.js} +8 -8
- package/dist/chunks/{persistent-pty-zp05054v.js → aisdk-2jdahqny.js} +31 -31
- package/dist/chunks/{persistent-pty-2k8khapm.js → aisdk-2k8khapm.js} +1 -1
- package/dist/chunks/{persistent-pty-amw4dhzn.js → aisdk-2pgt13mx.js} +48 -48
- package/dist/chunks/{persistent-pty-z06g7yey.js → aisdk-2sw6mnsj.js} +17 -17
- package/dist/chunks/{persistent-pty-cavp3yv7.js → aisdk-2wrqanh2.js} +171 -171
- package/dist/chunks/{persistent-pty-mrgbk9d9.js → aisdk-2y3veaqx.js} +3 -3
- package/dist/chunks/{persistent-pty-d3mx090j.js → aisdk-3ey9511z.js} +11 -11
- package/dist/chunks/{persistent-pty-3fc6dm20.js → aisdk-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → aisdk-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-h2r7bbkd.js → aisdk-3pbjq009.js} +8 -8
- package/dist/chunks/{persistent-pty-mhj6erx5.js → aisdk-3sgxe5ah.js} +8 -8
- package/dist/chunks/{persistent-pty-3smtnn6g.js → aisdk-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → aisdk-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-t0fxg8b9.js → aisdk-3w0fmcng.js} +5 -5
- package/dist/chunks/{persistent-pty-g1e31y9g.js → aisdk-3w1jy6kx.js} +13 -13
- package/dist/chunks/{persistent-pty-3zsf4n22.js → aisdk-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-6wgjtmj1.js → aisdk-40yg4m62.js} +17 -17
- package/dist/chunks/{persistent-pty-x02qtknb.js → aisdk-431gej2g.js} +15 -15
- package/dist/chunks/{persistent-pty-xw8g27w3.js → aisdk-44dmrwxe.js} +26 -26
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → aisdk-44h5tttr.js} +4 -4
- package/dist/chunks/{persistent-pty-cy7y84yk.js → aisdk-45g512em.js} +27 -27
- package/dist/chunks/{persistent-pty-y7d7kw9x.js → aisdk-47sqm5m0.js} +18 -18
- package/dist/chunks/{persistent-pty-2j4h19rn.js → aisdk-48sc52zr.js} +4 -4
- package/dist/chunks/{persistent-pty-nkgvehk0.js → aisdk-4a019qnj.js} +15 -15
- package/dist/chunks/{persistent-pty-eyn1g3ne.js → aisdk-4c8h7ne4.js} +11 -11
- package/dist/chunks/{persistent-pty-mae9nf4n.js → aisdk-4d42q6wq.js} +16 -16
- package/dist/chunks/{persistent-pty-zdsm4etx.js → aisdk-4h16qdav.js} +23 -23
- package/dist/chunks/{persistent-pty-ny93wepk.js → aisdk-4npj9gp0.js} +10 -10
- package/dist/chunks/{persistent-pty-b95khez4.js → aisdk-54fs3f1t.js} +27 -27
- package/dist/chunks/{persistent-pty-ckecvw8r.js → aisdk-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-33w4ejhs.js → aisdk-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-57ez7d0k.js → aisdk-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-5daktx2q.js → aisdk-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-6eh7yy0z.js → aisdk-5ehheb5p.js} +4 -4
- package/dist/chunks/{persistent-pty-5ekn9679.js → aisdk-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-ka5wj0td.js → aisdk-5jcr58hb.js} +9 -9
- package/dist/chunks/{persistent-pty-r31redw9.js → aisdk-5s70t9v4.js} +27 -27
- package/dist/chunks/{persistent-pty-5t3nmthw.js → aisdk-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-zp1j8h0b.js → aisdk-5tq5kwpg.js} +10 -10
- package/dist/chunks/{persistent-pty-3qt928je.js → aisdk-5wjhr707.js} +11 -11
- package/dist/chunks/{persistent-pty-v9pex1z2.js → aisdk-65a5v4fq.js} +12 -12
- package/dist/chunks/{persistent-pty-669tq793.js → aisdk-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-3fydtesb.js → aisdk-6ayghty1.js} +11 -11
- package/dist/chunks/aisdk-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-6msgmcgs.js → aisdk-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-hk4fq7r2.js → aisdk-6nzyvpdc.js} +31 -31
- package/dist/chunks/{persistent-pty-3n93prt5.js → aisdk-6ty83mf0.js} +3 -3
- package/dist/chunks/{persistent-pty-7md6e53z.js → aisdk-70rma8he.js} +3 -3
- package/dist/chunks/{persistent-pty-k3b8e1df.js → aisdk-78btfmzf.js} +30 -30
- package/dist/chunks/{persistent-pty-w577a3z6.js → aisdk-7a9c30sy.js} +29 -29
- package/dist/chunks/{persistent-pty-k4r214gj.js → aisdk-7bd5qrpn.js} +11 -11
- package/dist/chunks/{persistent-pty-7bmhse3q.js → aisdk-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-90r3bpwe.js → aisdk-7etnf7vc.js} +37 -37
- package/dist/chunks/{persistent-pty-x9p3nmqr.js → aisdk-7gb984kd.js} +46 -46
- package/dist/chunks/aisdk-7wnasa3t.js +503 -0
- package/dist/chunks/{persistent-pty-n7q0d5fq.js → aisdk-7zkc1s90.js} +6 -6
- package/dist/chunks/{persistent-pty-v4zvv4f8.js → aisdk-85e776qr.js} +11 -11
- package/dist/chunks/{persistent-pty-y001mj7v.js → aisdk-8bh3p0v7.js} +10 -10
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → aisdk-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-2kvqe6kt.js → aisdk-8mb2f6fn.js} +30 -30
- package/dist/chunks/{persistent-pty-pp173efe.js → aisdk-8rxxwv2n.js} +11 -11
- package/dist/chunks/{persistent-pty-7jjmmf08.js → aisdk-9212ptjn.js} +27 -27
- package/dist/chunks/{persistent-pty-hdab2k61.js → aisdk-9ae44cfy.js} +6 -6
- package/dist/chunks/{persistent-pty-dta3aaj1.js → aisdk-9hdabq9a.js} +13 -13
- package/dist/chunks/{persistent-pty-pfa9vqac.js → aisdk-9ke27tmj.js} +3 -3
- package/dist/chunks/{persistent-pty-rjvvd7vb.js → aisdk-9v708w4b.js} +19 -19
- package/dist/chunks/{persistent-pty-vq1h36b7.js → aisdk-9w4wfgy5.js} +32 -32
- package/dist/chunks/{persistent-pty-2k3c4q13.js → aisdk-a73101r3.js} +3 -3
- package/dist/chunks/{persistent-pty-aaet6srn.js → aisdk-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-fwdthrhg.js → aisdk-acs0wan2.js} +4 -4
- package/dist/chunks/{persistent-pty-gmjq4p6e.js → aisdk-afed7ext.js} +5 -5
- package/dist/chunks/{persistent-pty-0dhjr9tc.js → aisdk-akkyx3q5.js} +4 -4
- package/dist/chunks/{persistent-pty-b6gygkdw.js → aisdk-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-g9keeyzv.js → aisdk-b9rv9a2w.js} +14 -14
- package/dist/chunks/{persistent-pty-sma20vvg.js → aisdk-bd9yrsny.js} +11 -11
- package/dist/chunks/{persistent-pty-xm5cggtr.js → aisdk-be7gk8w7.js} +22 -22
- package/dist/chunks/{persistent-pty-z07pqspn.js → aisdk-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-hv93qhcc.js → aisdk-bmccx3ef.js} +2 -2
- package/dist/chunks/{persistent-pty-pr593267.js → aisdk-bq3s7xjv.js} +35 -35
- package/dist/chunks/{persistent-pty-pa8pe2x7.js → aisdk-br0tr5aq.js} +8 -8
- package/dist/chunks/{persistent-pty-y64nvfbp.js → aisdk-bz197ygy.js} +29 -29
- package/dist/chunks/{persistent-pty-w3nq1sqw.js → aisdk-c2c991ad.js} +9 -9
- package/dist/chunks/{persistent-pty-9hxa6fgt.js → aisdk-c2ex003p.js} +20 -20
- package/dist/chunks/{persistent-pty-1fw2a5v8.js → aisdk-cbbtdf47.js} +15 -15
- package/dist/chunks/{persistent-pty-bqszwq89.js → aisdk-chxat7qs.js} +8 -8
- package/dist/chunks/{persistent-pty-xn4akm7j.js → aisdk-db7dv58e.js} +11 -11
- package/dist/chunks/{persistent-pty-syyvpj1n.js → aisdk-dcj5ws7m.js} +20 -20
- package/dist/chunks/{persistent-pty-vhf33m4y.js → aisdk-dcxh3epe.js} +8 -8
- package/dist/chunks/{persistent-pty-nx741bd4.js → aisdk-dff7zhw9.js} +39 -39
- package/dist/chunks/{persistent-pty-xfkkasph.js → aisdk-drwq78ky.js} +4 -4
- package/dist/chunks/{persistent-pty-vnkhd93v.js → aisdk-dsyq40hm.js} +14 -14
- package/dist/chunks/{persistent-pty-45w2hez1.js → aisdk-dtygkec3.js} +4 -4
- package/dist/chunks/{persistent-pty-zjzqdcy8.js → aisdk-dxmp4pvz.js} +17 -17
- package/dist/chunks/{persistent-pty-jettcq7s.js → aisdk-e1j3zbp9.js} +17 -17
- package/dist/chunks/{persistent-pty-92nedzp3.js → aisdk-e2tq4ed5.js} +8 -8
- package/dist/chunks/{persistent-pty-qte5z7bc.js → aisdk-e6hmchc5.js} +5 -5
- package/dist/chunks/{persistent-pty-rhjbct0v.js → aisdk-eaj1djv9.js} +8 -8
- package/dist/chunks/{persistent-pty-7xfe1xnv.js → aisdk-ebj9bm8a.js} +2 -2
- package/dist/chunks/{persistent-pty-ajfhfmjy.js → aisdk-edcb3n9e.js} +26 -26
- package/dist/chunks/{persistent-pty-ef5x83kb.js → aisdk-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-vcsatxq3.js → aisdk-enn904mg.js} +11 -11
- package/dist/chunks/{persistent-pty-erw5rpbs.js → aisdk-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-ek7s1yw1.js → aisdk-es8e3c40.js} +34 -34
- package/dist/chunks/{persistent-pty-etq0c3wd.js → aisdk-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-jw80jp6b.js → aisdk-f3ngv102.js} +4 -4
- package/dist/chunks/{persistent-pty-k9kj6xed.js → aisdk-fkjmw100.js} +2 -2
- package/dist/chunks/{persistent-pty-y19c3zcv.js → aisdk-fwrss4ad.js} +4 -4
- package/dist/chunks/{persistent-pty-0edkeq6v.js → aisdk-g71g1668.js} +20 -20
- package/dist/chunks/{persistent-pty-q5758hxt.js → aisdk-g93qkh1r.js} +13 -13
- package/dist/chunks/{persistent-pty-830djgf5.js → aisdk-gbx9g38h.js} +7 -7
- package/dist/chunks/{persistent-pty-vhkdxrqw.js → aisdk-gcge6708.js} +16 -16
- package/dist/chunks/{persistent-pty-gd4qta3r.js → aisdk-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-94ek1h2f.js → aisdk-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-qvreyy9g.js → aisdk-gg4dpy88.js} +5 -5
- package/dist/chunks/{persistent-pty-2kt2qswp.js → aisdk-ghh1z1yz.js} +20 -20
- package/dist/chunks/{persistent-pty-h92q6hp8.js → aisdk-gjg0tckn.js} +3 -3
- package/dist/chunks/{persistent-pty-97fmyryk.js → aisdk-gmjjhz4f.js} +3 -3
- package/dist/chunks/{persistent-pty-qp5vsj8n.js → aisdk-gndgmv4j.js} +16 -16
- package/dist/chunks/{persistent-pty-mhd9raa2.js → aisdk-gp58by1e.js} +33 -33
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → aisdk-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-hdmhar15.js → aisdk-h20zyt68.js} +15 -15
- package/dist/chunks/{persistent-pty-cb29sgre.js → aisdk-h5fw247w.js} +12 -12
- package/dist/chunks/{persistent-pty-h6vf3j39.js → aisdk-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-depwzj9d.js → aisdk-h71w788e.js} +9 -9
- package/dist/chunks/{persistent-pty-4pjjbxv2.js → aisdk-hdrd7jrk.js} +9 -9
- package/dist/chunks/{persistent-pty-r2j9d1ms.js → aisdk-heg2hsbb.js} +22 -22
- package/dist/chunks/{persistent-pty-90mszmds.js → aisdk-hfjj38pm.js} +16 -16
- package/dist/chunks/{persistent-pty-8829hrmv.js → aisdk-hkhehbtb.js} +3 -3
- package/dist/chunks/{persistent-pty-dahg00w6.js → aisdk-hnvj1nm6.js} +14 -14
- package/dist/chunks/{persistent-pty-hwk3zhxf.js → aisdk-hqvp1db0.js} +14 -14
- package/dist/chunks/{persistent-pty-6bd07m6k.js → aisdk-hrn0dmwn.js} +20 -20
- package/dist/chunks/{persistent-pty-mce3n2w0.js → aisdk-hww7sddr.js} +15 -15
- package/dist/chunks/{persistent-pty-3mtzcc5w.js → aisdk-hyb7fvbn.js} +1 -1
- package/dist/chunks/{persistent-pty-dftjxd64.js → aisdk-hzgc6sw6.js} +40 -40
- package/dist/chunks/{persistent-pty-kk99n8q9.js → aisdk-j1aacz73.js} +13 -13
- package/dist/chunks/{persistent-pty-f78qqxb3.js → aisdk-j4ynjjf7.js} +9 -9
- package/dist/chunks/{persistent-pty-dwvzh0g2.js → aisdk-j5208yae.js} +6 -6
- package/dist/chunks/{persistent-pty-j56e64zr.js → aisdk-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-myg059q6.js → aisdk-j8687dqe.js} +43 -43
- package/dist/chunks/{persistent-pty-xgxqjvfa.js → aisdk-jc2v6bqp.js} +3 -3
- package/dist/chunks/{persistent-pty-9kmbd9mt.js → aisdk-jca4demv.js} +2 -2
- package/dist/chunks/{persistent-pty-v3qtc92a.js → aisdk-jck3snkb.js} +20 -20
- package/dist/chunks/{persistent-pty-xtbqs454.js → aisdk-jhtajkva.js} +25 -25
- package/dist/chunks/{persistent-pty-xy6b5509.js → aisdk-js4b2xd1.js} +5 -5
- package/dist/chunks/{persistent-pty-179189h4.js → aisdk-jva4mgym.js} +4 -4
- package/dist/chunks/{persistent-pty-w3pke5fx.js → aisdk-jyt207sg.js} +5 -5
- package/dist/chunks/{persistent-pty-5jgvze5w.js → aisdk-k1e78cr4.js} +9 -9
- package/dist/chunks/{persistent-pty-18qw6axq.js → aisdk-k3582ck7.js} +26 -26
- package/dist/chunks/{persistent-pty-k3c624dm.js → aisdk-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-ma15yhyh.js → aisdk-kbj2dgab.js} +5 -5
- package/dist/chunks/{persistent-pty-vr3zvskj.js → aisdk-khhmxnak.js} +61 -61
- package/dist/chunks/{persistent-pty-gk8whktx.js → aisdk-kj9bmcx8.js} +25 -25
- package/dist/chunks/{persistent-pty-st4mhzzs.js → aisdk-kpp32ye6.js} +5 -5
- package/dist/chunks/{persistent-pty-bxss05bd.js → aisdk-kr10dacr.js} +5 -5
- package/dist/chunks/{persistent-pty-zar8sqd3.js → aisdk-ks8q6m23.js} +17 -17
- package/dist/chunks/{persistent-pty-hmpr7mk5.js → aisdk-kvc9t43z.js} +48 -48
- package/dist/chunks/{persistent-pty-56dkfrzf.js → aisdk-kwrf6mrp.js} +4 -4
- package/dist/chunks/{persistent-pty-m3fdjcah.js → aisdk-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → aisdk-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-1h80sv90.js → aisdk-mw934p8z.js} +8 -8
- package/dist/chunks/{persistent-pty-hsn9352f.js → aisdk-mx1h4taz.js} +44 -44
- package/dist/chunks/{persistent-pty-d04a2mwz.js → aisdk-mx52g176.js} +25 -25
- package/dist/chunks/{persistent-pty-03cbr0jq.js → aisdk-n1vjj20t.js} +9 -9
- package/dist/chunks/{persistent-pty-bex2v6cw.js → aisdk-n3rcvph5.js} +29 -29
- package/dist/chunks/{persistent-pty-weft2jvw.js → aisdk-n56m9p0x.js} +7 -7
- package/dist/chunks/{persistent-pty-768gsh1v.js → aisdk-n94bagkt.js} +6 -6
- package/dist/chunks/{persistent-pty-933fkq5d.js → aisdk-nej3tasb.js} +24 -24
- package/dist/chunks/{persistent-pty-fmfe6t1x.js → aisdk-nfttncsy.js} +8 -8
- package/dist/chunks/{persistent-pty-vtt0yr3x.js → aisdk-njp0gf2a.js} +10 -10
- package/dist/chunks/{persistent-pty-sk6t9hvy.js → aisdk-nnt4p6dv.js} +83 -83
- package/dist/chunks/{persistent-pty-s4ek6zwe.js → aisdk-nyd8mmzv.js} +21 -21
- package/dist/chunks/{persistent-pty-e6hd9jay.js → aisdk-p0b4ytnr.js} +6 -6
- package/dist/chunks/{persistent-pty-nxhqveyz.js → aisdk-p44d8wdy.js} +5 -5
- package/dist/chunks/{persistent-pty-wpv1nwv6.js → aisdk-p805rw4s.js} +11 -11
- package/dist/chunks/{persistent-pty-a2jafzqy.js → aisdk-pccsbftt.js} +10 -10
- package/dist/chunks/{persistent-pty-xe9jd8cp.js → aisdk-pdsf3rnd.js} +33 -33
- package/dist/chunks/aisdk-phz3h32g.js +18 -0
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → aisdk-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → aisdk-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → aisdk-psazpmmj.js} +2 -2
- package/dist/chunks/{persistent-pty-w0bwbkhm.js → aisdk-ptne5ft2.js} +13 -13
- package/dist/chunks/{persistent-pty-ckznq2md.js → aisdk-q2fhye4q.js} +43 -43
- package/dist/chunks/{persistent-pty-mf9m2v67.js → aisdk-q3t37ft6.js} +3 -3
- package/dist/chunks/{persistent-pty-59a69fj0.js → aisdk-q8j10mn3.js} +12 -12
- package/dist/chunks/{persistent-pty-zd5y1z78.js → aisdk-qb1cgkpv.js} +20 -20
- package/dist/chunks/{persistent-pty-nq7qbqzc.js → aisdk-qg0jgkcp.js} +9 -9
- package/dist/chunks/{persistent-pty-2nkp2mfn.js → aisdk-qhj5b8b5.js} +6 -6
- package/dist/chunks/{persistent-pty-2sejkfem.js → aisdk-qmqgtz8f.js} +9 -9
- package/dist/chunks/{persistent-pty-qxxt2qtz.js → aisdk-qqfamm8z.js} +41 -41
- package/dist/chunks/{persistent-pty-2bks3qmb.js → aisdk-qs9phf1a.js} +35 -35
- package/dist/chunks/{persistent-pty-qsdy395h.js → aisdk-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-8p6aty9m.js → aisdk-qy51cyre.js} +13 -13
- package/dist/chunks/{persistent-pty-myas8b4t.js → aisdk-r02qfb2g.js} +20 -20
- package/dist/chunks/{persistent-pty-1watctkc.js → aisdk-r1jw6b0z.js} +7 -7
- package/dist/chunks/{persistent-pty-73tb2d7t.js → aisdk-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-rdw6cm16.js → aisdk-rdw6cm16.js} +1 -1
- package/dist/chunks/aisdk-rj3dv5f0.js +26 -0
- package/dist/chunks/{persistent-pty-79mwksnw.js → aisdk-rsq7r3s1.js} +4 -4
- package/dist/chunks/{persistent-pty-p14rgpp2.js → aisdk-rt493m05.js} +17 -17
- package/dist/chunks/{persistent-pty-90c14161.js → aisdk-s2fpa66b.js} +18 -18
- package/dist/chunks/{persistent-pty-thas5x23.js → aisdk-s6tnw81q.js} +20 -20
- package/dist/chunks/{persistent-pty-b2fmx0cr.js → aisdk-s9f2fy8d.js} +20 -20
- package/dist/chunks/{persistent-pty-v1kefnyt.js → aisdk-sccfbh3h.js} +25 -25
- package/dist/chunks/{persistent-pty-pbfw7m20.js → aisdk-snnen6xr.js} +11 -11
- package/dist/chunks/{persistent-pty-7zs56f9j.js → aisdk-spqcpneg.js} +6 -6
- package/dist/chunks/{persistent-pty-6k427wqf.js → aisdk-sz570kr7.js} +16 -16
- package/dist/chunks/{persistent-pty-ww3rdmp0.js → aisdk-szrj5q11.js} +9 -9
- package/dist/chunks/{persistent-pty-zav06jzw.js → aisdk-t2az9yje.js} +4 -4
- package/dist/chunks/{persistent-pty-ve4pfa0n.js → aisdk-t9zs3egg.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → aisdk-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcekf9ey.js → aisdk-tbapd7r7.js} +5 -5
- package/dist/chunks/{persistent-pty-x73qep3k.js → aisdk-tbedkytf.js} +44 -44
- package/dist/chunks/{persistent-pty-rr40bken.js → aisdk-tbxcvh5r.js} +21 -21
- package/dist/chunks/{persistent-pty-tcezcvh9.js → aisdk-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → aisdk-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-7cdwr1t5.js → aisdk-tf8fdhr4.js} +29 -29
- package/dist/chunks/{persistent-pty-6j158gj8.js → aisdk-thhwr7pp.js} +16 -16
- package/dist/chunks/{persistent-pty-8tvn0bgg.js → aisdk-tmbq7myb.js} +8 -8
- package/dist/chunks/{persistent-pty-6mvdh01c.js → aisdk-tphz3vvs.js} +16 -16
- package/dist/chunks/{persistent-pty-tvtrv512.js → aisdk-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-zrv8bjrm.js → aisdk-tvzykbv0.js} +12 -12
- package/dist/chunks/{persistent-pty-q9n5cbnp.js → aisdk-v0ntrx5e.js} +11 -11
- package/dist/chunks/{persistent-pty-43f675a3.js → aisdk-v0x4e3z1.js} +15 -15
- package/dist/chunks/{persistent-pty-01021z3r.js → aisdk-v17ykax0.js} +10 -10
- package/dist/chunks/{persistent-pty-89tssg7j.js → aisdk-v2kp4wed.js} +5 -5
- package/dist/chunks/{persistent-pty-fdv30zvt.js → aisdk-v5dkyp31.js} +7 -7
- package/dist/chunks/{persistent-pty-14e8zrc8.js → aisdk-vbyft8vg.js} +22 -22
- package/dist/chunks/{persistent-pty-veqvce7d.js → aisdk-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-4c2df9zx.js → aisdk-vgx6weyf.js} +8 -8
- package/dist/chunks/{persistent-pty-ndtwm10h.js → aisdk-vn0s00ng.js} +11 -11
- package/dist/chunks/{persistent-pty-sfntmzm9.js → aisdk-vtpkq4qf.js} +1 -1
- package/dist/chunks/{persistent-pty-vtxr0yy2.js → aisdk-vtxr0yy2.js} +2 -2
- package/dist/chunks/{persistent-pty-5m8csvve.js → aisdk-vx9p4h61.js} +4 -4
- package/dist/chunks/{persistent-pty-vzcthcp8.js → aisdk-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → aisdk-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-w9kxsqx0.js → aisdk-w8jj02n0.js} +17 -17
- package/dist/chunks/{persistent-pty-wd87259q.js → aisdk-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-dj68pnee.js → aisdk-wj76ss2k.js} +4 -4
- package/dist/chunks/{persistent-pty-3yccry20.js → aisdk-wny02jks.js} +5 -5
- package/dist/chunks/{persistent-pty-1cwvpkmb.js → aisdk-wqmc3471.js} +21 -21
- package/dist/chunks/{persistent-pty-smympfee.js → aisdk-x0bdz8x7.js} +27 -27
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → aisdk-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-cet8zpt3.js → aisdk-x25yssks.js} +25 -25
- package/dist/chunks/{persistent-pty-t29rx7a6.js → aisdk-x9kf6dr0.js} +10 -10
- package/dist/chunks/{persistent-pty-j27gqa6x.js → aisdk-xcv5efht.js} +5 -5
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → aisdk-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-8cb91319.js → aisdk-y246x334.js} +32 -32
- package/dist/chunks/{persistent-pty-y71avatq.js → aisdk-y71avatq.js} +1 -1
- package/dist/chunks/{persistent-pty-mxqsfyay.js → aisdk-y8s6a14v.js} +15 -15
- package/dist/chunks/{persistent-pty-yp2x3t23.js → aisdk-yp2x3t23.js} +1 -1
- package/dist/chunks/{persistent-pty-hrhjdx1t.js → aisdk-yqh5kdf2.js} +9 -9
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → aisdk-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-yrznvahk.js → aisdk-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-0zm5snvh.js → aisdk-yzt6yyqf.js} +25 -25
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → aisdk-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-s8wgvgmw.js → aisdk-z115nyeg.js} +4 -4
- package/dist/chunks/{persistent-pty-z63w68vq.js → aisdk-z63w68vq.js} +2 -2
- package/dist/chunks/{persistent-pty-xt97jqwb.js → aisdk-z7g3eaht.js} +6 -6
- package/dist/chunks/{persistent-pty-zeh9ct20.js → aisdk-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-15cqf3kr.js → aisdk-zh42akkt.js} +22 -22
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → aisdk-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-by2ahm79.js → aisdk-zw18fk8y.js} +15 -15
- package/dist/chunks/{persistent-pty-twba3jga.js → aisdk-zww8k79s.js} +24 -24
- package/dist/chunks/{persistent-pty-zxq2ej10.js → aisdk-zxq2ej10.js} +1 -1
- package/dist/chunks/{persistent-pty-hfr76n8q.js → aisdk-zy892afz.js} +16 -16
- package/dist/chunks/{persistent-pty-e6bk6vcc.js → aisdk-zzdg8wge.js} +12 -12
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-by5v678g.js +0 -18
- package/dist/chunks/persistent-pty-bye9g0db.js +0 -503
- package/dist/chunks/persistent-pty-mn1405vt.js +0 -252
- package/dist/chunks/persistent-pty-vatnpgrc.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → aisdk-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → aisdk-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → aisdk-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → aisdk-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → aisdk-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → aisdk-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → aisdk-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → aisdk-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → aisdk-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → aisdk-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → aisdk-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → aisdk-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → aisdk-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → aisdk-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → aisdk-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → aisdk-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → aisdk-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → aisdk-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → aisdk-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → aisdk-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → aisdk-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → aisdk-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → aisdk-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → aisdk-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → aisdk-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → aisdk-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → aisdk-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → aisdk-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → aisdk-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → aisdk-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → aisdk-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → aisdk-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → aisdk-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → aisdk-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → aisdk-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → aisdk-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → aisdk-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → aisdk-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → aisdk-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → aisdk-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → aisdk-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → aisdk-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → aisdk-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → aisdk-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → aisdk-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → aisdk-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → aisdk-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → aisdk-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → aisdk-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → aisdk-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → aisdk-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → aisdk-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → aisdk-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → aisdk-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → aisdk-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → aisdk-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → aisdk-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → aisdk-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → aisdk-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → aisdk-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → aisdk-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → aisdk-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → aisdk-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → aisdk-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → aisdk-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → aisdk-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → aisdk-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → aisdk-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → aisdk-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → aisdk-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → aisdk-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → aisdk-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → aisdk-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → aisdk-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → aisdk-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → aisdk-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → aisdk-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → aisdk-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → aisdk-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → aisdk-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → aisdk-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → aisdk-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → aisdk-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → aisdk-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → aisdk-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → aisdk-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → aisdk-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → aisdk-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → aisdk-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → aisdk-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → aisdk-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → aisdk-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → aisdk-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → aisdk-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → aisdk-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → aisdk-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → aisdk-z9919s4g.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./aisdk-mx1h4taz.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./aisdk-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin6,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input12 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin6 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service73;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description4,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin13 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input6, Plugin6, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service10,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node12
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service10 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service10.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node12 = makeGlobalNode({ service: Service10, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service10, node12, exports_discovery };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service67
|
|
4
|
+
} from "./aisdk-tf8fdhr4.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service57
|
|
7
|
+
} from "./aisdk-hzgc6sw6.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service67;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service57);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID14,
|
|
3
|
+
Service76
|
|
4
|
+
} from "./aisdk-nyd8mmzv.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service66
|
|
8
|
+
} from "./aisdk-9212ptjn.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service57
|
|
12
|
+
} from "./aisdk-hzgc6sw6.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-q3t37ft6.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service36
|
|
18
|
+
} from "./aisdk-ks8q6m23.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./aisdk-mx1h4taz.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service14
|
|
25
|
+
} from "./aisdk-nnt4p6dv.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make6
|
|
31
|
+
} from "./aisdk-snnen6xr.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin3,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description2,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input2 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin3 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service14;
|
|
93
|
+
const jobs = yield* Service36;
|
|
94
|
+
const agents = yield* Service76;
|
|
95
|
+
const config = yield* Service57;
|
|
96
|
+
const permission = yield* Service73;
|
|
97
|
+
const models = yield* Service66;
|
|
98
|
+
const subagents = yield* make6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin2 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description2,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin2 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin2 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID14.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,13 +218,13 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
const hook = (event) => Effect.gen(function* () {
|
|
221
|
-
const tool = event.tools[
|
|
221
|
+
const tool = event.tools[name3];
|
|
222
222
|
if (!tool)
|
|
223
223
|
return;
|
|
224
224
|
const selected = yield* agents.resolve(event.agent);
|
|
225
225
|
if (!selected)
|
|
226
226
|
return;
|
|
227
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
227
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
228
228
|
if (available.length === 0)
|
|
229
229
|
return;
|
|
230
230
|
tool.description = [
|
|
@@ -241,4 +241,4 @@ ${output.output}
|
|
|
241
241
|
})
|
|
242
242
|
};
|
|
243
243
|
|
|
244
|
-
export {
|
|
244
|
+
export { name3, Input3, Output3, description2, Plugin3, exports_subagent };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./aisdk-70rma8he.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./aisdk-04t848g5.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service36,
|
|
11
|
+
node38
|
|
12
|
+
} from "./aisdk-ks8q6m23.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service34,
|
|
15
|
+
node36
|
|
16
|
+
} from "./aisdk-9ae44cfy.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./aisdk-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service32
|
|
26
|
+
} from "./aisdk-t2az9yje.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-gmjjhz4f.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service74,
|
|
32
|
+
node78
|
|
33
|
+
} from "./aisdk-zzdg8wge.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./aisdk-vx9p4h61.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./aisdk-dcj5ws7m.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service31,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer13,
|
|
50
|
+
node: () => node34,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service31 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service74;
|
|
70
|
+
const instances = yield* Service34;
|
|
71
71
|
const bus = yield* Service83;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service36;
|
|
73
73
|
const db = (yield* Service84).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,7 +82,7 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service32.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -110,7 +110,7 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
110
110
|
}, releaseOnCommit(sessionID));
|
|
111
111
|
}))
|
|
112
112
|
});
|
|
113
|
-
return
|
|
113
|
+
return Service31.of({
|
|
114
114
|
active: coordinator.active,
|
|
115
115
|
isActive: coordinator.isActive,
|
|
116
116
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -129,12 +129,12 @@ var layer17 = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
129
129
|
awaitIdle: coordinator.awaitIdle
|
|
130
130
|
});
|
|
131
131
|
}));
|
|
132
|
-
var
|
|
133
|
-
service:
|
|
134
|
-
layer:
|
|
135
|
-
deps: [
|
|
132
|
+
var node34 = makeGlobalNode({
|
|
133
|
+
service: Service31,
|
|
134
|
+
layer: layer13,
|
|
135
|
+
deps: [node78, node36, node87, node88, node38]
|
|
136
136
|
});
|
|
137
|
-
var noopLayer2 = Layer.succeed(
|
|
137
|
+
var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
138
138
|
active: Effect.succeed(new Set),
|
|
139
139
|
isActive: () => Effect.succeed(false),
|
|
140
140
|
resume: () => Effect.void,
|
|
@@ -143,4 +143,4 @@ var noopLayer2 = Layer.succeed(Service47, Service47.of({
|
|
|
143
143
|
awaitIdle: () => Effect.void
|
|
144
144
|
}));
|
|
145
145
|
|
|
146
|
-
export {
|
|
146
|
+
export { Service31, terminal2, layer13, node34, noopLayer2, exports_execution };
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-ebj9bm8a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service57
|
|
9
|
+
} from "./aisdk-hzgc6sw6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service65
|
|
12
|
+
} from "./aisdk-sz570kr7.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./aisdk-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin32
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin32 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service57;
|
|
34
34
|
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service65;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin41 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin32, exports_worktree };
|