@opencode/core 0.0.0-dev-19509 → 0.0.0-dev-19511
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{worktree-39z097b6.js → project-03byqthe.js} +36 -36
- package/dist/chunks/{worktree-adm5ft2x.js → project-04hzg152.js} +18 -18
- package/dist/chunks/{worktree-thp4thqf.js → project-06brqfbk.js} +17 -17
- package/dist/chunks/{worktree-t7bs0stv.js → project-0gcj0wxd.js} +15 -15
- package/dist/chunks/{worktree-csebhh29.js → project-0jrfp098.js} +9 -9
- package/dist/chunks/{worktree-awhv1hxp.js → project-0jzgk3xk.js} +19 -19
- package/dist/chunks/{worktree-zvnk3gn3.js → project-0kgvfrm4.js} +17 -17
- package/dist/chunks/{worktree-2t72zxyz.js → project-0mgvehma.js} +3 -3
- package/dist/chunks/{worktree-sj94bf0y.js → project-0mqws7ma.js} +20 -20
- package/dist/chunks/{worktree-0paq2nw3.js → project-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0q0f95c6.js → project-0q0f95c6.js} +1 -1
- package/dist/chunks/{worktree-1smds1mj.js → project-128jwkd9.js} +11 -11
- package/dist/chunks/{worktree-bc078hx2.js → project-17f7730q.js} +18 -18
- package/dist/chunks/{worktree-8c13b1f6.js → project-180kq3wy.js} +15 -15
- package/dist/chunks/{worktree-1dazxqgg.js → project-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-1fzw0h16.js → project-1gsa2cck.js} +15 -15
- package/dist/chunks/{worktree-40be3fby.js → project-1nypc09g.js} +14 -14
- package/dist/chunks/{worktree-8x177ym8.js → project-1p3xnr7f.js} +17 -17
- package/dist/chunks/{worktree-za9cx4qh.js → project-1qg96azw.js} +5 -5
- package/dist/chunks/{worktree-xab957cg.js → project-1rhhxb2c.js} +24 -24
- package/dist/chunks/{worktree-ej5ddtfv.js → project-1tjc281v.js} +5 -5
- package/dist/chunks/{worktree-zsn9806r.js → project-1vtpe7zb.js} +4 -4
- package/dist/chunks/{worktree-w90x3s5c.js → project-1w0xs9z0.js} +11 -11
- package/dist/chunks/{worktree-73xy8fsw.js → project-1y3t80aq.js} +5 -5
- package/dist/chunks/{worktree-21r38tys.js → project-21r38tys.js} +1 -1
- package/dist/chunks/{worktree-2402vzrj.js → project-2402vzrj.js} +1 -1
- package/dist/chunks/{worktree-2a5m3afh.js → project-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-ejdkdwzs.js → project-2bj8tynh.js} +4 -4
- package/dist/chunks/{worktree-8a649t19.js → project-2etzwqq0.js} +6 -6
- package/dist/chunks/{worktree-t0fxg8b9.js → project-2f0bjgcj.js} +5 -5
- package/dist/chunks/{worktree-2c9cavng.js → project-2qmj82d1.js} +46 -46
- package/dist/chunks/{worktree-baaqp4zd.js → project-2vs2nh1n.js} +4 -4
- package/dist/chunks/{worktree-w9najb13.js → project-2wgpvvmt.js} +11 -11
- package/dist/chunks/{worktree-6sfzc8j3.js → project-2xnqg3kz.js} +8 -8
- package/dist/chunks/{worktree-qhrw8p3b.js → project-30b4p980.js} +8 -8
- package/dist/chunks/{worktree-q2t36530.js → project-352w66m8.js} +9 -9
- package/dist/chunks/{worktree-jv2bdre8.js → project-3592630s.js} +6 -6
- package/dist/chunks/{worktree-m2manvsf.js → project-3c1tgrea.js} +6 -6
- package/dist/chunks/{worktree-g0rx3fxn.js → project-3dv0dhzr.js} +78 -78
- package/dist/chunks/{worktree-gdvy8fx6.js → project-3fc6dm20.js} +4 -4
- package/dist/chunks/{worktree-et0ngb76.js → project-3gtmxc06.js} +8 -8
- package/dist/chunks/{worktree-3hepkmqq.js → project-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-vkz51m42.js → project-3hzqgt9w.js} +28 -28
- package/dist/chunks/{worktree-3smtnn6g.js → project-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → project-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-j7wq2tw5.js → project-3yjg5mh2.js} +3 -3
- package/dist/chunks/{worktree-ryha7zpe.js → project-3yme9dtt.js} +9 -9
- package/dist/chunks/{worktree-gda53zk6.js → project-3ymzj6fs.js} +12 -12
- package/dist/chunks/{worktree-4x24p3x4.js → project-40zzw5vx.js} +5 -5
- package/dist/chunks/{worktree-vjy2y45p.js → project-41v07cqx.js} +11 -11
- package/dist/chunks/{worktree-p2aekm07.js → project-485wz5ap.js} +85 -85
- package/dist/chunks/{worktree-77nksagb.js → project-49z946gs.js} +20 -20
- package/dist/chunks/{worktree-bxss1q04.js → project-4e10zhsk.js} +26 -26
- package/dist/chunks/{worktree-w76gpamr.js → project-4jct13es.js} +12 -12
- package/dist/chunks/{worktree-qwkytnft.js → project-4p1ga2js.js} +3 -3
- package/dist/chunks/{worktree-3cdjp2z1.js → project-4qw9jy8s.js} +6 -6
- package/dist/chunks/{worktree-4y66k410.js → project-4y66k410.js} +2 -2
- package/dist/chunks/{worktree-a1bz86dw.js → project-5c4hm403.js} +3 -3
- package/dist/chunks/{worktree-m3x11w40.js → project-5cbh0j70.js} +11 -11
- package/dist/chunks/{worktree-5daktx2q.js → project-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-wyy37vyq.js → project-5qb16e34.js} +52 -52
- package/dist/chunks/{worktree-5t3nmthw.js → project-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-sqwpcrch.js → project-5v6xbca9.js} +157 -157
- package/dist/chunks/{worktree-97n9g1za.js → project-61pd2xsr.js} +34 -34
- package/dist/chunks/{worktree-wrjmdcd7.js → project-6597xj7n.js} +7 -7
- package/dist/chunks/{worktree-669tq793.js → project-669tq793.js} +1 -1
- package/dist/chunks/{worktree-tjqe909z.js → project-6f2gh7ng.js} +1 -1
- package/dist/chunks/project-6kdq0pjd.js +4 -0
- package/dist/chunks/{worktree-6msgmcgs.js → project-6msgmcgs.js} +1 -1
- package/dist/chunks/{worktree-6shvhte3.js → project-6vc8p3va.js} +1 -1
- package/dist/chunks/{worktree-71q4at8m.js → project-71q4at8m.js} +1 -1
- package/dist/chunks/{worktree-ka3v088s.js → project-74t57acv.js} +9 -9
- package/dist/chunks/{worktree-7bmhse3q.js → project-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-ert0es5w.js → project-7h2z3prw.js} +39 -39
- package/dist/chunks/{worktree-shh6fz4q.js → project-7j92jdde.js} +4 -4
- package/dist/chunks/{worktree-w428zktn.js → project-7nypd6v8.js} +15 -15
- package/dist/chunks/{worktree-dvgdgw3v.js → project-7xjy9a2e.js} +3 -3
- package/dist/chunks/{worktree-81swgkk7.js → project-81swgkk7.js} +2 -2
- package/dist/chunks/{worktree-p7d99px1.js → project-82kwe8pc.js} +8 -8
- package/dist/chunks/{worktree-xn8fxkx5.js → project-8421cefc.js} +6 -6
- package/dist/chunks/{worktree-8d7r5vzw.js → project-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-j47svp76.js → project-8dnxqjce.js} +11 -11
- package/dist/chunks/{worktree-t6bwgaqm.js → project-8e2hps12.js} +32 -32
- package/dist/chunks/{worktree-cafdv0ym.js → project-8vyszhxq.js} +9 -9
- package/dist/chunks/{worktree-7xv0edjs.js → project-8w2hbp94.js} +5 -5
- package/dist/chunks/{worktree-pemhtd8f.js → project-8za6t4pe.js} +8 -8
- package/dist/chunks/{worktree-xx6cn220.js → project-936n54ck.js} +1 -1
- package/dist/chunks/{worktree-vvsqdwqz.js → project-9502mm2y.js} +32 -32
- package/dist/chunks/{worktree-3sz5ktbs.js → project-9bb2zzrg.js} +21 -21
- package/dist/chunks/{worktree-v600ka5t.js → project-9bf6jj70.js} +26 -26
- package/dist/chunks/{worktree-1dpnrefp.js → project-9gdc11pm.js} +26 -26
- package/dist/chunks/{worktree-78n98qb4.js → project-9jmfdv3c.js} +12 -12
- package/dist/chunks/{worktree-46947paf.js → project-9n42172b.js} +28 -28
- package/dist/chunks/{worktree-61sb7bcr.js → project-9qfkze9a.js} +11 -11
- package/dist/chunks/{worktree-dbyd747x.js → project-9wsm2w7d.js} +6 -6
- package/dist/chunks/{worktree-0ctm8j7h.js → project-9z0604wv.js} +43 -43
- package/dist/chunks/{worktree-gm9ea5b0.js → project-a7h8je70.js} +18 -18
- package/dist/chunks/{worktree-aaet6srn.js → project-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-nj09xgek.js → project-ag81pwzz.js} +10 -10
- package/dist/chunks/project-ajqyq5kb.js +22 -0
- package/dist/chunks/{worktree-v912edbj.js → project-at6fsfad.js} +15 -15
- package/dist/chunks/{worktree-eaj1djv9.js → project-athype10.js} +4 -4
- package/dist/chunks/{worktree-b6gygkdw.js → project-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-f1mdy5hp.js → project-bvm1hg5c.js} +1 -1
- package/dist/chunks/{worktree-n5y107kn.js → project-by1fd37v.js} +12 -12
- package/dist/chunks/{worktree-gsa99s6r.js → project-by3d5382.js} +11 -11
- package/dist/chunks/{worktree-trkat1qx.js → project-c4ykr5r1.js} +45 -45
- package/dist/chunks/{worktree-9w4ppqge.js → project-c5c0bz0t.js} +5 -5
- package/dist/chunks/{worktree-cx7w19tq.js → project-c61qbbjh.js} +10 -10
- package/dist/chunks/{worktree-aq5rptpm.js → project-cdkak6c5.js} +20 -20
- package/dist/chunks/{worktree-zjf5xpx9.js → project-ce6x2zr0.js} +2 -2
- package/dist/chunks/{worktree-v30hr118.js → project-cg9cg68q.js} +9 -9
- package/dist/chunks/{worktree-6npnztgt.js → project-cgjzvrd1.js} +4 -4
- package/dist/chunks/{worktree-0tzb1dzm.js → project-cpa9365v.js} +20 -20
- package/dist/chunks/{worktree-vvgctfdq.js → project-crc3g98t.js} +12 -12
- package/dist/chunks/{worktree-zhvsjxqr.js → project-cx98cjrt.js} +4 -4
- package/dist/chunks/{worktree-th62sywm.js → project-czc1p6ep.js} +27 -27
- package/dist/chunks/{worktree-0940wtvk.js → project-d0acstaf.js} +46 -46
- package/dist/chunks/{worktree-fmskcfx8.js → project-d643ey3h.js} +15 -15
- package/dist/chunks/{worktree-69t96w4v.js → project-da239ya3.js} +26 -26
- package/dist/chunks/{worktree-6tpyx64t.js → project-dez563yv.js} +38 -38
- package/dist/chunks/{worktree-8p4f9s12.js → project-dj2t23y0.js} +2 -2
- package/dist/chunks/{worktree-2dtw8x15.js → project-dmw8ezrh.js} +3 -3
- package/dist/chunks/{worktree-y71avatq.js → project-dpkg50ah.js} +4 -4
- package/dist/chunks/{worktree-ebc7h8jh.js → project-e6jkap1f.js} +4 -4
- package/dist/chunks/{worktree-bjhqm2jc.js → project-e9ngbr94.js} +24 -24
- package/dist/chunks/{worktree-wvmhx4nb.js → project-eraanh1f.js} +4 -4
- package/dist/chunks/{worktree-etq0c3wd.js → project-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-1acjjqhc.js → project-f2n192rq.js} +4 -4
- package/dist/chunks/{worktree-m33rf8wm.js → project-f79y50b7.js} +18 -18
- package/dist/chunks/{worktree-6zzmvhm0.js → project-fhvnb7q8.js} +24 -24
- package/dist/chunks/{worktree-0npjq9jf.js → project-fjhcf7g9.js} +2 -2
- package/dist/chunks/{worktree-t56rw2gy.js → project-fmsmdavp.js} +27 -27
- package/dist/chunks/{worktree-ha84e8c9.js → project-fn3pntxg.js} +21 -21
- package/dist/chunks/{worktree-m3zza4qd.js → project-fqj9nv8j.js} +8 -8
- package/dist/chunks/{worktree-fxbjtjnd.js → project-fxbjtjnd.js} +1 -1
- package/dist/chunks/{worktree-r1gh3j25.js → project-fys1mhb0.js} +10 -10
- package/dist/chunks/{worktree-8c3x6q07.js → project-g30z4c76.js} +9 -9
- package/dist/chunks/{worktree-59h2sd9w.js → project-g4e9nbcn.js} +13 -13
- package/dist/chunks/{worktree-aa3dep6r.js → project-g7xq9dq6.js} +13 -13
- package/dist/chunks/{worktree-gd4qta3r.js → project-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-xx704vmn.js → project-getxn4jm.js} +20 -20
- package/dist/chunks/{worktree-bha4atvq.js → project-gf79vf69.js} +4 -4
- package/dist/chunks/{worktree-t0x5rdq8.js → project-gfqzzqy5.js} +9 -9
- package/dist/chunks/{worktree-73483k7j.js → project-gnh4rmrp.js} +11 -11
- package/dist/chunks/{worktree-pjjrh1z1.js → project-gsbm691j.js} +22 -22
- package/dist/chunks/{worktree-ewt4vtrb.js → project-gxg7s5ax.js} +23 -23
- package/dist/chunks/{worktree-g2ww2bbh.js → project-gzhexwst.js} +16 -16
- package/dist/chunks/{worktree-h03wrkyp.js → project-h03wrkyp.js} +2 -2
- package/dist/chunks/{worktree-b46p56xf.js → project-h0n6hk95.js} +7 -7
- package/dist/chunks/{worktree-39pb4tj2.js → project-h1fxz2n8.js} +25 -25
- package/dist/chunks/{worktree-h6vf3j39.js → project-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-v51fjskz.js → project-h943hffx.js} +12 -12
- package/dist/chunks/{worktree-zbjae951.js → project-h9jj2pmn.js} +27 -27
- package/dist/chunks/{worktree-3sdww6fp.js → project-havt8zv8.js} +29 -29
- package/dist/chunks/{worktree-f828m53h.js → project-hdnk95c8.js} +2 -2
- package/dist/chunks/{worktree-v9ht5xd0.js → project-hdz1sw8x.js} +11 -11
- package/dist/chunks/{worktree-6g16d2bh.js → project-hmz9dp0k.js} +5 -5
- package/dist/chunks/{worktree-gg7pg1rj.js → project-hnr5yq9h.js} +5 -5
- package/dist/chunks/{worktree-pyw57n7w.js → project-hs9cbhjh.js} +25 -25
- package/dist/chunks/project-ht5y0zrb.js +18 -0
- package/dist/chunks/{worktree-73tb2d7t.js → project-j028xdjb.js} +3 -3
- package/dist/chunks/{worktree-j56e64zr.js → project-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-myactzt4.js → project-j84bzan4.js} +35 -35
- package/dist/chunks/{worktree-csayd5d3.js → project-jcbnna01.js} +1 -1
- package/dist/chunks/{worktree-7gf7znvm.js → project-jmz50v4a.js} +4 -4
- package/dist/chunks/{worktree-6ygcjmn6.js → project-k0c7x7cv.js} +5 -5
- package/dist/chunks/{worktree-xwjytmam.js → project-k18waxcd.js} +35 -35
- package/dist/chunks/{worktree-wbf78t6w.js → project-k1v67f28.js} +23 -23
- package/dist/chunks/{worktree-qyth7dhn.js → project-k266rhdn.js} +17 -17
- package/dist/chunks/{worktree-1tjg7tvh.js → project-k79tzb9n.js} +5 -5
- package/dist/chunks/{worktree-xwd0g7hm.js → project-k8p4hbnm.js} +7 -7
- package/dist/chunks/{worktree-x3af3qht.js → project-kcyhewq8.js} +6 -6
- package/dist/chunks/{worktree-kg06axw8.js → project-kg06axw8.js} +1 -1
- package/dist/chunks/{worktree-asz5pcm8.js → project-kkaqcpw4.js} +13 -13
- package/dist/chunks/{worktree-cbbnw05y.js → project-ktxw75tm.js} +15 -15
- package/dist/chunks/{worktree-cfpkc3c9.js → project-m0jqrx5p.js} +2 -2
- package/dist/chunks/{worktree-xbrnhvx4.js → project-m1t0sds5.js} +17 -17
- package/dist/chunks/{worktree-x1w6f45z.js → project-m5gdw33a.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → project-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-cavr175a.js → project-magykp64.js} +4 -4
- package/dist/chunks/{worktree-1ygqh575.js → project-mfqp6xfm.js} +6 -6
- package/dist/chunks/{worktree-xx24n8bp.js → project-mm16nfvn.js} +22 -22
- package/dist/chunks/project-mpaqfvem.js +247 -0
- package/dist/chunks/{worktree-9abatgz1.js → project-msgqzgez.js} +15 -15
- package/dist/chunks/{worktree-7x1jk2s0.js → project-mspfsrrg.js} +29 -29
- package/dist/chunks/{worktree-hbe7nj0x.js → project-mxz3erqp.js} +28 -28
- package/dist/chunks/{worktree-2j5ah8jf.js → project-n5qsk9dt.js} +15 -15
- package/dist/chunks/{worktree-b3psc49m.js → project-ndgqx56h.js} +6 -6
- package/dist/chunks/{worktree-nx9eezaw.js → project-nh3r2c9y.js} +6 -6
- package/dist/chunks/{worktree-e82z9tr0.js → project-nhy5jxhy.js} +7 -7
- package/dist/chunks/{worktree-wkgmxye7.js → project-nk6256zg.js} +4 -4
- package/dist/chunks/{worktree-mdbdsawz.js → project-nvqrzj9g.js} +9 -9
- package/dist/chunks/{worktree-p44d8wdy.js → project-p44d8wdy.js} +2 -2
- package/dist/chunks/{worktree-s4q1c2dk.js → project-p60kmaay.js} +65 -65
- package/dist/chunks/{worktree-pz1grgc9.js → project-p8095ktx.js} +10 -10
- package/dist/chunks/{worktree-x3et2xth.js → project-pa8pe2x7.js} +8 -8
- package/dist/chunks/{worktree-jn9etapn.js → project-pgr272tc.js} +20 -20
- package/dist/chunks/{worktree-pjvnvgmy.js → project-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → project-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-5q02cxx3.js → project-pmr4s4kc.js} +4 -4
- package/dist/chunks/{worktree-b0pfq9rw.js → project-pncxwfjb.js} +17 -17
- package/dist/chunks/{worktree-qgn6gcr1.js → project-qgn6gcr1.js} +1 -1
- package/dist/chunks/{worktree-6xv9zrws.js → project-qqjjzdpg.js} +47 -47
- package/dist/chunks/{worktree-tta2m7dp.js → project-qqmxp0w7.js} +14 -14
- package/dist/chunks/{worktree-qsdy395h.js → project-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-339ss3x3.js → project-qvf77yps.js} +11 -11
- package/dist/chunks/{worktree-m8avnk43.js → project-r034a52s.js} +16 -16
- package/dist/chunks/{worktree-yr02nea7.js → project-r33ff4dw.js} +4 -4
- package/dist/chunks/{worktree-t1ej9bcf.js → project-r4a4h3h4.js} +14 -14
- package/dist/chunks/{worktree-r9mregkx.js → project-r9mregkx.js} +2 -2
- package/dist/chunks/{worktree-5y5thrnn.js → project-rhxfnfwf.js} +20 -20
- package/dist/chunks/{worktree-f3m2n1aw.js → project-rk0v45j3.js} +17 -17
- package/dist/chunks/{worktree-8grtj0b5.js → project-rm0vmy1k.js} +8 -8
- package/dist/chunks/{worktree-yefxppqx.js → project-rm2yqhr0.js} +13 -13
- package/dist/chunks/{worktree-86m78waa.js → project-rmtkxqwx.js} +7 -7
- package/dist/chunks/{worktree-zw0bbc6p.js → project-rrzxexy0.js} +46 -46
- package/dist/chunks/{worktree-w1k39n5e.js → project-rsdf2nvv.js} +4 -4
- package/dist/chunks/{worktree-cfk5fh02.js → project-rtdy2j7k.js} +13 -13
- package/dist/chunks/{worktree-hbymah4p.js → project-s36sm4ep.js} +35 -35
- package/dist/chunks/{worktree-r4emgha1.js → project-s6bhfz4z.js} +18 -18
- package/dist/chunks/{worktree-eb2th8mh.js → project-s8fqe7jm.js} +27 -27
- package/dist/chunks/{worktree-ba58znz1.js → project-sgjjsjgk.js} +20 -20
- package/dist/chunks/{worktree-xg9t41r3.js → project-svxygcjw.js} +2 -2
- package/dist/chunks/{worktree-v7t3chrs.js → project-syn9s4ck.js} +36 -36
- package/dist/chunks/{worktree-jdh6s7jq.js → project-t0d6gkvd.js} +8 -8
- package/dist/chunks/{worktree-edrmdtr5.js → project-t2fc4mz5.js} +5 -5
- package/dist/chunks/{worktree-tazgh4e4.js → project-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-ddyp6dwd.js → project-tb99n96z.js} +24 -24
- package/dist/chunks/{worktree-tcezcvh9.js → project-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → project-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-nbddwgy7.js → project-tfwap27p.js} +10 -10
- package/dist/chunks/{worktree-th5km1p3.js → project-th5km1p3.js} +2 -2
- package/dist/chunks/{worktree-84esvpjp.js → project-tk07mxne.js} +8 -8
- package/dist/chunks/{worktree-tvtrv512.js → project-tvtrv512.js} +1 -1
- package/dist/chunks/{worktree-wz5zt972.js → project-tyy2ek0j.js} +16 -16
- package/dist/chunks/{worktree-pvbb37c4.js → project-tz0jyenk.js} +10 -10
- package/dist/chunks/{worktree-4zktfs0e.js → project-v6paxmcr.js} +30 -30
- package/dist/chunks/{worktree-d807hzdp.js → project-v9kqwjfa.js} +32 -32
- package/dist/chunks/{worktree-veqvce7d.js → project-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-215v1k75.js → project-vjazvx2w.js} +22 -22
- package/dist/chunks/{worktree-y45pkspw.js → project-vnb6p14m.js} +13 -13
- package/dist/chunks/{worktree-5sdemcz3.js → project-vsrns1zn.js} +8 -8
- package/dist/chunks/{worktree-pt3jfr41.js → project-vyqn3nqs.js} +4 -4
- package/dist/chunks/{worktree-etbytr9f.js → project-vytej9g6.js} +18 -18
- package/dist/chunks/{worktree-vzcthcp8.js → project-vzcthcp8.js} +1 -1
- package/dist/chunks/{worktree-w3wsvvr9.js → project-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-n0efajb2.js → project-wa8w638y.js} +12 -12
- package/dist/chunks/{worktree-wd87259q.js → project-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-rfnzy394.js → project-wx9wy1qm.js} +1 -1
- package/dist/chunks/{worktree-x1ezjp6w.js → project-x1ezjp6w.js} +1 -1
- package/dist/chunks/{worktree-h7n6nt9k.js → project-x2q7kmg1.js} +6 -6
- package/dist/chunks/{worktree-mm6ytk77.js → project-x71d43dg.js} +8 -8
- package/dist/chunks/{worktree-7m5f9412.js → project-x8gz1y8e.js} +8 -8
- package/dist/chunks/{worktree-42424m2k.js → project-xbmcec40.js} +5 -5
- package/dist/chunks/{worktree-wc3yqjej.js → project-xmqchchm.js} +18 -18
- package/dist/chunks/{worktree-jnkjkfmr.js → project-xse6m6qk.js} +28 -28
- package/dist/chunks/{worktree-x0041dth.js → project-xttm4980.js} +24 -24
- package/dist/chunks/{worktree-6zfbav3y.js → project-xw98cjw1.js} +14 -14
- package/dist/chunks/{worktree-y1fvbwt7.js → project-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-z77pcmag.js → project-y80gd2k5.js} +24 -24
- package/dist/chunks/project-yfetrmg9.js +462 -0
- package/dist/chunks/{worktree-5cvc0nrh.js → project-yh49gxee.js} +4 -4
- package/dist/chunks/{worktree-mja71egn.js → project-yptvf0vj.js} +16 -16
- package/dist/chunks/{worktree-yrhqyw5v.js → project-yrhqyw5v.js} +1 -1
- package/dist/chunks/{worktree-yrznvahk.js → project-yrznvahk.js} +2 -2
- package/dist/chunks/{worktree-6jnybvqn.js → project-ywkfy99j.js} +9 -9
- package/dist/chunks/{worktree-61rrve2h.js → project-yyb6d1pw.js} +20 -20
- package/dist/chunks/{worktree-z0bkrqjs.js → project-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-xxmv8eye.js → project-z40tgwd8.js} +9 -9
- package/dist/chunks/{worktree-n4xj6hjn.js → project-z4h22pxa.js} +5 -5
- package/dist/chunks/{worktree-z63w68vq.js → project-z63w68vq.js} +2 -2
- package/dist/chunks/{worktree-gzswxrvt.js → project-z9p65wfg.js} +35 -35
- package/dist/chunks/{worktree-apxk5rve.js → project-zaah75v1.js} +32 -32
- package/dist/chunks/{worktree-zeh9ct20.js → project-zeh9ct20.js} +2 -2
- package/dist/chunks/{worktree-721cw5cc.js → project-zh3kw9jz.js} +4 -4
- package/dist/chunks/{worktree-f59qb7z8.js → project-zp5ax0qn.js} +11 -11
- package/dist/chunks/{worktree-zr2ceqn5.js → project-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-zxq2ej10.js → project-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +116 -116
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- 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 +361 -361
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- 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 +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +94 -94
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +97 -97
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +81 -81
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- 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 +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +7 -7
- 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 +79 -79
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +118 -118
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/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 +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +84 -84
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- 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 +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/worktree-dxj72tfx.js +0 -18
- package/dist/chunks/worktree-rcjnff0b.js +0 -462
- package/dist/chunks/worktree-xptez47m.js +0 -247
- package/dist/chunks/worktree-z926abd4.js +0 -4
- package/dist/chunks/worktree-zw6vqswj.js +0 -22
- /package/dist/chunks/{worktree-0qkdqm5v.js → project-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → project-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → project-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → project-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → project-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → project-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → project-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → project-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → project-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → project-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → project-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → project-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → project-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → project-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → project-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → project-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → project-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → project-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → project-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → project-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → project-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → project-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → project-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → project-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → project-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-922hggd3.js → project-922hggd3.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → project-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → project-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → project-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → project-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → project-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → project-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → project-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → project-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → project-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → project-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → project-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → project-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → project-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → project-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → project-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → project-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → project-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → project-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → project-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → project-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → project-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → project-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → project-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → project-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → project-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → project-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → project-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → project-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → project-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → project-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → project-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hjbc5kem.js → project-hjbc5kem.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → project-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-hrnqkpcd.js → project-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → project-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → project-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → project-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → project-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → project-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → project-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → project-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → project-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → project-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → project-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-paphc93g.js → project-paphc93g.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → project-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → project-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → project-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → project-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → project-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → project-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → project-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → project-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-sk3qaz4a.js → project-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → project-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-twg0f83k.js → project-twg0f83k.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → project-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → project-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → project-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → project-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → project-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → project-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → project-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → project-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → project-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → project-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → project-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service76
|
|
9
|
+
} from "./project-xw98cjw1.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./project-y80gd2k5.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service18
|
|
16
|
+
} from "./project-1nypc09g.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./project-9bb2zzrg.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service65
|
|
26
|
+
} from "./project-rrzxexy0.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service20
|
|
29
|
+
} from "./project-04hzg152.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin39,
|
|
41
|
+
name: () => name8,
|
|
42
|
+
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name8 = "grep";
|
|
48
|
+
var Input8 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input10 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin39 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service70;
|
|
90
|
+
const ripgrep = yield* Service18;
|
|
91
|
+
const location = yield* Service76;
|
|
92
|
+
const access = yield* Service20;
|
|
93
|
+
const permission = yield* Service65;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name8,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input8,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name8,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin24 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent5(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin24 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name8, Input8, Output5, toModelContent5, Plugin39, exports_grep };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-jmz50v4a.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./project-p8095ktx.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./project-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./project-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event3,
|
|
21
21
|
ID: () => ID3,
|
|
22
22
|
Input: () => Input13,
|
|
23
23
|
Provider: () => Provider2,
|
|
@@ -28,16 +28,16 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service14,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node18
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/websearch";
|
|
41
41
|
var ID3 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
43
|
var Input13 = WebSearch.Input;
|
|
@@ -63,11 +63,11 @@ class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service14 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service78;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service73;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service14.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node18 = makeLocationNode({
|
|
188
|
+
service: Service14,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node83,
|
|
190
|
+
deps: [node83, node77]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2,
|
|
193
|
+
export { ID3, Provider2, Input13, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service14, node18, exports_websearch3, Event3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./project-xw98cjw1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service20
|
|
9
|
+
} from "./project-04hzg152.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service10
|
|
12
|
+
} from "./project-0jzgk3xk.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./project-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service9
|
|
27
|
+
} from "./project-ktxw75tm.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./project-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin37,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent4
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin37 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service9;
|
|
62
|
+
const access = yield* Service20;
|
|
63
|
+
const sessionInstructions = yield* Service10;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin18 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent4(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent4 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent2 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin37, toModelContent4, exports_read };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-7xjy9a2e.js";
|
|
4
4
|
import {
|
|
5
5
|
Service78
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./project-jmz50v4a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./project-3c1tgrea.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./project-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service59
|
|
16
|
+
} from "./project-h1fxz2n8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./project-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./project-4p1ga2js.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./project-5c4hm403.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./project-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service41;
|
|
46
46
|
const database = yield* Service79;
|
|
47
47
|
const bus = yield* Service78;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service59;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service41;
|
|
78
78
|
const bus = yield* Service78;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service59;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./project-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./project-3yjg5mh2.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./project-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service76
|
|
8
|
+
} from "./project-xw98cjw1.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service70
|
|
11
|
+
} from "./project-y80gd2k5.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./project-180kq3wy.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service24,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./project-g4e9nbcn.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./project-rrzxexy0.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service20,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./project-04hzg152.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./project-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./project-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin33,
|
|
42
|
+
name: () => name2,
|
|
43
|
+
toModelContent: () => toModelContent2
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name2 = "patch";
|
|
89
|
+
var Input2 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output2 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent2 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin33 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service70;
|
|
112
|
+
const access = yield* Service20;
|
|
113
|
+
const fileMutation = yield* Service24;
|
|
114
|
+
const formatter = yield* Service13;
|
|
115
|
+
const location = yield* Service76;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name2,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input2,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin22 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent2(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -323,4 +323,4 @@ function trimDiff(diff) {
|
|
|
323
323
|
`);
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
export {
|
|
326
|
+
export { name2, Input2, Applied2, Output2, toModelContent2, Plugin33, exports_patch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service69,
|
|
10
|
+
node: () => node72
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service69 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service69.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node72 = makeLocationNode({ service: Service69, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service69, node72, exports_hooks };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./project-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
9
|
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
@@ -18,4 +18,4 @@ var Info10 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export { Info10,
|
|
21
|
+
export { Info10, exports_command5 };
|