@opencode/core 0.0.0-dev-20715 → 0.0.0-dev-20716
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 +84 -84
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{provider-qv4tz9he.js → plugin-0040kgya.js} +15 -15
- package/dist/chunks/{provider-9sh9j0nr.js → plugin-0bvpg6nm.js} +25 -25
- package/dist/chunks/{provider-rebkrskg.js → plugin-0cd6g7qn.js} +30 -30
- package/dist/chunks/{provider-vvbtn6nh.js → plugin-0egz4g8j.js} +14 -14
- package/dist/chunks/{provider-q0xm7vwc.js → plugin-0j77ygfz.js} +6 -6
- package/dist/chunks/{provider-mgea81st.js → plugin-0nghm7mk.js} +1 -1
- package/dist/chunks/{provider-0paq2nw3.js → plugin-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-9y6jy3dq.js → plugin-0pje3wpz.js} +20 -20
- package/dist/chunks/{provider-9n7nmex1.js → plugin-0te0cf72.js} +29 -29
- package/dist/chunks/{provider-0vbcp93d.js → plugin-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-hwjyn0yt.js → plugin-11dqjexa.js} +9 -9
- package/dist/chunks/{provider-yngnnjh7.js → plugin-12zwqvq4.js} +16 -16
- package/dist/chunks/{provider-9qgmzpag.js → plugin-1a75fjgy.js} +28 -28
- package/dist/chunks/{provider-1dazxqgg.js → plugin-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-1dvck2a7.js → plugin-1dvck2a7.js} +2 -2
- package/dist/chunks/{provider-1vjz8z3p.js → plugin-1gy6cnch.js} +12 -12
- package/dist/chunks/{provider-72z33xd9.js → plugin-1he5hg8q.js} +11 -11
- package/dist/chunks/{provider-7grf3kn7.js → plugin-1k22ry1w.js} +15 -15
- package/dist/chunks/{provider-v1bj4jwe.js → plugin-1s2ke74t.js} +13 -13
- package/dist/chunks/{provider-rpf1m9q9.js → plugin-1xkvfpwz.js} +25 -25
- package/dist/chunks/{provider-56gdpj1q.js → plugin-1ygqh575.js} +9 -9
- package/dist/chunks/{provider-bsprd9wx.js → plugin-1z18ck0n.js} +9 -9
- package/dist/chunks/{provider-bq5mcjar.js → plugin-1zc36k3v.js} +7 -7
- package/dist/chunks/{provider-fwfdmgk0.js → plugin-207ajt2h.js} +5 -5
- package/dist/chunks/{provider-mw934p8z.js → plugin-2336b01z.js} +8 -8
- package/dist/chunks/{provider-h89hqrvr.js → plugin-26ac1eqm.js} +9 -9
- package/dist/chunks/{provider-2a5m3afh.js → plugin-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-j5w2yx54.js → plugin-2a6rn6yr.js} +6 -6
- package/dist/chunks/{provider-x2vdeafw.js → plugin-2c1zyav3.js} +17 -17
- package/dist/chunks/{provider-4ts7tf6z.js → plugin-2ccvkpx1.js} +2 -2
- package/dist/chunks/{provider-exng67gk.js → plugin-2e04gbjj.js} +1 -1
- package/dist/chunks/{provider-magykp64.js → plugin-2pnhn36q.js} +21 -21
- package/dist/chunks/{provider-9mjt30x5.js → plugin-2xmw97mn.js} +9 -9
- package/dist/chunks/{provider-asbm7bep.js → plugin-33q5xsn5.js} +11 -11
- package/dist/chunks/{provider-rtx0fv89.js → plugin-360kw5yh.js} +21 -21
- package/dist/chunks/{provider-jnatcwbn.js → plugin-3az0cy8z.js} +10 -10
- package/dist/chunks/{provider-dzw83ac5.js → plugin-3b9qt4hj.js} +9 -9
- package/dist/chunks/{provider-s2h6mypp.js → plugin-3d2465tj.js} +11 -11
- package/dist/chunks/{provider-jer1we1k.js → plugin-3ee781nc.js} +14 -14
- package/dist/chunks/{provider-3fc6dm20.js → plugin-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-5225jpmy.js → plugin-3ha02kdk.js} +7 -7
- package/dist/chunks/{provider-3hepkmqq.js → plugin-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-3smtnn6g.js → plugin-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → plugin-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-addxnjmp.js → plugin-3y377wv9.js} +4 -4
- package/dist/chunks/{provider-3zsf4n22.js → plugin-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-v0es1rhs.js → plugin-4434d9q2.js} +9 -9
- package/dist/chunks/{provider-0r3c1bmw.js → plugin-47jkzegy.js} +5 -5
- package/dist/chunks/{provider-r539kmgw.js → plugin-4ezfzqbj.js} +2 -2
- package/dist/chunks/{provider-nn9x3xk4.js → plugin-4jjqa0cz.js} +18 -18
- package/dist/chunks/{provider-qtegtbhz.js → plugin-4mw11sjj.js} +87 -87
- package/dist/chunks/{provider-w29vd5cd.js → plugin-4qfmz2gm.js} +18 -18
- package/dist/chunks/{provider-4a0nv7mx.js → plugin-4w5f3qm5.js} +8 -8
- package/dist/chunks/{provider-s5anfxbm.js → plugin-4xw7q3e5.js} +19 -19
- package/dist/chunks/{provider-n1n192bv.js → plugin-4z58m4b4.js} +4 -4
- package/dist/chunks/{provider-1163jw7g.js → plugin-4z9p2se2.js} +17 -17
- package/dist/chunks/{provider-0dhm1rcx.js → plugin-50kcz2ma.js} +36 -36
- package/dist/chunks/{provider-a1t1y2at.js → plugin-538eje9f.js} +24 -24
- package/dist/chunks/{provider-54ma36ye.js → plugin-54ma36ye.js} +1 -1
- package/dist/chunks/{provider-0cxmct1s.js → plugin-5a5md02d.js} +55 -55
- package/dist/chunks/{provider-zjmhe51h.js → plugin-5gawfmt6.js} +18 -18
- package/dist/chunks/{provider-fb955k6m.js → plugin-5gjnpq0p.js} +322 -322
- package/dist/chunks/{provider-q00aa78a.js → plugin-5gx2vrqy.js} +3 -3
- package/dist/chunks/{provider-5m9w47nd.js → plugin-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-5pyjqqve.js → plugin-5pyjqqve.js} +2 -2
- package/dist/chunks/{provider-r9mzgt8p.js → plugin-5qdzryxg.js} +30 -30
- package/dist/chunks/{provider-5t3nmthw.js → plugin-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-6n0bth06.js → plugin-62zxkdxb.js} +14 -14
- package/dist/chunks/{provider-ddv87j1s.js → plugin-6347z6ya.js} +28 -28
- package/dist/chunks/{provider-3d704yse.js → plugin-6h1ernme.js} +11 -11
- package/dist/chunks/{provider-msehjb4w.js → plugin-6mr91m03.js} +20 -20
- package/dist/chunks/{provider-b20rd8wa.js → plugin-6ms2k3cp.js} +1 -1
- package/dist/chunks/{provider-pfzgy8xd.js → plugin-6qgafbs3.js} +11 -11
- package/dist/chunks/{provider-6xb47vfp.js → plugin-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-7t2zznky.js → plugin-703m18f1.js} +15 -15
- package/dist/chunks/{provider-71az546q.js → plugin-71az546q.js} +2 -2
- package/dist/chunks/{provider-bvrmbg7m.js → plugin-731gbtyw.js} +30 -30
- package/dist/chunks/{provider-mvfsc1pv.js → plugin-73tb2d7t.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → plugin-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-rrpq0de9.js → plugin-7e170h78.js} +12 -12
- package/dist/chunks/{provider-c6exx9sn.js → plugin-7fzbnxm1.js} +8 -8
- package/dist/chunks/{provider-4p6503b6.js → plugin-7mpnrwh9.js} +5 -5
- package/dist/chunks/{provider-h9aw24rm.js → plugin-7mqz96f4.js} +20 -20
- package/dist/chunks/{provider-200hjz6c.js → plugin-7qnfss41.js} +14 -14
- package/dist/chunks/{provider-t05r2vr9.js → plugin-7t56kane.js} +18 -18
- package/dist/chunks/{provider-hkcdsepw.js → plugin-7v9cbr6d.js} +13 -13
- package/dist/chunks/{provider-f6721ndq.js → plugin-81exr9xt.js} +20 -20
- package/dist/chunks/{provider-fn7ze3ge.js → plugin-83z83vf4.js} +44 -44
- package/dist/chunks/{provider-wqmpetdc.js → plugin-84gkm6w5.js} +4 -4
- package/dist/chunks/{provider-84txncab.js → plugin-84txncab.js} +1 -1
- package/dist/chunks/{provider-8d7r5vzw.js → plugin-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-8m6m0r52.js → plugin-8m6m0r52.js} +1 -1
- package/dist/chunks/{provider-xapc6m05.js → plugin-8tb08yqb.js} +18 -18
- package/dist/chunks/{provider-jhpaar4x.js → plugin-91p1v22t.js} +8 -8
- package/dist/chunks/{provider-c8qt4twf.js → plugin-9afpsfvx.js} +19 -19
- package/dist/chunks/{provider-bq7b46md.js → plugin-9ajf8e0t.js} +11 -11
- package/dist/chunks/{provider-t7abb039.js → plugin-9deqs6b2.js} +7 -7
- package/dist/chunks/{provider-9e5bzkjp.js → plugin-9e5bzkjp.js} +3 -3
- package/dist/chunks/{provider-h46ghxnv.js → plugin-9er205jf.js} +5 -5
- package/dist/chunks/{provider-p37cw4rj.js → plugin-9hn6k4tm.js} +8 -8
- package/dist/chunks/plugin-9sh4wc5j.js +18 -0
- package/dist/chunks/{provider-yfy17yrv.js → plugin-9vbdnjbz.js} +4 -4
- package/dist/chunks/{provider-8p5vgxq9.js → plugin-9zsmh4sr.js} +19 -19
- package/dist/chunks/{provider-9swj3qb0.js → plugin-a6dacsnj.js} +3 -3
- package/dist/chunks/{provider-aaet6srn.js → plugin-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-97xnjwjy.js → plugin-ad3f97w8.js} +32 -32
- package/dist/chunks/{provider-0wcth310.js → plugin-aeexs5yx.js} +24 -24
- package/dist/chunks/{provider-xc0h57n1.js → plugin-as98je0f.js} +7 -7
- package/dist/chunks/{provider-nrpc045m.js → plugin-b02dhnsm.js} +20 -20
- package/dist/chunks/{provider-qa3qhgw8.js → plugin-b27vhd2z.js} +4 -4
- package/dist/chunks/{provider-b6gygkdw.js → plugin-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-h47zncjj.js → plugin-b9kzf0wm.js} +46 -46
- package/dist/chunks/{provider-dzyc8saa.js → plugin-b9w2rp40.js} +20 -20
- package/dist/chunks/{provider-vx6r3xn6.js → plugin-bb07mdh7.js} +15 -15
- package/dist/chunks/{provider-fs8w0zmv.js → plugin-bb1q0dxh.js} +20 -20
- package/dist/chunks/plugin-c5q6vktn.js +26 -0
- package/dist/chunks/{provider-c1q86q08.js → plugin-cfcy483q.js} +33 -33
- package/dist/chunks/{provider-py3kkmfq.js → plugin-cfsekr6v.js} +2 -2
- package/dist/chunks/{provider-rjq8wmvv.js → plugin-chrxq3ex.js} +7 -7
- package/dist/chunks/{provider-cq8qvfq0.js → plugin-cjnb9fx3.js} +1 -1
- package/dist/chunks/{provider-a3wx1jbb.js → plugin-cjt22dq1.js} +18 -18
- package/dist/chunks/{provider-fqxxcg0w.js → plugin-cm2n3612.js} +11 -11
- package/dist/chunks/{provider-d58pape2.js → plugin-cwwrcagb.js} +5 -5
- package/dist/chunks/{provider-swysz5cy.js → plugin-czpcksrb.js} +11 -11
- package/dist/chunks/{provider-79qaa2kf.js → plugin-d4he2qe1.js} +9 -9
- package/dist/chunks/{provider-jewzahs7.js → plugin-d858xzj7.js} +4 -4
- package/dist/chunks/{provider-rp460b50.js → plugin-d9019ttd.js} +14 -14
- package/dist/chunks/{provider-mmm93z6s.js → plugin-dgpvcc9c.js} +13 -13
- package/dist/chunks/{provider-xkntkrq7.js → plugin-dmqcgk4z.js} +5 -5
- package/dist/chunks/{provider-dpkg50ah.js → plugin-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-0xqzcv5y.js → plugin-drjeadwa.js} +23 -23
- package/dist/chunks/{provider-w9bb24j5.js → plugin-drkn8tgb.js} +11 -11
- package/dist/chunks/{provider-wyy8mfcf.js → plugin-ds64xa00.js} +15 -15
- package/dist/chunks/{provider-z2z8bnbf.js → plugin-dv57ms7t.js} +9 -9
- package/dist/chunks/{provider-g823fvbh.js → plugin-dxkam57h.js} +5 -5
- package/dist/chunks/{provider-j4rg8v7x.js → plugin-dxxcy6b7.js} +10 -10
- package/dist/chunks/{provider-5qd3pb7m.js → plugin-e3qxr5gk.js} +2 -2
- package/dist/chunks/{provider-pj77w0m7.js → plugin-eay56ta9.js} +13 -13
- package/dist/chunks/{provider-ef5x83kb.js → plugin-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-e594jqvs.js → plugin-ejak9dhc.js} +38 -38
- package/dist/chunks/{provider-etq0c3wd.js → plugin-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-yb4kpkgb.js → plugin-f2yvyqxr.js} +3 -3
- package/dist/chunks/{provider-b7b4ctej.js → plugin-f62qkzqr.js} +5 -5
- package/dist/chunks/{provider-v62tfx03.js → plugin-f8c48b1w.js} +42 -42
- package/dist/chunks/{provider-gxbn520v.js → plugin-f9ed3mbq.js} +15 -15
- package/dist/chunks/{provider-xyj74bwc.js → plugin-fbsjs46p.js} +26 -26
- package/dist/chunks/{provider-7dqw4kz8.js → plugin-fcrkznn8.js} +5 -5
- package/dist/chunks/{provider-ykn1b1kp.js → plugin-fhcrm83x.js} +36 -36
- package/dist/chunks/{provider-n95t1fxk.js → plugin-fqyvw1ch.js} +18 -18
- package/dist/chunks/{provider-pgpna4x0.js → plugin-g1qz6sq4.js} +11 -11
- package/dist/chunks/{provider-xfkkasph.js → plugin-g5w8qwbj.js} +4 -4
- package/dist/chunks/{provider-fgyh5agp.js → plugin-g8wkkt5t.js} +25 -25
- package/dist/chunks/{provider-94q754p4.js → plugin-g9fj5wqd.js} +24 -24
- package/dist/chunks/{provider-4jg3qfzk.js → plugin-gabayzqy.js} +8 -8
- package/dist/chunks/{provider-zd4j4ryc.js → plugin-gajgbq35.js} +15 -15
- package/dist/chunks/{provider-cr2af70s.js → plugin-gbmp0j2a.js} +35 -35
- package/dist/chunks/{provider-3g8j9he4.js → plugin-gd0tnyjc.js} +1 -1
- package/dist/chunks/{provider-gd4qta3r.js → plugin-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-5tcm9639.js → plugin-gh5z95q3.js} +9 -9
- package/dist/chunks/{provider-686wtdkb.js → plugin-gs574n2b.js} +56 -56
- package/dist/chunks/{provider-vn2kznjj.js → plugin-h10w1dwf.js} +9 -9
- package/dist/chunks/{provider-h2b79v29.js → plugin-h2b79v29.js} +2 -2
- package/dist/chunks/{provider-h6vf3j39.js → plugin-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-3jkcmf8p.js → plugin-hc27pwqt.js} +28 -28
- package/dist/chunks/{provider-et9t3xrf.js → plugin-hhrcfy2a.js} +170 -170
- package/dist/chunks/{provider-wmta3egy.js → plugin-hn9gbd1m.js} +4 -4
- package/dist/chunks/{provider-5gcv7zty.js → plugin-hq5tbv6m.js} +30 -30
- package/dist/chunks/{provider-mrwncn17.js → plugin-hs8w90mj.js} +3 -3
- package/dist/chunks/{provider-5nwkeqz8.js → plugin-hw0p3tgj.js} +16 -16
- package/dist/chunks/{provider-w0yt0cjm.js → plugin-hw6d5gbj.js} +8 -8
- package/dist/chunks/{provider-j56e64zr.js → plugin-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-675s81r7.js → plugin-j7k49zb7.js} +13 -13
- package/dist/chunks/{provider-4wth5kqg.js → plugin-j7qcjkyd.js} +50 -50
- package/dist/chunks/{provider-mqzwkyay.js → plugin-j7zryc91.js} +6 -6
- package/dist/chunks/{provider-qqjjkjcq.js → plugin-jh47mxj5.js} +11 -11
- package/dist/chunks/{provider-tev97ate.js → plugin-jhqtn4pg.js} +15 -15
- package/dist/chunks/{provider-krdch7pj.js → plugin-jhsjgqmj.js} +8 -8
- package/dist/chunks/{provider-c82bntt0.js → plugin-jp2ksrwx.js} +18 -18
- package/dist/chunks/{provider-btsxm90b.js → plugin-k2pce4vm.js} +22 -22
- package/dist/chunks/{provider-8ez43tmm.js → plugin-khm4b8bb.js} +5 -5
- package/dist/chunks/{provider-wh6zw745.js → plugin-kjdm35cs.js} +5 -5
- package/dist/chunks/{provider-mf5aczd1.js → plugin-ks3yrbs5.js} +71 -71
- package/dist/chunks/{provider-vd9vjdgs.js → plugin-kv7d7xma.js} +11 -11
- package/dist/chunks/{provider-m3fdjcah.js → plugin-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-eafxs9mq.js → plugin-m6fr6886.js} +18 -18
- package/dist/chunks/{provider-35x89qye.js → plugin-m6hcz0m6.js} +9 -9
- package/dist/chunks/{provider-m9w0rfyh.js → plugin-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-er0jrn8y.js → plugin-m9zqhkv0.js} +33 -33
- package/dist/chunks/{provider-x53ppcy8.js → plugin-mqynkxap.js} +4 -4
- package/dist/chunks/{provider-28jwxmbs.js → plugin-n2zqvap7.js} +33 -33
- package/dist/chunks/{provider-f3mxqp4r.js → plugin-nhs9pheh.js} +10 -10
- package/dist/chunks/{provider-a5w1ak6r.js → plugin-nn242kmy.js} +14 -14
- package/dist/chunks/{provider-jkn47vnh.js → plugin-nqfysxyg.js} +21 -21
- package/dist/chunks/{provider-h3v3p82m.js → plugin-nw3qp17x.js} +30 -30
- package/dist/chunks/{provider-jknjpvsr.js → plugin-nyhm2pe6.js} +9 -9
- package/dist/chunks/{provider-ar4x8fwh.js → plugin-p7cteepy.js} +25 -25
- package/dist/chunks/{provider-yhe36pxx.js → plugin-p9bdjwbt.js} +9 -9
- package/dist/chunks/{provider-ckae5vz2.js → plugin-pjphrd73.js} +13 -13
- package/dist/chunks/{provider-pjvnvgmy.js → plugin-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → plugin-pknna89w.js} +1 -1
- package/dist/chunks/{provider-883bx3q0.js → plugin-prfy19s1.js} +6 -6
- package/dist/chunks/{provider-cjaxcpwh.js → plugin-psvgxdkg.js} +6 -6
- package/dist/chunks/{provider-mrrn9raq.js → plugin-pxhak851.js} +6 -6
- package/dist/chunks/{provider-m6b6gnnc.js → plugin-pyaqxafm.js} +24 -24
- package/dist/chunks/{provider-wns8ay1e.js → plugin-q16rmxfd.js} +2 -2
- package/dist/chunks/{provider-6vjyb6bm.js → plugin-q8px5grq.js} +16 -16
- package/dist/chunks/{provider-sqyctcgc.js → plugin-q95kk0as.js} +10 -10
- package/dist/chunks/{provider-93efcxnr.js → plugin-qm1cwvyg.js} +12 -12
- package/dist/chunks/{provider-qnc92qwc.js → plugin-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-qsdy395h.js → plugin-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-3artydav.js → plugin-qvz03jj1.js} +4 -4
- package/dist/chunks/{provider-qxjc9qry.js → plugin-qxjc9qry.js} +3 -3
- package/dist/chunks/{provider-2jehwaqq.js → plugin-qzf73wsh.js} +18 -18
- package/dist/chunks/{provider-jzetxade.js → plugin-qzzq6f9n.js} +27 -27
- package/dist/chunks/{provider-w3gsm10c.js → plugin-r0jkcj1b.js} +3 -3
- package/dist/chunks/{provider-gyrnzjw3.js → plugin-r0xq1941.js} +3 -3
- package/dist/chunks/{provider-d8pv0bpk.js → plugin-r514a842.js} +9 -9
- package/dist/chunks/{provider-yp2x3t23.js → plugin-r8xr0va3.js} +4 -4
- package/dist/chunks/{provider-xjgjzh58.js → plugin-rc1ztwwt.js} +46 -46
- package/dist/chunks/plugin-rdsbctrt.js +253 -0
- package/dist/chunks/{provider-rdw6cm16.js → plugin-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-jqv6rzpq.js → plugin-refa6f6d.js} +26 -26
- package/dist/chunks/{provider-bf70qq01.js → plugin-rgmrnzyv.js} +11 -11
- package/dist/chunks/{provider-a96zp7kx.js → plugin-s2g5tphy.js} +11 -11
- package/dist/chunks/{provider-emkscysc.js → plugin-s53nhgqv.js} +16 -16
- package/dist/chunks/{provider-a77c81bz.js → plugin-s6hk9e70.js} +1 -1
- package/dist/chunks/{provider-s8d7rejh.js → plugin-s8d7rejh.js} +1 -1
- package/dist/chunks/{provider-s22bddsw.js → plugin-s9r2n8zd.js} +1 -1
- package/dist/chunks/{provider-b3f8fkhc.js → plugin-scgrse2b.js} +5 -5
- package/dist/chunks/{provider-g5e0vp13.js → plugin-sp0rvjz9.js} +49 -49
- package/dist/chunks/{provider-wcvkvbpb.js → plugin-syh7g5hv.js} +22 -22
- package/dist/chunks/{provider-63hsd74t.js → plugin-t32j9pk6.js} +13 -13
- package/dist/chunks/{provider-evb2g34y.js → plugin-t9hddrtd.js} +17 -17
- package/dist/chunks/{provider-5e63mr2f.js → plugin-t9pkw8p9.js} +19 -19
- package/dist/chunks/{provider-tazgh4e4.js → plugin-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-71kzkcmq.js → plugin-tc7jvtnb.js} +13 -13
- package/dist/chunks/{provider-tcezcvh9.js → plugin-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → plugin-tdstcens.js} +1 -1
- package/dist/chunks/{provider-630da412.js → plugin-tfrx45ns.js} +11 -11
- package/dist/chunks/{provider-yv25bm5r.js → plugin-tmdpeazq.js} +14 -14
- package/dist/chunks/{provider-jstdsz8v.js → plugin-v39axx5b.js} +10 -10
- package/dist/chunks/{provider-y6262bav.js → plugin-v6w3d60y.js} +14 -14
- package/dist/chunks/{provider-kkvj9s3e.js → plugin-v7w5nhha.js} +23 -23
- package/dist/chunks/{provider-kvk7rxxt.js → plugin-vbdk3j7h.js} +4 -4
- package/dist/chunks/{provider-veqvce7d.js → plugin-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-axyvk8mh.js → plugin-vvc0eer9.js} +43 -43
- package/dist/chunks/{provider-em3h5ktn.js → plugin-vxzh5eqq.js} +4 -4
- package/dist/chunks/{provider-vzs5sf6e.js → plugin-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-2pa5b8yk.js → plugin-w24mfxr8.js} +8 -8
- package/dist/chunks/{provider-w3wsvvr9.js → plugin-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-4ggjnsff.js → plugin-w5ea6xsj.js} +16 -16
- package/dist/chunks/{provider-wd87259q.js → plugin-wd87259q.js} +1 -1
- package/dist/chunks/{provider-7b47g8b6.js → plugin-wrs1pmrk.js} +24 -24
- package/dist/chunks/{provider-q1jzmvv2.js → plugin-x7jrqq4e.js} +5 -5
- package/dist/chunks/{provider-qv8v460y.js → plugin-xhq15gqt.js} +2 -2
- package/dist/chunks/{provider-mhkg45td.js → plugin-xq23y69h.js} +8 -8
- package/dist/chunks/{provider-qf84914d.js → plugin-y03v4dfr.js} +22 -22
- package/dist/chunks/{provider-hfjxbmbv.js → plugin-y0wg71jz.js} +32 -32
- package/dist/chunks/{provider-m55qy151.js → plugin-y1b74c65.js} +10 -10
- package/dist/chunks/{provider-y1fvbwt7.js → plugin-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-m6yg3xba.js → plugin-y36z6atj.js} +4 -4
- package/dist/chunks/{provider-rem2z1nm.js → plugin-ya6e0w5c.js} +40 -40
- package/dist/chunks/{provider-j2d8gbxx.js → plugin-ywamwn7x.js} +4 -4
- package/dist/chunks/{provider-2wq70wkw.js → plugin-z050hvk1.js} +1 -1
- package/dist/chunks/{provider-z0bkrqjs.js → plugin-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-z11b7403.js → plugin-z33gpsam.js} +13 -13
- package/dist/chunks/{provider-vg67y24t.js → plugin-zf1zfd4r.js} +86 -86
- package/dist/chunks/{provider-zfs8ae4p.js → plugin-zfs8ae4p.js} +4 -4
- package/dist/chunks/{provider-htfe4xep.js → plugin-zgpkwneq.js} +13 -13
- package/dist/chunks/{provider-9b4ap45w.js → plugin-zkcpggaq.js} +26 -26
- package/dist/chunks/{provider-rpyndq9k.js → plugin-zr1vdv8d.js} +18 -18
- package/dist/chunks/{provider-zr2ceqn5.js → plugin-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-hq9fctt8.js → plugin-zr9y32zn.js} +23 -23
- package/dist/chunks/{provider-atk28k01.js → plugin-zshn8c59.js} +36 -36
- package/dist/chunks/{provider-ca7w653e.js → plugin-zvt5dnpc.js} +4 -4
- package/dist/chunks/{provider-j8m1p4p1.js → plugin-zxbspt8e.js} +4 -4
- package/dist/chunks/{provider-zxq2ej10.js → plugin-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +83 -83
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +118 -118
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- 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/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +364 -364
- 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 +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- 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 +100 -100
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +352 -352
- package/dist/location.js +90 -90
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +95 -95
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +77 -77
- package/dist/plugin/command.js +103 -103
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +91 -91
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/local.js +114 -114
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +157 -157
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +91 -91
- package/dist/provider.js +94 -94
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +90 -90
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- 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 +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +202 -202
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +158 -158
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- 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 +127 -127
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +123 -123
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- 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/variant.js +94 -94
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +81 -81
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/provider-0fsz745q.js +0 -26
- package/dist/chunks/provider-1x11rq2a.js +0 -18
- package/dist/chunks/provider-gxr3h1rx.js +0 -253
- /package/dist/chunks/{provider-0qkdqm5v.js → plugin-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → plugin-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → plugin-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → plugin-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → plugin-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → plugin-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → plugin-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → plugin-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → plugin-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → plugin-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → plugin-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → plugin-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → plugin-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → plugin-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → plugin-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → plugin-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → plugin-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → plugin-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → plugin-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → plugin-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → plugin-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → plugin-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → plugin-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → plugin-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → plugin-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → plugin-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → plugin-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-84wd9syh.js → plugin-84wd9syh.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → plugin-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → plugin-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → plugin-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → plugin-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → plugin-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → plugin-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → plugin-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → plugin-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → plugin-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → plugin-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → plugin-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → plugin-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → plugin-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → plugin-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → plugin-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → plugin-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → plugin-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → plugin-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → plugin-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → plugin-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → plugin-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → plugin-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → plugin-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → plugin-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → plugin-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → plugin-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → plugin-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → plugin-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → plugin-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → plugin-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → plugin-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → plugin-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → plugin-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → plugin-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → plugin-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → plugin-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → plugin-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → plugin-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → plugin-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → plugin-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → plugin-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → plugin-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → plugin-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → plugin-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → plugin-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → plugin-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → plugin-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → plugin-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → plugin-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → plugin-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → plugin-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → plugin-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → plugin-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → plugin-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → plugin-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → plugin-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-vx3jgdek.js → plugin-vx3jgdek.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → plugin-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → plugin-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → plugin-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → plugin-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → plugin-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → plugin-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → plugin-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → plugin-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → plugin-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → plugin-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → plugin-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → plugin-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → plugin-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service78,
|
|
9
|
+
node82
|
|
10
|
+
} from "./plugin-7e170h78.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service76,
|
|
13
|
+
node80
|
|
14
|
+
} from "./plugin-4z9p2se2.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./plugin-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service53,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node55,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,20 +36,20 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service53 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service78;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service53.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node55 = makeLocationNode({
|
|
144
|
+
service: Service53,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node82, Global.node, node80]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service53, Service53.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service43, Service43.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error4, Service53, node55, noopLayer3, exports_snapshot2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service2,
|
|
13
|
+
node: () => node3
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service2 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service2.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node3 = makeGlobalNode({ service: Service2, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service2, node3, exports_update };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-f2yvyqxr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./plugin-2a6rn6yr.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./plugin-9sh4wc5j.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./plugin-4z58m4b4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-33q5xsn5.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-n2zqvap7.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./plugin-zf1zfd4r.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./plugin-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service47;
|
|
36
36
|
const database = yield* Service84;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./plugin-hc27pwqt.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./plugin-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./plugin-3y377wv9.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./plugin-zr9y32zn.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./plugin-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event19,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID16,
|
|
41
|
+
Info: () => Info26,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref4,
|
|
48
|
+
Service: () => Service80,
|
|
49
|
+
node: () => node84
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/unstable/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event19 } from "@opencode/schema/integration";
|
|
72
|
+
var ID16 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info26 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,19 +101,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID16,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref4 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service80 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
115
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service81;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info26.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service80.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node84 = makeLocationNode({
|
|
633
|
+
service: Service80,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node85, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID16, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info26, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref4, Service80, node84, exports_integration, Event19 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./plugin-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-h2b79v29.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./plugin-y36z6atj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./plugin-4z9p2se2.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./plugin-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service59,
|
|
14
|
+
node62
|
|
15
|
+
} from "./plugin-d9019ttd.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./plugin-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,8 +37,8 @@ class Service11 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service83;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service59;
|
|
41
|
+
const location = yield* Service76;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node13 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node87, FSUtil.node,
|
|
101
|
+
deps: [node87, FSUtil.node, node80, node62]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service11, node13, exports_instructions };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make20,
|
|
13
|
+
node: () => node57,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make20()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make20(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make22(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make20(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node57 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make20, useragent2, layer21, configured6, node57, exports_app };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./plugin-y36z6atj.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./plugin-3y377wv9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event20
|
|
9
|
+
} from "./plugin-hc27pwqt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID16
|
|
12
|
+
} from "./plugin-1a75fjgy.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./plugin-v7w5nhha.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./plugin-tmdpeazq.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
30
|
const bus = yield* Service83;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service57,
|
|
3
|
+
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./plugin-cm2n3612.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service47,
|
|
8
|
+
node49
|
|
9
|
+
} from "./plugin-2a6rn6yr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service55
|
|
12
|
+
} from "./plugin-gbmp0j2a.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./plugin-rdsbctrt.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service55);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node49.replace(Layer.succeed(Service47, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node60.replace(Layer.succeed(Service57, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|