@opencode/core 0.0.0-dev-20738 → 0.0.0-dev-20751
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 +76 -76
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +74 -74
- package/dist/chunks/{kv-k2271zhj.js → websearch-006rr4yd.js} +31 -31
- package/dist/chunks/{kv-qq1s2205.js → websearch-01vn8qag.js} +14 -14
- package/dist/chunks/{kv-39eerbas.js → websearch-0cnb27jj.js} +52 -52
- package/dist/chunks/{kv-7n34cqd6.js → websearch-0cp7wepg.js} +13 -13
- package/dist/chunks/{kv-4drgpw32.js → websearch-0nde5ztd.js} +5 -5
- package/dist/chunks/{kv-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{kv-69apea2v.js → websearch-0tzy42a9.js} +8 -8
- package/dist/chunks/{kv-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{kv-yjkarpge.js → websearch-10ezvpkj.js} +16 -16
- package/dist/chunks/{kv-yp2x3t23.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/{kv-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{kv-1dvck2a7.js → websearch-1dvck2a7.js} +2 -2
- package/dist/chunks/{kv-ja01233w.js → websearch-1r3jt38r.js} +16 -16
- package/dist/chunks/{kv-ecfxfkv3.js → websearch-1tkx5wjx.js} +13 -13
- package/dist/chunks/{kv-a998vwew.js → websearch-271ks4j7.js} +3 -3
- package/dist/chunks/{kv-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{kv-vxepadaa.js → websearch-2gxwdmk2.js} +2 -2
- package/dist/chunks/{kv-bxkg5nem.js → websearch-2hxs6azb.js} +11 -11
- package/dist/chunks/{kv-ncsnqhtp.js → websearch-35p9bx9e.js} +20 -20
- package/dist/chunks/{kv-q9pqtv1v.js → websearch-39g9s8nq.js} +14 -14
- package/dist/chunks/{kv-zszxba2s.js → websearch-39r5ypbv.js} +23 -23
- package/dist/chunks/{kv-c27esgm9.js → websearch-3a83a0n4.js} +8 -8
- package/dist/chunks/{kv-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{kv-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{kv-syzt422z.js → websearch-3rsbafkh.js} +16 -16
- package/dist/chunks/{kv-nxe4pcap.js → websearch-3sj8yt8v.js} +4 -4
- package/dist/chunks/{kv-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{kv-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{kv-6cdytb58.js → websearch-3tzk5btq.js} +8 -8
- package/dist/chunks/{kv-6dtqx3zc.js → websearch-3xdhmafy.js} +13 -13
- package/dist/chunks/{kv-35a7vcrd.js → websearch-3yhc99zk.js} +11 -11
- package/dist/chunks/{kv-th451jzy.js → websearch-3zjvcxaq.js} +60 -60
- package/dist/chunks/{kv-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{kv-4ddjjg0p.js → websearch-4ha8056f.js} +27 -27
- package/dist/chunks/{kv-5epaq3n7.js → websearch-4npf7cmz.js} +19 -19
- package/dist/chunks/{kv-366ph4b8.js → websearch-4nwbh3f5.js} +11 -11
- package/dist/chunks/{kv-t82wkkdn.js → websearch-4pfks0zj.js} +9 -9
- package/dist/chunks/{kv-cvv2w4hc.js → websearch-4rmtry0w.js} +21 -21
- package/dist/chunks/{kv-rcmda6tc.js → websearch-4rq26644.js} +3 -3
- package/dist/chunks/{kv-4ts7tf6z.js → websearch-4ts7tf6z.js} +2 -2
- package/dist/chunks/{kv-4g1zz2v1.js → websearch-4vdkpn0c.js} +8 -8
- package/dist/chunks/{kv-jb1p813v.js → websearch-4y7b6nne.js} +146 -146
- package/dist/chunks/{kv-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{kv-1ygqh575.js → websearch-56gdpj1q.js} +9 -9
- package/dist/chunks/{kv-d6mdrvww.js → websearch-5cyaepj1.js} +27 -27
- package/dist/chunks/{kv-dssbfrwz.js → websearch-5fykfdj7.js} +5 -5
- package/dist/chunks/{kv-3ptewvj2.js → websearch-5m5b9f90.js} +50 -50
- package/dist/chunks/{kv-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{kv-ftkcznmp.js → websearch-5n3hf9qe.js} +4 -4
- package/dist/chunks/websearch-5pcer2zd.js +804 -0
- package/dist/chunks/{kv-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{kv-6xcvt31d.js → websearch-5w9yjztw.js} +1 -1
- package/dist/chunks/{kv-hndwyk0r.js → websearch-61dymhr3.js} +23 -23
- package/dist/chunks/{kv-cy4egse2.js → websearch-61x3c5p2.js} +9 -9
- package/dist/chunks/websearch-646er4hm.js +26 -0
- package/dist/chunks/{kv-6t5kp9rh.js → websearch-69rankd6.js} +15 -15
- package/dist/chunks/{kv-vqhvr9h8.js → websearch-6kagjaxc.js} +7 -4
- package/dist/chunks/{kv-ctgn3mrz.js → websearch-6nwm3v99.js} +16 -16
- package/dist/chunks/{kv-cdj8tbqs.js → websearch-6prf5v7s.js} +4 -4
- package/dist/chunks/{kv-wjxa98ap.js → websearch-6spsh8qa.js} +24 -24
- package/dist/chunks/{kv-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{kv-71az546q.js → websearch-71az546q.js} +2 -2
- package/dist/chunks/{kv-nnnd3cph.js → websearch-77602mw0.js} +93 -93
- package/dist/chunks/{kv-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{kv-ws4sjaxf.js → websearch-7debz9q9.js} +5 -5
- package/dist/chunks/{kv-fwnbcsnm.js → websearch-7m4fr4eg.js} +8 -8
- package/dist/chunks/{kv-6zz3m0fh.js → websearch-7q1m8mqh.js} +14 -14
- package/dist/chunks/{kv-25py64se.js → websearch-7sa9sn7a.js} +13 -13
- package/dist/chunks/{kv-qcmtpxqx.js → websearch-7x1at4dn.js} +13 -13
- package/dist/chunks/{kv-mhkvc446.js → websearch-7yh4e7ss.js} +3 -3
- package/dist/chunks/{kv-xdfad79h.js → websearch-8291f3dr.js} +49 -49
- package/dist/chunks/{kv-snaz9310.js → websearch-840vhfpn.js} +7 -7
- package/dist/chunks/{kv-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/{kv-p87d201m.js → websearch-86eb7x6n.js} +325 -325
- package/dist/chunks/{kv-tcezcvh9.js → websearch-89znhe33.js} +4 -4
- package/dist/chunks/{kv-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{kv-rqyrrfya.js → websearch-8feg831t.js} +21 -21
- package/dist/chunks/{kv-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{kv-xmd9wz50.js → websearch-8rv22t7y.js} +2 -2
- package/dist/chunks/{kv-py3kkmfq.js → websearch-8sze2n9a.js} +6 -6
- package/dist/chunks/{kv-vkfdnwpx.js → websearch-8tsdq50x.js} +4 -4
- package/dist/chunks/{kv-brhts8he.js → websearch-92jw639j.js} +14 -14
- package/dist/chunks/{kv-w3zwv4wx.js → websearch-982jyd3v.js} +15 -15
- package/dist/chunks/{kv-wemkyzrv.js → websearch-9a685mhr.js} +5 -5
- package/dist/chunks/{kv-7wgvetf0.js → websearch-9ctwkt1w.js} +13 -13
- package/dist/chunks/{kv-9e5bzkjp.js → websearch-9e5bzkjp.js} +3 -3
- package/dist/chunks/{kv-ch3jzc50.js → websearch-9ndxe7cf.js} +34 -34
- package/dist/chunks/{kv-dphc24b4.js → websearch-a66d3j4b.js} +33 -33
- package/dist/chunks/{kv-d737nyfv.js → websearch-a7bcxdzj.js} +9 -9
- package/dist/chunks/{kv-e9ra3rc2.js → websearch-a7qengj0.js} +32 -32
- package/dist/chunks/{kv-jsqb560b.js → websearch-a9g4d826.js} +25 -25
- package/dist/chunks/{kv-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{kv-h7696n0v.js → websearch-ajkgf329.js} +26 -21
- package/dist/chunks/{kv-8gqa7j8v.js → websearch-ak894bxf.js} +7 -7
- package/dist/chunks/{kv-6rxsm8b2.js → websearch-as51731q.js} +22 -22
- package/dist/chunks/{kv-zfs8ae4p.js → websearch-as7cf5zz.js} +4 -4
- package/dist/chunks/{kv-808z5t55.js → websearch-awz7phrz.js} +1 -1
- package/dist/chunks/{kv-fmgcz1aj.js → websearch-ayk56gb2.js} +11 -11
- package/dist/chunks/{kv-42t96xj3.js → websearch-azdnrsk3.js} +24 -24
- package/dist/chunks/{kv-vw57tvh8.js → websearch-azvdhf4w.js} +39 -39
- package/dist/chunks/{kv-5ymsght2.js → websearch-azy71b5p.js} +10 -10
- package/dist/chunks/{kv-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{kv-s8g2njyt.js → websearch-b6mrrfvp.js} +41 -41
- package/dist/chunks/{kv-10h2grd6.js → websearch-b7h6z6tn.js} +11 -11
- package/dist/chunks/{kv-ajzsbz6h.js → websearch-bf4gbvg4.js} +5 -5
- package/dist/chunks/{kv-9p5sgrfb.js → websearch-bhxvg1de.js} +77 -77
- package/dist/chunks/{kv-e5tewtqz.js → websearch-bmmnfx8r.js} +1 -1
- package/dist/chunks/{kv-xpcvy2br.js → websearch-bnf4ny6h.js} +17 -17
- package/dist/chunks/{kv-2579kh9d.js → websearch-bpazrep8.js} +9 -9
- package/dist/chunks/{kv-azh8f6zy.js → websearch-btxw9yhj.js} +22 -22
- package/dist/chunks/{kv-5evczv99.js → websearch-bwy0c07g.js} +8 -8
- package/dist/chunks/{kv-ygdna4kr.js → websearch-bx0gyb4h.js} +5 -5
- package/dist/chunks/{kv-9jzm7v48.js → websearch-c29bt6kc.js} +4 -4
- package/dist/chunks/{kv-930gsck4.js → websearch-c9q80gew.js} +22 -22
- package/dist/chunks/{kv-mj4srff6.js → websearch-cdyc8mbg.js} +18 -18
- package/dist/chunks/{kv-1vq0vbyf.js → websearch-ch8zzvzt.js} +33 -33
- package/dist/chunks/{kv-cmwkp3r5.js → websearch-cmwkp3r5.js} +1 -1
- package/dist/chunks/{kv-1cgd7pha.js → websearch-cpnsvgyn.js} +11 -11
- package/dist/chunks/{kv-67d2xr1y.js → websearch-crwg5b5x.js} +15 -15
- package/dist/chunks/{kv-g3a7jf08.js → websearch-cv5qh09f.js} +16 -16
- package/dist/chunks/{kv-vyrrmp6x.js → websearch-d7jfs23g.js} +11 -11
- package/dist/chunks/{kv-fkz2j366.js → websearch-d8gp6606.js} +69 -69
- package/dist/chunks/{kv-45595hde.js → websearch-d8k8q118.js} +33 -33
- package/dist/chunks/{kv-0re18gy8.js → websearch-dbw5xnms.js} +11 -11
- package/dist/chunks/{kv-2sejkfem.js → websearch-djszqvmq.js} +9 -9
- package/dist/chunks/{kv-vg59hbfz.js → websearch-dxjbxwhw.js} +16 -16
- package/dist/chunks/{kv-yc7nxbe2.js → websearch-ed8kcyd6.js} +132 -132
- package/dist/chunks/{kv-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{kv-mb87pwt1.js → websearch-eqzjvz86.js} +6 -6
- package/dist/chunks/{kv-qgn6gcr1.js → websearch-esafk7q3.js} +5 -5
- package/dist/chunks/{kv-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{kv-vy7h43fk.js → websearch-f5v94fes.js} +22 -22
- package/dist/chunks/{kv-rszma2xn.js → websearch-f7bw197q.js} +4 -4
- package/dist/chunks/{kv-j2h4gsx3.js → websearch-f7v4vsrc.js} +15 -15
- package/dist/chunks/{kv-ys3pca7w.js → websearch-f807xdkq.js} +11 -11
- package/dist/chunks/{kv-n2kj1sg0.js → websearch-fbdfn3v6.js} +27 -27
- package/dist/chunks/{kv-v0es1rhs.js → websearch-fpecnkgp.js} +9 -9
- package/dist/chunks/{kv-rvkykd53.js → websearch-g23m1zvc.js} +23 -23
- package/dist/chunks/{kv-mm9h18qq.js → websearch-g320bg51.js} +8 -8
- package/dist/chunks/{kv-6w7198b7.js → websearch-g6p1761n.js} +6 -6
- package/dist/chunks/{kv-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{kv-mae2kdyr.js → websearch-grytp6p2.js} +24 -24
- package/dist/chunks/{kv-ytyv5eys.js → websearch-gsde99f3.js} +20 -20
- package/dist/chunks/{kv-12a3t8vh.js → websearch-gv7jatst.js} +43 -43
- package/dist/chunks/{kv-bfkzbq3x.js → websearch-gvdagacx.js} +38 -38
- package/dist/chunks/{kv-h2b79v29.js → websearch-h2b79v29.js} +2 -2
- package/dist/chunks/{kv-qne4kd6g.js → websearch-h45th2ds.js} +21 -21
- package/dist/chunks/{kv-948csc8n.js → websearch-h4aahyek.js} +18 -18
- package/dist/chunks/{kv-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{kv-13bwbegs.js → websearch-h7e5g0tn.js} +6 -6
- package/dist/chunks/websearch-ht5y0zrb.js +18 -0
- package/dist/chunks/{kv-bfvwgmyn.js → websearch-hw9r87x5.js} +10 -10
- package/dist/chunks/{kv-rck9djz0.js → websearch-j3wgep5k.js} +18 -18
- package/dist/chunks/{kv-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{kv-kyeq8fzm.js → websearch-j5v8ay3k.js} +18 -18
- package/dist/chunks/{kv-47mf4edr.js → websearch-j5ytphad.js} +13 -13
- package/dist/chunks/{kv-54fe0yvq.js → websearch-j81axac7.js} +12 -12
- package/dist/chunks/{kv-enf12tk9.js → websearch-j89jws0x.js} +5 -5
- package/dist/chunks/{kv-dkhgx6kw.js → websearch-jabdm8bj.js} +1 -1
- package/dist/chunks/{kv-ang9sdtn.js → websearch-jervv9x6.js} +6 -6
- package/dist/chunks/{kv-ddcxhxh9.js → websearch-jt23je0j.js} +35 -35
- package/dist/chunks/{kv-nphwcreh.js → websearch-k6neyz0m.js} +32 -32
- package/dist/chunks/{kv-2nyjj8hd.js → websearch-k8bs8205.js} +6 -6
- package/dist/chunks/{kv-g0yaekcy.js → websearch-k8fn7c54.js} +27 -27
- package/dist/chunks/{kv-3801kdgp.js → websearch-kbqjp078.js} +5 -5
- package/dist/chunks/{kv-ys2gqn7k.js → websearch-kfvft1b1.js} +28 -28
- package/dist/chunks/{kv-f96bhag2.js → websearch-kfy7sq89.js} +36 -36
- package/dist/chunks/{kv-6fddr8vc.js → websearch-kg9y2ntz.js} +4 -4
- package/dist/chunks/{kv-bydnjh3t.js → websearch-kx004b36.js} +9 -9
- package/dist/chunks/{kv-gejbtgaw.js → websearch-kz9v81ff.js} +21 -21
- package/dist/chunks/{kv-3vxensx3.js → websearch-m18pb0hg.js} +15 -15
- package/dist/chunks/{kv-s4h2qwma.js → websearch-m21ceenz.js} +6 -6
- package/dist/chunks/{kv-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{kv-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{kv-007agb8z.js → websearch-mbnxefga.js} +2 -2
- package/dist/chunks/{kv-wehq120m.js → websearch-mqwxc12a.js} +11 -11
- package/dist/chunks/{kv-k7gjbccb.js → websearch-msjtsx7n.js} +26 -26
- package/dist/chunks/{kv-rjgdgsdr.js → websearch-mtsdzpvy.js} +22 -22
- package/dist/chunks/{kv-jgegdacd.js → websearch-mxc020gk.js} +49 -49
- package/dist/chunks/{kv-984x661q.js → websearch-n6y4yv9n.js} +14 -14
- package/dist/chunks/{kv-x6byvdkw.js → websearch-n88rcwe9.js} +3 -3
- package/dist/chunks/{kv-n3ph6zq5.js → websearch-nakf8p49.js} +22 -22
- package/dist/chunks/{kv-mnm8ds97.js → websearch-nej48kda.js} +35 -35
- package/dist/chunks/{kv-npfvvr87.js → websearch-neydyz2j.js} +20 -20
- package/dist/chunks/{kv-mgt2meas.js → websearch-njzd64q9.js} +1 -1
- package/dist/chunks/{kv-rty6w89f.js → websearch-nn2e5gpb.js} +2 -2
- package/dist/chunks/{kv-nrdmrqsx.js → websearch-nrdmrqsx.js} +1 -1
- package/dist/chunks/{kv-fx0gd3c1.js → websearch-ns5fmth5.js} +1 -1
- package/dist/chunks/{kv-dpkg50ah.js → websearch-nxm207yx.js} +4 -4
- package/dist/chunks/{kv-b45880ax.js → websearch-nya48ex2.js} +41 -41
- package/dist/chunks/{kv-xayvb0hr.js → websearch-p1wwb8ft.js} +6 -6
- package/dist/chunks/{kv-84wpbtae.js → websearch-p35qnqvw.js} +17 -17
- package/dist/chunks/{kv-7k3bpw74.js → websearch-p54yp2nj.js} +26 -26
- package/dist/chunks/{kv-0v09vagk.js → websearch-pdzkh7eq.js} +13 -13
- package/dist/chunks/{kv-fb8mpv19.js → websearch-phj4bqfk.js} +6 -6
- package/dist/chunks/{kv-6g5spzhr.js → websearch-pjtx22pt.js} +27 -27
- package/dist/chunks/{kv-h22y87dx.js → websearch-pjv0ea7y.js} +28 -28
- package/dist/chunks/{kv-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{kv-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{kv-rns5tpwh.js → websearch-pnyxb9e8.js} +11 -11
- package/dist/chunks/{kv-cekf18da.js → websearch-ppc8s294.js} +24 -24
- package/dist/chunks/{kv-nv1zm4pp.js → websearch-pqv9wp90.js} +115 -37
- package/dist/chunks/{kv-a4r3dq2k.js → websearch-q0cxhhrh.js} +13 -13
- package/dist/chunks/{kv-q0xm7vwc.js → websearch-q0xm7vwc.js} +2 -2
- package/dist/chunks/{kv-d20y7eht.js → websearch-q27r57qz.js} +17 -17
- package/dist/chunks/{kv-qkybe0c6.js → websearch-q4amnm77.js} +32 -32
- package/dist/chunks/{kv-bgj4gnp0.js → websearch-qdctmj2b.js} +14 -14
- package/dist/chunks/{kv-fhpe866r.js → websearch-qgwn4ht9.js} +9 -9
- package/dist/chunks/{kv-a5pr435h.js → websearch-qkafy0fg.js} +43 -34
- package/dist/chunks/{kv-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{kv-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{kv-qxjc9qry.js → websearch-qxjc9qry.js} +3 -3
- package/dist/chunks/{kv-cp7jndq9.js → websearch-qyhb8vg4.js} +6 -6
- package/dist/chunks/{kv-7ghw0wmm.js → websearch-r2qntz6x.js} +5 -5
- package/dist/chunks/{kv-k25jt64g.js → websearch-r2v45gwg.js} +4 -4
- package/dist/chunks/{kv-78wqg8jh.js → websearch-r3eec8d1.js} +8 -8
- package/dist/chunks/{kv-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{kv-s8d7rejh.js → websearch-rhjbct0v.js} +4 -4
- package/dist/chunks/{kv-sjgsw2hk.js → websearch-rrt0a0ha.js} +2 -2
- package/dist/chunks/{kv-pbfwh0cy.js → websearch-ryr25ayn.js} +7 -7
- package/dist/chunks/{kv-3k6tstd2.js → websearch-s2v6mes9.js} +47 -47
- package/dist/chunks/{kv-77pjx4k4.js → websearch-s6hdbq7w.js} +27 -27
- package/dist/chunks/{kv-8me8kj13.js → websearch-s6zp9vx7.js} +11 -11
- package/dist/chunks/{kv-3bh97vej.js → websearch-sbvqbenm.js} +22 -22
- package/dist/chunks/{kv-n4r13bs7.js → websearch-sqka8dgb.js} +32 -32
- package/dist/chunks/{kv-gmdr493m.js → websearch-srjnacjb.js} +35 -35
- package/dist/chunks/{kv-srq8z0b0.js → websearch-srq8z0b0.js} +2 -2
- package/dist/chunks/{kv-d1me7hxe.js → websearch-st0npvhs.js} +13 -13
- package/dist/chunks/{kv-0p15mrma.js → websearch-st32wr7j.js} +39 -39
- package/dist/chunks/{kv-mwb2myx2.js → websearch-t13j5h2t.js} +8 -8
- package/dist/chunks/{kv-t2az9yje.js → websearch-t7n9q6bq.js} +4 -4
- package/dist/chunks/{kv-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{kv-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{kv-amf37a4y.js → websearch-tk0jm5ys.js} +10 -10
- package/dist/chunks/{kv-79r4g3vq.js → websearch-tnvc4487.js} +1 -1
- package/dist/chunks/{kv-at2kzgpx.js → websearch-v0mr0657.js} +26 -26
- package/dist/chunks/{kv-r8pf2rje.js → websearch-v1xjeqfc.js} +15 -15
- package/dist/chunks/{kv-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{kv-etag6te0.js → websearch-vft5y8p3.js} +14 -14
- package/dist/chunks/{kv-a68x47kk.js → websearch-vq6jz5cn.js} +24 -24
- package/dist/chunks/{kv-h7bdckh5.js → websearch-vtz2n0ks.js} +25 -25
- package/dist/chunks/{kv-9ae44cfy.js → websearch-vvccsdf3.js} +6 -6
- package/dist/chunks/{kv-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{kv-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{kv-05xfxpq7.js → websearch-was7srj9.js} +8 -8
- package/dist/chunks/{kv-0jck1kcq.js → websearch-wbbmgwfw.js} +13 -13
- package/dist/chunks/{kv-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{kv-6evx7sdp.js → websearch-we1wht7r.js} +9 -9
- package/dist/chunks/{kv-qygbw77c.js → websearch-wecqtg5s.js} +5 -5
- package/dist/chunks/{kv-rbknh4pb.js → websearch-wg0sz2b3.js} +4 -4
- package/dist/chunks/{kv-pkq59grd.js → websearch-wgad3ngy.js} +34 -34
- package/dist/chunks/{kv-wdp4gayr.js → websearch-whynf17d.js} +6 -6
- package/dist/chunks/{kv-4ckpdmry.js → websearch-wnvdweyr.js} +32 -32
- package/dist/chunks/{kv-ssabpyyc.js → websearch-wps1s803.js} +11 -11
- package/dist/chunks/{kv-bj94ydjv.js → websearch-wvk530dw.js} +3 -3
- package/dist/chunks/{kv-ykgnqdw6.js → websearch-wzvmtxfv.js} +9 -9
- package/dist/chunks/{kv-h6310vsd.js → websearch-x3gqap9d.js} +4 -4
- package/dist/chunks/{kv-39259x0v.js → websearch-x5r3rcm4.js} +13 -13
- package/dist/chunks/{kv-x661k3y3.js → websearch-x661k3y3.js} +1 -1
- package/dist/chunks/{kv-xfkkasph.js → websearch-xfkkasph.js} +1 -1
- package/dist/chunks/{kv-xkntkrq7.js → websearch-xkntkrq7.js} +2 -2
- package/dist/chunks/{kv-acvt02vq.js → websearch-xrgtgbry.js} +45 -45
- package/dist/chunks/{kv-9x77fmbz.js → websearch-xs53z2pm.js} +4 -4
- package/dist/chunks/{kv-n57qrn3a.js → websearch-xsgjgyxe.js} +4 -4
- package/dist/chunks/{kv-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{kv-z182drtd.js → websearch-ydrjwzz4.js} +20 -20
- package/dist/chunks/{kv-f3wh3a97.js → websearch-yr6mg933.js} +9 -9
- package/dist/chunks/{kv-t6ymfg4y.js → websearch-ysv0hq5q.js} +15 -15
- package/dist/chunks/{kv-3hxhjqkg.js → websearch-ysyw0m6j.js} +15 -15
- package/dist/chunks/{kv-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{kv-8n5pds5p.js → websearch-zcw1eqvx.js} +14 -14
- package/dist/chunks/{kv-tsaxfawh.js → websearch-zqvvwnj3.js} +16 -16
- package/dist/chunks/{kv-sajthb1z.js → websearch-zqzjtd27.js} +16 -16
- package/dist/chunks/{kv-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{kv-tpsfpmb6.js → websearch-zv1drtmj.js} +18 -18
- package/dist/chunks/{kv-qq0p66nj.js → websearch-zw4db5pj.js} +9 -9
- package/dist/chunks/{kv-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +80 -80
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +75 -75
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- package/dist/git.js +10 -10
- 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 +100 -100
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +91 -91
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- 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 +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +98 -98
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +129 -129
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +106 -106
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/git.d.ts +23 -10
- package/dist/types/session/runner/publish-llm-event.d.ts +2 -1
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/kv-7gbq6z1m.js +0 -26
- package/dist/chunks/kv-phz3h32g.js +0 -18
- package/dist/chunks/kv-zc5g640q.js +0 -466
- /package/dist/chunks/{kv-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{kv-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{kv-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{kv-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{kv-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{kv-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{kv-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{kv-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{kv-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{kv-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{kv-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{kv-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{kv-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{kv-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{kv-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{kv-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{kv-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{kv-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{kv-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{kv-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{kv-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{kv-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{kv-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{kv-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{kv-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{kv-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{kv-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{kv-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{kv-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{kv-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{kv-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{kv-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{kv-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{kv-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{kv-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{kv-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{kv-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{kv-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{kv-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{kv-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{kv-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{kv-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{kv-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{kv-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{kv-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{kv-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{kv-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{kv-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{kv-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{kv-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{kv-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{kv-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{kv-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{kv-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{kv-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{kv-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{kv-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{kv-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{kv-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{kv-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{kv-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{kv-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{kv-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{kv-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{kv-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{kv-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{kv-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{kv-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{kv-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{kv-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{kv-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{kv-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{kv-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{kv-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{kv-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{kv-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{kv-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{kv-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{kv-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{kv-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{kv-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{kv-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{kv-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{kv-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{kv-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{kv-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{kv-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{kv-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{kv-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{kv-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{kv-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{kv-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{kv-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{kv-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{kv-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{kv-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{kv-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{kv-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service35,
|
|
3
|
+
node38
|
|
4
|
+
} from "./websearch-sbvqbenm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./websearch-dxjbxwhw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service34,
|
|
11
|
+
node37
|
|
12
|
+
} from "./websearch-8291f3dr.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service4,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer5,
|
|
28
|
+
node: () => node6
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,13 +33,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service4 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer5 = Layer.effect(Service4, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service34;
|
|
40
|
+
const watcher = yield* Service35;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const location = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
44
44
|
const watched = new Set;
|
|
45
45
|
const watchConfiguredSources = Effect.fn("ConfigPluginSource.watchConfiguredSources")(function* (entries, operations) {
|
|
@@ -58,7 +58,7 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service4.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer6 = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node6 = makeLocationNode({
|
|
74
|
+
service: Service4,
|
|
75
|
+
layer: layer5,
|
|
76
|
+
deps: [node37, FSUtil.node, node38, node82]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service4,
|
|
80
|
+
layer: Layer.succeed(Service4, Service4.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service4, layer5, node6, empty2, exports_source };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./websearch-8291f3dr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./websearch-a7bcxdzj.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin27
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin27 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service34;
|
|
26
|
+
const image = yield* Service84;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin46 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin27, exports_image };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event6,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options5,
|
|
17
|
+
Service: () => Service35,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured4,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer16,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node38,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event6 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options5 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service35 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer16 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service35.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer18 = (options) => Layer.effect(Service40, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service35.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer16().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service35).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service35, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured4(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service35, layer: layer16(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node38 = configured4();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event6, hasNativeBinding2, Native3, Options5, Service35, Test3, layer16, testLayer3, nativeLayer2, nativeNode2, configured4, node38, exports_watcher };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./websearch-zqvvwnj3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service29,
|
|
7
|
+
node32
|
|
8
|
+
} from "./websearch-0cnb27jj.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service56,
|
|
11
|
+
node59
|
|
12
|
+
} from "./websearch-s2v6mes9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service36,
|
|
15
|
+
node39
|
|
16
|
+
} from "./websearch-a9g4d826.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node27
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service23 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service29;
|
|
42
|
+
const tools = yield* Service36;
|
|
43
|
+
const bus = yield* Service82;
|
|
44
|
+
const permission = yield* Service56;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service23.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node27 = makeLocationNode({
|
|
124
|
+
service: Service23,
|
|
125
|
+
layer: layer10,
|
|
126
|
+
deps: [node39, node32, node86, node59]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service23, layer10, node27, exports_mcp3 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
Service80
|
|
9
|
-
} from "./kv-vg59hbfz.js";
|
|
6
|
+
} from "./websearch-z5v4ffb3.js";
|
|
10
7
|
import {
|
|
11
8
|
Service78
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./websearch-dxjbxwhw.js";
|
|
10
|
+
import {
|
|
11
|
+
Service76
|
|
12
|
+
} from "./websearch-azdnrsk3.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./websearch-qdctmj2b.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
24
|
-
import {
|
|
25
|
-
Service57
|
|
26
|
-
} from "./kv-3k6tstd2.js";
|
|
23
|
+
} from "./websearch-ch8zzvzt.js";
|
|
27
24
|
import {
|
|
28
25
|
Service56
|
|
29
|
-
} from "./
|
|
26
|
+
} from "./websearch-s2v6mes9.js";
|
|
27
|
+
import {
|
|
28
|
+
Service12
|
|
29
|
+
} from "./websearch-h4aahyek.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./websearch-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin2,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin2 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service76;
|
|
90
|
+
const ripgrep = yield* Service75;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service12;
|
|
93
|
+
const permission = yield* Service56;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin24 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin24 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin2, exports_grep };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-as51731q.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-v1xjeqfc.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service34
|
|
11
|
+
} from "./websearch-8291f3dr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
resolve4
|
|
14
|
+
} from "./websearch-p1wwb8ft.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin30
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin30 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service34;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -175,7 +175,7 @@ var Plugin32 = define({
|
|
|
175
175
|
if (config.variants === undefined && !source?.base)
|
|
176
176
|
models.update(providerID, id, (model) => {
|
|
177
177
|
model.variants = [
|
|
178
|
-
...
|
|
178
|
+
...resolve4({
|
|
179
179
|
...model,
|
|
180
180
|
package: model.package ?? models.provider.get(providerID)?.provider.package
|
|
181
181
|
})
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin30, exports_provider };
|