@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,70 +1,70 @@
|
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID9,
|
|
11
|
+
Service57,
|
|
12
|
+
node60
|
|
13
|
+
} from "./plugin-ntgxvec3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError5
|
|
16
|
+
} from "./plugin-08nac8vt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service56,
|
|
19
|
+
node59
|
|
20
|
+
} from "./plugin-nep4njzc.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service55,
|
|
26
|
+
node58
|
|
27
|
+
} from "./plugin-4yb2x30p.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service69,
|
|
30
|
+
node72
|
|
31
|
+
} from "./plugin-t0d6gkvd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./plugin-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission = {};
|
|
38
|
+
__export(exports_permission, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event10,
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError4,
|
|
48
|
+
Permission: () => exports_permission,
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
|
+
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service54,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node57
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event10 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID9.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID7,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError4 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service54 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service78;
|
|
132
|
+
const location = yield* Service73;
|
|
133
|
+
const agents = yield* Service57;
|
|
134
|
+
const sessions = yield* Service56;
|
|
135
|
+
const saved = yield* Service55;
|
|
136
|
+
const hooks = yield* Service69;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError5({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID7.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError4({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service54.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node57 = makeLocationNode({
|
|
289
|
+
service: Service54,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [
|
|
291
|
+
deps: [node82, node76, node60, node59, node58, node72]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError4, evaluate2, merge2, Service54, node57, exports_permission, Rule2, Ruleset2, Event10 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-wak322rn.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service70
|
|
7
|
+
} from "./plugin-y8zx462x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID10,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-13rdha6j.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
ID17
|
|
14
|
+
} from "./plugin-c7ecgrk6.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/xai.ts
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
|
|
|
23
23
|
var pollingSafetyMargin = 3000;
|
|
24
24
|
var browserMethodID = MethodID2.make("browser");
|
|
25
25
|
var deviceMethodID = MethodID2.make("device");
|
|
26
|
-
var providerID =
|
|
26
|
+
var providerID = ID17.make("xai");
|
|
27
27
|
var Token = Schema.Struct({
|
|
28
28
|
access_token: Schema.String,
|
|
29
29
|
refresh_token: Schema.optional(Schema.String),
|
|
@@ -43,7 +43,7 @@ var DeviceError = Schema.Struct({
|
|
|
43
43
|
});
|
|
44
44
|
var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
|
|
45
45
|
var device = (app) => ({
|
|
46
|
-
integrationID:
|
|
46
|
+
integrationID: ID10.make("xai"),
|
|
47
47
|
method: {
|
|
48
48
|
id: deviceMethodID,
|
|
49
49
|
type: "oauth",
|
|
@@ -68,8 +68,8 @@ var device = (app) => ({
|
|
|
68
68
|
var XAIPlugin2 = define({
|
|
69
69
|
id: "opencode.provider.xai",
|
|
70
70
|
effect: Effect.fn(function* (ctx) {
|
|
71
|
-
const credentials = yield*
|
|
72
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
71
|
+
const credentials = yield* Service70;
|
|
72
|
+
yield* Effect.forEach(yield* credentials.list(ID10.make("xai")), (credential) => {
|
|
73
73
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
74
74
|
return Effect.void;
|
|
75
75
|
return credentials.update(credential.id, {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node80
|
|
5
|
+
} from "./plugin-wak322rn.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-88sz8qcd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service69,
|
|
12
|
+
node72
|
|
13
|
+
} from "./plugin-t0d6gkvd.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-y41p2qk8.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./plugin-1qz2b3kz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./plugin-wnsgmh2a.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service29,
|
|
25
|
+
node33
|
|
26
|
+
} from "./plugin-055djz7r.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./plugin-nhy5jxhy.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./plugin-b3wkxfg9.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./plugin-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service28,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
44
|
layer: () => layer12,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node32,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
|
|
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
|
|
|
62
62
|
return {
|
|
63
63
|
providerMetadataKey,
|
|
64
64
|
system: [
|
|
65
|
-
input.agent.system ? input.agent.system :
|
|
65
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
66
66
|
input.initial
|
|
67
67
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
68
68
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
|
|
|
189
189
|
return HttpClientResponse.fromWeb(sent, after.response);
|
|
190
190
|
}).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
|
|
191
191
|
|
|
192
|
-
class
|
|
192
|
+
class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
193
193
|
}
|
|
194
|
-
var layer12 = Layer.effect(
|
|
195
|
-
const hooks = yield*
|
|
196
|
-
const transport = yield*
|
|
194
|
+
var layer12 = Layer.effect(Service28, Effect.gen(function* () {
|
|
195
|
+
const hooks = yield* Service69;
|
|
196
|
+
const transport = yield* Service29;
|
|
197
197
|
const app = yield* Metadata2;
|
|
198
198
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
|
|
199
199
|
const session = input.scope.session;
|
|
@@ -201,7 +201,7 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
201
201
|
const model = resolved.model;
|
|
202
202
|
const tools = input.scope.tools ?? {
|
|
203
203
|
definitions: [],
|
|
204
|
-
execute: () => new
|
|
204
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
205
205
|
};
|
|
206
206
|
const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
|
|
207
207
|
const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
|
|
@@ -261,12 +261,12 @@ var layer12 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
261
261
|
executeTool
|
|
262
262
|
};
|
|
263
263
|
});
|
|
264
|
-
return
|
|
264
|
+
return Service28.of({ prepare });
|
|
265
265
|
}));
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
266
|
+
var node32 = makeLocationNode({
|
|
267
|
+
service: Service28,
|
|
268
268
|
layer: layer12,
|
|
269
|
-
deps: [
|
|
269
|
+
deps: [node72, node33, node80]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
272
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer12, node32, exports_model_request };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./plugin-wh83wp4h.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./plugin-wh40nd5e.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./plugin-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event18,
|
|
24
|
+
ID: () => ID13,
|
|
25
|
+
Info: () => Info27,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service70,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node73
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID13 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event18 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info27 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID13,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service70 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service80).db;
|
|
55
|
+
const bus = yield* Service78;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info27({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service70.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info27({
|
|
80
|
+
id: ID13.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event18.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event18.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event18.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event18.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node73 = makeGlobalNode({ service: Service70, layer, deps: [node85, node82] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID13, OAuth3, Key4, Value2, Event18, Info27, Service70, node73, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service44,
|
|
3
|
+
node47
|
|
4
|
+
} from "./plugin-zk678npb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make18,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-0gdmqesm.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service24,
|
|
20
|
+
node: () => node28
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service24 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service44;
|
|
64
|
+
return Service24.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make18({
|
|
72
|
+
key: Key3.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node28 = makeLocationNode({ service: Service24, layer, deps: [node47] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service24, node28, exports_instructions3 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./plugin-wh40nd5e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
Event17
|
|
7
|
+
} from "./plugin-4je4kgtb.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./plugin-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service78;
|
|
24
|
+
const wellknown = yield* Service68;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin27 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin44, exports_plugin };
|