@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
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-m6yg3xba.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
16
|
Service42,
|
|
17
17
|
node44
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./provider-dzyc8saa.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
34
|
Service: () => Service41,
|
|
@@ -39,11 +39,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
|
-
var
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
48
|
class Service41 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -118,4 +118,4 @@ var node43 = makeLocationNode({
|
|
|
118
118
|
deps: [Global.node, node87, node44]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service41, node43, exports_reference2, Event6 };
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./provider-0wcth310.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service48,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-mmm93z6s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service15
|
|
11
|
+
} from "./provider-7t2zznky.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service64
|
|
14
|
+
} from "./provider-0cxmct1s.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service63
|
|
17
|
+
} from "./provider-w29vd5cd.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input9,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin11,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
32
|
+
name: () => name9,
|
|
33
33
|
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name9 = "write";
|
|
39
|
+
var Input9 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
51
|
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
-
var
|
|
52
|
+
var Plugin11 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service63;
|
|
56
|
+
const fileMutation = yield* Service48;
|
|
57
|
+
const environment = yield* Service58;
|
|
58
|
+
const formatter = yield* Service15;
|
|
59
|
+
const permission = yield* Service64;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name9,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input9,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -98,4 +98,4 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name9, Input9, Output6, toModelContent5, Plugin11, exports_write };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./provider-1163jw7g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service58
|
|
6
|
+
} from "./provider-0wcth310.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service48,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-mmm93z6s.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service15
|
|
14
|
+
} from "./provider-7t2zznky.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./provider-0cxmct1s.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service63,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./provider-w29vd5cd.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./provider-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./provider-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input11,
|
|
34
34
|
Output: () => Output8,
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
35
|
+
Plugin: () => Plugin13,
|
|
36
|
+
name: () => name11
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name11 = "edit";
|
|
43
|
+
var Input11 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -103,20 +103,20 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin13 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
113
|
-
const location = yield*
|
|
114
|
-
const permission = yield*
|
|
109
|
+
const access = yield* Service63;
|
|
110
|
+
const fileMutation = yield* Service48;
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const formatter = yield* Service15;
|
|
113
|
+
const location = yield* Service80;
|
|
114
|
+
const permission = yield* Service64;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name11,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
119
|
+
input: Input11,
|
|
120
120
|
output: Output8,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
@@ -194,4 +194,4 @@ var Plugin15 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name11, Input11, Output8, Plugin13, exports_edit };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-qnc92qwc.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-h2b79v29.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-72z33xd9.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service76
|
|
7
|
+
} from "./provider-3jkcmf8p.js";
|
|
8
8
|
import {
|
|
9
9
|
ID14,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-9qgmzpag.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
mergeOverlay2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-kkvj9s3e.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/provider/xai.ts
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -69,7 +69,7 @@ var device = (app) => ({
|
|
|
69
69
|
var XAIPlugin2 = define({
|
|
70
70
|
id: "opencode.provider.xai",
|
|
71
71
|
effect: Effect.fn(function* (ctx) {
|
|
72
|
-
const credentials = yield*
|
|
72
|
+
const credentials = yield* Service76;
|
|
73
73
|
yield* Effect.forEach(yield* credentials.list(ID14.make("xai")), (credential) => {
|
|
74
74
|
if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
|
|
75
75
|
return Effect.void;
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./provider-rrpq0de9.js";
|
|
11
|
+
import {
|
|
8
12
|
Service80,
|
|
9
13
|
node84
|
|
10
|
-
} from "./
|
|
11
|
-
import {
|
|
12
|
-
Service78,
|
|
13
|
-
node82
|
|
14
|
-
} from "./form-1yjpjcr4.js";
|
|
14
|
+
} from "./provider-1163jw7g.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service43,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node45,
|
|
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 Error3 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 Service43 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service55, 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 Error3({ 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(Service55, 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 Error3({ 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(Service55, 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 Error3({ 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 Error3({ 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 Service43.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node45 = makeLocationNode({
|
|
144
|
+
service: Service43,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service43, Service43.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(Service55, Service55.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
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, Error3, Service43, node45, noopLayer3, exports_snapshot2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-m6yg3xba.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service76,
|
|
9
|
+
node80
|
|
10
|
+
} from "./provider-3jkcmf8p.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./provider-addxnjmp.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-hq9fctt8.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./provider-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: () => Event18,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
40
|
ID: () => ID14,
|
|
41
|
-
Info: () =>
|
|
41
|
+
Info: () => Info23,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service75,
|
|
49
|
+
node: () => node79
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,7 +68,7 @@ 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
|
|
71
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
72
72
|
var ID14 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
@@ -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 Info23 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -107,13 +107,13 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service75 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(Service75, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service76;
|
|
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(Service76, 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) => Info23.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(Service76, 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 Service75.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node79 = makeLocationNode({
|
|
633
|
+
service: Service75,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node80, node87, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2,
|
|
638
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service75, node79, exports_integration, Event18 };
|