@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,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
4
|
-
import {
|
|
5
|
-
Service84,
|
|
6
|
-
node88
|
|
7
|
-
} from "./persistent-pty-2xsz0vfe.js";
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
8
4
|
import {
|
|
9
5
|
Service83,
|
|
10
6
|
node87
|
|
11
|
-
} from "./
|
|
7
|
+
} from "./websearch-3yhc99zk.js";
|
|
12
8
|
import {
|
|
13
9
|
Service82,
|
|
14
10
|
node86
|
|
15
|
-
} from "./
|
|
11
|
+
} from "./websearch-zqvvwnj3.js";
|
|
12
|
+
import {
|
|
13
|
+
Service80,
|
|
14
|
+
node84
|
|
15
|
+
} from "./websearch-5pcer2zd.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-fpecnkgp.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node83,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service80;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service82;
|
|
103
|
+
const db = (yield* Service83).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event20.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service79.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node83 = makeGlobalNode({
|
|
288
|
+
service: Service79,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node86, node87, FSUtil.node, node84, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError10, root2, Service79, node83, exports_project };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin14,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin14 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin10 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin14, exports_opencode };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make22,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node81,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node81 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make22, RegistryService2, registry2, registryNode2, node81, exports_driver };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./websearch-sbvqbenm.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./websearch-dxjbxwhw.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service34
|
|
12
|
+
} from "./websearch-8291f3dr.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Source4
|
|
17
|
+
} from "./websearch-vq6jz5cn.js";
|
|
18
18
|
import {
|
|
19
19
|
Service9
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-srq8z0b0.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-m21ceenz.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin21
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin21 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
42
|
+
const config = yield* Service34;
|
|
43
43
|
const discovery = yield* Service9;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service78;
|
|
47
|
+
const watcher = yield* Service35;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -87,7 +87,7 @@ var Plugin31 = define({
|
|
|
87
87
|
const sources = () => {
|
|
88
88
|
const result = [];
|
|
89
89
|
const add = (source) => {
|
|
90
|
-
if (result.some((item) =>
|
|
90
|
+
if (result.some((item) => Source4.equals(item, source)))
|
|
91
91
|
return;
|
|
92
92
|
result.push(source);
|
|
93
93
|
};
|
|
@@ -112,7 +112,7 @@ var Plugin31 = define({
|
|
|
112
112
|
};
|
|
113
113
|
const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
|
|
114
114
|
const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
|
|
115
|
-
source:
|
|
115
|
+
source: Source4.key(source),
|
|
116
116
|
cause
|
|
117
117
|
}).pipe(Effect.as([]))));
|
|
118
118
|
const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
|
|
@@ -141,7 +141,7 @@ var Plugin31 = define({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
yield* Effect.logDebug("skill source loaded", {
|
|
144
|
-
source:
|
|
144
|
+
source: Source4.key(source),
|
|
145
145
|
type: source.type,
|
|
146
146
|
directories,
|
|
147
147
|
skills: skills.map((skill) => skill.id)
|
|
@@ -160,7 +160,7 @@ var Plugin31 = define({
|
|
|
160
160
|
if (file) {
|
|
161
161
|
yield* Effect.logInfo("skills rescanned", {
|
|
162
162
|
file,
|
|
163
|
-
sources: current.map(
|
|
163
|
+
sources: current.map(Source4.key),
|
|
164
164
|
skills: loaded.skills.map((skill) => skill.id)
|
|
165
165
|
});
|
|
166
166
|
}
|
|
@@ -176,4 +176,4 @@ var Plugin31 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin21, exports_skill2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-mqwxc12a.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin38,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin38 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin20 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin20 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin38, exports_tinyfish };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info13,
|
|
6
|
+
ID4,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-vq6jz5cn.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service34
|
|
11
|
+
} from "./websearch-8291f3dr.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin41,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin41 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info13.make({
|
|
434
|
+
id: ID4.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info13.make({
|
|
441
|
+
id: ID4.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service34;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin41, exports_skill3 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./websearch-sbvqbenm.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-z5v4ffb3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service50
|
|
13
|
+
} from "./websearch-msjtsx7n.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service78
|
|
16
|
+
} from "./websearch-dxjbxwhw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin15
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,17 +30,17 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { sameDirectory } from "@opencode/util/path";
|
|
31
31
|
import { dirname, join } from "path";
|
|
32
32
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin15 = define({
|
|
34
34
|
id: "opencode.config.instruction",
|
|
35
35
|
effect: Effect.fn(function* () {
|
|
36
|
-
const discovery = yield*
|
|
36
|
+
const discovery = yield* Service50;
|
|
37
37
|
if (!discovery.project && !discovery.global)
|
|
38
38
|
return;
|
|
39
39
|
yield* Effect.gen(function* () {
|
|
40
40
|
const fs = yield* FSUtil.Service;
|
|
41
41
|
const global = yield* Global.Service;
|
|
42
|
-
const location = yield*
|
|
43
|
-
const watcher = yield*
|
|
42
|
+
const location = yield* Service78;
|
|
43
|
+
const watcher = yield* Service35;
|
|
44
44
|
const changes = yield* PubSub.sliding(1);
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -115,4 +115,4 @@ function ancestorDirectories(start, stop) {
|
|
|
115
115
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin15, exports_instruction };
|