@opencode/core 0.0.0-dev-20398 → 0.0.0-dev-20399
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{workspace-t5e8vxk8.js → state-026a3pxx.js} +11 -11
- package/dist/chunks/{workspace-c30fjtmk.js → state-030jzqrs.js} +1 -1
- package/dist/chunks/{workspace-zcrspsvn.js → state-06x8he3q.js} +4 -4
- package/dist/chunks/{workspace-dq13ryft.js → state-0awtbsan.js} +11 -11
- package/dist/chunks/{workspace-4ns3h2re.js → state-0bsghn5e.js} +6 -6
- package/dist/chunks/{workspace-ak5a0kzr.js → state-0j6y2kgk.js} +11 -11
- package/dist/chunks/{workspace-qp5p97xj.js → state-0p4abda4.js} +5 -5
- package/dist/chunks/{workspace-0paq2nw3.js → state-0paq2nw3.js} +1 -1
- package/dist/chunks/{workspace-ewphfzst.js → state-0wev32e0.js} +24 -24
- package/dist/chunks/{workspace-r8xr0va3.js → state-1acjjqhc.js} +4 -4
- package/dist/chunks/{workspace-1dazxqgg.js → state-1dazxqgg.js} +2 -2
- package/dist/chunks/{workspace-738rsaaz.js → state-1fw2a5v8.js} +19 -19
- package/dist/chunks/{workspace-nqj0vx7j.js → state-1rfara83.js} +20 -20
- package/dist/chunks/{workspace-21r38tys.js → state-21r38tys.js} +1 -1
- package/dist/chunks/{workspace-7k7w0t17.js → state-22t6ymqa.js} +7 -7
- package/dist/chunks/{workspace-z63w68vq.js → state-29x78va6.js} +6 -6
- package/dist/chunks/{workspace-2a5m3afh.js → state-2a5m3afh.js} +1 -1
- package/dist/chunks/{workspace-0jwsre1p.js → state-2k8khapm.js} +5 -5
- package/dist/chunks/{workspace-0z0w1t4g.js → state-325vrkv0.js} +5 -5
- package/dist/chunks/{workspace-4cr8wbhv.js → state-32s37th8.js} +37 -37
- package/dist/chunks/{workspace-hekxc47r.js → state-3556dn8t.js} +1 -1
- package/dist/chunks/{workspace-3fc6dm20.js → state-3fc6dm20.js} +1 -1
- package/dist/chunks/{workspace-27dwx68b.js → state-3h8f8rgq.js} +15 -15
- package/dist/chunks/{workspace-3hepkmqq.js → state-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-fypr1q1t.js → state-3hts4nh5.js} +26 -26
- package/dist/chunks/{workspace-3smtnn6g.js → state-3smtnn6g.js} +1 -1
- package/dist/chunks/{workspace-5nrew705.js → state-3tt1qkhr.js} +5 -5
- package/dist/chunks/{workspace-3tvqynh2.js → state-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-tr1cfvfg.js → state-3w4da0bf.js} +14 -14
- package/dist/chunks/{workspace-122c8bx5.js → state-3wtv5frj.js} +19 -19
- package/dist/chunks/{workspace-245saxk8.js → state-3xkzbdqd.js} +6 -6
- package/dist/chunks/{workspace-3zsf4n22.js → state-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-v1rn53eg.js → state-41h2mdr0.js} +32 -32
- package/dist/chunks/{workspace-dxgt103c.js → state-4238gvvk.js} +24 -24
- package/dist/chunks/{workspace-697fm79x.js → state-44pdqs77.js} +4 -4
- package/dist/chunks/{workspace-hg58jcw8.js → state-475vsxfq.js} +13 -13
- package/dist/chunks/{workspace-2vtrv38s.js → state-4wgy5v9e.js} +38 -38
- package/dist/chunks/{workspace-p6wxjpka.js → state-4z58m4b4.js} +4 -4
- package/dist/chunks/{workspace-warqdzak.js → state-518c5t7m.js} +8 -8
- package/dist/chunks/{workspace-aam5c1df.js → state-53t1r0k7.js} +41 -41
- package/dist/chunks/{workspace-54ma36ye.js → state-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-56gdpj1q.js → state-56gdpj1q.js} +2 -2
- package/dist/chunks/{workspace-57ez7d0k.js → state-57ez7d0k.js} +2 -2
- package/dist/chunks/{workspace-5kr27125.js → state-5d6rpvta.js} +27 -27
- package/dist/chunks/{workspace-5daktx2q.js → state-5daktx2q.js} +1 -1
- package/dist/chunks/{workspace-m6tdyvh6.js → state-5ptk6qrn.js} +317 -317
- package/dist/chunks/{workspace-thqfxy9w.js → state-5stztzc8.js} +24 -24
- package/dist/chunks/{workspace-5t3nmthw.js → state-5t3nmthw.js} +2 -2
- package/dist/chunks/{workspace-ch8df2z8.js → state-5t6w898y.js} +10 -10
- package/dist/chunks/{workspace-2mhsvxbb.js → state-5xpznt2d.js} +4 -4
- package/dist/chunks/{workspace-b72fdrh6.js → state-5ynfe8h2.js} +180 -180
- package/dist/chunks/{workspace-a6mtbseh.js → state-63jfhv3x.js} +23 -23
- package/dist/chunks/{workspace-669tq793.js → state-669tq793.js} +1 -1
- package/dist/chunks/{workspace-q3t37ft6.js → state-6bsje7ws.js} +3 -3
- package/dist/chunks/{workspace-taeb6eb9.js → state-6h3ncj6c.js} +22 -22
- package/dist/chunks/{workspace-75my1bc5.js → state-6h3wybc7.js} +6 -6
- package/dist/chunks/{workspace-zn8qcmnt.js → state-6j71bdrn.js} +4 -4
- package/dist/chunks/{workspace-6msgmcgs.js → state-6msgmcgs.js} +1 -1
- package/dist/chunks/{workspace-k50n3d3f.js → state-6s6k8698.js} +10 -10
- package/dist/chunks/{workspace-2c6xdacb.js → state-6t6v3d0p.js} +13 -13
- package/dist/chunks/{workspace-3b75yfvt.js → state-6zma4dqp.js} +8 -8
- package/dist/chunks/{workspace-zgh2pzwp.js → state-76x0exek.js} +7 -7
- package/dist/chunks/{workspace-4y1c62rq.js → state-7a5vwq9w.js} +11 -11
- package/dist/chunks/{workspace-7bmhse3q.js → state-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-9xqfwyza.js → state-7dabebq9.js} +20 -20
- package/dist/chunks/{workspace-7pr2hkwv.js → state-7pr2hkwv.js} +2 -2
- package/dist/chunks/{workspace-99xay3p1.js → state-7rwqf82v.js} +8 -8
- package/dist/chunks/{workspace-mvfsc1pv.js → state-7yh4e7ss.js} +3 -3
- package/dist/chunks/{workspace-35agz59w.js → state-7yqjxrmz.js} +6 -6
- package/dist/chunks/{workspace-xhz7tg1z.js → state-82nf7ed8.js} +19 -19
- package/dist/chunks/{workspace-84txncab.js → state-84txncab.js} +1 -1
- package/dist/chunks/{workspace-kryhrpz7.js → state-8ckcg3zf.js} +9 -9
- package/dist/chunks/{workspace-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
- package/dist/chunks/{workspace-7g4kvh3x.js → state-8rnn6t2g.js} +21 -21
- package/dist/chunks/state-92scpske.js +26 -0
- package/dist/chunks/{workspace-94ek1h2f.js → state-94ek1h2f.js} +2 -2
- package/dist/chunks/{workspace-pytdjp30.js → state-9cc4b95v.js} +8 -8
- package/dist/chunks/{workspace-yhmwmrwb.js → state-9ehh8z5c.js} +1 -1
- package/dist/chunks/{workspace-kv92sdth.js → state-9g1bwmtd.js} +35 -35
- package/dist/chunks/{workspace-jt5815wc.js → state-9n655km2.js} +8 -8
- package/dist/chunks/state-9sh4wc5j.js +18 -0
- package/dist/chunks/{workspace-s0519hxg.js → state-9tsamph0.js} +25 -25
- package/dist/chunks/{workspace-g82dv60p.js → state-a1cedfep.js} +16 -16
- package/dist/chunks/{workspace-3d6gr008.js → state-a8k20txy.js} +8 -8
- package/dist/chunks/{workspace-aaet6srn.js → state-aaet6srn.js} +2 -2
- package/dist/chunks/{workspace-zjab1yz4.js → state-an0fjdax.js} +25 -25
- package/dist/chunks/{workspace-zk6h3hj4.js → state-anz1zs5v.js} +30 -30
- package/dist/chunks/{workspace-x1ge6kzr.js → state-aqxjtcsj.js} +11 -11
- package/dist/chunks/{workspace-hkfg6fzm.js → state-avm8jn6n.js} +5 -5
- package/dist/chunks/{workspace-e8qyrgb1.js → state-axs6pdy0.js} +5 -5
- package/dist/chunks/{workspace-9v95v08b.js → state-b3x448qn.js} +18 -18
- package/dist/chunks/{workspace-b6gygkdw.js → state-b6gygkdw.js} +2 -2
- package/dist/chunks/{workspace-p2wfcwv1.js → state-b8vgw5fj.js} +12 -12
- package/dist/chunks/{workspace-wawkv6gp.js → state-b9tbzjbv.js} +13 -13
- package/dist/chunks/{workspace-k8e0krnc.js → state-bdqrk2vk.js} +8 -8
- package/dist/chunks/{workspace-rpmx6jxk.js → state-bvgg99d4.js} +10 -10
- package/dist/chunks/{workspace-v7j0gsse.js → state-bwa7sjpv.js} +5 -5
- package/dist/chunks/{workspace-mhy3cpmb.js → state-byw7mfcf.js} +30 -30
- package/dist/chunks/{workspace-4ggv27af.js → state-c2qp786d.js} +16 -16
- package/dist/chunks/{workspace-mvp6y4kk.js → state-c7rpvq7c.js} +32 -32
- package/dist/chunks/{workspace-vtvmnt90.js → state-cbjpdsvm.js} +44 -44
- package/dist/chunks/{workspace-paqa39xc.js → state-cc9yd0np.js} +17 -17
- package/dist/chunks/{workspace-cfsekr6v.js → state-cfsekr6v.js} +2 -2
- package/dist/chunks/{workspace-rvc96174.js → state-cgpscxj9.js} +20 -20
- package/dist/chunks/{workspace-r7ztjfc2.js → state-chasyyfh.js} +32 -32
- package/dist/chunks/{workspace-ckecvw8r.js → state-ckecvw8r.js} +2 -2
- package/dist/chunks/{workspace-yndndv21.js → state-cm2g4gk6.js} +17 -17
- package/dist/chunks/{workspace-tx9w5tca.js → state-cmmdg65p.js} +8 -8
- package/dist/chunks/{workspace-k8avv2s0.js → state-cp8b7tfh.js} +4 -4
- package/dist/chunks/{workspace-gbqnf5k7.js → state-crbh5ayy.js} +17 -17
- package/dist/chunks/{workspace-s4ba1b0c.js → state-cv56zjsy.js} +18 -18
- package/dist/chunks/{workspace-cwa6csj7.js → state-cwa6csj7.js} +2 -2
- package/dist/chunks/{workspace-wdd9v9bw.js → state-cwjmqj7d.js} +16 -16
- package/dist/chunks/{workspace-3305wtrr.js → state-d1fv27qq.js} +30 -30
- package/dist/chunks/{workspace-96qgkd05.js → state-d1xrdev2.js} +26 -26
- package/dist/chunks/{workspace-qygg07zd.js → state-d3nanzm1.js} +11 -11
- package/dist/chunks/{workspace-vjrpt9yw.js → state-d72h0ct2.js} +21 -21
- package/dist/chunks/{workspace-5vdg2x0v.js → state-d8nxzx5d.js} +17 -17
- package/dist/chunks/{workspace-h2r7bbkd.js → state-dhwr7h25.js} +11 -11
- package/dist/chunks/{workspace-dpkg50ah.js → state-dpkg50ah.js} +1 -1
- package/dist/chunks/{workspace-dmc329ks.js → state-dt3wvx3f.js} +25 -25
- package/dist/chunks/{workspace-23sq09vy.js → state-dwsv6nwq.js} +43 -43
- package/dist/chunks/{workspace-b50hafd3.js → state-e1d45rdw.js} +12 -12
- package/dist/chunks/{workspace-5qd3pb7m.js → state-e3qxr5gk.js} +2 -2
- package/dist/chunks/{workspace-evmfndqz.js → state-e6jwgc59.js} +25 -25
- package/dist/chunks/{workspace-mm5kxf07.js → state-e7710hd6.js} +8 -8
- package/dist/chunks/{workspace-jsg2wve5.js → state-e9akvjhf.js} +32 -32
- package/dist/chunks/{workspace-ef5x83kb.js → state-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-5r761qw1.js → state-emfaaa2t.js} +9 -9
- package/dist/chunks/{workspace-etq0c3wd.js → state-etq0c3wd.js} +1 -1
- package/dist/chunks/{workspace-a1v7f3fw.js → state-etzxwssw.js} +45 -45
- package/dist/chunks/{workspace-5c4e2x2v.js → state-eyh1y9f4.js} +3 -3
- package/dist/chunks/{workspace-8cawbmvz.js → state-f9h36e2w.js} +18 -18
- package/dist/chunks/{workspace-ss2j0gq0.js → state-f9wz3e2s.js} +12 -12
- package/dist/chunks/{workspace-jca4demv.js → state-ff0svapt.js} +2 -2
- package/dist/chunks/{workspace-33t45k4a.js → state-fgprdtmf.js} +25 -25
- package/dist/chunks/{workspace-51rntths.js → state-fh2tfnch.js} +22 -22
- package/dist/chunks/{workspace-jvvc3tfq.js → state-fhff0x2d.js} +9 -9
- package/dist/chunks/{workspace-jfqtm2ew.js → state-fm2qvscf.js} +4 -4
- package/dist/chunks/{workspace-894m2vq6.js → state-fsyf11as.js} +4 -4
- package/dist/chunks/{workspace-tqsskj3t.js → state-g1ced42j.js} +22 -22
- package/dist/chunks/{workspace-g5w8qwbj.js → state-g5w8qwbj.js} +1 -1
- package/dist/chunks/{workspace-zpbhtbqv.js → state-g6yxzqxx.js} +17 -17
- package/dist/chunks/{workspace-qzys3dnp.js → state-g82hej27.js} +3 -3
- package/dist/chunks/{workspace-gd4qta3r.js → state-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-rw3f779p.js → state-gnwckkcb.js} +20 -20
- package/dist/chunks/{workspace-mks331qt.js → state-gptt3tzt.js} +15 -15
- package/dist/chunks/{workspace-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
- package/dist/chunks/{workspace-6shy949s.js → state-gwdrm622.js} +10 -10
- package/dist/chunks/{workspace-cmr3nb6d.js → state-gwna2mhe.js} +11 -11
- package/dist/chunks/{workspace-x661k3y3.js → state-gx3a42a4.js} +4 -4
- package/dist/chunks/{workspace-pwhppv0e.js → state-gz4t4j50.js} +15 -15
- package/dist/chunks/{workspace-smk58g8k.js → state-h1yrgtr6.js} +24 -24
- package/dist/chunks/{workspace-8afn5zk0.js → state-h2aqvaqe.js} +11 -11
- package/dist/chunks/{workspace-tg4bq6gr.js → state-h6bjgbqg.js} +17 -17
- package/dist/chunks/{workspace-h6vf3j39.js → state-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-t5cp6m04.js → state-h73fwzy4.js} +9 -9
- package/dist/chunks/{workspace-arj7qem0.js → state-hbjnfksx.js} +10 -10
- package/dist/chunks/{workspace-2jtqe833.js → state-hgzmshwk.js} +30 -30
- package/dist/chunks/{workspace-yjptyezs.js → state-hnr5yq9h.js} +5 -5
- package/dist/chunks/{workspace-n561mkdf.js → state-hqqvrbf6.js} +5 -5
- package/dist/chunks/{workspace-qcjzmq4b.js → state-hsr4f390.js} +20 -20
- package/dist/chunks/{workspace-52x1cz85.js → state-j3d0563g.js} +85 -85
- package/dist/chunks/{workspace-j56e64zr.js → state-j56e64zr.js} +1 -1
- package/dist/chunks/{workspace-jewzahs7.js → state-jewzahs7.js} +1 -1
- package/dist/chunks/{workspace-6h0z1vpb.js → state-jgt16j01.js} +19 -19
- package/dist/chunks/{workspace-3x20xq07.js → state-jhb9dspf.js} +11 -11
- package/dist/chunks/{workspace-sppajst8.js → state-jj6avjan.js} +40 -40
- package/dist/chunks/{workspace-d5f8rd6t.js → state-jp4bxf0b.js} +48 -48
- package/dist/chunks/{workspace-3bzv13zg.js → state-jvp68s7q.js} +32 -32
- package/dist/chunks/{workspace-e11kraf3.js → state-jxebx42g.js} +37 -37
- package/dist/chunks/{workspace-gv0mwn3q.js → state-jytterhh.js} +4 -4
- package/dist/chunks/{workspace-td3fvbar.js → state-jzgb5xky.js} +13 -13
- package/dist/chunks/{workspace-6ez112yd.js → state-k1yhx0mf.js} +20 -20
- package/dist/chunks/{workspace-k3c624dm.js → state-k3c624dm.js} +3 -3
- package/dist/chunks/{workspace-h14pazmc.js → state-k5ghjtzv.js} +24 -24
- package/dist/chunks/{workspace-ccf7kcsf.js → state-ka9kg3q0.js} +36 -36
- package/dist/chunks/{workspace-byvjn8kr.js → state-kb4we5bm.js} +11 -11
- package/dist/chunks/{workspace-bjmm23yr.js → state-kg9rvkrr.js} +26 -26
- package/dist/chunks/{workspace-eb9tee3h.js → state-kkpyfm5t.js} +32 -32
- package/dist/chunks/{workspace-2zv0d058.js → state-kmy8da6b.js} +12 -12
- package/dist/chunks/{workspace-rf8vhkya.js → state-kn5am6yy.js} +44 -44
- package/dist/chunks/{workspace-m3fdjcah.js → state-m3fdjcah.js} +1 -1
- package/dist/chunks/{workspace-47dz9eqv.js → state-m48gk93k.js} +12 -12
- package/dist/chunks/{workspace-m58kmhef.js → state-m58kmhef.js} +2 -2
- package/dist/chunks/{workspace-mgs1xvkz.js → state-m5skzvyv.js} +6 -6
- package/dist/chunks/{workspace-gpxtreqh.js → state-m67aag9e.js} +24 -24
- package/dist/chunks/{workspace-4dqsm1e1.js → state-m6vzghbm.js} +11 -11
- package/dist/chunks/{workspace-0rvehtc6.js → state-m9s7qv8x.js} +32 -32
- package/dist/chunks/{workspace-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-j2m4wjjr.js → state-md2ktbcf.js} +12 -12
- package/dist/chunks/{workspace-46ktpsnz.js → state-mxy2bzd7.js} +34 -34
- package/dist/chunks/{workspace-2b8hfs1v.js → state-n73fkcwy.js} +11 -11
- package/dist/chunks/{workspace-akz6qyqp.js → state-ns8ct35d.js} +29 -29
- package/dist/chunks/{workspace-havz0yce.js → state-ns8p33ds.js} +15 -15
- package/dist/chunks/{workspace-9hnrqdac.js → state-p77z413r.js} +10 -10
- package/dist/chunks/{workspace-8v6pyhej.js → state-pa8pe2x7.js} +8 -8
- package/dist/chunks/{workspace-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-pknna89w.js → state-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-m2d0j7c0.js → state-pnv527nz.js} +9 -9
- package/dist/chunks/{workspace-szqt16bj.js → state-pr5bwn0j.js} +2 -2
- package/dist/chunks/{workspace-4yyewpy4.js → state-pxz53wth.js} +4 -4
- package/dist/chunks/{workspace-jwy42cmn.js → state-q5gv92h7.js} +84 -84
- package/dist/chunks/{workspace-7bwrdj2h.js → state-q8f45dp9.js} +58 -58
- package/dist/chunks/{workspace-dj5x0smg.js → state-qbm7jezs.js} +6 -6
- package/dist/chunks/{workspace-p5wwawjr.js → state-qk0w6ykp.js} +3 -3
- package/dist/chunks/{workspace-qsdy395h.js → state-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-k13tx3tj.js → state-qvc7rwfe.js} +7 -7
- package/dist/chunks/{workspace-kwdkkgzf.js → state-qxz26mk9.js} +45 -45
- package/dist/chunks/{workspace-ka502fxe.js → state-r11gfdxy.js} +4 -4
- package/dist/chunks/{workspace-rdw6cm16.js → state-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-9mjcw1x4.js → state-rmyrmc3b.js} +37 -37
- package/dist/chunks/{workspace-wvx82hrx.js → state-rwbt1vvv.js} +5 -5
- package/dist/chunks/{workspace-f3vdtn1h.js → state-rzke9gk0.js} +51 -51
- package/dist/chunks/{workspace-5jxd7zt0.js → state-s2rv4ncm.js} +3 -3
- package/dist/chunks/{workspace-ejj9yqdn.js → state-s3cc2cs9.js} +3 -3
- package/dist/chunks/{workspace-ma43xv4k.js → state-s41z59kz.js} +24 -24
- package/dist/chunks/{workspace-yrznvahk.js → state-s4enseaf.js} +2 -2
- package/dist/chunks/{workspace-pzdpchm1.js → state-s72bj1y6.js} +9 -9
- package/dist/chunks/{workspace-wv396vej.js → state-s8d7rejh.js} +8 -8
- package/dist/chunks/{workspace-m2jam5tg.js → state-sa273yf3.js} +10 -10
- package/dist/chunks/{workspace-967vwg2b.js → state-sfn0p3x3.js} +16 -16
- package/dist/chunks/{workspace-r8dzz18n.js → state-sm77csgv.js} +3 -3
- package/dist/chunks/{workspace-npgtedzw.js → state-spb6tddc.js} +32 -32
- package/dist/chunks/{workspace-4mwpykj0.js → state-sxzvkvgj.js} +6 -6
- package/dist/chunks/{workspace-y671bed3.js → state-t0r3rek8.js} +3 -3
- package/dist/chunks/{workspace-6zf558dq.js → state-t6kcjggt.js} +18 -18
- package/dist/chunks/{workspace-r79jpe1g.js → state-tag6x3x4.js} +11 -11
- package/dist/chunks/{workspace-tazgh4e4.js → state-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-89znhe33.js → state-tcezcvh9.js} +4 -4
- package/dist/chunks/{workspace-tdstcens.js → state-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-tegfh52t.js → state-thkpyy1e.js} +18 -18
- package/dist/chunks/{workspace-tvtrv512.js → state-tvtrv512.js} +1 -1
- package/dist/chunks/state-txavf3vy.js +252 -0
- package/dist/chunks/{workspace-s93payg9.js → state-vajs8ne8.js} +11 -11
- package/dist/chunks/{workspace-4h9d6nvh.js → state-vbmd7ks8.js} +6 -6
- package/dist/chunks/{workspace-vncycja5.js → state-ve4pfa0n.js} +4 -4
- package/dist/chunks/{workspace-veqvce7d.js → state-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-4ddn2pqd.js → state-vfgebdsx.js} +18 -18
- package/dist/chunks/{workspace-vpeks556.js → state-vg6qrb8m.js} +24 -24
- package/dist/chunks/{workspace-hp08bttr.js → state-vm3v4gr3.js} +13 -13
- package/dist/chunks/{workspace-jw80jp6b.js → state-vsp1fds9.js} +21 -21
- package/dist/chunks/{workspace-dm6h4s7a.js → state-vz2meb4r.js} +15 -15
- package/dist/chunks/{workspace-vzcthcp8.js → state-vzcthcp8.js} +1 -1
- package/dist/chunks/{workspace-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-0ns9p4sx.js → state-w969batc.js} +20 -20
- package/dist/chunks/{workspace-wd3x2cqz.js → state-wd3x2cqz.js} +2 -2
- package/dist/chunks/{workspace-wd87259q.js → state-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-p6jnp2a0.js → state-wfwxzv8g.js} +10 -10
- package/dist/chunks/{workspace-p1zpfjkz.js → state-wh176n5n.js} +5 -5
- package/dist/chunks/{workspace-xa0vpvsx.js → state-wh8p5p12.js} +47 -47
- package/dist/chunks/{workspace-4nzreyb4.js → state-wvvff302.js} +11 -11
- package/dist/chunks/{workspace-2e7n0e2w.js → state-ww4pz79z.js} +6 -6
- package/dist/chunks/{workspace-eyz64kwr.js → state-wyetx6hk.js} +9 -9
- package/dist/chunks/{workspace-q9hq8s49.js → state-x1c67pw4.js} +60 -60
- package/dist/chunks/{workspace-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
- package/dist/chunks/{workspace-nhyes091.js → state-xcd3tayp.js} +13 -13
- package/dist/chunks/{workspace-32a3yqqf.js → state-xe9sg8zb.js} +11 -11
- package/dist/chunks/{workspace-mekbpgjx.js → state-xjtv0ejd.js} +18 -18
- package/dist/chunks/{workspace-4tmx85qt.js → state-xk6fmnkg.js} +17 -17
- package/dist/chunks/{workspace-xkntkrq7.js → state-xkntkrq7.js} +2 -2
- package/dist/chunks/{workspace-z4m3et2k.js → state-xq5cbp2j.js} +9 -9
- package/dist/chunks/{workspace-aa3f86tp.js → state-xsd4ddn1.js} +8 -8
- package/dist/chunks/{workspace-9dk6zdf2.js → state-xt02y0n1.js} +10 -10
- package/dist/chunks/{workspace-eesd84bm.js → state-xt29f2pd.js} +27 -27
- package/dist/chunks/{workspace-00akm4dw.js → state-xx0efrt7.js} +8 -8
- package/dist/chunks/{workspace-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-xf8yqmad.js → state-y56ehv6b.js} +9 -9
- package/dist/chunks/{workspace-j8m1p4p1.js → state-y5rf7nzv.js} +4 -4
- package/dist/chunks/{workspace-j06pf883.js → state-y8t82fx5.js} +12 -12
- package/dist/chunks/{workspace-p6sy89ab.js → state-ydhe5npn.js} +36 -36
- package/dist/chunks/{workspace-cbedt7wc.js → state-ym7mf8x8.js} +15 -15
- package/dist/chunks/{workspace-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
- package/dist/chunks/{workspace-x2pxz3hd.js → state-yvq8qe6t.js} +17 -17
- package/dist/chunks/{workspace-z07pqspn.js → state-z07pqspn.js} +3 -3
- package/dist/chunks/{workspace-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-evbgk2k8.js → state-z3pw5915.js} +5 -5
- package/dist/chunks/{workspace-zeh9ct20.js → state-zeh9ct20.js} +2 -2
- package/dist/chunks/{workspace-s3adnpjk.js → state-zf62gzsh.js} +5 -5
- package/dist/chunks/{workspace-1b4byddg.js → state-zgc61ws8.js} +5 -5
- package/dist/chunks/{workspace-h6ag0jgq.js → state-zgzqctvw.js} +11 -11
- package/dist/chunks/{workspace-bpjckgqn.js → state-zh8n6fvg.js} +3 -3
- package/dist/chunks/{workspace-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-zxq2ej10.js → state-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-6ysrkrkr.js → state-zxs6a24a.js} +8 -8
- package/dist/chunks/{workspace-bysjjcgg.js → state-zzd0v6bh.js} +16 -16
- 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 +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- 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 +130 -130
- 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 +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +124 -124
- 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 +372 -372
- 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/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 +2 -2
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +91 -91
- 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 +363 -363
- package/dist/instruction-discovery.js +83 -83
- 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 +89 -89
- package/dist/job.js +77 -77
- 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-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- 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 +93 -93
- 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 +79 -79
- 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 +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +137 -137
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- 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 +2 -2
- 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 +228 -228
- 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/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- 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 +120 -120
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- 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 +2 -2
- 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 +170 -170
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- 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/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- 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 +12 -12
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +7 -7
- package/dist/v1/config/plugin.js +3 -3
- 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 +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +8 -8
- 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/workspace-a2qxxydt.js +0 -252
- package/dist/chunks/workspace-qc068m1q.js +0 -18
- package/dist/chunks/workspace-rwr5atvc.js +0 -26
- /package/dist/chunks/{workspace-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → state-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → state-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → state-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → state-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → state-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2axfhc9x.js → state-2axfhc9x.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-34c7v6d4.js → state-34c7v6d4.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → state-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → state-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → state-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3w5fmr99.js → state-3w5fmr99.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → state-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → state-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → state-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → state-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → state-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → state-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → state-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → state-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → state-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → state-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → state-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → state-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → state-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-922hggd3.js → state-922hggd3.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → state-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → state-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → state-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → state-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → state-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → state-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → state-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → state-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → state-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → state-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → state-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → state-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → state-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → state-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → state-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → state-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → state-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → state-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → state-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → state-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → state-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → state-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → state-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hjbc5kem.js → state-hjbc5kem.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → state-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → state-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → state-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → state-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → state-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → state-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → state-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → state-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → state-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → state-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → state-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → state-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → state-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → state-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → state-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → state-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → state-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → state-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → state-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → state-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → state-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → state-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8cydn3q.js → state-y8cydn3q.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → state-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → state-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → state-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./state-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service76,
|
|
8
|
+
node80
|
|
9
|
+
} from "./state-xcd3tayp.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service62,
|
|
12
|
+
node65
|
|
13
|
+
} from "./state-m9s7qv8x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
|
|
|
21
21
|
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event13,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput5,
|
|
31
31
|
Match: () => Match2,
|
|
32
32
|
NotFoundError: () => NotFoundError8,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service61,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node64
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -62,7 +62,7 @@ var Content3 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput5 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event13 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service61 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service61, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service76;
|
|
95
|
+
const search = yield* Service62;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,7 +103,7 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service61.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
109
|
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError8({ path: input.path })), (_, error) => Effect.die(error)));
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node64 = makeLocationNode({
|
|
144
|
+
service: Service61,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node80, node65]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError8, Content3,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError8, Content3, ListInput5, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event13, Service61, node64, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-56gdpj1q.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin38 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint3);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint3, Plugin37, exports_exa };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-r11gfdxy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./state-byw7mfcf.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./state-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./state-gx3a42a4.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./state-kg9rvkrr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./state-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -34,17 +34,17 @@ __export(exports_integration, {
|
|
|
34
34
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
35
35
|
CommandMethod: () => CommandMethod2,
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
|
-
Event: () =>
|
|
38
|
-
ID: () =>
|
|
39
|
-
Info: () =>
|
|
37
|
+
Event: () => Event18,
|
|
38
|
+
ID: () => ID14,
|
|
39
|
+
Info: () => Info29,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
|
-
Ref: () =>
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
45
|
+
Ref: () => Ref4,
|
|
46
|
+
Service: () => Service77,
|
|
47
|
+
node: () => node81
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -66,8 +66,8 @@ import {
|
|
|
66
66
|
import { Integration } from "@opencode/schema/integration";
|
|
67
67
|
import { AppProcess } from "@opencode/util/process";
|
|
68
68
|
import { ChildProcess } from "effect/unstable/process";
|
|
69
|
-
import { Event as
|
|
70
|
-
var
|
|
69
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
70
|
+
var ID14 = Integration.ID;
|
|
71
71
|
var MethodID2 = Integration.MethodID;
|
|
72
72
|
var AttemptID2 = Integration.AttemptID;
|
|
73
73
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info29 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -98,19 +98,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
101
|
-
integrationID:
|
|
101
|
+
integrationID: ID14,
|
|
102
102
|
attemptID: AttemptID2
|
|
103
103
|
}) {
|
|
104
104
|
}
|
|
105
|
-
var
|
|
105
|
+
var Ref4 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service77 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
112
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service78;
|
|
114
114
|
const bus = yield* Service83;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info29.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -294,7 +294,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
294
294
|
const persistence = yield* createCredential({
|
|
295
295
|
integrationID: attempt.integrationID,
|
|
296
296
|
label: attempt.label,
|
|
297
|
-
value:
|
|
297
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
298
298
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
299
299
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
300
300
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service77.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -462,7 +462,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
462
462
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
463
463
|
if (connection.type === "env") {
|
|
464
464
|
const key = process.env[connection.name];
|
|
465
|
-
return key ?
|
|
465
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
466
466
|
}
|
|
467
467
|
const credential = yield* credentials.get(connection.id);
|
|
468
468
|
if (!credential)
|
|
@@ -495,7 +495,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
495
495
|
yield* createCredential({
|
|
496
496
|
integrationID: input.integrationID,
|
|
497
497
|
label: input.label,
|
|
498
|
-
value:
|
|
498
|
+
value: Key4.make({
|
|
499
499
|
type: "key",
|
|
500
500
|
key: input.key,
|
|
501
501
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node81 = makeLocationNode({
|
|
603
|
+
service: Service77,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node82, node87, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export {
|
|
608
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service77, node81, exports_integration, Event18 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-xx0efrt7.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin42 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin39 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin39 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin42, exports_parallel };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./state-r11gfdxy.js";
|
|
5
|
+
import {
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./state-byw7mfcf.js";
|
|
5
10
|
import {
|
|
6
|
-
Event15,
|
|
7
11
|
Service67,
|
|
8
12
|
node70
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service54,
|
|
12
|
-
node57
|
|
13
|
-
} from "./workspace-dxgt103c.js";
|
|
13
|
+
} from "./state-4238gvvk.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./state-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node80
|
|
20
|
+
} from "./state-xcd3tayp.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./state-s4enseaf.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./state-m67aag9e.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./state-wfwxzv8g.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./state-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service68,
|
|
36
|
+
Event15,
|
|
37
|
+
node71
|
|
38
|
+
} from "./state-cgpscxj9.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./state-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service66,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer23,
|
|
53
|
+
node: () => node69,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service66 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer23 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service76;
|
|
97
|
+
const watcher = yield* Service67;
|
|
98
98
|
const bus = yield* Service83;
|
|
99
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service68;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names4, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names4.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service66.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer20 = (options) => Layer.effect(Service52, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service66,
|
|
268
|
+
layer: layer23(options),
|
|
269
|
+
deps: [node70, node87, FSUtil.node, Global.node, node80, node82, node71]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node69 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service66, Test2, testLayer2, layer23, configured8, node69, exports_config };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./state-qk0w6ykp.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./state-sm77csgv.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./state-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|