@opencode/core 0.0.0-dev-20712 → 0.0.0-dev-20715
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 +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +7 -7
- package/dist/bus.js +70 -70
- package/dist/chunks/{form-25b7azff.js → provider-0cxmct1s.js} +50 -50
- package/dist/chunks/{form-46rybbhe.js → provider-0dhm1rcx.js} +33 -33
- package/dist/chunks/provider-0fsz745q.js +26 -0
- package/dist/chunks/{form-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{form-6kzp9tjq.js → provider-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-h9pdt6sj.js → provider-0wcth310.js} +24 -24
- package/dist/chunks/{form-kvyym21z.js → provider-0xqzcv5y.js} +20 -20
- package/dist/chunks/{form-1yjpjcr4.js → provider-1163jw7g.js} +16 -16
- package/dist/chunks/{form-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{form-1dvck2a7.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{form-x6srj39b.js → provider-1vjz8z3p.js} +12 -12
- package/dist/chunks/provider-1x11rq2a.js +18 -0
- package/dist/chunks/{form-mfjewbd5.js → provider-200hjz6c.js} +11 -11
- package/dist/chunks/{form-mkxprw0w.js → provider-28jwxmbs.js} +31 -31
- package/dist/chunks/{form-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{form-e2ekxyxj.js → provider-2jehwaqq.js} +18 -18
- package/dist/chunks/{form-15gefpzg.js → provider-2pa5b8yk.js} +8 -8
- package/dist/chunks/{form-777szttk.js → provider-2wq70wkw.js} +1 -1
- package/dist/chunks/{form-nyr8w1ke.js → provider-35x89qye.js} +9 -9
- package/dist/chunks/{form-srv86p4c.js → provider-3artydav.js} +4 -4
- package/dist/chunks/{form-03xyy9gs.js → provider-3d704yse.js} +8 -8
- package/dist/chunks/{form-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{form-5w9yjztw.js → provider-3g8j9he4.js} +1 -1
- package/dist/chunks/{form-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-7vfe0jxp.js → provider-3jkcmf8p.js} +28 -28
- package/dist/chunks/{form-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{form-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-zrq8kphx.js → provider-4a0nv7mx.js} +8 -8
- package/dist/chunks/{form-e5vfwkta.js → provider-4ggjnsff.js} +26 -26
- package/dist/chunks/{form-0k7fsqbg.js → provider-4jg3qfzk.js} +11 -11
- package/dist/chunks/{form-q1swvmxz.js → provider-4p6503b6.js} +3 -3
- package/dist/chunks/{form-4ts7tf6z.js → provider-4ts7tf6z.js} +2 -2
- package/dist/chunks/{form-6raz6jxr.js → provider-4wth5kqg.js} +49 -49
- package/dist/chunks/{form-emw1ng5r.js → provider-5225jpmy.js} +7 -7
- package/dist/chunks/{form-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{form-33w4ejhs.js → provider-56gdpj1q.js} +6 -6
- package/dist/chunks/{form-1t3ws46a.js → provider-5e63mr2f.js} +18 -18
- package/dist/chunks/{form-9655znhp.js → provider-5gcv7zty.js} +24 -24
- package/dist/chunks/{form-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-wte5p5wk.js → provider-5nwkeqz8.js} +15 -15
- package/dist/chunks/{form-mb14aw74.js → provider-5pyjqqve.js} +2 -2
- package/dist/chunks/{form-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{form-en9mxp96.js → provider-5tcm9639.js} +9 -9
- package/dist/chunks/{form-3hfgbjq7.js → provider-630da412.js} +11 -11
- package/dist/chunks/{form-gtsdgcz5.js → provider-63hsd74t.js} +11 -11
- package/dist/chunks/{form-45dcvjxr.js → provider-675s81r7.js} +16 -16
- package/dist/chunks/{form-v1ymkx2n.js → provider-686wtdkb.js} +52 -52
- package/dist/chunks/{form-zhgd40h6.js → provider-6n0bth06.js} +14 -14
- package/dist/chunks/{form-cgmwfznc.js → provider-6vjyb6bm.js} +16 -16
- package/dist/chunks/{form-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-71az546q.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{form-zz5bnwga.js → provider-71kzkcmq.js} +13 -13
- package/dist/chunks/{form-5fskm1g1.js → provider-72z33xd9.js} +10 -10
- package/dist/chunks/{form-r2m716tb.js → provider-79qaa2kf.js} +9 -9
- package/dist/chunks/{form-y6nafv0r.js → provider-7b47g8b6.js} +22 -22
- package/dist/chunks/{form-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-2k8khapm.js → provider-7dqw4kz8.js} +5 -5
- package/dist/chunks/{form-5hp5cn4k.js → provider-7grf3kn7.js} +14 -14
- package/dist/chunks/{form-1r523x99.js → provider-7t2zznky.js} +15 -15
- package/dist/chunks/{form-84txncab.js → provider-84txncab.js} +1 -1
- package/dist/chunks/{form-5k5eqdfy.js → provider-883bx3q0.js} +3 -3
- package/dist/chunks/{form-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{form-28tchkyp.js → provider-8ez43tmm.js} +5 -5
- package/dist/chunks/{form-8m6m0r52.js → provider-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-63de3g4x.js → provider-8p5vgxq9.js} +22 -22
- package/dist/chunks/{form-9sw398jp.js → provider-93efcxnr.js} +11 -11
- package/dist/chunks/{form-2sjstzd9.js → provider-94q754p4.js} +13 -13
- package/dist/chunks/{form-ynxadk5f.js → provider-97xnjwjy.js} +29 -29
- package/dist/chunks/{form-dmhzqrvc.js → provider-9b4ap45w.js} +29 -29
- package/dist/chunks/{form-9e5bzkjp.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{form-6rq4gtsx.js → provider-9mjt30x5.js} +6 -6
- package/dist/chunks/{form-kb04t352.js → provider-9n7nmex1.js} +28 -28
- package/dist/chunks/{form-x6a93ps9.js → provider-9qgmzpag.js} +23 -23
- package/dist/chunks/{form-608ttmbm.js → provider-9sh9j0nr.js} +25 -25
- package/dist/chunks/{form-4fyrm325.js → provider-9swj3qb0.js} +5 -5
- package/dist/chunks/{form-mh6zphse.js → provider-9y6jy3dq.js} +15 -15
- package/dist/chunks/{form-nj5d8b17.js → provider-a1t1y2at.js} +21 -21
- package/dist/chunks/{form-yw9j0rfh.js → provider-a3wx1jbb.js} +18 -18
- package/dist/chunks/{form-kr9cxk9c.js → provider-a5w1ak6r.js} +14 -14
- package/dist/chunks/{form-0mbme20d.js → provider-a77c81bz.js} +1 -1
- package/dist/chunks/{form-sryg0kp6.js → provider-a96zp7kx.js} +9 -9
- package/dist/chunks/{form-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{form-x661k3y3.js → provider-addxnjmp.js} +4 -4
- package/dist/chunks/{form-8wwj16a6.js → provider-ar4x8fwh.js} +25 -25
- package/dist/chunks/{form-s1q20etf.js → provider-asbm7bep.js} +8 -8
- package/dist/chunks/{form-gkjptba1.js → provider-atk28k01.js} +34 -34
- package/dist/chunks/{form-shpz0x2t.js → provider-axyvk8mh.js} +43 -43
- package/dist/chunks/{form-mbvtbt08.js → provider-b20rd8wa.js} +1 -1
- package/dist/chunks/{form-qygbw77c.js → provider-b3f8fkhc.js} +5 -5
- package/dist/chunks/{form-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{form-qvreyy9g.js → provider-b7b4ctej.js} +5 -5
- package/dist/chunks/{form-8xct5cxg.js → provider-bf70qq01.js} +11 -11
- package/dist/chunks/{form-nd1vxy83.js → provider-bq5mcjar.js} +7 -7
- package/dist/chunks/{form-72rw85ce.js → provider-bq7b46md.js} +11 -11
- package/dist/chunks/{form-m67a48vq.js → provider-bsprd9wx.js} +6 -6
- package/dist/chunks/{form-g31gf8f8.js → provider-btsxm90b.js} +20 -20
- package/dist/chunks/{form-4cp7wv5q.js → provider-bvrmbg7m.js} +28 -28
- package/dist/chunks/{form-h54hfh8j.js → provider-c1q86q08.js} +30 -30
- package/dist/chunks/{form-0z17ev8v.js → provider-c6exx9sn.js} +8 -8
- package/dist/chunks/{form-j4e6bw45.js → provider-c82bntt0.js} +16 -16
- package/dist/chunks/{form-vttgn2fv.js → provider-c8qt4twf.js} +15 -15
- package/dist/chunks/{form-tz4n1mmd.js → provider-ca7w653e.js} +4 -4
- package/dist/chunks/{form-gaxgkjf8.js → provider-cjaxcpwh.js} +6 -6
- package/dist/chunks/{form-vkbrv8jq.js → provider-ckae5vz2.js} +13 -13
- package/dist/chunks/{form-1hpgpzcd.js → provider-cq8qvfq0.js} +1 -1
- package/dist/chunks/{form-n9tvhd39.js → provider-cr2af70s.js} +33 -33
- package/dist/chunks/{form-nx2dw5kc.js → provider-d58pape2.js} +3 -3
- package/dist/chunks/{form-x961pzcr.js → provider-d8pv0bpk.js} +6 -6
- package/dist/chunks/{form-2y0gssv2.js → provider-ddv87j1s.js} +26 -26
- package/dist/chunks/{form-nxm207yx.js → provider-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-a881zpfh.js → provider-dzw83ac5.js} +9 -9
- package/dist/chunks/{form-qeakwxs4.js → provider-dzyc8saa.js} +12 -12
- package/dist/chunks/{form-9t69bxse.js → provider-e594jqvs.js} +36 -36
- package/dist/chunks/{form-9e4dck5x.js → provider-eafxs9mq.js} +25 -25
- package/dist/chunks/{form-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-8qvzptz7.js → provider-em3h5ktn.js} +4 -4
- package/dist/chunks/{form-j8w9hkn2.js → provider-emkscysc.js} +16 -16
- package/dist/chunks/{form-0y0kf6wg.js → provider-er0jrn8y.js} +33 -33
- package/dist/chunks/{form-fy26h6d0.js → provider-et9t3xrf.js} +141 -141
- package/dist/chunks/{form-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{form-zpjz29v3.js → provider-evb2g34y.js} +17 -17
- package/dist/chunks/{form-vhb6rdqv.js → provider-exng67gk.js} +4 -4
- package/dist/chunks/{form-a9s5mds0.js → provider-f3mxqp4r.js} +10 -10
- package/dist/chunks/{form-vkp779ce.js → provider-f6721ndq.js} +20 -20
- package/dist/chunks/{form-4k43d9fa.js → provider-fb955k6m.js} +301 -301
- package/dist/chunks/{form-kt29frc8.js → provider-fgyh5agp.js} +17 -17
- package/dist/chunks/{form-qnt41q0e.js → provider-fn7ze3ge.js} +32 -32
- package/dist/chunks/{form-hemh68r6.js → provider-fqxxcg0w.js} +9 -9
- package/dist/chunks/{form-a8pj8mn0.js → provider-fs8w0zmv.js} +20 -20
- package/dist/chunks/{form-x6pyv2yz.js → provider-fwfdmgk0.js} +5 -5
- package/dist/chunks/{form-c2kh31mj.js → provider-g5e0vp13.js} +49 -49
- package/dist/chunks/{form-vftbjcp2.js → provider-g823fvbh.js} +5 -5
- package/dist/chunks/{form-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-ny70bwj6.js → provider-gxbn520v.js} +14 -14
- package/dist/chunks/provider-gxr3h1rx.js +253 -0
- package/dist/chunks/{form-cnjgabfw.js → provider-gyrnzjw3.js} +3 -3
- package/dist/chunks/{form-h2b79v29.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{form-bq0rdahm.js → provider-h3v3p82m.js} +30 -30
- package/dist/chunks/{form-xhb76b6f.js → provider-h46ghxnv.js} +5 -5
- package/dist/chunks/{form-rrs16p2a.js → provider-h47zncjj.js} +47 -47
- package/dist/chunks/{form-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-jzw0rzw4.js → provider-h89hqrvr.js} +9 -9
- package/dist/chunks/{form-n3x7zedj.js → provider-h9aw24rm.js} +18 -18
- package/dist/chunks/{form-ftscd474.js → provider-hfjxbmbv.js} +35 -35
- package/dist/chunks/{form-p5hcnrhr.js → provider-hkcdsepw.js} +11 -11
- package/dist/chunks/{form-kagyhy09.js → provider-hq9fctt8.js} +24 -24
- package/dist/chunks/{form-4yezxa73.js → provider-htfe4xep.js} +12 -12
- package/dist/chunks/{form-6b2zjn2e.js → provider-hwjyn0yt.js} +9 -9
- package/dist/chunks/{form-252d8696.js → provider-j2d8gbxx.js} +4 -4
- package/dist/chunks/{form-7wpb6h90.js → provider-j4rg8v7x.js} +10 -10
- package/dist/chunks/{form-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{form-jhf3jymm.js → provider-j5w2yx54.js} +6 -6
- package/dist/chunks/{form-6rm5yzkt.js → provider-j8m1p4p1.js} +4 -4
- package/dist/chunks/{form-ey2d9ww2.js → provider-jer1we1k.js} +16 -16
- package/dist/chunks/{form-kzc3h1h3.js → provider-jewzahs7.js} +4 -4
- package/dist/chunks/{form-97w5rk9e.js → provider-jhpaar4x.js} +8 -8
- package/dist/chunks/{form-r64egdpd.js → provider-jkn47vnh.js} +21 -21
- package/dist/chunks/{form-pdcc66ph.js → provider-jknjpvsr.js} +9 -9
- package/dist/chunks/{form-rwkzbhyy.js → provider-jnatcwbn.js} +10 -10
- package/dist/chunks/{form-706k5x78.js → provider-jqv6rzpq.js} +26 -26
- package/dist/chunks/{form-8wrmbg2q.js → provider-jstdsz8v.js} +10 -10
- package/dist/chunks/{form-qf5hq1jc.js → provider-jzetxade.js} +27 -27
- package/dist/chunks/{form-saay569z.js → provider-kkvj9s3e.js} +26 -26
- package/dist/chunks/{form-6zwxhqpy.js → provider-krdch7pj.js} +8 -8
- package/dist/chunks/{form-g86s18q2.js → provider-kvk7rxxt.js} +4 -4
- package/dist/chunks/{form-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{form-m55qy151.js → provider-m55qy151.js} +2 -2
- package/dist/chunks/{form-4zpqjyc2.js → provider-m6b6gnnc.js} +28 -28
- package/dist/chunks/{form-vrxgzr22.js → provider-m6yg3xba.js} +4 -4
- package/dist/chunks/{form-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-mjymc32g.js → provider-magykp64.js} +4 -4
- package/dist/chunks/{form-p3bnm29a.js → provider-mf5aczd1.js} +57 -57
- package/dist/chunks/{form-x6qwvpbm.js → provider-mgea81st.js} +1 -1
- package/dist/chunks/{form-ertkbvpv.js → provider-mhkg45td.js} +8 -8
- package/dist/chunks/{form-tx5xyhq5.js → provider-mmm93z6s.js} +13 -13
- package/dist/chunks/{form-pq3gk156.js → provider-mqzwkyay.js} +8 -8
- package/dist/chunks/{form-y2ef215h.js → provider-mrrn9raq.js} +6 -6
- package/dist/chunks/{form-c1mfk2j0.js → provider-mrwncn17.js} +6 -6
- package/dist/chunks/{form-t11s7ysw.js → provider-msehjb4w.js} +20 -20
- package/dist/chunks/{form-eq1pz5kg.js → provider-mvfsc1pv.js} +3 -3
- package/dist/chunks/{form-dpahde6h.js → provider-mw934p8z.js} +5 -5
- package/dist/chunks/{form-3sj8yt8v.js → provider-n1n192bv.js} +4 -4
- package/dist/chunks/{form-ff7ybqyq.js → provider-n95t1fxk.js} +25 -25
- package/dist/chunks/{form-p72tmm3t.js → provider-nn9x3xk4.js} +18 -18
- package/dist/chunks/{form-71n2tkks.js → provider-nrpc045m.js} +20 -20
- package/dist/chunks/{form-5yzzbxa7.js → provider-p37cw4rj.js} +8 -8
- package/dist/chunks/{form-rrhp263n.js → provider-pfzgy8xd.js} +11 -11
- package/dist/chunks/{form-xrhtfqv1.js → provider-pgpna4x0.js} +11 -11
- package/dist/chunks/{form-cr9xg22w.js → provider-pj77w0m7.js} +13 -13
- package/dist/chunks/{form-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{form-8sze2n9a.js → provider-py3kkmfq.js} +6 -6
- package/dist/chunks/{form-etk2hy4s.js → provider-q00aa78a.js} +3 -3
- package/dist/chunks/{form-q0xm7vwc.js → provider-q0xm7vwc.js} +2 -2
- package/dist/chunks/{form-j6dqhm69.js → provider-q1jzmvv2.js} +5 -5
- package/dist/chunks/{form-qm0v3jhh.js → provider-qa3qhgw8.js} +7 -7
- package/dist/chunks/{form-e9pn449h.js → provider-qf84914d.js} +17 -17
- package/dist/chunks/{form-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{form-rwbyvv20.js → provider-qqjjkjcq.js} +12 -12
- package/dist/chunks/{form-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{form-kzn9b0yx.js → provider-qtegtbhz.js} +88 -88
- package/dist/chunks/{form-9pg2mgde.js → provider-qv4tz9he.js} +15 -15
- package/dist/chunks/{form-fsavhfb3.js → provider-qv8v460y.js} +2 -2
- package/dist/chunks/{form-xyafkbt0.js → provider-qxjc9qry.js} +3 -3
- package/dist/chunks/{form-v7dmft4n.js → provider-r539kmgw.js} +2 -2
- package/dist/chunks/{form-3cxatzex.js → provider-r9mzgt8p.js} +29 -29
- package/dist/chunks/{form-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-ejt9a4mc.js → provider-rebkrskg.js} +32 -32
- package/dist/chunks/{form-md3s2szf.js → provider-rem2z1nm.js} +45 -45
- package/dist/chunks/{form-jmh888fr.js → provider-rjq8wmvv.js} +12 -12
- package/dist/chunks/{form-q7xbkb5s.js → provider-rp460b50.js} +12 -12
- package/dist/chunks/{form-xfz669ft.js → provider-rpf1m9q9.js} +25 -25
- package/dist/chunks/{form-emchrq21.js → provider-rpyndq9k.js} +18 -18
- package/dist/chunks/{form-dfjxtsf9.js → provider-rrpq0de9.js} +12 -12
- package/dist/chunks/{form-xtzppgah.js → provider-rtx0fv89.js} +21 -21
- package/dist/chunks/{form-8y7xgh0n.js → provider-s22bddsw.js} +1 -1
- package/dist/chunks/{form-emsjfhry.js → provider-s2h6mypp.js} +8 -8
- package/dist/chunks/{form-w5svrknw.js → provider-s5anfxbm.js} +21 -21
- package/dist/chunks/{form-rhjbct0v.js → provider-s8d7rejh.js} +4 -4
- package/dist/chunks/{form-255xb92k.js → provider-sqyctcgc.js} +10 -10
- package/dist/chunks/{form-27dsvfdn.js → provider-swysz5cy.js} +9 -9
- package/dist/chunks/{form-h72p6djb.js → provider-t05r2vr9.js} +18 -18
- package/dist/chunks/{form-zncnmdzc.js → provider-t7abb039.js} +7 -7
- package/dist/chunks/{form-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{form-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{form-bq42tmev.js → provider-tev97ate.js} +15 -15
- package/dist/chunks/{form-sy0pmzyc.js → provider-v0es1rhs.js} +9 -9
- package/dist/chunks/{form-epw93366.js → provider-v1bj4jwe.js} +13 -13
- package/dist/chunks/{form-71mvzqvh.js → provider-v62tfx03.js} +42 -42
- package/dist/chunks/{form-q2mesgbk.js → provider-vd9vjdgs.js} +11 -11
- package/dist/chunks/{form-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{form-rdemb1sp.js → provider-vg67y24t.js} +82 -82
- package/dist/chunks/{form-jczht3en.js → provider-vn2kznjj.js} +9 -9
- package/dist/chunks/{form-bqhmrmw6.js → provider-vvbtn6nh.js} +17 -17
- package/dist/chunks/{form-c2sed5cq.js → provider-vx3jgdek.js} +3 -3
- package/dist/chunks/{form-svm2f7kt.js → provider-vx6r3xn6.js} +15 -15
- package/dist/chunks/{form-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-3jqrg18r.js → provider-w0yt0cjm.js} +8 -8
- package/dist/chunks/{form-mve1g6bp.js → provider-w29vd5cd.js} +18 -18
- package/dist/chunks/{form-rnvk8381.js → provider-w3gsm10c.js} +3 -3
- package/dist/chunks/{form-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-n6bnymb1.js → provider-w9bb24j5.js} +11 -11
- package/dist/chunks/{form-m35ayfrn.js → provider-wcvkvbpb.js} +24 -24
- package/dist/chunks/{form-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{form-w39jehkq.js → provider-wh6zw745.js} +5 -5
- package/dist/chunks/{form-xj01a2sc.js → provider-wmta3egy.js} +4 -4
- package/dist/chunks/{form-d79mvy98.js → provider-wns8ay1e.js} +2 -2
- package/dist/chunks/{form-3xjc4gvj.js → provider-wqmpetdc.js} +4 -4
- package/dist/chunks/{form-gp98pctq.js → provider-wyy8mfcf.js} +13 -13
- package/dist/chunks/{form-t405ddsp.js → provider-x2vdeafw.js} +17 -17
- package/dist/chunks/{form-03m92h0d.js → provider-x53ppcy8.js} +4 -4
- package/dist/chunks/{form-f4qc7wm0.js → provider-xapc6m05.js} +24 -24
- package/dist/chunks/{form-yp2cb2tg.js → provider-xc0h57n1.js} +11 -11
- package/dist/chunks/{form-xfkkasph.js → provider-xfkkasph.js} +1 -1
- package/dist/chunks/{form-6g3wr2ps.js → provider-xjgjzh58.js} +43 -43
- package/dist/chunks/{form-dmqcgk4z.js → provider-xkntkrq7.js} +5 -5
- package/dist/chunks/{form-kmhwdwzj.js → provider-xyj74bwc.js} +15 -15
- package/dist/chunks/{form-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-ydx4b4m1.js → provider-y6262bav.js} +14 -14
- package/dist/chunks/{form-8caf3z4f.js → provider-yb4kpkgb.js} +3 -3
- package/dist/chunks/{form-grt2nr2n.js → provider-yfy17yrv.js} +4 -4
- package/dist/chunks/{form-fn9c5fvq.js → provider-yhe36pxx.js} +9 -9
- package/dist/chunks/{form-hyf4z54j.js → provider-ykn1b1kp.js} +37 -39
- package/dist/chunks/{form-pdvk0jp2.js → provider-yngnnjh7.js} +12 -12
- package/dist/chunks/{form-yp2x3t23.js → provider-yp2x3t23.js} +1 -1
- package/dist/chunks/{form-nsbrtvjc.js → provider-yv25bm5r.js} +17 -17
- package/dist/chunks/{form-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-nx17tqsy.js → provider-z11b7403.js} +13 -13
- package/dist/chunks/{form-nk25batw.js → provider-z2z8bnbf.js} +6 -6
- package/dist/chunks/{form-8j7w067x.js → provider-zd4j4ryc.js} +15 -15
- package/dist/chunks/{form-as7cf5zz.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{form-7np7eqsh.js → provider-zjmhe51h.js} +15 -15
- package/dist/chunks/{form-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +86 -86
- 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 +208 -208
- 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 +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +138 -138
- 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 +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/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 +3 -3
- 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 +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- 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 +88 -88
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +128 -128
- 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 +99 -99
- package/dist/models-dev.js +104 -104
- 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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +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 +118 -118
- package/dist/plugin/optimize.js +4 -4
- 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 +118 -118
- 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 +117 -117
- package/dist/plugin/provider/openai.js +96 -96
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- 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 +98 -98
- 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 +86 -86
- package/dist/repository-cache.js +78 -78
- 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 +130 -130
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +89 -89
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- 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 +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- 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 +5 -5
- package/dist/session/session.js +163 -163
- 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 +204 -204
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +106 -106
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +3 -3
- 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 +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +85 -85
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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/form-6r9dv1tj.js +0 -26
- package/dist/chunks/form-q509s3k3.js +0 -18
- package/dist/chunks/form-sqaw2ayv.js +0 -253
- /package/dist/chunks/{form-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-5qd3pb7m.js → provider-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → provider-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -2,27 +2,27 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./provider-m6yg3xba.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service77,
|
|
8
|
+
node81
|
|
9
|
+
} from "./provider-j4rg8v7x.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event12,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service62,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node65,
|
|
26
26
|
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service62 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event12 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service77;
|
|
81
81
|
const bus = yield* Service83;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event12.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service62.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event12.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event12.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node65 = makeGlobalNode({ service: Service62, layer, deps: [httpClient, node81, node87] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service62, Event12, inspect2, resolve3, node65, exports_wellknown };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./provider-1163jw7g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./provider-0wcth310.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service51
|
|
15
|
+
} from "./provider-nn9x3xk4.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-er0jrn8y.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service64
|
|
24
|
+
} from "./provider-0cxmct1s.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service63
|
|
27
|
+
} from "./provider-w29vd5cd.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./provider-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output7,
|
|
38
|
+
Plugin: () => Plugin12,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent6
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input5 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output7 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent6 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin12 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
|
-
const environment = yield*
|
|
70
|
-
const ripgrep = yield*
|
|
71
|
-
const location = yield*
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
69
|
+
const environment = yield* Service58;
|
|
70
|
+
const ripgrep = yield* Service51;
|
|
71
|
+
const location = yield* Service80;
|
|
72
|
+
const access = yield* Service63;
|
|
73
|
+
const permission = yield* Service64;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output7,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin5 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output7, toModelContent6, Plugin12, exports_glob };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-kkvj9s3e.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-n95t1fxk.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service59
|
|
11
|
+
} from "./provider-axyvk8mh.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve4
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-883bx3q0.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin30
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin30 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service59;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin30, exports_provider };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-m6yg3xba.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,31 +12,31 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event20,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID16,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError10,
|
|
24
24
|
Reply: () => Reply3,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service78,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer26,
|
|
29
|
+
node: () => node82,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event20 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID16 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
@@ -44,8 +44,8 @@ var State3 = Form.State;
|
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
45
|
var Reply3 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID16
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID16
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID16
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID16,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service78 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var layer26 = Layer.effect(Service78, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID16.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -162,9 +162,9 @@ var layer25 = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
162
162
|
closed = true;
|
|
163
163
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
164
164
|
yield* Effect.addFinalizer(() => close);
|
|
165
|
-
return
|
|
165
|
+
return Service78.of({ create, ask, get, list, state, reply, cancel, close });
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
167
|
+
var node82 = makeLocationNode({ service: Service78, layer: layer26, deps: [node87] });
|
|
168
168
|
function validateAnswer2(form, answer) {
|
|
169
169
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
170
170
|
for (const key of Object.keys(answer)) {
|
|
@@ -316,4 +316,4 @@ function isDateTime(value) {
|
|
|
316
316
|
return !Number.isNaN(new Date(value).getTime());
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
export {
|
|
319
|
+
export { ID16, Info26, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer26, node82, validateAnswer2, validateFields2, exports_form, Event20 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service41,
|
|
3
3
|
node43
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-94q754p4.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
16
|
var exports_instructions5 = {};
|
|
17
17
|
__export(exports_instructions5, {
|
|
18
18
|
ReferenceInstructions: () => exports_instructions5,
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
Service: () => Service31,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service31 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
62
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
63
63
|
const references = yield* Service41;
|
|
64
|
-
return
|
|
64
|
+
return Service31.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
|
|
71
|
+
return make21({
|
|
72
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),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node34 = makeLocationNode({ service: Service31, layer, deps: [node43] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service31, node34, exports_instructions5 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-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: () => Service8,
|
|
13
|
+
node: () => node9
|
|
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 Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, 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 Service8.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(Service3, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node9, exports_update };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name15,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-c8qt4twf.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-yb4kpkgb.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service77,
|
|
17
|
+
node: () => node81
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service77 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service77.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node81 = makeGlobalNode({ service: Service77, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service77, node81, exports_kv };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service36,
|
|
10
|
+
node: () => node38
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service36 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node38 = LayerNode.unbound(Service36, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service36, node38, exports_service2 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin47
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin47 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin47, exports_mcp_codemode_defaults };
|