@opencode/core 0.0.0-dev-19346 → 0.0.0-dev-19349
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{app-43zrvxpc.js → plugin-005prsh9.js} +11 -11
- package/dist/chunks/{app-6xkfsm7b.js → plugin-055djz7r.js} +9 -9
- package/dist/chunks/{app-vazqxjkf.js → plugin-05k4fgaq.js} +29 -29
- package/dist/chunks/{app-27rw9vzj.js → plugin-08nac8vt.js} +9 -30
- package/dist/chunks/{app-4c96ywbw.js → plugin-0brngt44.js} +24 -24
- package/dist/chunks/{app-eaj1djv9.js → plugin-0gdmqesm.js} +8 -8
- package/dist/chunks/{app-1dfhrqqs.js → plugin-0hpxrkyb.js} +5 -5
- package/dist/chunks/{app-2k8khapm.js → plugin-0jwsre1p.js} +5 -5
- package/dist/chunks/{app-h4rgb3bg.js → plugin-0krna75n.js} +8 -8
- package/dist/chunks/{app-bjqqhdfh.js → plugin-0mdt5svm.js} +17 -17
- package/dist/chunks/plugin-0mesazry.js +4 -0
- package/dist/chunks/{app-ktgea0e0.js → plugin-0n9gyfew.js} +4 -4
- package/dist/chunks/{app-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{app-0q0f95c6.js → plugin-0q0f95c6.js} +1 -1
- package/dist/chunks/{app-gkxj5maj.js → plugin-0r6g6hnz.js} +17 -17
- package/dist/chunks/{app-35jzzref.js → plugin-0z1gmn2q.js} +6 -6
- package/dist/chunks/{app-2hmv1bzq.js → plugin-1146kp9d.js} +4 -4
- package/dist/chunks/{app-5fgxrtk2.js → plugin-13rdha6j.js} +31 -31
- package/dist/chunks/{app-a91wscfd.js → plugin-14qawqsv.js} +9 -9
- package/dist/chunks/{app-zc7dc76e.js → plugin-15fpp5ww.js} +46 -46
- package/dist/chunks/{app-ett1kwgn.js → plugin-193tyhmx.js} +10 -10
- package/dist/chunks/{app-mhkvc446.js → plugin-1bbkgx8g.js} +3 -3
- package/dist/chunks/{app-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{app-y70rvmaz.js → plugin-1gd07s37.js} +28 -28
- package/dist/chunks/{app-4dn6zthd.js → plugin-1mzgz1wp.js} +46 -46
- package/dist/chunks/{app-8nxecek8.js → plugin-1qz2b3kz.js} +11 -11
- package/dist/chunks/{app-ffx4mq6v.js → plugin-1wxb385z.js} +1 -1
- package/dist/chunks/{app-1ygqh575.js → plugin-1ygqh575.js} +2 -2
- package/dist/chunks/{app-f2rv3mpp.js → plugin-204cvrxh.js} +44 -44
- package/dist/chunks/{app-21r38tys.js → plugin-21r38tys.js} +1 -1
- package/dist/chunks/{app-6h73sxmp.js → plugin-2402vzrj.js} +5 -5
- package/dist/chunks/{app-z63w68vq.js → plugin-29x78va6.js} +6 -6
- package/dist/chunks/{app-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{app-2d57kztd.js → plugin-2d57kztd.js} +1 -1
- package/dist/chunks/{app-shh6fz4q.js → plugin-2evyaa68.js} +4 -4
- package/dist/chunks/{app-cm2fs4jy.js → plugin-2vm44p17.js} +20 -20
- package/dist/chunks/{app-jsfcx0sm.js → plugin-2xfjf3g3.js} +9 -9
- package/dist/chunks/{app-5ez3bzvb.js → plugin-2yr2ge7c.js} +14 -14
- package/dist/chunks/{app-bbhatyce.js → plugin-3djga8we.js} +29 -29
- package/dist/chunks/{app-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-pp2b87e8.js → plugin-3wz5bnjb.js} +23 -23
- package/dist/chunks/{app-jemrr7f4.js → plugin-45etkxfd.js} +28 -28
- package/dist/chunks/{app-sqcc4mye.js → plugin-46jkwmc9.js} +3 -3
- package/dist/chunks/{app-sxamkkn3.js → plugin-48tvks34.js} +13 -13
- package/dist/chunks/{app-qvb0z7t1.js → plugin-493f7437.js} +17 -17
- package/dist/chunks/{app-78y0k101.js → plugin-4d5re9q6.js} +21 -21
- package/dist/chunks/{app-sd81gef5.js → plugin-4f1pwxnv.js} +41 -41
- package/dist/chunks/{app-6r540pcs.js → plugin-4gmeqmr4.js} +6 -6
- package/dist/chunks/{app-09sr60yf.js → plugin-4je4kgtb.js} +21 -21
- package/dist/chunks/{app-a9ab9jmj.js → plugin-4mkcvr19.js} +5 -5
- package/dist/chunks/{app-wqvbafvh.js → plugin-4r2pm0kz.js} +15 -15
- package/dist/chunks/{app-xrqdjzmv.js → plugin-4s0a16pp.js} +22 -22
- package/dist/chunks/{app-p7ek7nyz.js → plugin-4vhmyhd0.js} +29 -29
- package/dist/chunks/{app-80sf1axt.js → plugin-4yb2x30p.js} +20 -20
- package/dist/chunks/{app-9t2pzca1.js → plugin-4z357jjj.js} +17 -17
- package/dist/chunks/{app-5daktx2q.js → plugin-5daktx2q.js} +1 -1
- package/dist/chunks/{app-710w2ech.js → plugin-5nsrms9d.js} +1 -1
- package/dist/chunks/{app-4cc7n46c.js → plugin-5qxse7g9.js} +11 -11
- package/dist/chunks/{app-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{app-rxfq5agb.js → plugin-5vntpd36.js} +18 -18
- package/dist/chunks/{app-8j7gtpby.js → plugin-5yc9712n.js} +1 -1
- package/dist/chunks/{app-669tq793.js → plugin-669tq793.js} +1 -1
- package/dist/chunks/{app-2f04pwep.js → plugin-6bsje7ws.js} +3 -3
- package/dist/chunks/{app-8xn61e7a.js → plugin-6g8mxxbf.js} +4 -4
- package/dist/chunks/{app-6msgmcgs.js → plugin-6msgmcgs.js} +1 -1
- package/dist/chunks/{app-9k7d7sqa.js → plugin-6q447rtc.js} +7 -7
- package/dist/chunks/{app-2x4qd1xw.js → plugin-6rfdwgk3.js} +16 -16
- package/dist/chunks/{app-2t68cqyy.js → plugin-6seyy23t.js} +6 -6
- package/dist/chunks/{app-hbq44aga.js → plugin-6x9w1349.js} +15 -15
- package/dist/chunks/plugin-70nfbve2.js +247 -0
- package/dist/chunks/{app-48gcqyvg.js → plugin-713rsehh.js} +50 -50
- package/dist/chunks/{app-71q4at8m.js → plugin-71q4at8m.js} +1 -1
- package/dist/chunks/{app-4w8bkcbc.js → plugin-724pge3s.js} +11 -11
- package/dist/chunks/{app-fkc946qs.js → plugin-77f4tg05.js} +13 -13
- package/dist/chunks/{app-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-kjq4p8hx.js → plugin-7dn3kmth.js} +14 -14
- package/dist/chunks/{app-dv02zjab.js → plugin-7ghy3m88.js} +15 -15
- package/dist/chunks/{app-gfsay0az.js → plugin-7mh409sh.js} +17 -17
- package/dist/chunks/{app-kaxfk2j5.js → plugin-7q7ahwjg.js} +6 -6
- package/dist/chunks/{app-8psdzq5d.js → plugin-7w7z1066.js} +34 -34
- package/dist/chunks/{app-t9e6e84n.js → plugin-83x6p9kd.js} +1 -1
- package/dist/chunks/{app-813w40n4.js → plugin-8815p9hg.js} +90 -97
- package/dist/chunks/{app-paegk39x.js → plugin-88sz8qcd.js} +4 -4
- package/dist/chunks/{app-wqny05z1.js → plugin-8cch4xqe.js} +16 -16
- package/dist/chunks/{app-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{app-8p4f9s12.js → plugin-8p4f9s12.js} +2 -2
- package/dist/chunks/{app-85ngaffe.js → plugin-8x2582zc.js} +89 -89
- package/dist/chunks/{app-qn4ba14w.js → plugin-92a4ap4w.js} +5 -5
- package/dist/chunks/{app-m9t3cpvg.js → plugin-95yvk0c2.js} +35 -35
- package/dist/chunks/{app-s1qtxqw8.js → plugin-97y218gz.js} +35 -35
- package/dist/chunks/{app-4tbcec2e.js → plugin-9b1bb3y6.js} +12 -12
- package/dist/chunks/{app-c0m0qq75.js → plugin-9e9rxeah.js} +18 -18
- package/dist/chunks/{app-vwng0m0h.js → plugin-9jck96zp.js} +25 -25
- package/dist/chunks/{app-s5qhvm9t.js → plugin-9np71fre.js} +3 -3
- package/dist/chunks/{app-94qkxzny.js → plugin-9rhptf2z.js} +4 -4
- package/dist/chunks/{app-esqr7hwz.js → plugin-9rwzap4q.js} +14 -14
- package/dist/chunks/plugin-9zdhvgqs.js +18 -0
- package/dist/chunks/{app-a1bz86dw.js → plugin-a1bz86dw.js} +3 -3
- package/dist/chunks/{app-a0z9avay.js → plugin-a63wfkkx.js} +13 -13
- package/dist/chunks/{app-0a65vbt0.js → plugin-a6m6dw9y.js} +5 -5
- package/dist/chunks/{app-drqds5np.js → plugin-a79jb5x8.js} +36 -36
- package/dist/chunks/{app-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{app-zcpy7hb5.js → plugin-aefn35n6.js} +45 -45
- package/dist/chunks/{app-3w0fmcng.js → plugin-ag9w8cw1.js} +5 -5
- package/dist/chunks/{app-p7w6t1ry.js → plugin-axxaa5jz.js} +11 -11
- package/dist/chunks/{app-vdshzfmb.js → plugin-ayeqzg0s.js} +24 -24
- package/dist/chunks/{app-wmqqfp92.js → plugin-b3ec98de.js} +25 -25
- package/dist/chunks/{app-w79zsp0s.js → plugin-b3wkxfg9.js} +1 -1
- package/dist/chunks/{app-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{app-5z0pm3qf.js → plugin-bdhy8bfa.js} +22 -22
- package/dist/chunks/{app-ahxexsmd.js → plugin-bj6azm4x.js} +28 -28
- package/dist/chunks/{app-c1495ybz.js → plugin-btvhe8ac.js} +11 -11
- package/dist/chunks/{app-e3dbktjq.js → plugin-c03g8wa4.js} +11 -11
- package/dist/chunks/{app-9qn3qky1.js → plugin-c7ecgrk6.js} +8 -8
- package/dist/chunks/{app-nyhxp1gd.js → plugin-c7njwsxd.js} +36 -36
- package/dist/chunks/{app-cfpkc3c9.js → plugin-cfpkc3c9.js} +2 -2
- package/dist/chunks/{app-wjxh5jm8.js → plugin-cnkvmr7p.js} +32 -32
- package/dist/chunks/{app-nka8n5hw.js → plugin-crxaxn66.js} +22 -22
- package/dist/chunks/{app-9pcza0f3.js → plugin-czyfmjdh.js} +7 -7
- package/dist/chunks/{app-yn3zm7tz.js → plugin-d0tp82ex.js} +9 -9
- package/dist/chunks/{app-h158amkk.js → plugin-d697w4zf.js} +11 -11
- package/dist/chunks/{app-fzdjvg09.js → plugin-d7mzkpwm.js} +22 -22
- package/dist/chunks/{app-jezcp19q.js → plugin-d7q41zwe.js} +8 -8
- package/dist/chunks/{app-wcy61h1j.js → plugin-dan94qwd.js} +29 -29
- package/dist/chunks/{app-edme2h3e.js → plugin-dg5bcj4q.js} +7 -7
- package/dist/chunks/{app-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
- package/dist/chunks/{app-b4f5v53j.js → plugin-dqwjbtxa.js} +31 -31
- package/dist/chunks/{app-wpmwtbt6.js → plugin-drshsjdd.js} +49 -49
- package/dist/chunks/{app-1s0d9f9g.js → plugin-e06r9rr1.js} +38 -71
- package/dist/chunks/{app-bznq0221.js → plugin-e0sqj61y.js} +173 -173
- package/dist/chunks/{app-5bwht4jk.js → plugin-e202jtje.js} +72 -72
- package/dist/chunks/{app-bmb0s36t.js → plugin-e8gt5ja5.js} +19 -19
- package/dist/chunks/{app-p0cja4mf.js → plugin-en74w496.js} +5 -5
- package/dist/chunks/{app-sykc9y4a.js → plugin-engkm2d6.js} +5 -5
- package/dist/chunks/{app-7q67896j.js → plugin-eq0mby6e.js} +12 -12
- package/dist/chunks/{app-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{app-1acjjqhc.js → plugin-f2n192rq.js} +4 -4
- package/dist/chunks/{app-g4t6kbgy.js → plugin-f5d33tnf.js} +11 -11
- package/dist/chunks/{app-f828m53h.js → plugin-f828m53h.js} +2 -2
- package/dist/chunks/{app-prbcj3gk.js → plugin-fbtmvn0q.js} +26 -26
- package/dist/chunks/{app-nw3bhhr3.js → plugin-fs0j6hsh.js} +24 -24
- package/dist/chunks/{app-fxbjtjnd.js → plugin-fxbjtjnd.js} +1 -1
- package/dist/chunks/{app-bm2nqsn9.js → plugin-g0qswrf3.js} +10 -10
- package/dist/chunks/{app-b2g5v7p2.js → plugin-g7vmxdwz.js} +9 -9
- package/dist/chunks/{app-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-p1wf2k30.js → plugin-gfqzzqy5.js} +9 -9
- package/dist/chunks/{app-bv56xrks.js → plugin-gj9xpvv3.js} +6 -6
- package/dist/chunks/{app-4kf284a7.js → plugin-gkcj4g3e.js} +28 -28
- package/dist/chunks/{app-ctmr8zqa.js → plugin-gst7axd9.js} +4 -4
- package/dist/chunks/{app-zxgnc9zk.js → plugin-gt0cxfk7.js} +1 -1
- package/dist/chunks/{app-2336b01z.js → plugin-gwydwvmj.js} +8 -8
- package/dist/chunks/{app-h03wrkyp.js → plugin-h03wrkyp.js} +2 -2
- package/dist/chunks/{app-h7sfp9jq.js → plugin-h0h3b95e.js} +4 -4
- package/dist/chunks/{app-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-2bt6bea8.js → plugin-h7ygw6q4.js} +9 -9
- package/dist/chunks/{app-1kaxk7dt.js → plugin-h8wqkg3d.js} +14 -14
- package/dist/chunks/{app-cn43q6qa.js → plugin-had4kgfk.js} +8 -8
- package/dist/chunks/{app-n5k8tdrn.js → plugin-j00h7a9w.js} +23 -23
- package/dist/chunks/{app-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{app-1rr79kmz.js → plugin-j6k221xw.js} +12 -12
- package/dist/chunks/{app-paphc93g.js → plugin-j935v87r.js} +2 -2
- package/dist/chunks/{app-89ey782f.js → plugin-jdyxj508.js} +4 -4
- package/dist/chunks/{app-fa0cr6zp.js → plugin-jhetwysa.js} +3 -3
- package/dist/chunks/{app-jn4c8fdh.js → plugin-jm51w4sj.js} +8 -8
- package/dist/chunks/{app-q17fbf64.js → plugin-jq7thnnn.js} +22 -22
- package/dist/chunks/{app-bha4atvq.js → plugin-jqswjt4n.js} +4 -4
- package/dist/chunks/{app-4780s8zr.js → plugin-jx8g4evx.js} +9 -9
- package/dist/chunks/{app-kg06axw8.js → plugin-kg06axw8.js} +1 -1
- package/dist/chunks/{app-6j6s7zvs.js → plugin-kh9gj6fg.js} +2 -2
- package/dist/chunks/{app-9v7a85mc.js → plugin-kz3eenrn.js} +6 -6
- package/dist/chunks/{app-nd5nzycz.js → plugin-m4xr96f5.js} +11 -11
- package/dist/chunks/{app-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-2ee5rppv.js → plugin-mfp8m33x.js} +32 -32
- package/dist/chunks/{app-mkcjrzeh.js → plugin-mkcjrzeh.js} +1 -1
- package/dist/chunks/{app-y243eewg.js → plugin-n37c4crj.js} +8 -8
- package/dist/chunks/{app-ycga8mfj.js → plugin-n3n01f5r.js} +5 -5
- package/dist/chunks/{app-mjjddmmn.js → plugin-nbnhxrq1.js} +15 -15
- package/dist/chunks/{app-cxwzzg52.js → plugin-nep4njzc.js} +19 -19
- package/dist/chunks/{app-hjt4xg1x.js → plugin-nhy5jxhy.js} +4 -4
- package/dist/chunks/{app-f1qhv5yx.js → plugin-nmffc6w0.js} +27 -27
- package/dist/chunks/{app-qbz333be.js → plugin-nmk6xd5c.js} +12 -12
- package/dist/chunks/{app-tjznhfde.js → plugin-ntgxvec3.js} +27 -27
- package/dist/chunks/{app-dvwg6a7w.js → plugin-p3vzrndk.js} +8 -8
- package/dist/chunks/{app-baxrspjs.js → plugin-p5zv3eqg.js} +26 -26
- package/dist/chunks/{app-a1pjw3e1.js → plugin-p8abw27c.js} +22 -22
- package/dist/chunks/{app-51fr0269.js → plugin-pfrxhvq1.js} +3 -3
- package/dist/chunks/{app-yn7as3j3.js → plugin-pgs14j4x.js} +298 -298
- package/dist/chunks/{app-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-2p6pftky.js → plugin-pk4ax0a3.js} +39 -39
- package/dist/chunks/{app-65t0cekt.js → plugin-pk9rfdhh.js} +19 -19
- package/dist/chunks/{app-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{app-w5tc36wx.js → plugin-ps4dkd2p.js} +30 -30
- package/dist/chunks/{app-n7mnjzkb.js → plugin-pv83a8g9.js} +5 -5
- package/dist/chunks/{app-6w8af2k5.js → plugin-pyns3avf.js} +20 -20
- package/dist/chunks/{app-skwbfvjy.js → plugin-q26tgv94.js} +4 -4
- package/dist/chunks/{app-a1h69kzv.js → plugin-q2fwb5fk.js} +14 -14
- package/dist/chunks/{app-c9sbvd2s.js → plugin-q2yynyj2.js} +9 -9
- package/dist/chunks/{app-h3kjspbj.js → plugin-q4mvg5b0.js} +22 -22
- package/dist/chunks/{app-b99w0g26.js → plugin-qfzde7bh.js} +6 -6
- package/dist/chunks/{app-etx20tfd.js → plugin-qg2j1m93.js} +41 -41
- package/dist/chunks/{app-81swgkk7.js → plugin-qg6emqy4.js} +9 -9
- package/dist/chunks/{app-s1zp1szz.js → plugin-qm99c4t1.js} +36 -36
- package/dist/chunks/{app-0jwv6t6h.js → plugin-qq71nt6j.js} +46 -46
- package/dist/chunks/{app-fb0jezgx.js → plugin-qqnhyyxe.js} +15 -15
- package/dist/chunks/{app-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{app-9shj9c1g.js → plugin-qv9re3kt.js} +32 -32
- package/dist/chunks/{app-5yzdr05p.js → plugin-r6nd76k9.js} +9 -9
- package/dist/chunks/{app-bct739vz.js → plugin-r98e92ep.js} +4 -4
- package/dist/chunks/{app-5knb1gak.js → plugin-r9y0h4gx.js} +22 -22
- package/dist/chunks/{app-x8jze1wy.js → plugin-s19k3fb2.js} +42 -42
- package/dist/chunks/{app-yrznvahk.js → plugin-s4enseaf.js} +2 -2
- package/dist/chunks/{app-f3ngv102.js → plugin-s8j6jbjj.js} +21 -21
- package/dist/chunks/{app-jygyrd66.js → plugin-s9yxznb6.js} +4 -4
- package/dist/chunks/{app-3n3mkc0a.js → plugin-sat34sqy.js} +16 -16
- package/dist/chunks/{app-eyvdh9jh.js → plugin-sgfkh1bp.js} +4 -4
- package/dist/chunks/{app-6h5qj7gd.js → plugin-sjybzffr.js} +9 -9
- package/dist/chunks/{app-s8zy8myc.js → plugin-sra9araw.js} +5 -5
- package/dist/chunks/{app-zrt558wv.js → plugin-ssw2bfcw.js} +6 -6
- package/dist/chunks/{app-jdh6s7jq.js → plugin-t0d6gkvd.js} +8 -8
- package/dist/chunks/{app-2d0sc79q.js → plugin-t41sh3fy.js} +18 -18
- package/dist/chunks/{app-42kdnm7d.js → plugin-t6yjc8jy.js} +20 -20
- package/dist/chunks/{app-aswh65bz.js → plugin-t7zcx2dt.js} +29 -29
- package/dist/chunks/{app-s7xtjryh.js → plugin-t8mcaem5.js} +1 -1
- package/dist/chunks/{app-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{app-ssw3spj3.js → plugin-tg8j2thr.js} +24 -24
- package/dist/chunks/{app-gv6a8nnw.js → plugin-th5km1p3.js} +5 -5
- package/dist/chunks/{app-kvgamsrw.js → plugin-thm0qdcm.js} +36 -36
- package/dist/chunks/{app-y18m38x5.js → plugin-tjefvb9q.js} +18 -18
- package/dist/chunks/{app-encrv3jm.js → plugin-tm12c6nz.js} +19 -19
- package/dist/chunks/{app-tvtrv512.js → plugin-tvtrv512.js} +1 -1
- package/dist/chunks/{app-e8163x7b.js → plugin-v8d6m9q5.js} +11 -11
- package/dist/chunks/{app-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{app-s442qdb8.js → plugin-vqc4b42p.js} +4 -4
- package/dist/chunks/{app-0h6ds6h2.js → plugin-vvqxf52w.js} +7 -7
- package/dist/chunks/{app-vzcthcp8.js → plugin-vzcthcp8.js} +1 -1
- package/dist/chunks/{app-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-99m6at3m.js → plugin-wak322rn.js} +8 -8
- package/dist/chunks/{app-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{app-d9xjrm20.js → plugin-wh40nd5e.js} +18 -18
- package/dist/chunks/{app-r6a9556n.js → plugin-wh83wp4h.js} +11 -11
- package/dist/chunks/{app-knwk0fn4.js → plugin-wngxt11t.js} +2 -2
- package/dist/chunks/{app-17nkb8jb.js → plugin-wnsgmh2a.js} +24 -24
- package/dist/chunks/{app-gc25hdrq.js → plugin-wrf5few5.js} +18 -18
- package/dist/chunks/{app-x1ezjp6w.js → plugin-x1ezjp6w.js} +1 -1
- package/dist/chunks/{app-mygm96m8.js → plugin-x2veznd9.js} +13 -13
- package/dist/chunks/{app-n4a0kzxz.js → plugin-x3ztzzps.js} +60 -60
- package/dist/chunks/{app-x43y2vfs.js → plugin-x43y2vfs.js} +2 -2
- package/dist/chunks/{app-sxz6gkc3.js → plugin-xb02k0wq.js} +7 -7
- package/dist/chunks/{app-fhwp9j6e.js → plugin-xf87j308.js} +7 -7
- package/dist/chunks/{app-p72z5xx6.js → plugin-xhqkdcr0.js} +2 -2
- package/dist/chunks/{app-v4924766.js → plugin-xjg5r2td.js} +13 -13
- package/dist/chunks/{app-0ge7vg41.js → plugin-xrrhmbn6.js} +15 -15
- package/dist/chunks/{app-dc5wh9st.js → plugin-xtmn35em.js} +19 -19
- package/dist/chunks/{app-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-qvb3nf84.js → plugin-y1qqcj8h.js} +8 -8
- package/dist/chunks/{app-q21acaj2.js → plugin-y41p2qk8.js} +61 -61
- package/dist/chunks/{app-h6ffn5hc.js → plugin-y7q7aaba.js} +11 -11
- package/dist/chunks/{app-5wfnjyr5.js → plugin-y87kbmgh.js} +30 -30
- package/dist/chunks/{app-y40yxsg3.js → plugin-y8zx462x.js} +36 -36
- package/dist/chunks/{app-gvmmzmye.js → plugin-y9tvvrcd.js} +20 -20
- package/dist/chunks/{app-bwd5s895.js → plugin-ykncheca.js} +12 -12
- package/dist/chunks/{app-yrhqyw5v.js → plugin-yrhqyw5v.js} +1 -1
- package/dist/chunks/{app-9gz2peze.js → plugin-yvmq8qxx.js} +14 -14
- package/dist/chunks/{app-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-z8spactq.js → plugin-zcq47pns.js} +26 -26
- package/dist/chunks/{app-zeh9ct20.js → plugin-zeh9ct20.js} +2 -2
- package/dist/chunks/{app-p7zfmd1x.js → plugin-zgepk395.js} +9 -9
- package/dist/chunks/{app-a402vz1p.js → plugin-zk678npb.js} +27 -27
- package/dist/chunks/{app-fs5fhd3k.js → plugin-znaqbnn9.js} +28 -28
- package/dist/chunks/{app-5hkzjqtx.js → plugin-znzb0y2c.js} +41 -41
- package/dist/chunks/{app-ktcgqmkw.js → plugin-zq0n0yq2.js} +6 -6
- package/dist/chunks/{app-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-q7h3k2fz.js → plugin-zt5jvhh6.js} +18 -18
- package/dist/chunks/{app-7500bbe6.js → plugin-zva9ka2h.js} +11 -11
- package/dist/chunks/{app-a4bvw9dz.js → plugin-zvp5dr8n.js} +5 -5
- package/dist/chunks/{app-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/chunks/{app-8qk9tw02.js → plugin-zxwpk2nb.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +91 -91
- package/dist/git.js +5 -5
- 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 +7 -7
- 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 +353 -353
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +350 -350
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +80 -80
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +110 -110
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +82 -82
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -13
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +103 -103
- 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 +117 -117
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/session/error.d.ts +0 -36
- package/dist/types/session/session.d.ts +1 -5
- package/dist/types/session.d.ts +2 -5
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +1 -1
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/app-hgd4btym.js +0 -18
- package/dist/chunks/app-qapv375x.js +0 -4
- package/dist/chunks/app-tvke6c6x.js +0 -247
- /package/dist/chunks/{app-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-922hggd3.js → plugin-922hggd3.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a1tpkmh4.js → plugin-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hjbc5kem.js → plugin-hjbc5kem.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{app-hrnqkpcd.js → plugin-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-sk3qaz4a.js → plugin-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-twg0f83k.js → plugin-twg0f83k.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./plugin-wh40nd5e.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-kg06axw8.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event12,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info12,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service58,
|
|
21
|
+
layer: () => layer19,
|
|
22
|
+
node: () => node61
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event12 } from "@opencode/schema/command";
|
|
28
|
+
var Info12 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service58 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer19 = Layer.effect(Service58, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service78;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info12.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service58.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer21 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
77
|
-
deps: [
|
|
74
|
+
var node61 = makeLocationNode({
|
|
75
|
+
service: Service58,
|
|
76
|
+
layer: layer19,
|
|
77
|
+
deps: [node82]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof Error)
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info12, NotFoundError6, ExecutionError2, Service58, layer19, node61, exports_command4, Event12 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./plugin-aefn35n6.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service64
|
|
13
|
+
} from "./plugin-3wz5bnjb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./plugin-7mh409sh.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service54
|
|
19
|
+
} from "./plugin-y41p2qk8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service19,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-4z357jjj.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./plugin-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service72,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-xrrhmbn6.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service62
|
|
37
|
+
} from "./plugin-drshsjdd.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service21
|
|
40
|
+
} from "./plugin-8815p9hg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./plugin-1146kp9d.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./plugin-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input6,
|
|
53
|
+
Plugin: () => Plugin37,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name6
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name6 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input6 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin37 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service21;
|
|
122
|
+
const jobs = yield* Service42;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service64;
|
|
125
|
+
const access = yield* Service19;
|
|
126
|
+
const shell = yield* Service62;
|
|
127
|
+
const shellSelect = yield* Service72;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service54;
|
|
130
|
+
const config = yield* Service66;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin25 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name6,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin25 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name6,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input6,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin25 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name6,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name6];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name6, DEFAULT_TIMEOUT_MS2, Input6, Plugin37, exports_shell2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./plugin-05k4fgaq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./plugin-y41p2qk8.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service61;
|
|
57
|
+
const permission = yield* Service54;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export { name14, description6,
|
|
118
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service80,
|
|
6
|
+
node85
|
|
7
|
+
} from "./plugin-wh83wp4h.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service78,
|
|
10
|
+
node82
|
|
11
|
+
} from "./plugin-wh40nd5e.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service75,
|
|
14
14
|
node78
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-d0tp82ex.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID15,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info30,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-qg6emqy4.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./plugin-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./plugin-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID14,
|
|
40
|
+
Info: () => Info29,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
46
|
node: () => node77,
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID14 = ID15;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info29 = Info30;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID14
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,12 +94,12 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service75;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
|
-
const bus = yield*
|
|
102
|
-
const db = (yield*
|
|
101
|
+
const bus = yield* Service78;
|
|
102
|
+
const db = (yield* Service80).db;
|
|
103
103
|
const announcing = new Set;
|
|
104
104
|
const persist = Effect.fnUntraced(function* (project) {
|
|
105
105
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID14.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event19.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID14.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID14.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID14.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID14.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID14.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID14.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID14.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service74.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
276
|
var node77 = makeGlobalNode({
|
|
277
|
-
service:
|
|
277
|
+
service: Service74,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node82, node85, FSUtil.node, node78, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID14, Vcs2, Current2, Info29, UpdateInput3, NotFoundError10, root2, Service74, node77, exports_project };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error2 = {};
|
|
10
|
+
__export(exports_error2, {
|
|
11
|
+
ConfigErrorV1: () => exports_error2,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error2 };
|