@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,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service54
|
|
3
|
+
} from "./plugin-y41p2qk8.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./plugin-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
19
|
+
Input: () => Input10,
|
|
20
20
|
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin41,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name10
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
33
|
+
var name10 = "webfetch";
|
|
34
34
|
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input10 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input10.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin41 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service54;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name10,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input10,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin16 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name10,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name10, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input10, Plugin41, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service73
|
|
3
|
+
} from "./plugin-7dn3kmth.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service64
|
|
6
|
+
} from "./plugin-3wz5bnjb.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service16,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-a63wfkkx.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./plugin-8cch4xqe.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service54
|
|
17
|
+
} from "./plugin-y41p2qk8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service19,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-4z357jjj.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./plugin-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
34
|
Output: () => Output7,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin40,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin40 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service19;
|
|
110
|
+
const fileMutation = yield* Service16;
|
|
111
|
+
const environment = yield* Service64;
|
|
112
|
+
const formatter = yield* Service18;
|
|
113
|
+
const location = yield* Service73;
|
|
114
|
+
const permission = yield* Service54;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name9,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
119
|
+
input: Input9,
|
|
120
120
|
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
@@ -194,4 +194,4 @@ var Plugin23 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name9, Input9, Output7, Plugin40, exports_edit };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-s8j6jbjj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info20
|
|
9
|
+
} from "./plugin-btvhe8ac.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info22
|
|
12
|
+
} from "./plugin-ag9w8cw1.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info23
|
|
15
|
+
} from "./plugin-xb02k0wq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info21
|
|
18
|
+
} from "./plugin-sra9araw.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./plugin-0jwsre1p.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info24
|
|
24
|
+
} from "./plugin-92a4ap4w.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info16
|
|
27
|
+
} from "./plugin-4f1pwxnv.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./plugin-sgfkh1bp.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./plugin-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info16.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info22, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info23, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info20, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info20, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info21, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info24, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/directory.ts
|
|
9
9
|
var exports_directory = {};
|
|
10
10
|
__export(exports_directory, {
|
|
11
11
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
12
12
|
WorktreeDirectory: () => exports_directory,
|
|
13
|
-
canonical: () =>
|
|
13
|
+
canonical: () => canonical3
|
|
14
14
|
});
|
|
15
15
|
import { Effect, Schema } from "effect";
|
|
16
16
|
class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var canonical3 = Effect.fnUntraced(function* (fs, input) {
|
|
19
19
|
const resolved = AbsolutePath2.make(yield* fs.resolve(input));
|
|
20
20
|
if (!(yield* fs.isDir(resolved)))
|
|
21
21
|
return yield* new DirectoryUnavailableError2({ directory: input });
|
|
22
22
|
return resolved;
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
export { DirectoryUnavailableError2,
|
|
25
|
+
export { DirectoryUnavailableError2, canonical3, exports_directory };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./plugin-wh40nd5e.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Service73,
|
|
7
7
|
node76
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-7dn3kmth.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./plugin-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service72,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node75
|
|
16
|
+
} from "./plugin-xrrhmbn6.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./plugin-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service17,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service78;
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const shell = yield* Service72;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service17,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node82, node76, node75]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event3 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-wak322rn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./plugin-wh40nd5e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./plugin-y8zx462x.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID10,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-13rdha6j.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-pjvnvgmy.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID17,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-c7ecgrk6.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/openai.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -44,7 +44,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
44
44
|
}));
|
|
45
45
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
46
46
|
var browser = (app) => ({
|
|
47
|
-
integrationID:
|
|
47
|
+
integrationID: ID10.make("openai"),
|
|
48
48
|
method: {
|
|
49
49
|
id: browserMethodID,
|
|
50
50
|
type: "oauth",
|
|
@@ -117,7 +117,7 @@ function addressInUse(error) {
|
|
|
117
117
|
return "code" in error && error.code === "EADDRINUSE";
|
|
118
118
|
}
|
|
119
119
|
var headless = (app) => ({
|
|
120
|
-
integrationID:
|
|
120
|
+
integrationID: ID10.make("openai"),
|
|
121
121
|
method: {
|
|
122
122
|
id: headlessMethodID,
|
|
123
123
|
type: "oauth",
|
|
@@ -159,10 +159,10 @@ var headless = (app) => ({
|
|
|
159
159
|
}),
|
|
160
160
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
161
161
|
});
|
|
162
|
-
var
|
|
162
|
+
var OpenAIPlugin3 = define({
|
|
163
163
|
id: "opencode.provider.openai",
|
|
164
164
|
effect: Effect.fn(function* (ctx) {
|
|
165
|
-
const bus = yield*
|
|
165
|
+
const bus = yield* Service78;
|
|
166
166
|
const loading = Semaphore.makeUnsafe(1);
|
|
167
167
|
let chatgpt;
|
|
168
168
|
const load = Effect.fn("OpenAIPlugin.load")(function* () {
|
|
@@ -178,7 +178,7 @@ var OpenAIPlugin2 = define({
|
|
|
178
178
|
});
|
|
179
179
|
yield* load();
|
|
180
180
|
yield* ctx.catalog.transform((evt) => {
|
|
181
|
-
const item = evt.provider.get(
|
|
181
|
+
const item = evt.provider.get(ID17.openai);
|
|
182
182
|
if (!item)
|
|
183
183
|
return;
|
|
184
184
|
for (const model of item.models.values()) {
|
|
@@ -221,9 +221,9 @@ var OpenAIPlugin2 = define({
|
|
|
221
221
|
evt.baseURL = codexBaseURL;
|
|
222
222
|
evt.headers.originator = "opencode";
|
|
223
223
|
evt.headers["session-id"] = evt.sessionID;
|
|
224
|
-
}), { providerID:
|
|
224
|
+
}), { providerID: ID17.openai });
|
|
225
225
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
226
|
-
yield* bus.subscribe(
|
|
226
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
function headers(contentType, app) {
|
|
@@ -314,4 +314,4 @@ function claim(token) {
|
|
|
314
314
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
315
315
|
}
|
|
316
316
|
|
|
317
|
-
export {
|
|
317
|
+
export { OpenAIPlugin3 };
|