@opencode/core 0.0.0-dev-19729 → 0.0.0-dev-19737
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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +89 -89
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{ripgrep-j83byb14.js → schema-00z3vp5f.js} +4 -4
- package/dist/chunks/{ripgrep-cr07tj7n.js → schema-0f9afca0.js} +5 -5
- package/dist/chunks/{ripgrep-hbgnhwv0.js → schema-0kq1vnt2.js} +22 -22
- package/dist/chunks/{ripgrep-8qw190t8.js → schema-0m4needc.js} +29 -29
- package/dist/chunks/{ripgrep-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{ripgrep-0q0f95c6.js → schema-0q0f95c6.js} +1 -1
- package/dist/chunks/{ripgrep-d7eh8bsr.js → schema-0wbtz0x1.js} +23 -23
- package/dist/chunks/{ripgrep-qkzhpde6.js → schema-14xxbdt3.js} +11 -11
- package/dist/chunks/{ripgrep-yp2x3t23.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{ripgrep-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{ripgrep-gvbhv7ac.js → schema-1fzn40f7.js} +27 -27
- package/dist/chunks/{ripgrep-6kp1enz8.js → schema-1gf2zdqm.js} +1 -1
- package/dist/chunks/{ripgrep-kp7tnnwc.js → schema-1phb3yjr.js} +28 -28
- package/dist/chunks/{ripgrep-z38k3xwh.js → schema-1ww8dv02.js} +24 -24
- package/dist/chunks/{ripgrep-avd8ev9v.js → schema-1yv162eq.js} +4 -4
- package/dist/chunks/{ripgrep-02qhaxzp.js → schema-20rcmd8z.js} +8 -8
- package/dist/chunks/{ripgrep-3nnfdham.js → schema-20w62y01.js} +21 -21
- package/dist/chunks/{ripgrep-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{ripgrep-b0cq6psq.js → schema-23kb5mxq.js} +33 -33
- package/dist/chunks/{ripgrep-2402vzrj.js → schema-2402vzrj.js} +1 -1
- package/dist/chunks/{ripgrep-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{ripgrep-msvbmbcr.js → schema-2fdjcr0k.js} +4 -4
- package/dist/chunks/{ripgrep-6xwwhj34.js → schema-2fzk1ze6.js} +2 -2
- package/dist/chunks/{ripgrep-mdvcq96a.js → schema-2q85j725.js} +1 -1
- package/dist/chunks/{ripgrep-p3n45r32.js → schema-2r6c0n2x.js} +4 -4
- package/dist/chunks/{ripgrep-cg0nv8cw.js → schema-2wg3ms2p.js} +303 -303
- package/dist/chunks/{ripgrep-gxcpp7ch.js → schema-306j3wnv.js} +22 -22
- package/dist/chunks/{ripgrep-0emnnwmv.js → schema-34m0q60c.js} +7 -7
- package/dist/chunks/{ripgrep-d216944b.js → schema-34rkz0x9.js} +4 -4
- package/dist/chunks/{ripgrep-y74g1x1t.js → schema-34vjgn4c.js} +13 -13
- package/dist/chunks/{ripgrep-pb5p9z4r.js → schema-3c6vacrb.js} +16 -16
- package/dist/chunks/{ripgrep-3w0fmcng.js → schema-3cfzdc8e.js} +5 -5
- package/dist/chunks/{ripgrep-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/schema-3gw6zea7.js +252 -0
- package/dist/chunks/{ripgrep-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{ripgrep-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-vc564wg7.js → schema-3xez6jaj.js} +11 -11
- package/dist/chunks/{ripgrep-n5fpbwgd.js → schema-4138kfer.js} +12 -12
- package/dist/chunks/{ripgrep-ywrccad0.js → schema-4cmy5hks.js} +17 -17
- package/dist/chunks/{ripgrep-marnn1hp.js → schema-4gycnsfp.js} +9 -9
- package/dist/chunks/{ripgrep-p5d19shb.js → schema-4nv7pmvf.js} +13 -13
- package/dist/chunks/{ripgrep-h3100r6a.js → schema-4p44gt6q.js} +16 -16
- package/dist/chunks/{ripgrep-j8zhn7s7.js → schema-4rftnvmm.js} +18 -18
- package/dist/chunks/{ripgrep-4n2s88c7.js → schema-4rnjwd9y.js} +27 -27
- package/dist/chunks/{ripgrep-drwq78ky.js → schema-57b9ws8p.js} +5 -5
- package/dist/chunks/{ripgrep-57ez7d0k.js → schema-57ez7d0k.js} +2 -2
- package/dist/chunks/{ripgrep-5c4hm403.js → schema-5c4hm403.js} +3 -3
- package/dist/chunks/{ripgrep-1tdsmag2.js → schema-5ceybh92.js} +49 -49
- package/dist/chunks/{ripgrep-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{ripgrep-vy1yq70x.js → schema-5p8gznt9.js} +6 -6
- package/dist/chunks/{ripgrep-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{ripgrep-gbjx53sn.js → schema-5th5y29m.js} +37 -37
- package/dist/chunks/{ripgrep-rrawd10r.js → schema-615rvbph.js} +8 -8
- package/dist/chunks/{ripgrep-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{ripgrep-7r449qz2.js → schema-6fbcz64v.js} +6 -6
- package/dist/chunks/{ripgrep-40qcz11w.js → schema-6gxr2kse.js} +16 -16
- package/dist/chunks/schema-6kdq0pjd.js +4 -0
- package/dist/chunks/{ripgrep-6msgmcgs.js → schema-6msgmcgs.js} +1 -1
- package/dist/chunks/{ripgrep-tgy6hrs3.js → schema-6x27dj5x.js} +8 -8
- package/dist/chunks/{ripgrep-90w1v997.js → schema-7278r6b7.js} +21 -21
- package/dist/chunks/{ripgrep-s0h6hwms.js → schema-73chcb62.js} +15 -15
- package/dist/chunks/{ripgrep-74rrnwt7.js → schema-74rrnwt7.js} +5 -5
- package/dist/chunks/{ripgrep-kh0f1jb7.js → schema-767jsjr0.js} +9 -9
- package/dist/chunks/{ripgrep-w9vf9qqj.js → schema-76ymgwed.js} +8 -8
- package/dist/chunks/{ripgrep-vzsadx9p.js → schema-7a8dqjge.js} +26 -26
- package/dist/chunks/{ripgrep-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-rq1gnye7.js → schema-7dc2gp21.js} +2 -2
- package/dist/chunks/{ripgrep-s0jg4zzy.js → schema-7wjtb2rf.js} +8 -8
- package/dist/chunks/{ripgrep-v8ve3wgc.js → schema-7xfrred8.js} +3 -3
- package/dist/chunks/{ripgrep-wg0w5w98.js → schema-82asfs5g.js} +11 -11
- package/dist/chunks/{ripgrep-kpvbwx41.js → schema-88t8rp6e.js} +16 -16
- package/dist/chunks/{ripgrep-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{ripgrep-fd8q8m3t.js → schema-8kk7mxym.js} +10 -10
- package/dist/chunks/{ripgrep-90ar7f1h.js → schema-8nq6hfsb.js} +3 -3
- package/dist/chunks/{ripgrep-g34jrx17.js → schema-8rj9y1pa.js} +8 -8
- package/dist/chunks/{ripgrep-nx0jwge5.js → schema-8vqvhprh.js} +4 -4
- package/dist/chunks/{ripgrep-vb00q1v9.js → schema-94rtpxdn.js} +8 -8
- package/dist/chunks/{ripgrep-3m0avw37.js → schema-97j0r8y9.js} +14 -14
- package/dist/chunks/{ripgrep-pnqj10zg.js → schema-9936p5k8.js} +6 -6
- package/dist/chunks/{ripgrep-xb3sekxh.js → schema-9f3e1ggy.js} +7 -7
- package/dist/chunks/{ripgrep-f4kqtx6e.js → schema-9mxah8h4.js} +42 -42
- package/dist/chunks/{ripgrep-she15rnf.js → schema-9pjrnwke.js} +14 -14
- package/dist/chunks/{ripgrep-h40dny12.js → schema-9qh9k4jy.js} +12 -12
- package/dist/chunks/{ripgrep-j6mxb410.js → schema-9vsy5c72.js} +13 -13
- package/dist/chunks/{ripgrep-3ey620wm.js → schema-9yn6v7ct.js} +4 -4
- package/dist/chunks/{ripgrep-708htapb.js → schema-a51y6ym7.js} +20 -20
- package/dist/chunks/{ripgrep-gcavn3wx.js → schema-a694798e.js} +5 -5
- package/dist/chunks/{ripgrep-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{ripgrep-27cnh2ng.js → schema-af9dffab.js} +36 -36
- package/dist/chunks/{ripgrep-x56f7h0m.js → schema-ag3m1axn.js} +9 -9
- package/dist/chunks/{ripgrep-d4wy8qa8.js → schema-ahcd1ndw.js} +9 -9
- package/dist/chunks/{ripgrep-tq3zv7cf.js → schema-annge035.js} +23 -23
- package/dist/chunks/{ripgrep-vykw7zqz.js → schema-arn7a10h.js} +23 -23
- package/dist/chunks/{ripgrep-q5kj48pe.js → schema-awchmv23.js} +47 -47
- package/dist/chunks/{ripgrep-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/{ripgrep-bgxcxs0p.js → schema-bgxcxs0p.js} +2 -2
- package/dist/chunks/{ripgrep-qfypqa38.js → schema-bh4jpqk7.js} +3 -3
- package/dist/chunks/{ripgrep-ts3pqwha.js → schema-bqxn86gj.js} +3 -3
- package/dist/chunks/{ripgrep-yb42q6p1.js → schema-bz45yw4h.js} +11 -11
- package/dist/chunks/{ripgrep-bk2568rk.js → schema-c6j30ft7.js} +5 -5
- package/dist/chunks/{ripgrep-0cbb5c6c.js → schema-c7p9qvyj.js} +9 -9
- package/dist/chunks/{ripgrep-t7b12atk.js → schema-cbhwhadg.js} +8 -8
- package/dist/chunks/{ripgrep-aafh3mn1.js → schema-cfa48gc9.js} +7 -7
- package/dist/chunks/{ripgrep-k55gjfae.js → schema-cg5ycx1e.js} +3 -3
- package/dist/chunks/{ripgrep-0zcsf5ff.js → schema-d3ax6dyb.js} +20 -20
- package/dist/chunks/{ripgrep-02x1wwkp.js → schema-d47nnc12.js} +24 -24
- package/dist/chunks/{ripgrep-bz15szd7.js → schema-d48ezy26.js} +3 -3
- package/dist/chunks/{ripgrep-9ry97qyb.js → schema-dby5k82d.js} +9 -9
- package/dist/chunks/{ripgrep-w0v82d0j.js → schema-dby5rmb5.js} +17 -17
- package/dist/chunks/{ripgrep-e5dg48hd.js → schema-dcezsyq8.js} +22 -22
- package/dist/chunks/{ripgrep-dj2t23y0.js → schema-dj2t23y0.js} +2 -2
- package/dist/chunks/{ripgrep-cwa6csj7.js → schema-djszqvmq.js} +9 -9
- package/dist/chunks/{ripgrep-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{ripgrep-jrf2f6cf.js → schema-drx7c34e.js} +25 -25
- package/dist/chunks/{ripgrep-7jfq7jze.js → schema-e3d7m6yw.js} +10 -10
- package/dist/chunks/{ripgrep-ca1feqth.js → schema-e697vzkb.js} +24 -24
- package/dist/chunks/{ripgrep-3b1q5j1v.js → schema-e6hd9jay.js} +6 -6
- package/dist/chunks/{ripgrep-z8pq1ztv.js → schema-eabne0ps.js} +16 -16
- package/dist/chunks/{ripgrep-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{ripgrep-s8e4jhvw.js → schema-evapsva0.js} +25 -25
- package/dist/chunks/{ripgrep-s0wfqjsp.js → schema-f4k86emj.js} +8 -8
- package/dist/chunks/{ripgrep-7ac170kv.js → schema-fab8hzt3.js} +4 -4
- package/dist/chunks/{ripgrep-n9j23xfd.js → schema-fbngn8kj.js} +9 -9
- package/dist/chunks/{ripgrep-xf0sbpps.js → schema-fg1jd41j.js} +11 -11
- package/dist/chunks/{ripgrep-ywkfy99j.js → schema-fhs97t90.js} +9 -9
- package/dist/chunks/{ripgrep-fjmxef0p.js → schema-fpvkpsh3.js} +11 -11
- package/dist/chunks/{ripgrep-j58c5xyq.js → schema-fwwk8vbp.js} +9 -9
- package/dist/chunks/{ripgrep-fxbjtjnd.js → schema-fxbjtjnd.js} +1 -1
- package/dist/chunks/{ripgrep-49p9cyd4.js → schema-fy09w2xd.js} +1 -1
- package/dist/chunks/{ripgrep-18e56dsp.js → schema-fyymr9xg.js} +4 -4
- package/dist/chunks/{ripgrep-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-dbwghmjw.js → schema-gk2qhqxt.js} +25 -25
- package/dist/chunks/{ripgrep-gv6a8nnw.js → schema-gv6a8nnw.js} +2 -2
- package/dist/chunks/{ripgrep-apfz1ear.js → schema-gykz7zvq.js} +17 -17
- package/dist/chunks/{ripgrep-waddknf4.js → schema-gypfqv8n.js} +11 -11
- package/dist/chunks/{ripgrep-h03wrkyp.js → schema-h03wrkyp.js} +2 -2
- package/dist/chunks/{ripgrep-dw3w34jr.js → schema-h5e28ese.js} +1 -1
- package/dist/chunks/{ripgrep-h6r3nrb9.js → schema-h6r3nrb9.js} +1 -1
- package/dist/chunks/{ripgrep-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-jkp0d30b.js → schema-h896pcm5.js} +6 -6
- package/dist/chunks/{ripgrep-897mca6w.js → schema-hcghqa17.js} +3 -3
- package/dist/chunks/{ripgrep-hdnk95c8.js → schema-hdnk95c8.js} +2 -2
- package/dist/chunks/{ripgrep-6rvh9ysh.js → schema-hpe0jmgz.js} +21 -21
- package/dist/chunks/{ripgrep-1gkpxce2.js → schema-hta4qd97.js} +10 -10
- package/dist/chunks/{ripgrep-y4fpdsh6.js → schema-htcg5w1w.js} +42 -42
- package/dist/chunks/{ripgrep-t5pprbf2.js → schema-hw08ag4f.js} +3 -3
- package/dist/chunks/{ripgrep-0a7fa5tc.js → schema-hzz2ft1h.js} +84 -84
- package/dist/chunks/{ripgrep-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{ripgrep-ak8wweg5.js → schema-j699j8bt.js} +2 -2
- package/dist/chunks/{ripgrep-9hfq2hhx.js → schema-j6bmhn27.js} +4 -4
- package/dist/chunks/{ripgrep-k3gnzxs0.js → schema-jppvw2tx.js} +5 -5
- package/dist/chunks/{ripgrep-r22bxp1s.js → schema-jy668y7m.js} +18 -18
- package/dist/chunks/{ripgrep-nzks3jc8.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{ripgrep-zdrqx1m8.js → schema-k7db9dk4.js} +9 -9
- package/dist/chunks/{ripgrep-w5ngm8t2.js → schema-kf6dz3d4.js} +45 -45
- package/dist/chunks/{ripgrep-yzr1kymw.js → schema-kjdatzbq.js} +10 -10
- package/dist/chunks/{ripgrep-1djfn99w.js → schema-kjmy95ac.js} +20 -20
- package/dist/chunks/{ripgrep-p2gtnhak.js → schema-kqgpfsd6.js} +17 -17
- package/dist/chunks/{ripgrep-w1j7ev2x.js → schema-kwwbzygf.js} +22 -22
- package/dist/chunks/{ripgrep-v8vq7r7f.js → schema-kxp5agay.js} +11 -11
- package/dist/chunks/{ripgrep-3ymzgx77.js → schema-m08zhkpp.js} +11 -11
- package/dist/chunks/{ripgrep-m0jqrx5p.js → schema-m0jqrx5p.js} +2 -2
- package/dist/chunks/{ripgrep-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{ripgrep-txgxjvay.js → schema-m3vpbdr9.js} +6 -6
- package/dist/chunks/{ripgrep-qgky3r4x.js → schema-m8wp6b1y.js} +15 -15
- package/dist/chunks/{ripgrep-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-cavr175a.js → schema-magykp64.js} +4 -4
- package/dist/chunks/{ripgrep-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{ripgrep-7yh4e7ss.js → schema-mhkvc446.js} +3 -3
- package/dist/chunks/{ripgrep-7znvc7v4.js → schema-mj63na3k.js} +23 -23
- package/dist/chunks/{ripgrep-mfhfdr54.js → schema-msq0jde0.js} +4 -4
- package/dist/chunks/{ripgrep-dw7b3qms.js → schema-mv6nj29r.js} +8 -8
- package/dist/chunks/{ripgrep-2m4a74dd.js → schema-mw1wac3q.js} +4 -4
- package/dist/chunks/{ripgrep-pc67qyx0.js → schema-myj56f32.js} +2 -2
- package/dist/chunks/{ripgrep-gq3f66va.js → schema-n72fdvhp.js} +2 -2
- package/dist/chunks/{ripgrep-dfnxxx37.js → schema-nd8dp5pn.js} +9 -9
- package/dist/chunks/{ripgrep-321vmt1f.js → schema-ndzetbhx.js} +14 -14
- package/dist/chunks/{ripgrep-x353b1jt.js → schema-ngts6ef0.js} +8 -8
- package/dist/chunks/{ripgrep-mzj135eg.js → schema-nj67srqg.js} +13 -13
- package/dist/chunks/{ripgrep-056sf8v6.js → schema-nnfafz6r.js} +41 -41
- package/dist/chunks/{ripgrep-xpqxqtfq.js → schema-np5mv9cj.js} +21 -21
- package/dist/chunks/{ripgrep-pt7t6ddq.js → schema-p1h3kwr0.js} +15 -15
- package/dist/chunks/{ripgrep-ay0dkb9c.js → schema-p4b86tx8.js} +6 -6
- package/dist/chunks/{ripgrep-d66y38gy.js → schema-p5y7rtkc.js} +11 -11
- package/dist/chunks/{ripgrep-91ja9ad4.js → schema-p9fj2hk0.js} +1 -1
- package/dist/chunks/{ripgrep-1ajx6rf5.js → schema-pa8pe2x7.js} +8 -8
- package/dist/chunks/{ripgrep-gra0vtax.js → schema-pb1eahw5.js} +8 -8
- package/dist/chunks/{ripgrep-00xykwht.js → schema-pfjre90x.js} +18 -18
- package/dist/chunks/{ripgrep-gv8mykwk.js → schema-pfm3fg2c.js} +3 -3
- package/dist/chunks/{ripgrep-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-fqka1xvk.js → schema-pk2244jm.js} +2 -2
- package/dist/chunks/{ripgrep-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-jdca20rw.js → schema-pn6t2syx.js} +124 -124
- package/dist/chunks/{ripgrep-vbb3gddg.js → schema-pnp2s8b6.js} +59 -59
- package/dist/chunks/{ripgrep-fch79rh9.js → schema-pstg3rfm.js} +1 -1
- package/dist/chunks/{ripgrep-84brhf68.js → schema-q0k0nrg7.js} +34 -34
- package/dist/chunks/schema-qc068m1q.js +18 -0
- package/dist/chunks/{ripgrep-svx8wpky.js → schema-qe3gtrvm.js} +6 -6
- package/dist/chunks/{ripgrep-607tc6va.js → schema-qgn6gcr1.js} +5 -5
- package/dist/chunks/{ripgrep-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-e9b9nd94.js → schema-qvs1q9w1.js} +7 -7
- package/dist/chunks/{ripgrep-30027xyv.js → schema-qvxswqn3.js} +11 -11
- package/dist/chunks/{ripgrep-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-s8d7rejh.js → schema-rhjbct0v.js} +4 -4
- package/dist/chunks/{ripgrep-s3vkv9ay.js → schema-rhzwv3vg.js} +4 -4
- package/dist/chunks/{ripgrep-zka0xqjx.js → schema-rkga6wtf.js} +8 -8
- package/dist/chunks/{ripgrep-v5tgfvex.js → schema-rm76s9kk.js} +7 -7
- package/dist/chunks/{ripgrep-0ybxp83h.js → schema-rr1sj5ze.js} +13 -13
- package/dist/chunks/{ripgrep-ztevdd3z.js → schema-s9g9krtc.js} +20 -20
- package/dist/chunks/{ripgrep-aayfhc5z.js → schema-sb54ykdv.js} +30 -30
- package/dist/chunks/{ripgrep-hhg1hgsd.js → schema-sbenfaxa.js} +16 -16
- package/dist/chunks/{ripgrep-v8g8r3p5.js → schema-sc186k9x.js} +6 -6
- package/dist/chunks/{ripgrep-f4tkn7h6.js → schema-sprf7069.js} +24 -24
- package/dist/chunks/{ripgrep-21wkgqn7.js → schema-stctxq11.js} +1 -1
- package/dist/chunks/{ripgrep-6qvham2n.js → schema-sv7g1snr.js} +8 -8
- package/dist/chunks/{ripgrep-v96nt2qe.js → schema-svvemcs6.js} +6 -6
- package/dist/chunks/{ripgrep-n3weg7ag.js → schema-sy1jr3z7.js} +30 -30
- package/dist/chunks/{ripgrep-c4p347gs.js → schema-t1bqjk22.js} +43 -43
- package/dist/chunks/{ripgrep-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-89znhe33.js → schema-tcezcvh9.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-cdpcyq5v.js → schema-tew4rwd7.js} +15 -15
- package/dist/chunks/{ripgrep-p0n61q8f.js → schema-tqae5094.js} +3 -3
- package/dist/chunks/{ripgrep-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{ripgrep-5t0zvs0a.js → schema-twt11qtz.js} +9 -9
- package/dist/chunks/{ripgrep-v5xjxbe4.js → schema-tyahera8.js} +22 -22
- package/dist/chunks/{ripgrep-1ktgcqzb.js → schema-v0ex13be.js} +12 -12
- package/dist/chunks/{ripgrep-416bwb4f.js → schema-v23ay7fj.js} +11 -11
- package/dist/chunks/{ripgrep-6dsef05n.js → schema-v96zbsm4.js} +15 -15
- package/dist/chunks/{ripgrep-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-ykcw79z8.js → schema-vgmzrbt3.js} +8 -8
- package/dist/chunks/schema-vnzrfeqa.js +26 -0
- package/dist/chunks/{ripgrep-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{ripgrep-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-0t9wd588.js → schema-w3x9v1nk.js} +8 -8
- package/dist/chunks/{ripgrep-3ytyewx4.js → schema-w4hnw4p2.js} +29 -29
- package/dist/chunks/{ripgrep-x3zbw1yr.js → schema-w7xsq20c.js} +18 -18
- package/dist/chunks/{ripgrep-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-g2zrx1jt.js → schema-wkhem9xk.js} +26 -26
- package/dist/chunks/{ripgrep-cy08etkj.js → schema-wn3hqp9d.js} +41 -41
- package/dist/chunks/{ripgrep-g9dk0zyp.js → schema-wnzd5x6z.js} +17 -17
- package/dist/chunks/{ripgrep-f90grvra.js → schema-wsk3qemq.js} +2 -2
- package/dist/chunks/{ripgrep-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{ripgrep-5gcce52j.js → schema-x806t7sw.js} +13 -13
- package/dist/chunks/{ripgrep-ednp5hmx.js → schema-xbrnje9f.js} +8 -8
- package/dist/chunks/{ripgrep-knb7evpn.js → schema-xfdrc2qg.js} +4 -4
- package/dist/chunks/{ripgrep-ce6rh1wk.js → schema-xjqr407x.js} +16 -16
- package/dist/chunks/{ripgrep-y4ah2e8h.js → schema-xk0yw0s7.js} +7 -7
- package/dist/chunks/{ripgrep-hzy9092j.js → schema-xrg66tk8.js} +30 -30
- package/dist/chunks/{ripgrep-0ca1pcbr.js → schema-xs0kh3zs.js} +9 -9
- package/dist/chunks/{ripgrep-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-3ystes8p.js → schema-y246tq9k.js} +18 -18
- package/dist/chunks/{ripgrep-bacyadyn.js → schema-y6mhz57t.js} +4 -4
- package/dist/chunks/{ripgrep-f40ag0j2.js → schema-y6q6zf37.js} +27 -27
- package/dist/chunks/{ripgrep-czb860pt.js → schema-y71g7smx.js} +31 -31
- package/dist/chunks/{ripgrep-kwkytdc2.js → schema-y76rrb5c.js} +43 -43
- package/dist/chunks/{ripgrep-07xqqp3q.js → schema-y9azjxwp.js} +32 -32
- package/dist/chunks/{ripgrep-2wn13fn5.js → schema-yca3ft21.js} +6 -6
- package/dist/chunks/{ripgrep-d8ds7rj5.js → schema-ydat8bwa.js} +21 -21
- package/dist/chunks/{ripgrep-npeh470p.js → schema-ykjwg2je.js} +15 -15
- package/dist/chunks/{ripgrep-1qdmrsyh.js → schema-ymbz5575.js} +18 -18
- package/dist/chunks/{ripgrep-n6vwdwpw.js → schema-yp2xj7p9.js} +82 -82
- package/dist/chunks/{ripgrep-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{ripgrep-yrznvahk.js → schema-yrznvahk.js} +2 -2
- package/dist/chunks/{ripgrep-xh3133gz.js → schema-yx860a03.js} +12 -12
- package/dist/chunks/{ripgrep-9x813t64.js → schema-yz7nz4q8.js} +8 -8
- package/dist/chunks/{ripgrep-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-dwxna5g7.js → schema-z2eqq79g.js} +15 -15
- package/dist/chunks/{ripgrep-2gascbgd.js → schema-z3njypsy.js} +11 -11
- package/dist/chunks/{ripgrep-z63w68vq.js → schema-z63w68vq.js} +2 -2
- package/dist/chunks/{ripgrep-w06a0nwk.js → schema-z7m6ynqn.js} +17 -17
- package/dist/chunks/{ripgrep-6w9v7p8s.js → schema-zahct80t.js} +10 -10
- package/dist/chunks/{ripgrep-t7n9q6bq.js → schema-zav06jzw.js} +4 -4
- package/dist/chunks/{ripgrep-zeh9ct20.js → schema-zeh9ct20.js} +2 -2
- package/dist/chunks/{ripgrep-0y46xc02.js → schema-zpby3q09.js} +3 -3
- package/dist/chunks/{ripgrep-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-chxat7qs.js → schema-zrj78jzj.js} +6 -6
- package/dist/chunks/{ripgrep-9dzg75hq.js → schema-zv1y5e3h.js} +16 -16
- package/dist/chunks/{ripgrep-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +76 -76
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +224 -224
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +73 -73
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +93 -93
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +228 -228
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +92 -92
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- 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 +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- 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 +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- 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 +124 -124
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/ripgrep-0mesazry.js +0 -4
- package/dist/chunks/ripgrep-4v7qdvcn.js +0 -18
- package/dist/chunks/ripgrep-rbmavd1e.js +0 -252
- package/dist/chunks/ripgrep-rgvvcc97.js +0 -26
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-922hggd3.js → schema-922hggd3.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-twg0f83k.js → schema-twg0f83k.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-e3d7m6yw.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-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: () => Plugin22,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
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 endpoint3 = "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 Plugin22 = 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 Plugin39 = 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, endpoint3, "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 Plugin39 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint3, Plugin22, exports_tinyfish };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./schema-np5mv9cj.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service25,
|
|
24
|
+
node: () => node28
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service25 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service67;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service25.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node28 = makeLocationNode({ service: Service25, layer, deps: [node70, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service25, node28, exports_ripgrep };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin32,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin32 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin40 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin32, exports_identity };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-wsk3qemq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service24,
|
|
12
|
+
node27
|
|
13
|
+
} from "./schema-4rnjwd9y.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./schema-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
|
|
|
21
21
|
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry2,
|
|
25
|
+
Event: () => Event7,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service23,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node26
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -62,7 +62,7 @@ var Content2 = Schema.Struct({
|
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event7 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service23 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service23, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service24;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service23.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node26 = makeLocationNode({
|
|
144
|
+
service: Service23,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node27]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event7, Service23, node26, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-fy09w2xd.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-yz7nz4q8.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./schema-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
CloudflareAIGatewayPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./schema-pfm3fg2c.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareWorkersAIPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-cg5ycx1e.js";
|
|
16
16
|
import {
|
|
17
17
|
CoherePlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./schema-z0bkrqjs.js";
|
|
19
19
|
import {
|
|
20
20
|
DigitalOceanPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./schema-xk0yw0s7.js";
|
|
22
22
|
import {
|
|
23
23
|
DynamicProviderPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./schema-vzcthcp8.js";
|
|
25
25
|
import {
|
|
26
26
|
GatewayPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./schema-669tq793.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./schema-kjdatzbq.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./schema-7dc2gp21.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./schema-h5e28ese.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./schema-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./schema-7xfrred8.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./schema-rkga6wtf.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./schema-7wjtb2rf.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./schema-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./schema-615rvbph.js";
|
|
55
55
|
import {
|
|
56
56
|
OpenAIPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./schema-qe3gtrvm.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./schema-bz45yw4h.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./schema-rm76s9kk.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./schema-stctxq11.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./schema-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./schema-bqxn86gj.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./schema-1gf2zdqm.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./schema-myj56f32.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./schema-p9fj2hk0.js";
|
|
82
82
|
import {
|
|
83
83
|
VenicePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./schema-yrhqyw5v.js";
|
|
85
85
|
import {
|
|
86
86
|
VLLMPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./schema-20rcmd8z.js";
|
|
88
88
|
import {
|
|
89
89
|
XAIPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./schema-m3vpbdr9.js";
|
|
91
91
|
import {
|
|
92
92
|
ZenmuxPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./schema-jjkms2e6.js";
|
|
94
94
|
|
|
95
95
|
// src/plugin/provider.ts
|
|
96
96
|
var ProviderPlugins2 = [
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./schema-9yn6v7ct.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./schema-wsk3qemq.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node70
|
|
12
|
+
} from "./schema-np5mv9cj.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service69,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node73
|
|
20
|
+
} from "./schema-0kq1vnt2.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service62,
|
|
23
|
+
node65
|
|
24
|
+
} from "./schema-ngts6ef0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service44,
|
|
27
|
+
node47
|
|
28
|
+
} from "./schema-w3x9v1nk.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./schema-pk2244jm.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service45,
|
|
35
|
+
node48
|
|
36
|
+
} from "./schema-nnfafz6r.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./schema-v0ex13be.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./schema-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service43,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node46
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -62,7 +62,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
62
62
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
import { Global } from "@opencode/util/global";
|
|
65
|
-
class
|
|
65
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
66
66
|
id: Shell.ID
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
@@ -70,7 +70,7 @@ var EXITED_LIMIT = 25;
|
|
|
70
70
|
var RETENTION2 = Duration.days(7);
|
|
71
71
|
var DIRECTORY2 = "shell";
|
|
72
72
|
|
|
73
|
-
class
|
|
73
|
+
class Service43 extends Context.Service()("@opencode/Shell") {
|
|
74
74
|
}
|
|
75
75
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
@@ -86,15 +86,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
86
86
|
layer: cleanupLayer,
|
|
87
87
|
deps: [FSUtil.node, Global.node]
|
|
88
88
|
});
|
|
89
|
-
var layer = () => Layer.effect(
|
|
89
|
+
var layer = () => Layer.effect(Service43, Effect.gen(function* () {
|
|
90
90
|
const bus = yield* Service82;
|
|
91
91
|
const location = yield* Service79;
|
|
92
92
|
const global = yield* Global.Service;
|
|
93
|
-
const shell = yield*
|
|
94
|
-
const environment = yield*
|
|
95
|
-
const hooks = yield*
|
|
96
|
-
const environments = yield*
|
|
97
|
-
const config = yield*
|
|
93
|
+
const shell = yield* Service69;
|
|
94
|
+
const environment = yield* Service67;
|
|
95
|
+
const hooks = yield* Service62;
|
|
96
|
+
const environments = yield* Service44;
|
|
97
|
+
const config = yield* Service45;
|
|
98
98
|
const context = yield* Effect.context();
|
|
99
99
|
const runFork = Effect.runForkWith(context);
|
|
100
100
|
const commands = new Map;
|
|
@@ -115,7 +115,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
115
115
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
116
116
|
const command = commands.get(id);
|
|
117
117
|
if (!command)
|
|
118
|
-
return yield* new
|
|
118
|
+
return yield* new NotFoundError6({ id });
|
|
119
119
|
return command;
|
|
120
120
|
});
|
|
121
121
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -128,7 +128,7 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
128
128
|
commands.delete(id);
|
|
129
129
|
if (command.timeoutFiber)
|
|
130
130
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
131
|
-
yield* Deferred.fail(command.done, new
|
|
131
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
132
132
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
133
133
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
134
134
|
});
|
|
@@ -314,22 +314,22 @@ var layer = () => Layer.effect(Service33, Effect.gen(function* () {
|
|
|
314
314
|
const command = yield* Deferred.await(ready);
|
|
315
315
|
return command.info;
|
|
316
316
|
});
|
|
317
|
-
return
|
|
317
|
+
return Service43.of({ create, list, get, wait, result, timeout, output, remove });
|
|
318
318
|
}));
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
319
|
+
var node46 = makeLocationNode({
|
|
320
|
+
service: Service43,
|
|
321
321
|
layer: layer(),
|
|
322
322
|
deps: [
|
|
323
323
|
node86,
|
|
324
324
|
node83,
|
|
325
325
|
Global.node,
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
326
|
+
node73,
|
|
327
|
+
node70,
|
|
328
|
+
node65,
|
|
329
|
+
node47,
|
|
330
|
+
node48,
|
|
331
331
|
cleanupNode
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service43, cleanup2, node46, exports_shell4 };
|