@opencode/core 0.0.0-dev-19985 → 0.0.0-dev-19986
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 +72 -72
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-e6zry6hq.js → model-02x3fxhb.js} +16 -16
- package/dist/chunks/{filesystem-2cwnbxh6.js → model-09bq7etx.js} +15 -15
- package/dist/chunks/{filesystem-e6mn5jv8.js → model-09ez71p6.js} +8 -8
- package/dist/chunks/{filesystem-vh4qwyhx.js → model-0arxtjdz.js} +5 -5
- package/dist/chunks/{filesystem-d5nq0r8d.js → model-0asf0tv2.js} +29 -29
- package/dist/chunks/{filesystem-9kyyj4mw.js → model-0h34xgtp.js} +23 -23
- package/dist/chunks/{filesystem-mx9vqzsb.js → model-0hf9g8pg.js} +6 -6
- package/dist/chunks/{filesystem-bb2n5bqw.js → model-0hna2yy5.js} +42 -42
- package/dist/chunks/{filesystem-2178wyr2.js → model-0kxajatb.js} +11 -11
- package/dist/chunks/{filesystem-0paq2nw3.js → model-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-0q0f95c6.js → model-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-efpdwb6x.js → model-0qxdwqj8.js} +18 -18
- package/dist/chunks/{filesystem-0dy0awfd.js → model-0vqy8ggk.js} +16 -16
- package/dist/chunks/{filesystem-8p6xzk0z.js → model-0w0pfv64.js} +6 -6
- package/dist/chunks/{filesystem-wxr37xc2.js → model-0y5n2msm.js} +5 -5
- package/dist/chunks/{filesystem-6fatt4mk.js → model-11dqjexa.js} +9 -9
- package/dist/chunks/{filesystem-7t5b4y9r.js → model-1984k6t2.js} +15 -15
- package/dist/chunks/{filesystem-73tb2d7t.js → model-1bbkgx8g.js} +3 -3
- package/dist/chunks/{filesystem-1dazxqgg.js → model-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-2xr15r6z.js → model-1dvkw6kv.js} +24 -24
- package/dist/chunks/{filesystem-hd4ggg0f.js → model-1kf1zw0p.js} +7 -7
- package/dist/chunks/{filesystem-xxnqz17r.js → model-1kpjy7fz.js} +27 -27
- package/dist/chunks/{filesystem-2dayh34n.js → model-1vnz04j6.js} +84 -84
- package/dist/chunks/{filesystem-33w4ejhs.js → model-1ygqh575.js} +6 -6
- package/dist/chunks/{filesystem-21r38tys.js → model-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-w82fgawr.js → model-22dh126j.js} +6 -6
- package/dist/chunks/{filesystem-4wgmm2fj.js → model-233tjdzm.js} +4 -4
- package/dist/chunks/{filesystem-29x78va6.js → model-29x78va6.js} +2 -2
- package/dist/chunks/{filesystem-2a5m3afh.js → model-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-6nkz7cqz.js → model-2hj9r0q6.js} +40 -40
- package/dist/chunks/{filesystem-wh4ahp02.js → model-2jxgcw4v.js} +10 -10
- package/dist/chunks/{filesystem-7dqw4kz8.js → model-2k8khapm.js} +5 -5
- package/dist/chunks/{filesystem-frxaaayt.js → model-2kkjm1by.js} +32 -32
- package/dist/chunks/{filesystem-k5gd0tq9.js → model-2kpwbvjk.js} +26 -26
- package/dist/chunks/{filesystem-ag9w8cw1.js → model-2qp6y8xf.js} +5 -5
- package/dist/chunks/{filesystem-56yns3xt.js → model-36tt9758.js} +15 -15
- package/dist/chunks/{filesystem-v7zj3nz5.js → model-376qmtdk.js} +16 -16
- package/dist/chunks/{filesystem-vds9m2vb.js → model-38zbz3tv.js} +9 -9
- package/dist/chunks/{filesystem-08n7z093.js → model-3aq06pgr.js} +19 -19
- package/dist/chunks/{filesystem-z5614h9q.js → model-3c2za3af.js} +20 -20
- package/dist/chunks/{filesystem-3fc6dm20.js → model-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → model-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-dwy07qr3.js → model-3n7m2hk2.js} +22 -22
- package/dist/chunks/{filesystem-w446yvqy.js → model-3nyzas2y.js} +2 -2
- package/dist/chunks/{filesystem-q7rwn2x2.js → model-3r1htj1f.js} +21 -21
- package/dist/chunks/{filesystem-3smtnn6g.js → model-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-dqnhf5ps.js → model-3trq1tgd.js} +13 -13
- package/dist/chunks/{filesystem-3tvqynh2.js → model-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-keat3kjn.js → model-3ythc6yv.js} +4 -4
- package/dist/chunks/{filesystem-vvk3ve44.js → model-40k8kmwx.js} +7 -7
- package/dist/chunks/{filesystem-v35f087t.js → model-43y4pgnj.js} +1 -1
- package/dist/chunks/{filesystem-sfpgy6fa.js → model-4817rykz.js} +10 -10
- package/dist/chunks/{filesystem-4dgbcxzg.js → model-4dgbcxzg.js} +1 -1
- package/dist/chunks/{filesystem-2v3pyxh6.js → model-4rdqryht.js} +8 -8
- package/dist/chunks/{filesystem-kcvtahyt.js → model-4x08tbr8.js} +17 -17
- package/dist/chunks/{filesystem-hc1m44b4.js → model-4ywpd5fw.js} +20 -20
- package/dist/chunks/{filesystem-vmq7ehpy.js → model-510m7gjw.js} +5 -5
- package/dist/chunks/{filesystem-cwfj27x7.js → model-5bqdc31q.js} +3 -3
- package/dist/chunks/{filesystem-a1bz86dw.js → model-5c4hm403.js} +3 -3
- package/dist/chunks/{filesystem-5daktx2q.js → model-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-sds3e13g.js → model-5k87bj0k.js} +25 -25
- package/dist/chunks/{filesystem-5t3nmthw.js → model-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-e0sna5fv.js → model-5tpwjqwz.js} +35 -35
- package/dist/chunks/{filesystem-xst10gja.js → model-5z7mvqc9.js} +7 -7
- package/dist/chunks/{filesystem-669tq793.js → model-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-afed7ext.js → model-68y7phbn.js} +5 -5
- package/dist/chunks/{filesystem-ggq5dcm3.js → model-6drgx612.js} +11 -11
- package/dist/chunks/{filesystem-2402vzrj.js → model-6h73sxmp.js} +5 -5
- package/dist/chunks/{filesystem-6msgmcgs.js → model-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-tz5abwqk.js → model-6xvp8w0a.js} +18 -18
- package/dist/chunks/{filesystem-50mvj34d.js → model-744mfh37.js} +31 -31
- package/dist/chunks/{filesystem-7bmhse3q.js → model-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-kgwkn692.js → model-7e8yzj3r.js} +9 -9
- package/dist/chunks/{filesystem-4b3pvx7e.js → model-7fafv5n6.js} +24 -24
- package/dist/chunks/{filesystem-kx9spr8q.js → model-7n4gz87d.js} +6 -6
- package/dist/chunks/{filesystem-tamkpa3n.js → model-7rqh2ctm.js} +11 -11
- package/dist/chunks/{filesystem-4gabqsjb.js → model-7v1f06d3.js} +15 -15
- package/dist/chunks/{filesystem-23sxaqwc.js → model-7w3s9kd0.js} +6 -6
- package/dist/chunks/model-7z8m4jdr.js +26 -0
- package/dist/chunks/{filesystem-vgrtq7ff.js → model-7zc7y866.js} +25 -25
- package/dist/chunks/{filesystem-bddt2pqj.js → model-80vk4pbp.js} +7 -7
- package/dist/chunks/{filesystem-57ez7d0k.js → model-81swgkk7.js} +7 -7
- package/dist/chunks/{filesystem-e85wkba2.js → model-821c2grm.js} +12 -12
- package/dist/chunks/{filesystem-793adb1z.js → model-85qenhzt.js} +28 -28
- package/dist/chunks/{filesystem-8d7r5vzw.js → model-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-7m1b5r48.js → model-8dn5gfvq.js} +10 -10
- package/dist/chunks/{filesystem-gex21hkg.js → model-8rps6qd7.js} +21 -21
- package/dist/chunks/{filesystem-a5w0czkv.js → model-8xb42w3d.js} +60 -60
- package/dist/chunks/{filesystem-zfyhmt8d.js → model-911xaqx0.js} +20 -20
- package/dist/chunks/{filesystem-464d904a.js → model-99ggta0x.js} +135 -135
- package/dist/chunks/{filesystem-70c5k9gj.js → model-9dnmtttn.js} +13 -13
- package/dist/chunks/{filesystem-8cy2627w.js → model-9ga41e26.js} +14 -14
- package/dist/chunks/{filesystem-5xtgfte3.js → model-9hn6k4tm.js} +8 -8
- package/dist/chunks/{filesystem-961777zn.js → model-9r166ngg.js} +3 -3
- package/dist/chunks/{filesystem-rdnhh455.js → model-9xwr79ss.js} +12 -12
- package/dist/chunks/{filesystem-a2ew8a62.js → model-a2ew8a62.js} +1 -1
- package/dist/chunks/{filesystem-0x2h520v.js → model-a6zskm12.js} +26 -26
- package/dist/chunks/{filesystem-aaet6srn.js → model-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-0tvmtyg9.js → model-ac4jjyh9.js} +18 -18
- package/dist/chunks/{filesystem-gmrppb9j.js → model-acyp9nmy.js} +4 -4
- package/dist/chunks/{filesystem-tb6t8ms4.js → model-agxh3jj7.js} +6 -6
- package/dist/chunks/{filesystem-jm1e84c6.js → model-ajmr5gq8.js} +48 -48
- package/dist/chunks/{filesystem-m8btp16q.js → model-as3fcxs1.js} +75 -75
- package/dist/chunks/{filesystem-vsp1fds9.js → model-axmvebxj.js} +4 -4
- package/dist/chunks/{filesystem-3wss6xvz.js → model-b00xhfda.js} +7 -7
- package/dist/chunks/{filesystem-zhm4m9p9.js → model-b05n7962.js} +30 -30
- package/dist/chunks/{filesystem-mx3p2n25.js → model-b0g5qfh4.js} +7 -7
- package/dist/chunks/{filesystem-ws621yd9.js → model-b1rwpjt2.js} +38 -38
- package/dist/chunks/{filesystem-c9vj76y8.js → model-b5yj1c48.js} +17 -17
- package/dist/chunks/{filesystem-b6gygkdw.js → model-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-kne8f3cn.js → model-baaqp4zd.js} +4 -4
- package/dist/chunks/{filesystem-yad5pthg.js → model-bba39dcq.js} +24 -24
- package/dist/chunks/{filesystem-636h0e3e.js → model-bn88dpwe.js} +2 -2
- package/dist/chunks/{filesystem-f9hy97hv.js → model-bt0xyq03.js} +11 -11
- package/dist/chunks/{filesystem-abm0rsa5.js → model-c4szcb1p.js} +8 -8
- package/dist/chunks/{filesystem-6n2xac0h.js → model-cbyzv88m.js} +11 -11
- package/dist/chunks/{filesystem-gmtyk6kh.js → model-cdpzgvn4.js} +9 -9
- package/dist/chunks/{filesystem-d1r5081s.js → model-ce5fknq2.js} +5 -5
- package/dist/chunks/{filesystem-07770t2t.js → model-cjwramev.js} +4 -4
- package/dist/chunks/{filesystem-djszqvmq.js → model-cpneeje0.js} +9 -9
- package/dist/chunks/{filesystem-23pqda6t.js → model-cpy6gm2a.js} +6 -6
- package/dist/chunks/{filesystem-88sz8qcd.js → model-csf2jhsg.js} +4 -4
- package/dist/chunks/{filesystem-dn3c2qc4.js → model-ctmp0cgk.js} +24 -24
- package/dist/chunks/{filesystem-8p4f9s12.js → model-dj2t23y0.js} +2 -2
- package/dist/chunks/{filesystem-y71avatq.js → model-dpkg50ah.js} +4 -4
- package/dist/chunks/{filesystem-ew7hwn7j.js → model-dpwc31n5.js} +20 -20
- package/dist/chunks/{filesystem-1xgad0ca.js → model-dr7gxcgm.js} +10 -10
- package/dist/chunks/{filesystem-xfkkasph.js → model-drwq78ky.js} +4 -4
- package/dist/chunks/{filesystem-za9m4y5n.js → model-ebdyxsk8.js} +20 -20
- package/dist/chunks/{filesystem-ef5x83kb.js → model-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-s7ctwtcq.js → model-efdt01wf.js} +18 -18
- package/dist/chunks/{filesystem-erw5rpbs.js → model-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-etq0c3wd.js → model-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-rzfg7075.js → model-ey7qv34p.js} +27 -27
- package/dist/chunks/{filesystem-dhwr7h25.js → model-f32czd11.js} +8 -8
- package/dist/chunks/{filesystem-m4q3p37a.js → model-f50x3b3s.js} +13 -13
- package/dist/chunks/{filesystem-6ysrkrkr.js → model-f5gy8qwh.js} +8 -8
- package/dist/chunks/{filesystem-cq37gk0t.js → model-fab8hzt3.js} +4 -4
- package/dist/chunks/{filesystem-hjxgxr48.js → model-fawkavha.js} +4 -4
- package/dist/chunks/{filesystem-w533tarm.js → model-fh25xc84.js} +20 -20
- package/dist/chunks/{filesystem-k9kj6xed.js → model-fkjmw100.js} +2 -2
- package/dist/chunks/{filesystem-vvax6fjg.js → model-fm317nwr.js} +14 -14
- package/dist/chunks/{filesystem-fxbjtjnd.js → model-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-b03343t8.js → model-g7q8d3rw.js} +13 -13
- package/dist/chunks/{filesystem-b8wc72va.js → model-gcd43y7x.js} +17 -17
- package/dist/chunks/{filesystem-gd4qta3r.js → model-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-7sykw5ek.js → model-gdnmvhtd.js} +25 -25
- package/dist/chunks/{filesystem-4r6ztwym.js → model-gfvsdv7e.js} +6 -6
- package/dist/chunks/{filesystem-a3zv9t7g.js → model-gjrpp66z.js} +11 -11
- package/dist/chunks/{filesystem-2jbnthh3.js → model-gr7kh44d.js} +14 -14
- package/dist/chunks/{filesystem-gv6a8nnw.js → model-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-19a9vrq3.js → model-gwc5p263.js} +3 -3
- package/dist/chunks/model-h2z4ejvh.js +252 -0
- package/dist/chunks/{filesystem-h6vf3j39.js → model-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-76nv9rak.js → model-h9dz8fj7.js} +32 -32
- package/dist/chunks/{filesystem-an5w92pz.js → model-h9x5fspw.js} +16 -16
- package/dist/chunks/{filesystem-czx28beh.js → model-hckbve9z.js} +31 -31
- package/dist/chunks/{filesystem-f828m53h.js → model-hdnk95c8.js} +2 -2
- package/dist/chunks/{filesystem-d9rbnbyj.js → model-hk86mw2f.js} +302 -302
- package/dist/chunks/{filesystem-qx5d9ajw.js → model-hmw3pr0d.js} +3 -3
- package/dist/chunks/{filesystem-76j10fxw.js → model-hzvbkkwq.js} +5 -5
- package/dist/chunks/{filesystem-pnv527nz.js → model-j3s2z371.js} +9 -9
- package/dist/chunks/{filesystem-j56e64zr.js → model-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-mgmaefw5.js → model-j7ym9e45.js} +3 -3
- package/dist/chunks/{filesystem-3casrxqv.js → model-jck6t8kb.js} +47 -47
- package/dist/chunks/{filesystem-983we7ba.js → model-jea9yeya.js} +33 -33
- package/dist/chunks/{filesystem-q3bxgjqn.js → model-jpeemenq.js} +4 -4
- package/dist/chunks/{filesystem-mt9bxwhn.js → model-jxd6phk9.js} +3 -3
- package/dist/chunks/{filesystem-z5dr2f93.js → model-jxdt7bj1.js} +2 -2
- package/dist/chunks/{filesystem-arm41a3t.js → model-k1eqknct.js} +12 -12
- package/dist/chunks/{filesystem-zptm4m77.js → model-k7kjyac2.js} +1 -1
- package/dist/chunks/{filesystem-04k65yr5.js → model-k9a0313z.js} +11 -11
- package/dist/chunks/{filesystem-5d7brjha.js → model-kbsrxwde.js} +20 -20
- package/dist/chunks/{filesystem-stsqwfg0.js → model-kqsk5bay.js} +15 -15
- package/dist/chunks/{filesystem-ga28zqw9.js → model-kst9mf61.js} +19 -19
- package/dist/chunks/{filesystem-0xr2qn80.js → model-kt6y54za.js} +9 -9
- package/dist/chunks/{filesystem-f09mvmr0.js → model-kwrjnxj7.js} +9 -9
- package/dist/chunks/{filesystem-x0600czv.js → model-ky3seynh.js} +2 -2
- package/dist/chunks/{filesystem-9afpsfvx.js → model-m0ecvezt.js} +15 -15
- package/dist/chunks/{filesystem-cfpkc3c9.js → model-m0jqrx5p.js} +2 -2
- package/dist/chunks/{filesystem-m3fdjcah.js → model-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-prryh28n.js → model-m5hyj67z.js} +5 -5
- package/dist/chunks/{filesystem-m9w0rfyh.js → model-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-rddmyqfq.js → model-mg0wqdec.js} +24 -24
- package/dist/chunks/{filesystem-msvsfnt3.js → model-mgtgxz5r.js} +9 -9
- package/dist/chunks/{filesystem-35m7c38y.js → model-mh1qkymb.js} +4 -4
- package/dist/chunks/{filesystem-3bjt0azc.js → model-mjqa7j4g.js} +19 -19
- package/dist/chunks/{filesystem-k7myrtme.js → model-mphgtbj1.js} +9 -9
- package/dist/chunks/{filesystem-2449akcn.js → model-mrkn01vt.js} +16 -16
- package/dist/chunks/{filesystem-wgw4srnb.js → model-mxx22ze4.js} +21 -21
- package/dist/chunks/{filesystem-enxmvdqw.js → model-n3khnxxm.js} +20 -20
- package/dist/chunks/{filesystem-1a3s12px.js → model-nqkhhm1a.js} +8 -8
- package/dist/chunks/{filesystem-af04s6ss.js → model-nxhqveyz.js} +5 -5
- package/dist/chunks/{filesystem-k3c624dm.js → model-nzks3jc8.js} +3 -3
- package/dist/chunks/{filesystem-36ckcbr5.js → model-pdbha7qx.js} +46 -46
- package/dist/chunks/{filesystem-pjvnvgmy.js → model-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → model-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-gvn55taw.js → model-pm021q3e.js} +9 -9
- package/dist/chunks/{filesystem-6evbdv63.js → model-prkj3g34.js} +9 -9
- package/dist/chunks/{filesystem-asp0ht71.js → model-q91y1k20.js} +6 -6
- package/dist/chunks/{filesystem-k8hpw67k.js → model-qdbakdjh.js} +5 -5
- package/dist/chunks/{filesystem-fpz3mx6x.js → model-qdkgm6eb.js} +14 -14
- package/dist/chunks/{filesystem-rk88yvf9.js → model-qeaksvd1.js} +10 -10
- package/dist/chunks/{filesystem-2dp8p6n2.js → model-qnttz4bc.js} +13 -13
- package/dist/chunks/{filesystem-qsdy395h.js → model-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-f8vvpw96.js → model-qvm8zske.js} +39 -39
- package/dist/chunks/{filesystem-afgm61tm.js → model-qwh6hz7y.js} +5 -5
- package/dist/chunks/{filesystem-4e8vs6eh.js → model-qwjmgwmn.js} +8 -8
- package/dist/chunks/{filesystem-dw1hb3qg.js → model-r014f9z3.js} +23 -23
- package/dist/chunks/{filesystem-frcr067y.js → model-r097esf4.js} +21 -21
- package/dist/chunks/{filesystem-2d0h499m.js → model-r76rkyqz.js} +4 -4
- package/dist/chunks/{filesystem-yp2x3t23.js → model-r8xr0va3.js} +4 -4
- package/dist/chunks/{filesystem-0v53mg2y.js → model-r98e92ep.js} +4 -4
- package/dist/chunks/{filesystem-wxnh3zbj.js → model-rdm5x9bh.js} +3 -3
- package/dist/chunks/{filesystem-rdw6cm16.js → model-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-gkxywbd8.js → model-rf8gwv68.js} +9 -9
- package/dist/chunks/{filesystem-rhjbct0v.js → model-rhjbct0v.js} +1 -1
- package/dist/chunks/{filesystem-q3hac6h7.js → model-rq7amxn9.js} +18 -18
- package/dist/chunks/{filesystem-4da2pd5b.js → model-rw2zfnw1.js} +38 -38
- package/dist/chunks/{filesystem-vmz6a58x.js → model-rwy8m34b.js} +3 -3
- package/dist/chunks/{filesystem-q0sfhvah.js → model-ry0fdc19.js} +1 -1
- package/dist/chunks/{filesystem-cx1qg717.js → model-s05x4jm2.js} +20 -20
- package/dist/chunks/{filesystem-s4enseaf.js → model-s4enseaf.js} +2 -2
- package/dist/chunks/{filesystem-s5kb3k8e.js → model-s5kb3k8e.js} +4 -4
- package/dist/chunks/{filesystem-hg14h15t.js → model-sjb5616m.js} +22 -22
- package/dist/chunks/{filesystem-8xwhmszd.js → model-sv1t6xhr.js} +9 -9
- package/dist/chunks/{filesystem-w94kskkz.js → model-szck2fw2.js} +8 -8
- package/dist/chunks/{filesystem-sexgt17t.js → model-szsw9c27.js} +1 -1
- package/dist/chunks/{filesystem-738dabjt.js → model-t1fsmxc3.js} +30 -30
- package/dist/chunks/{filesystem-tazgh4e4.js → model-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-tbz0fdvh.js → model-tbz0fdvh.js} +2 -2
- package/dist/chunks/{filesystem-tcezcvh9.js → model-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → model-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-8we60ned.js → model-te4j4s1y.js} +33 -33
- package/dist/chunks/{filesystem-zx5z6yb5.js → model-tj1f8e25.js} +11 -11
- package/dist/chunks/{filesystem-eyvfapca.js → model-tnvaxyve.js} +17 -17
- package/dist/chunks/{filesystem-scq4khx8.js → model-ts2x07a1.js} +1 -1
- package/dist/chunks/{filesystem-tvtrv512.js → model-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-mbac1kct.js → model-tygxfmr3.js} +10 -10
- package/dist/chunks/{filesystem-j5rxtxht.js → model-vbfgae2j.js} +4 -4
- package/dist/chunks/{filesystem-veqvce7d.js → model-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-dzc2vx4y.js → model-vkvppane.js} +6 -6
- package/dist/chunks/{filesystem-v8g5y6jd.js → model-vnrw16qp.js} +12 -12
- package/dist/chunks/{filesystem-rc50wbp4.js → model-vp67155v.js} +10 -10
- package/dist/chunks/model-vsdyktar.js +18 -0
- package/dist/chunks/{filesystem-vzcthcp8.js → model-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-jkayeeaj.js → model-w1gdqckm.js} +6 -6
- package/dist/chunks/{filesystem-w3wsvvr9.js → model-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-ja4wy4ee.js → model-wb2crypr.js} +3 -3
- package/dist/chunks/{filesystem-wd87259q.js → model-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-yfrapfkp.js → model-wgczap0h.js} +4 -4
- package/dist/chunks/{filesystem-x1ezjp6w.js → model-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-5yj9qr1n.js → model-x3eddfcp.js} +11 -11
- package/dist/chunks/{filesystem-hw0j4jfr.js → model-x6348xh2.js} +9 -9
- package/dist/chunks/{filesystem-yq3qxe3q.js → model-x816vrn9.js} +39 -39
- package/dist/chunks/{filesystem-1r0xw8d8.js → model-x9hs8p79.js} +16 -16
- package/dist/chunks/{filesystem-kc6s93qx.js → model-xfjax5kj.js} +6 -6
- package/dist/chunks/{filesystem-arssbyta.js → model-xngczjm7.js} +21 -21
- package/dist/chunks/{filesystem-5hp81q23.js → model-xnr76jvj.js} +18 -18
- package/dist/chunks/{filesystem-8jmaqybk.js → model-xxynqx5z.js} +3 -3
- package/dist/chunks/{filesystem-y1fvbwt7.js → model-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-91p1v22t.js → model-y1qqcj8h.js} +8 -8
- package/dist/chunks/{filesystem-px2be73x.js → model-y3ss1vq6.js} +10 -10
- package/dist/chunks/{filesystem-m4wqnv6z.js → model-y94sa969.js} +30 -30
- package/dist/chunks/{filesystem-yzs7269r.js → model-yh63eb9v.js} +22 -22
- package/dist/chunks/{filesystem-jfxzdpts.js → model-yhhb1kw1.js} +25 -25
- package/dist/chunks/{filesystem-jyvd2mgh.js → model-ynv8jnc3.js} +6 -6
- package/dist/chunks/{filesystem-yrhqyw5v.js → model-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-jgqqmzrc.js → model-yv2nec7k.js} +13 -13
- package/dist/chunks/{filesystem-cqh9r0f6.js → model-yw7r4j3y.js} +3 -3
- package/dist/chunks/{filesystem-896e5whc.js → model-yynber98.js} +11 -11
- package/dist/chunks/{filesystem-z0bkrqjs.js → model-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-m5nhsqcp.js → model-z1eznz97.js} +30 -30
- package/dist/chunks/{filesystem-awe63se0.js → model-z1hxv11z.js} +21 -21
- package/dist/chunks/{filesystem-71k5223z.js → model-zbpatq1k.js} +22 -22
- package/dist/chunks/{filesystem-dpahde6h.js → model-ze5v0a14.js} +8 -8
- package/dist/chunks/{filesystem-zeh9ct20.js → model-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-97t23ph8.js → model-zkj5scrh.js} +1 -1
- package/dist/chunks/{filesystem-nw7zy85b.js → model-zmekhh4v.js} +9 -9
- package/dist/chunks/{filesystem-zr2ceqn5.js → model-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-6f2z4ez9.js → model-zrsgf04b.js} +10 -10
- package/dist/chunks/{filesystem-zxq2ej10.js → model-zxq2ej10.js} +1 -1
- package/dist/chunks/{filesystem-wkjja0pr.js → model-zy42tfqg.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- 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 +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +122 -122
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +100 -100
- 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 +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +128 -128
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +86 -86
- package/dist/managed-policy.js +5 -5
- 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 +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +73 -73
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +98 -98
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- 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/compaction.js +130 -130
- 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 +331 -331
- 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 +93 -93
- 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 +159 -159
- package/dist/plugin/sdk.js +75 -75
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- 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 +127 -127
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +150 -150
- 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 +2 -2
- 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 +230 -230
- 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 +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- 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 +80 -80
- 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 +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +11 -11
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- 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 +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +4 -4
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/filesystem-by5v678g.js +0 -18
- package/dist/chunks/filesystem-tr8yqx4d.js +0 -252
- package/dist/chunks/filesystem-w3te818p.js +0 -26
- /package/dist/chunks/{filesystem-0mesazry.js → model-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → model-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → model-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → model-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → model-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → model-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → model-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → model-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → model-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → model-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → model-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → model-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → model-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → model-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → model-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → model-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → model-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → model-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → model-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → model-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → model-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → model-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → model-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → model-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → model-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → model-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → model-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → model-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → model-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → model-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → model-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → model-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → model-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → model-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → model-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → model-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → model-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → model-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → model-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → model-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → model-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → model-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → model-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → model-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → model-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e3qxr5gk.js → model-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → model-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → model-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → model-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → model-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → model-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → model-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → model-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → model-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → model-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → model-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → model-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → model-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → model-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → model-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → model-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → model-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → model-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → model-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → model-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → model-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → model-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → model-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → model-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → model-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → model-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → model-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → model-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → model-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → model-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → model-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → model-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → model-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → model-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → model-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → model-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → model-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → model-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → model-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → model-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → model-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → model-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → model-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → model-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → model-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → model-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → model-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → model-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → model-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → model-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → model-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → model-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
12
|
+
Event: () => Event20,
|
|
13
13
|
ID: () => ID18,
|
|
14
|
-
Info: () =>
|
|
14
|
+
Info: () => Info33,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
@@ -20,12 +20,12 @@ import { Schema } from "effect";
|
|
|
20
20
|
import { Project } from "@opencode/schema/project";
|
|
21
21
|
var ID18 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info33 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event20 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export { ID18, Current3,
|
|
31
|
+
export { ID18, Current3, Info33, UpdateInput4, Event20, Vcs3, exports_schema };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./model-qvm8zske.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service14
|
|
6
|
+
} from "./model-f5gy8qwh.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin15
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin15 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service64;
|
|
29
|
+
const managed = yield* Service14;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin38 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin15, exports_policy };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service77
|
|
9
|
+
} from "./model-02x3fxhb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./model-bba39dcq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service29
|
|
15
|
+
} from "./model-6xvp8w0a.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./model-t1fsmxc3.js";
|
|
22
22
|
import {
|
|
23
23
|
Service57
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-0vqy8ggk.js";
|
|
25
25
|
import {
|
|
26
26
|
Service23
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-prkj3g34.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
36
|
+
Input: () => Input9,
|
|
37
37
|
Output: () => Output5,
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
38
|
+
Plugin: () => Plugin45,
|
|
39
|
+
name: () => name9,
|
|
40
|
+
toModelContent: () => toModelContent4
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name9 = "glob";
|
|
46
|
+
var Input9 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -56,26 +56,26 @@ var Input6 = Schema.Struct({
|
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
58
|
var Output5 = Schema.Array(Entry2);
|
|
59
|
-
var
|
|
59
|
+
var toModelContent4 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin45 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
69
|
+
const environment = yield* Service69;
|
|
70
|
+
const ripgrep = yield* Service29;
|
|
71
|
+
const location = yield* Service77;
|
|
72
72
|
const access = yield* Service23;
|
|
73
73
|
const permission = yield* Service57;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name9,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
78
|
+
input: Input9,
|
|
79
79
|
output: Output5,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
@@ -83,7 +83,7 @@ var Plugin6 = {
|
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name9,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin6 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name9, Input9, Output5, toModelContent4, Plugin45, exports_glob };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service64
|
|
3
|
+
} from "./model-qvm8zske.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service36
|
|
6
|
+
} from "./model-pdbha7qx.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin31,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin31 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service64;
|
|
28
|
+
const mcp = yield* Service36;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin31, register2, exports_mcp2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-68y7phbn.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service77,
|
|
13
|
+
node81
|
|
14
|
+
} from "./model-02x3fxhb.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
25
|
Error: () => Error3,
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node47,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,7 +34,7 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
39
|
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
@@ -43,13 +43,13 @@ class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service77;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -138,14 +138,14 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node47 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node, node86, Global.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node81]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -163,4 +163,4 @@ function failure(operation, cause) {
|
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error3, Service44, node47, noopLayer2, exports_snapshot2 };
|
|
@@ -1,121 +1,121 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-jxd6phk9.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./model-fawkavha.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-wb2crypr.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-5c4hm403.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-fab8hzt3.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-csf2jhsg.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-nqkhhm1a.js";
|
|
31
31
|
import {
|
|
32
32
|
Service59,
|
|
33
33
|
node62
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./model-m5hyj67z.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
Service16,
|
|
37
|
+
node18
|
|
38
|
+
} from "./model-1dvkw6kv.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-5t3nmthw.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service39,
|
|
44
|
+
node42
|
|
45
|
+
} from "./model-k9a0313z.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./model-h9dz8fj7.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
make10
|
|
51
|
+
} from "./model-22dh126j.js";
|
|
52
52
|
import {
|
|
53
53
|
Service12,
|
|
54
54
|
node14
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./model-qdkgm6eb.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
57
|
+
Service31,
|
|
58
|
+
node34
|
|
59
|
+
} from "./model-as3fcxs1.js";
|
|
60
60
|
import {
|
|
61
61
|
serialized2,
|
|
62
62
|
nextPromotable2,
|
|
63
63
|
promote2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./model-xnr76jvj.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
66
|
+
Service11,
|
|
67
67
|
isUntitled2,
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
68
|
+
node13
|
|
69
|
+
} from "./model-0h34xgtp.js";
|
|
70
70
|
import {
|
|
71
71
|
DrainResult2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
Service50
|
|
73
|
+
} from "./model-baaqp4zd.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
75
|
+
node47
|
|
76
|
+
} from "./model-8rps6qd7.js";
|
|
77
77
|
import {
|
|
78
78
|
node69
|
|
79
|
-
} from "./
|
|
79
|
+
} from "./model-s5kb3k8e.js";
|
|
80
80
|
import {
|
|
81
81
|
Outcome2,
|
|
82
|
-
|
|
83
|
-
} from "./
|
|
82
|
+
make8
|
|
83
|
+
} from "./model-efdt01wf.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
} from "./
|
|
85
|
+
Service42
|
|
86
|
+
} from "./model-vsdyktar.js";
|
|
87
87
|
import {
|
|
88
|
-
|
|
89
|
-
} from "./
|
|
88
|
+
node21
|
|
89
|
+
} from "./model-rq7amxn9.js";
|
|
90
90
|
import {
|
|
91
91
|
MAX_STEPS_PROMPT2
|
|
92
|
-
} from "./
|
|
92
|
+
} from "./model-y44na4kk.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
|
-
} from "./
|
|
95
|
+
} from "./model-9rqn6x4v.js";
|
|
96
96
|
|
|
97
97
|
// src/session/runner/llm.ts
|
|
98
98
|
var exports_llm = {};
|
|
99
99
|
__export(exports_llm, {
|
|
100
100
|
SessionRunnerLLM: () => exports_llm,
|
|
101
|
-
node: () =>
|
|
101
|
+
node: () => node11
|
|
102
102
|
});
|
|
103
103
|
import { Message } from "@opencode/ai";
|
|
104
104
|
import { and, desc, eq, sql } from "drizzle-orm";
|
|
105
105
|
import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
106
106
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
107
107
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
108
|
-
var layer = Layer.effect(
|
|
108
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
109
109
|
const bus = yield* Service83;
|
|
110
|
-
const lifecycle = yield*
|
|
110
|
+
const lifecycle = yield* Service16;
|
|
111
111
|
const store = yield* Service59;
|
|
112
|
-
const context = yield*
|
|
113
|
-
const modelTransport = yield*
|
|
112
|
+
const context = yield* Service31;
|
|
113
|
+
const modelTransport = yield* Service39;
|
|
114
114
|
const db = (yield* Service84).db;
|
|
115
115
|
const compaction = yield* Service12;
|
|
116
|
-
const plugins = yield*
|
|
117
|
-
const title = yield*
|
|
118
|
-
const steps = yield*
|
|
116
|
+
const plugins = yield* Service42;
|
|
117
|
+
const title = yield* Service11;
|
|
118
|
+
const steps = yield* make8;
|
|
119
119
|
const titles = yield* FiberMap.make();
|
|
120
120
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
121
121
|
const sessionID = input.sessionID;
|
|
@@ -240,7 +240,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
240
240
|
const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
|
|
241
241
|
const sessionID = first.session.id;
|
|
242
242
|
let assistantMessageID = SessionMessage2.ID.create();
|
|
243
|
-
const retry = yield*
|
|
243
|
+
const retry = yield* make10(bus, sessionID);
|
|
244
244
|
let initial = first;
|
|
245
245
|
let recoverOverflow = true;
|
|
246
246
|
let recoverContinuation = true;
|
|
@@ -361,25 +361,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
return
|
|
364
|
+
return Service50.of({ drain });
|
|
365
365
|
}));
|
|
366
|
-
var
|
|
367
|
-
service:
|
|
366
|
+
var node11 = makeLocationNode({
|
|
367
|
+
service: Service50,
|
|
368
368
|
layer,
|
|
369
369
|
deps: [
|
|
370
370
|
node87,
|
|
371
|
-
|
|
371
|
+
node18,
|
|
372
372
|
llmClient2,
|
|
373
|
-
|
|
374
|
-
|
|
373
|
+
node34,
|
|
374
|
+
node42,
|
|
375
375
|
node62,
|
|
376
376
|
node14,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
377
|
+
node21,
|
|
378
|
+
node13,
|
|
379
|
+
node47,
|
|
380
380
|
node69,
|
|
381
381
|
node88
|
|
382
382
|
]
|
|
383
383
|
});
|
|
384
384
|
|
|
385
|
-
export {
|
|
385
|
+
export { node11, exports_llm };
|