@opencode/core 0.0.0-dev-20747 → 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 +82 -82
- 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/{persistent-pty-enbmzra5.js → websearch-006rr4yd.js} +33 -33
- package/dist/chunks/{persistent-pty-74q28yk0.js → websearch-01vn8qag.js} +22 -22
- package/dist/chunks/{persistent-pty-6styks70.js → websearch-0cnb27jj.js} +54 -54
- package/dist/chunks/{persistent-pty-dt81nn0a.js → websearch-0cp7wepg.js} +13 -13
- package/dist/chunks/{persistent-pty-gebtr55s.js → websearch-0nde5ztd.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-7j2qha59.js → websearch-0tzy42a9.js} +8 -8
- package/dist/chunks/{persistent-pty-0vbcp93d.js → websearch-0vbcp93d.js} +2 -2
- package/dist/chunks/{persistent-pty-qhq1qkp9.js → websearch-10ezvpkj.js} +18 -18
- package/dist/chunks/{persistent-pty-rhraev7y.js → websearch-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-1dvck2a7.js → websearch-1dvck2a7.js} +2 -2
- package/dist/chunks/{persistent-pty-yq69kk6a.js → websearch-1r3jt38r.js} +16 -16
- package/dist/chunks/{persistent-pty-8wnx5jkb.js → websearch-1tkx5wjx.js} +13 -13
- package/dist/chunks/{persistent-pty-qanbtx8r.js → websearch-271ks4j7.js} +5 -5
- package/dist/chunks/{persistent-pty-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-0frbsszj.js → websearch-2gxwdmk2.js} +5 -5
- package/dist/chunks/{persistent-pty-vq7qj473.js → websearch-2hxs6azb.js} +17 -17
- package/dist/chunks/{persistent-pty-fkxkd9y2.js → websearch-35p9bx9e.js} +18 -18
- package/dist/chunks/{persistent-pty-h20gnzmc.js → websearch-39g9s8nq.js} +18 -18
- package/dist/chunks/{persistent-pty-mhmqmh3t.js → websearch-39r5ypbv.js} +18 -18
- package/dist/chunks/{persistent-pty-8mbscqky.js → websearch-3a83a0n4.js} +8 -8
- package/dist/chunks/{persistent-pty-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-99zegn8n.js → websearch-3rsbafkh.js} +16 -16
- package/dist/chunks/{persistent-pty-3sj8yt8v.js → websearch-3sj8yt8v.js} +1 -1
- package/dist/chunks/{persistent-pty-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-f2tgbz6g.js → websearch-3tzk5btq.js} +14 -14
- package/dist/chunks/{persistent-pty-jw3c4zpw.js → websearch-3xdhmafy.js} +13 -13
- package/dist/chunks/{persistent-pty-2xsz0vfe.js → websearch-3yhc99zk.js} +11 -11
- package/dist/chunks/{persistent-pty-ffs2e08n.js → websearch-3zjvcxaq.js} +60 -60
- package/dist/chunks/{persistent-pty-3zsf4n22.js → websearch-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-x1aggpc5.js → websearch-4ha8056f.js} +29 -29
- package/dist/chunks/{persistent-pty-mkcqfmf9.js → websearch-4npf7cmz.js} +26 -26
- package/dist/chunks/{persistent-pty-a6mcp28b.js → websearch-4nwbh3f5.js} +11 -11
- package/dist/chunks/{persistent-pty-acvbq3eb.js → websearch-4pfks0zj.js} +9 -9
- package/dist/chunks/{persistent-pty-9zee5fs2.js → websearch-4rmtry0w.js} +21 -21
- package/dist/chunks/{persistent-pty-z3b9gz9j.js → websearch-4rq26644.js} +5 -5
- package/dist/chunks/{persistent-pty-4ts7tf6z.js → websearch-4ts7tf6z.js} +2 -2
- package/dist/chunks/{persistent-pty-33g5rmys.js → websearch-4vdkpn0c.js} +8 -8
- package/dist/chunks/websearch-4y7b6nne.js +253 -0
- package/dist/chunks/{persistent-pty-54ma36ye.js → websearch-54ma36ye.js} +1 -1
- package/dist/chunks/{persistent-pty-33w4ejhs.js → websearch-56gdpj1q.js} +6 -6
- package/dist/chunks/{persistent-pty-5yp2r36g.js → websearch-5cyaepj1.js} +29 -29
- package/dist/chunks/{persistent-pty-wh6zw745.js → websearch-5fykfdj7.js} +5 -5
- package/dist/chunks/{persistent-pty-sg0z4cbk.js → websearch-5m5b9f90.js} +51 -51
- package/dist/chunks/{persistent-pty-5m9w47nd.js → websearch-5m9w47nd.js} +1 -1
- package/dist/chunks/{persistent-pty-wd489eb9.js → websearch-5n3hf9qe.js} +4 -4
- package/dist/chunks/{persistent-pty-qffxxdg5.js → websearch-5pcer2zd.js} +13 -15
- package/dist/chunks/{persistent-pty-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-5w9yjztw.js → websearch-5w9yjztw.js} +1 -1
- package/dist/chunks/{persistent-pty-s2tvcjnh.js → websearch-61dymhr3.js} +47 -47
- package/dist/chunks/{persistent-pty-p22s9xh3.js → websearch-61x3c5p2.js} +9 -9
- package/dist/chunks/websearch-646er4hm.js +26 -0
- package/dist/chunks/{persistent-pty-6wm4d0bn.js → websearch-69rankd6.js} +15 -15
- package/dist/chunks/{persistent-pty-e875qc4w.js → websearch-6kagjaxc.js} +3 -3
- package/dist/chunks/{persistent-pty-60p1jfrx.js → websearch-6nwm3v99.js} +16 -16
- package/dist/chunks/{persistent-pty-pd8w2hzr.js → websearch-6prf5v7s.js} +4 -4
- package/dist/chunks/{persistent-pty-3932bm6w.js → websearch-6spsh8qa.js} +45 -45
- package/dist/chunks/{persistent-pty-6xb47vfp.js → websearch-6xb47vfp.js} +1 -1
- package/dist/chunks/{persistent-pty-71az546q.js → websearch-71az546q.js} +2 -2
- package/dist/chunks/{persistent-pty-jvtb2vkm.js → websearch-77602mw0.js} +94 -94
- package/dist/chunks/{persistent-pty-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-n91836cy.js → websearch-7debz9q9.js} +5 -5
- package/dist/chunks/{persistent-pty-acmc0np2.js → websearch-7m4fr4eg.js} +8 -8
- package/dist/chunks/{persistent-pty-kn76agft.js → websearch-7q1m8mqh.js} +14 -14
- package/dist/chunks/{persistent-pty-j95ptk0s.js → websearch-7sa9sn7a.js} +24 -24
- package/dist/chunks/{persistent-pty-6h9jd8xm.js → websearch-7x1at4dn.js} +13 -13
- package/dist/chunks/{persistent-pty-mhkvc446.js → websearch-7yh4e7ss.js} +3 -3
- package/dist/chunks/{persistent-pty-pz6e2333.js → websearch-8291f3dr.js} +49 -49
- package/dist/chunks/{persistent-pty-mqjweymz.js → websearch-840vhfpn.js} +7 -7
- package/dist/chunks/{persistent-pty-84txncab.js → websearch-84txncab.js} +1 -1
- package/dist/chunks/websearch-86eb7x6n.js +507 -0
- package/dist/chunks/{persistent-pty-tcezcvh9.js → websearch-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-nkzrceyp.js → websearch-8feg831t.js} +23 -23
- package/dist/chunks/{persistent-pty-8m6m0r52.js → websearch-8m6m0r52.js} +1 -1
- package/dist/chunks/{persistent-pty-w2vs668w.js → websearch-8rv22t7y.js} +4 -4
- package/dist/chunks/{persistent-pty-cfsekr6v.js → websearch-8sze2n9a.js} +6 -6
- package/dist/chunks/{persistent-pty-80scg3y3.js → websearch-8tsdq50x.js} +4 -4
- package/dist/chunks/{persistent-pty-a9f75xna.js → websearch-92jw639j.js} +11 -11
- package/dist/chunks/{persistent-pty-fxzv5hcv.js → websearch-982jyd3v.js} +15 -15
- package/dist/chunks/{persistent-pty-ys4q2a0p.js → websearch-9a685mhr.js} +7 -7
- package/dist/chunks/{persistent-pty-246p6v4n.js → websearch-9ctwkt1w.js} +20 -20
- package/dist/chunks/{persistent-pty-9e5bzkjp.js → websearch-9e5bzkjp.js} +3 -3
- package/dist/chunks/{persistent-pty-f8jd5471.js → websearch-9ndxe7cf.js} +37 -37
- package/dist/chunks/{persistent-pty-cyf4hc4a.js → websearch-a66d3j4b.js} +33 -33
- package/dist/chunks/{persistent-pty-zab19jja.js → websearch-a7bcxdzj.js} +9 -9
- package/dist/chunks/{persistent-pty-mjc7kzsv.js → websearch-a7qengj0.js} +32 -32
- package/dist/chunks/{persistent-pty-9mtr07j4.js → websearch-a9g4d826.js} +25 -25
- package/dist/chunks/{persistent-pty-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-tr0vwqfg.js → websearch-ajkgf329.js} +19 -19
- package/dist/chunks/{persistent-pty-5ytnddsz.js → websearch-ak894bxf.js} +7 -7
- package/dist/chunks/{persistent-pty-gpe2knh0.js → websearch-as51731q.js} +29 -29
- package/dist/chunks/{persistent-pty-zfs8ae4p.js → websearch-as7cf5zz.js} +4 -4
- package/dist/chunks/{persistent-pty-64va9agc.js → websearch-awz7phrz.js} +3 -3
- package/dist/chunks/{persistent-pty-4ejbdg5p.js → websearch-ayk56gb2.js} +11 -11
- package/dist/chunks/{persistent-pty-f6yrfa37.js → websearch-azdnrsk3.js} +24 -24
- package/dist/chunks/{persistent-pty-dz8kt8cs.js → websearch-azvdhf4w.js} +45 -45
- package/dist/chunks/{persistent-pty-zyt2xg97.js → websearch-azy71b5p.js} +10 -10
- package/dist/chunks/{persistent-pty-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-qcb4xgkg.js → websearch-b6mrrfvp.js} +41 -41
- package/dist/chunks/{persistent-pty-qkpjj9ac.js → websearch-b7h6z6tn.js} +11 -11
- package/dist/chunks/{persistent-pty-tag6x3x4.js → websearch-bf4gbvg4.js} +11 -11
- package/dist/chunks/{persistent-pty-p9rzmxqj.js → websearch-bhxvg1de.js} +94 -94
- package/dist/chunks/{persistent-pty-3fm4gsbd.js → websearch-bmmnfx8r.js} +5 -5
- package/dist/chunks/{persistent-pty-jx91nfq8.js → websearch-bnf4ny6h.js} +17 -17
- package/dist/chunks/{persistent-pty-56y8pkfk.js → websearch-bpazrep8.js} +9 -9
- package/dist/chunks/{persistent-pty-frs7w0sc.js → websearch-btxw9yhj.js} +25 -25
- package/dist/chunks/{persistent-pty-gae362ez.js → websearch-bwy0c07g.js} +11 -11
- package/dist/chunks/{persistent-pty-bx0gyb4h.js → websearch-bx0gyb4h.js} +2 -2
- package/dist/chunks/{persistent-pty-fypvnyj1.js → websearch-c29bt6kc.js} +4 -4
- package/dist/chunks/{persistent-pty-3vvm55qk.js → websearch-c9q80gew.js} +22 -22
- package/dist/chunks/{persistent-pty-fzvyqwy2.js → websearch-cdyc8mbg.js} +18 -18
- package/dist/chunks/{persistent-pty-mq2s0m0j.js → websearch-ch8zzvzt.js} +33 -33
- package/dist/chunks/{persistent-pty-tpw6cwsb.js → websearch-cmwkp3r5.js} +8 -8
- package/dist/chunks/{persistent-pty-10544tvr.js → websearch-cpnsvgyn.js} +14 -14
- package/dist/chunks/{persistent-pty-gasqarw7.js → websearch-crwg5b5x.js} +17 -17
- package/dist/chunks/{persistent-pty-y01hq6fz.js → websearch-cv5qh09f.js} +19 -19
- package/dist/chunks/{persistent-pty-1z0qe0de.js → websearch-d7jfs23g.js} +11 -11
- package/dist/chunks/{persistent-pty-w7e5sy50.js → websearch-d8gp6606.js} +67 -67
- package/dist/chunks/{persistent-pty-krfd5zbt.js → websearch-d8k8q118.js} +28 -28
- package/dist/chunks/{persistent-pty-k3tzam8s.js → websearch-dbw5xnms.js} +11 -11
- package/dist/chunks/{persistent-pty-cwa6csj7.js → websearch-djszqvmq.js} +9 -9
- package/dist/chunks/{persistent-pty-bxn9kzm3.js → websearch-dxjbxwhw.js} +16 -16
- package/dist/chunks/{persistent-pty-3w9mrsnt.js → websearch-ed8kcyd6.js} +191 -191
- package/dist/chunks/{persistent-pty-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-zdd0mkhs.js → websearch-eqzjvz86.js} +8 -8
- package/dist/chunks/{persistent-pty-qgn6gcr1.js → websearch-esafk7q3.js} +5 -5
- package/dist/chunks/{persistent-pty-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-59f1da7z.js → websearch-f5v94fes.js} +22 -22
- package/dist/chunks/{persistent-pty-abvg2g3b.js → websearch-f7bw197q.js} +4 -4
- package/dist/chunks/{persistent-pty-5nqjp53p.js → websearch-f7v4vsrc.js} +19 -19
- package/dist/chunks/{persistent-pty-0vyhe54f.js → websearch-f807xdkq.js} +11 -11
- package/dist/chunks/{persistent-pty-452d3xjs.js → websearch-fbdfn3v6.js} +26 -26
- package/dist/chunks/{persistent-pty-v0es1rhs.js → websearch-fpecnkgp.js} +9 -9
- package/dist/chunks/{persistent-pty-66fjaabt.js → websearch-g23m1zvc.js} +20 -20
- package/dist/chunks/{persistent-pty-s478zet3.js → websearch-g320bg51.js} +8 -8
- package/dist/chunks/{persistent-pty-r21g991y.js → websearch-g6p1761n.js} +6 -6
- package/dist/chunks/{persistent-pty-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5r5kzg.js → websearch-grytp6p2.js} +24 -24
- package/dist/chunks/{persistent-pty-dr7bzdbp.js → websearch-gsde99f3.js} +38 -38
- package/dist/chunks/{persistent-pty-ydfvykp3.js → websearch-gv7jatst.js} +43 -43
- package/dist/chunks/{persistent-pty-w57dmcrw.js → websearch-gvdagacx.js} +43 -43
- package/dist/chunks/{persistent-pty-h2b79v29.js → websearch-h2b79v29.js} +2 -2
- package/dist/chunks/{persistent-pty-a98w2xn9.js → websearch-h45th2ds.js} +27 -27
- package/dist/chunks/{persistent-pty-wfh6bfqk.js → websearch-h4aahyek.js} +18 -18
- package/dist/chunks/{persistent-pty-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-brp8zeym.js → websearch-h7e5g0tn.js} +6 -6
- package/dist/chunks/websearch-ht5y0zrb.js +18 -0
- package/dist/chunks/{persistent-pty-qe9h9j2v.js → websearch-hw9r87x5.js} +10 -10
- package/dist/chunks/{persistent-pty-qam9v5v6.js → websearch-j3wgep5k.js} +18 -18
- package/dist/chunks/{persistent-pty-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-rp3v7rzg.js → websearch-j5v8ay3k.js} +13 -13
- package/dist/chunks/{persistent-pty-90y6s5gw.js → websearch-j5ytphad.js} +21 -21
- package/dist/chunks/{persistent-pty-tk4fwett.js → websearch-j81axac7.js} +12 -12
- package/dist/chunks/{persistent-pty-v2dgrqw5.js → websearch-j89jws0x.js} +5 -5
- package/dist/chunks/{persistent-pty-07j4p7xr.js → websearch-jabdm8bj.js} +5 -5
- package/dist/chunks/{persistent-pty-esvm55dh.js → websearch-jervv9x6.js} +5 -5
- package/dist/chunks/{persistent-pty-8d6z1td2.js → websearch-jt23je0j.js} +35 -35
- package/dist/chunks/{persistent-pty-g59hsv3e.js → websearch-k6neyz0m.js} +32 -32
- package/dist/chunks/{persistent-pty-vy5bmntt.js → websearch-k8bs8205.js} +11 -11
- package/dist/chunks/{persistent-pty-5706e983.js → websearch-k8fn7c54.js} +29 -29
- package/dist/chunks/{persistent-pty-k8hpw67k.js → websearch-kbqjp078.js} +5 -5
- package/dist/chunks/{persistent-pty-tgxmpcwb.js → websearch-kfvft1b1.js} +22 -22
- package/dist/chunks/{persistent-pty-7ffm7kw8.js → websearch-kfy7sq89.js} +36 -36
- package/dist/chunks/{persistent-pty-d4wtke4k.js → websearch-kg9y2ntz.js} +4 -4
- package/dist/chunks/{persistent-pty-4jyvzrab.js → websearch-kx004b36.js} +9 -9
- package/dist/chunks/{persistent-pty-agk8v0ng.js → websearch-kz9v81ff.js} +25 -25
- package/dist/chunks/{persistent-pty-mvbwjcmq.js → websearch-m18pb0hg.js} +15 -15
- package/dist/chunks/{persistent-pty-34q6evc7.js → websearch-m21ceenz.js} +6 -6
- package/dist/chunks/{persistent-pty-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-mbnxefga.js → websearch-mbnxefga.js} +2 -2
- package/dist/chunks/{persistent-pty-p9mp4ezq.js → websearch-mqwxc12a.js} +11 -11
- package/dist/chunks/{persistent-pty-svq9n8fc.js → websearch-msjtsx7n.js} +28 -28
- package/dist/chunks/{persistent-pty-wakgm00q.js → websearch-mtsdzpvy.js} +22 -22
- package/dist/chunks/{persistent-pty-bhr47zss.js → websearch-mxc020gk.js} +49 -49
- package/dist/chunks/{persistent-pty-ekgbms86.js → websearch-n6y4yv9n.js} +22 -22
- package/dist/chunks/{persistent-pty-c9w4s4wj.js → websearch-n88rcwe9.js} +3 -3
- package/dist/chunks/{persistent-pty-nt5zybzt.js → websearch-nakf8p49.js} +32 -32
- package/dist/chunks/{persistent-pty-x2v10rcr.js → websearch-nej48kda.js} +33 -33
- package/dist/chunks/{persistent-pty-va0yvadb.js → websearch-neydyz2j.js} +20 -20
- package/dist/chunks/{persistent-pty-6m3pxvzn.js → websearch-njzd64q9.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepmaxp.js → websearch-nn2e5gpb.js} +2 -2
- package/dist/chunks/{persistent-pty-mjymc32g.js → websearch-nrdmrqsx.js} +4 -4
- package/dist/chunks/{persistent-pty-g64e51y2.js → websearch-ns5fmth5.js} +3 -3
- package/dist/chunks/{persistent-pty-nxm207yx.js → websearch-nxm207yx.js} +1 -1
- package/dist/chunks/{persistent-pty-qpnhhads.js → websearch-nya48ex2.js} +41 -41
- package/dist/chunks/{persistent-pty-4rnf1fga.js → websearch-p1wwb8ft.js} +6 -6
- package/dist/chunks/{persistent-pty-4paq57hf.js → websearch-p35qnqvw.js} +17 -17
- package/dist/chunks/{persistent-pty-dnjek89v.js → websearch-p54yp2nj.js} +26 -26
- package/dist/chunks/{persistent-pty-5c29pvm2.js → websearch-pdzkh7eq.js} +13 -13
- package/dist/chunks/{persistent-pty-qja65tr3.js → websearch-phj4bqfk.js} +3 -3
- package/dist/chunks/{persistent-pty-71cxckq4.js → websearch-pjtx22pt.js} +27 -27
- package/dist/chunks/{persistent-pty-yw99rzrh.js → websearch-pjv0ea7y.js} +28 -28
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-7efngqr9.js → websearch-pnyxb9e8.js} +11 -11
- package/dist/chunks/{persistent-pty-z8aq2wwt.js → websearch-ppc8s294.js} +28 -28
- package/dist/chunks/{persistent-pty-2wv1r8xa.js → websearch-pqv9wp90.js} +10 -10
- package/dist/chunks/{persistent-pty-hz8hz416.js → websearch-q0cxhhrh.js} +13 -13
- package/dist/chunks/{persistent-pty-q0xm7vwc.js → websearch-q0xm7vwc.js} +2 -2
- package/dist/chunks/{persistent-pty-v6w1ycpy.js → websearch-q27r57qz.js} +18 -18
- package/dist/chunks/{persistent-pty-hgbx6y65.js → websearch-q4amnm77.js} +32 -32
- package/dist/chunks/{persistent-pty-8rz84ek2.js → websearch-qdctmj2b.js} +18 -18
- package/dist/chunks/{persistent-pty-3d9da72j.js → websearch-qgwn4ht9.js} +9 -9
- package/dist/chunks/{persistent-pty-jqmrr43j.js → websearch-qkafy0fg.js} +31 -31
- package/dist/chunks/{persistent-pty-qnc92qwc.js → websearch-qnc92qwc.js} +1 -1
- package/dist/chunks/{persistent-pty-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-qxjc9qry.js → websearch-qxjc9qry.js} +3 -3
- package/dist/chunks/{persistent-pty-p8xb6st8.js → websearch-qyhb8vg4.js} +6 -6
- package/dist/chunks/{persistent-pty-2zfembs1.js → websearch-r2qntz6x.js} +3 -3
- package/dist/chunks/{persistent-pty-a4y9yw62.js → websearch-r2v45gwg.js} +4 -4
- package/dist/chunks/{persistent-pty-79sjm6pt.js → websearch-r3eec8d1.js} +8 -8
- package/dist/chunks/{persistent-pty-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-s8d7rejh.js → websearch-rhjbct0v.js} +4 -4
- package/dist/chunks/{persistent-pty-t2fc4mz5.js → websearch-ryr25ayn.js} +4 -4
- package/dist/chunks/{persistent-pty-dcq95y2f.js → websearch-s2v6mes9.js} +44 -44
- package/dist/chunks/{persistent-pty-c2dj01cg.js → websearch-s6hdbq7w.js} +27 -27
- package/dist/chunks/{persistent-pty-f21pkny0.js → websearch-s6zp9vx7.js} +11 -11
- package/dist/chunks/{persistent-pty-6mhqdab4.js → websearch-sbvqbenm.js} +22 -22
- package/dist/chunks/{persistent-pty-294dxt6s.js → websearch-sqka8dgb.js} +28 -28
- package/dist/chunks/{persistent-pty-h4gx7g90.js → websearch-srjnacjb.js} +35 -35
- package/dist/chunks/{persistent-pty-srq8z0b0.js → websearch-srq8z0b0.js} +2 -2
- package/dist/chunks/{persistent-pty-0dgnvyav.js → websearch-st0npvhs.js} +13 -13
- package/dist/chunks/{persistent-pty-m9jge9he.js → websearch-st32wr7j.js} +47 -47
- package/dist/chunks/{persistent-pty-qabhdn7r.js → websearch-t13j5h2t.js} +8 -8
- package/dist/chunks/{persistent-pty-k76fn4kw.js → websearch-t7n9q6bq.js} +4 -4
- package/dist/chunks/{persistent-pty-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-5m1y6tht.js → websearch-tk0jm5ys.js} +10 -10
- package/dist/chunks/{persistent-pty-tej6jj18.js → websearch-tnvc4487.js} +1 -1
- package/dist/chunks/{persistent-pty-qf44y2mr.js → websearch-v0mr0657.js} +21 -21
- package/dist/chunks/{persistent-pty-1f9aggj6.js → websearch-v1xjeqfc.js} +29 -29
- package/dist/chunks/{persistent-pty-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-zn647a2n.js → websearch-vft5y8p3.js} +23 -23
- package/dist/chunks/{persistent-pty-m57p7dy9.js → websearch-vq6jz5cn.js} +28 -28
- package/dist/chunks/{persistent-pty-vc6ttyax.js → websearch-vtz2n0ks.js} +25 -25
- package/dist/chunks/{persistent-pty-0hf9g8pg.js → websearch-vvccsdf3.js} +6 -6
- package/dist/chunks/{persistent-pty-vzs5sf6e.js → websearch-vzs5sf6e.js} +1 -1
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-gft05b0a.js → websearch-was7srj9.js} +8 -8
- package/dist/chunks/{persistent-pty-t6x8032s.js → websearch-wbbmgwfw.js} +13 -13
- package/dist/chunks/{persistent-pty-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-h4yj3hfn.js → websearch-we1wht7r.js} +9 -9
- package/dist/chunks/{persistent-pty-b3f8fkhc.js → websearch-wecqtg5s.js} +5 -5
- package/dist/chunks/{persistent-pty-p5ccpjke.js → websearch-wg0sz2b3.js} +4 -4
- package/dist/chunks/{persistent-pty-d5end4r0.js → websearch-wgad3ngy.js} +40 -40
- package/dist/chunks/{persistent-pty-tkjmd8ah.js → websearch-whynf17d.js} +9 -9
- package/dist/chunks/{persistent-pty-bs615f2f.js → websearch-wnvdweyr.js} +32 -32
- package/dist/chunks/{persistent-pty-77f241gp.js → websearch-wps1s803.js} +11 -11
- package/dist/chunks/{persistent-pty-9144esny.js → websearch-wvk530dw.js} +5 -5
- package/dist/chunks/{persistent-pty-3t58r30e.js → websearch-wzvmtxfv.js} +9 -9
- package/dist/chunks/{persistent-pty-btbmdjwj.js → websearch-x3gqap9d.js} +4 -4
- package/dist/chunks/{persistent-pty-v2s7p60s.js → websearch-x5r3rcm4.js} +13 -13
- package/dist/chunks/{persistent-pty-addxnjmp.js → websearch-x661k3y3.js} +4 -4
- package/dist/chunks/{persistent-pty-g5w8qwbj.js → websearch-xfkkasph.js} +4 -4
- package/dist/chunks/{persistent-pty-xkntkrq7.js → websearch-xkntkrq7.js} +2 -2
- package/dist/chunks/{persistent-pty-5tw36xmv.js → websearch-xrgtgbry.js} +45 -45
- package/dist/chunks/{persistent-pty-mhgx8wws.js → websearch-xs53z2pm.js} +4 -4
- package/dist/chunks/{persistent-pty-9cva8bgq.js → websearch-xsgjgyxe.js} +6 -6
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-4n6aeebd.js → websearch-ydrjwzz4.js} +25 -25
- package/dist/chunks/{persistent-pty-a68ybyfr.js → websearch-yr6mg933.js} +9 -9
- package/dist/chunks/{persistent-pty-0t67e6aq.js → websearch-ysv0hq5q.js} +18 -18
- package/dist/chunks/{persistent-pty-frac477b.js → websearch-ysyw0m6j.js} +15 -15
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-mrvgqbj6.js → websearch-zcw1eqvx.js} +22 -22
- package/dist/chunks/{persistent-pty-de9gfr1m.js → websearch-zqvvwnj3.js} +16 -16
- package/dist/chunks/{persistent-pty-7ps108p2.js → websearch-zqzjtd27.js} +16 -16
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-rpdsffkf.js → websearch-zv1drtmj.js} +13 -13
- package/dist/chunks/{persistent-pty-7f56anht.js → websearch-zw4db5pj.js} +11 -11
- package/dist/chunks/{persistent-pty-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- 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 +119 -119
- 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 +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/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 +1 -1
- 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 +221 -221
- 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 +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- 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 +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +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 +128 -128
- 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 +99 -99
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- 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 +5 -5
- 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 +344 -344
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +90 -90
- package/dist/reference.js +92 -92
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- 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 +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- 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 +1 -1
- 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 +1 -1
- package/dist/session/session.js +165 -165
- 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 +3 -3
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +113 -113
- package/dist/snapshot.js +92 -92
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +127 -127
- package/dist/tool/plugin/edit.js +121 -121
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- 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 +104 -104
- 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 +111 -111
- 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/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 +3 -3
- package/dist/v1/config/command.js +3 -3
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- 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/persistent-pty-4hytf82j.js +0 -253
- package/dist/chunks/persistent-pty-em9fqdhz.js +0 -26
- package/dist/chunks/persistent-pty-jqh9b0xq.js +0 -18
- package/dist/chunks/persistent-pty-kxa68w8a.js +0 -507
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → websearch-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3t0ybcrp.js → websearch-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-6q2bdcd1.js → websearch-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-84wd9syh.js → websearch-84wd9syh.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → websearch-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-rrt0a0ha.js → websearch-rrt0a0ha.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z5v4ffb3.js → websearch-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./websearch-zqvvwnj3.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event13,
|
|
18
|
+
ID: () => ID9,
|
|
19
|
+
Info: () => Info18,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service60,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node63
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event13 } from "@opencode/schema/agent";
|
|
29
|
+
var ID9 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
|
-
var defaultID2 =
|
|
31
|
+
var defaultID2 = ID9.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
|
-
var
|
|
33
|
+
var Info18 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service60 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service82;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
41
41
|
initial: () => ({ agents: new Map }),
|
|
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
46
46
|
editor.default = id;
|
|
47
47
|
},
|
|
48
48
|
update: (id, fn) => {
|
|
49
|
-
const current = editor.agents.get(id) ??
|
|
49
|
+
const current = editor.agents.get(id) ?? Info18.default(id);
|
|
50
50
|
if (!editor.agents.has(id))
|
|
51
51
|
editor.agents.set(id, current);
|
|
52
52
|
fn(current);
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
64
64
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
65
65
|
if (configured)
|
|
66
66
|
return configured;
|
|
67
|
-
const build = selectable(data.agents.get(
|
|
67
|
+
const build = selectable(data.agents.get(ID9.make("build")));
|
|
68
68
|
if (build)
|
|
69
69
|
return build;
|
|
70
70
|
for (const agent of data.agents.values()) {
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service60.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
81
81
|
}),
|
|
82
82
|
resolve: Effect.fnUntraced(function* (id) {
|
|
83
83
|
if (id !== undefined)
|
|
84
|
-
return state.get().agents.get(
|
|
84
|
+
return state.get().agents.get(ID9.make(id));
|
|
85
85
|
return selectedDefault();
|
|
86
86
|
}),
|
|
87
87
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
88
88
|
if (id !== undefined) {
|
|
89
|
-
const selected =
|
|
89
|
+
const selected = ID9.make(id);
|
|
90
90
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
91
91
|
}
|
|
92
92
|
const info = selectedDefault();
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node63 = makeLocationNode({ service: Service60, layer, deps: [node86] });
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { ID9, Name3, defaultID2, Color2, Info18, Service60, node63, exports_agent4, Event13 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node79
|
|
7
|
+
} from "./websearch-azdnrsk3.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service74,
|
|
17
|
+
node: () => node77,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service74 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service76;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service74.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node77 = makeLocationNode({ service: Service74, layer, deps: [node79] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service74, readText2, syncTextBom2, node77, exports_file_mutation };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make6(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make6 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./websearch-zqvvwnj3.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service72,
|
|
8
|
+
node75
|
|
9
|
+
} from "./websearch-a66d3j4b.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service35,
|
|
12
|
+
node38
|
|
13
|
+
} from "./websearch-sbvqbenm.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service78,
|
|
19
|
+
node82
|
|
20
|
+
} from "./websearch-dxjbxwhw.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-4ts7tf6z.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-j5v8ay3k.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-tk0jm5ys.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service43,
|
|
36
|
+
Event10,
|
|
37
|
+
node47
|
|
38
|
+
} from "./websearch-8feg831t.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./websearch-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: () => Options3,
|
|
48
|
+
Service: () => Service34,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured3,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node37,
|
|
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 Options3 = 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 Service34 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(Service34, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer15 = (options) => Layer.effect(Service34, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service78;
|
|
97
|
+
const watcher = yield* Service35;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
|
+
const credentials = yield* Service72;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service43;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -163,7 +163,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
163
163
|
});
|
|
164
164
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
165
165
|
return [
|
|
166
|
-
...yield* Effect.forEach(
|
|
166
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
167
167
|
new Directory({ type: "directory", path: directory })
|
|
168
168
|
];
|
|
169
169
|
});
|
|
@@ -217,8 +217,8 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
217
217
|
}, (effect) => reloadLock.withPermit(effect));
|
|
218
218
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
219
219
|
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 }));
|
|
220
|
-
yield* bus.subscribe(
|
|
221
|
-
yield* bus.subscribe(
|
|
220
|
+
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 }));
|
|
221
|
+
yield* bus.subscribe(Event10.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
222
222
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
223
223
|
if (!wellknown.snapshot().length)
|
|
224
224
|
return Effect.void;
|
|
@@ -231,7 +231,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
231
231
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
232
232
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
233
233
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
234
|
-
const candidates =
|
|
234
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
235
235
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
236
236
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
237
237
|
`;
|
|
@@ -246,7 +246,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
246
246
|
`);
|
|
247
247
|
yield* requestReload;
|
|
248
248
|
}, (effect) => updateLock.withPermit(effect));
|
|
249
|
-
return
|
|
249
|
+
return Service34.of({
|
|
250
250
|
entries: Effect.fnUntraced(function* () {
|
|
251
251
|
return configs;
|
|
252
252
|
}),
|
|
@@ -258,13 +258,13 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
258
258
|
update
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
function
|
|
261
|
+
function configured3(options) {
|
|
262
262
|
return makeLocationNode({
|
|
263
|
-
service:
|
|
264
|
-
layer:
|
|
265
|
-
deps: [
|
|
263
|
+
service: Service34,
|
|
264
|
+
layer: layer15(options),
|
|
265
|
+
deps: [node38, node86, FSUtil.node, Global.node, node82, node75, node47]
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
|
-
var
|
|
268
|
+
var node37 = configured3();
|
|
269
269
|
|
|
270
|
-
export { latest2,
|
|
270
|
+
export { latest2, Options3, Service34, Test2, testLayer2, layer15, configured3, node37, exports_config };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service34
|
|
4
|
+
} from "./websearch-8291f3dr.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin47,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin47 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service34;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin30 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin47, exports_warming };
|