@opencode/core 0.0.0-dev-20546 → 0.0.0-dev-20547
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{tool-qkdpfp31.js → variant-0b97tqax.js} +22 -22
- package/dist/chunks/{tool-vf6n3kbk.js → variant-0j3hxpdj.js} +21 -21
- package/dist/chunks/{tool-bmhb8y01.js → variant-0kd1pk5z.js} +20 -20
- package/dist/chunks/{tool-0paq2nw3.js → variant-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-7w0c1qzs.js → variant-0q6sb854.js} +17 -17
- package/dist/chunks/{tool-0vbcp93d.js → variant-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-k2nxqkde.js → variant-0w7m479q.js} +20 -20
- package/dist/chunks/{tool-vk2pwt7v.js → variant-1017xczc.js} +74 -74
- package/dist/chunks/{tool-81j4nbmx.js → variant-10z7daz1.js} +17 -17
- package/dist/chunks/{tool-v50kha1c.js → variant-16fvvttp.js} +32 -32
- package/dist/chunks/{tool-s0596caj.js → variant-171k66e7.js} +9 -9
- package/dist/chunks/{tool-x05pqzzn.js → variant-17p56hwr.js} +15 -15
- package/dist/chunks/{tool-1acjjqhc.js → variant-1acjjqhc.js} +1 -1
- package/dist/chunks/{tool-1dazxqgg.js → variant-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-zm4ejasx.js → variant-24yc7kjr.js} +10 -10
- package/dist/chunks/{tool-2wh4yf7q.js → variant-273jkg38.js} +16 -16
- package/dist/chunks/{tool-xxndcd6m.js → variant-2a49rb13.js} +4 -4
- package/dist/chunks/{tool-2a5m3afh.js → variant-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-m72e62eq.js → variant-2ej87zxe.js} +18 -18
- package/dist/chunks/{tool-q0bsvjra.js → variant-2k5j8z2r.js} +48 -48
- package/dist/chunks/{tool-wy4z08by.js → variant-2px9e64m.js} +20 -20
- package/dist/chunks/{tool-3gv4e0z7.js → variant-2q56c9sx.js} +15 -15
- package/dist/chunks/{tool-x6xy5z7t.js → variant-2r4vtsdk.js} +3 -3
- package/dist/chunks/{tool-ppkw63qq.js → variant-31bpezkk.js} +31 -31
- package/dist/chunks/{tool-hr7m8caa.js → variant-329v3arb.js} +5 -5
- package/dist/chunks/{tool-sxysp3dr.js → variant-34wsaydc.js} +23 -23
- package/dist/chunks/{tool-8563jwpe.js → variant-38kq62gf.js} +11 -11
- package/dist/chunks/{tool-bsdt1m9e.js → variant-3bfy6kq2.js} +7 -7
- package/dist/chunks/{tool-srq8z0b0.js → variant-3cd9n481.js} +9 -9
- package/dist/chunks/{tool-h2b79v29.js → variant-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-3fc6dm20.js → variant-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → variant-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-esqy5ctd.js → variant-3kt1g3ft.js} +11 -11
- package/dist/chunks/{tool-n0pp1gq0.js → variant-3rp1pjwd.js} +26 -26
- package/dist/chunks/{tool-3smtnn6g.js → variant-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → variant-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-jm32gaew.js → variant-3vwksnah.js} +16 -16
- package/dist/chunks/{tool-gmmdfr2g.js → variant-3zbwexce.js} +8 -8
- package/dist/chunks/{tool-3zsf4n22.js → variant-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-y6mhz57t.js → variant-4bm5ja14.js} +4 -4
- package/dist/chunks/{tool-0bgxsef1.js → variant-4ef5c9gw.js} +4 -4
- package/dist/chunks/{tool-t6yz5g0a.js → variant-4kad219a.js} +14 -14
- package/dist/chunks/{tool-ahe9zwyk.js → variant-4ke1djk9.js} +8 -8
- package/dist/chunks/{tool-4ts7tf6z.js → variant-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-4vp46et4.js → variant-4vp46et4.js} +6 -6
- package/dist/chunks/{tool-k1gkpfdk.js → variant-4w5f3qm5.js} +8 -8
- package/dist/chunks/{tool-cjhbag6k.js → variant-4xvyjeeg.js} +5 -5
- package/dist/chunks/{tool-54ma36ye.js → variant-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-mfqp6xfm.js → variant-56gdpj1q.js} +6 -6
- package/dist/chunks/{tool-z7yfvg9g.js → variant-57adf1ga.js} +9 -9
- package/dist/chunks/{tool-g6yfr6ja.js → variant-57myy5jh.js} +5 -5
- package/dist/chunks/{tool-pyfenggm.js → variant-5cajbvmm.js} +11 -11
- package/dist/chunks/{tool-5daktx2q.js → variant-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-thye16kd.js → variant-5ee72v65.js} +1 -1
- package/dist/chunks/{tool-kmgma77j.js → variant-5nzyhd2c.js} +5 -5
- package/dist/chunks/{tool-drnf6xwf.js → variant-5pyjqqve.js} +2 -2
- package/dist/chunks/{tool-5t3nmthw.js → variant-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-erezfsje.js → variant-5te825q2.js} +13 -13
- package/dist/chunks/{tool-cmwkp3r5.js → variant-5xtgfte3.js} +8 -8
- package/dist/chunks/{tool-s4ebpbt7.js → variant-62rggmfc.js} +8 -8
- package/dist/chunks/{tool-7t6j2s4e.js → variant-63pppadt.js} +56 -56
- package/dist/chunks/{tool-544bd9dc.js → variant-63zcdw3g.js} +12 -12
- package/dist/chunks/{tool-669tq793.js → variant-669tq793.js} +1 -1
- package/dist/chunks/{tool-kn319mpc.js → variant-66pt35q6.js} +19 -19
- package/dist/chunks/{tool-6j114ajh.js → variant-68f7dvn8.js} +1 -1
- package/dist/chunks/{tool-d6efkfyd.js → variant-6hk2yw3g.js} +9 -9
- package/dist/chunks/{tool-7frfzztj.js → variant-6hvm7smf.js} +32 -32
- package/dist/chunks/{tool-jmh888fr.js → variant-6m1hjez2.js} +14 -14
- package/dist/chunks/{tool-hfm4ryn4.js → variant-6zexn73m.js} +34 -34
- package/dist/chunks/{tool-qxz2f3rt.js → variant-70a3we72.js} +7 -7
- package/dist/chunks/{tool-7bmhse3q.js → variant-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-1j8zt5zt.js → variant-7crbwqvj.js} +5 -5
- package/dist/chunks/{tool-0xq2rqz7.js → variant-7narw7z7.js} +12 -12
- package/dist/chunks/{tool-r5x6zcsm.js → variant-7yh4e7ss.js} +3 -3
- package/dist/chunks/{tool-r1n3g566.js → variant-7yrja50j.js} +36 -36
- package/dist/chunks/{tool-1dvck2a7.js → variant-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → variant-84txncab.js} +1 -1
- package/dist/chunks/variant-8bb03nvp.js +26 -0
- package/dist/chunks/{tool-a7r9jb6t.js → variant-8d65mgz8.js} +21 -21
- package/dist/chunks/{tool-8d7r5vzw.js → variant-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-xxrhtzpv.js → variant-8sgjz55j.js} +19 -19
- package/dist/chunks/{tool-8w6rjg68.js → variant-8sy7pwng.js} +9 -9
- package/dist/chunks/{tool-abe982cs.js → variant-9cq1cvt4.js} +8 -8
- package/dist/chunks/{tool-b674v2dg.js → variant-9hwaqfsw.js} +5 -5
- package/dist/chunks/{tool-h67113sj.js → variant-9na55fy8.js} +26 -26
- package/dist/chunks/{tool-cvskdek3.js → variant-9nftx6da.js} +10 -10
- package/dist/chunks/{tool-cbpj3q1n.js → variant-9qvf2wqn.js} +16 -16
- package/dist/chunks/{tool-rhjbct0v.js → variant-9t7a50xb.js} +4 -4
- package/dist/chunks/{tool-0fewaqv1.js → variant-9tjcwr7d.js} +11 -11
- package/dist/chunks/{tool-k82aj4rb.js → variant-a0kspb6n.js} +3 -3
- package/dist/chunks/{tool-ncnm8wen.js → variant-a4ae1mqs.js} +1 -1
- package/dist/chunks/{tool-59nf0k73.js → variant-a4vn4t9p.js} +17 -17
- package/dist/chunks/{tool-aaet6srn.js → variant-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-130d0t9b.js → variant-abzmkdk6.js} +26 -26
- package/dist/chunks/{tool-x661k3y3.js → variant-addxnjmp.js} +4 -4
- package/dist/chunks/{tool-mhtvex29.js → variant-ah6jgryv.js} +19 -19
- package/dist/chunks/{tool-q33hc3az.js → variant-ax711rrr.js} +3 -3
- package/dist/chunks/{tool-m0nk61gg.js → variant-b6cd852c.js} +10 -10
- package/dist/chunks/{tool-b6gygkdw.js → variant-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-gfdr60m0.js → variant-b8cde637.js} +10 -10
- package/dist/chunks/{tool-zxfp7yka.js → variant-bfzdf7qk.js} +6 -6
- package/dist/chunks/{tool-p7sh5qae.js → variant-bg9a6krr.js} +32 -32
- package/dist/chunks/{tool-54fnz2xn.js → variant-bj6x4vyx.js} +30 -30
- package/dist/chunks/{tool-1gpb38yh.js → variant-bsprd9wx.js} +3 -3
- package/dist/chunks/{tool-4x25yqhm.js → variant-bvv78rhh.js} +47 -47
- package/dist/chunks/{tool-9g3b7e36.js → variant-c601pb3s.js} +42 -42
- package/dist/chunks/{tool-3yysf8sw.js → variant-c6fchc2t.js} +24 -24
- package/dist/chunks/{tool-3aqn2ebh.js → variant-c7tvtqj5.js} +24 -24
- package/dist/chunks/{tool-ycmwc3zb.js → variant-c9nb1444.js} +18 -18
- package/dist/chunks/{tool-magykp64.js → variant-cavr175a.js} +4 -4
- package/dist/chunks/{tool-a9tf878g.js → variant-ccqzwzs8.js} +309 -309
- package/dist/chunks/{tool-cfsekr6v.js → variant-cfsekr6v.js} +2 -2
- package/dist/chunks/{tool-0kq1vnt2.js → variant-cjk0gcg2.js} +19 -19
- package/dist/chunks/{tool-g5gfjdv3.js → variant-cmxdgdk2.js} +20 -20
- package/dist/chunks/{tool-ywr1xztk.js → variant-cn3djhz4.js} +31 -31
- package/dist/chunks/variant-ctefx7dc.js +18 -0
- package/dist/chunks/{tool-djszqvmq.js → variant-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-1aq3p2fw.js → variant-cz4d90js.js} +16 -16
- package/dist/chunks/{tool-zsr4wwhv.js → variant-d2czbp48.js} +4 -4
- package/dist/chunks/{tool-hnh533wc.js → variant-d4tztbd8.js} +11 -11
- package/dist/chunks/{tool-62qykytd.js → variant-da6vb3h8.js} +22 -22
- package/dist/chunks/{tool-s9d5z7w1.js → variant-da7r7sc6.js} +10 -10
- package/dist/chunks/{tool-xdyxb27p.js → variant-dd50nx1a.js} +25 -25
- package/dist/chunks/{tool-7nztcbt0.js → variant-djwwenxh.js} +15 -15
- package/dist/chunks/{tool-dpkg50ah.js → variant-dpkg50ah.js} +1 -1
- package/dist/chunks/{tool-0gc3e589.js → variant-dwm0ckbr.js} +23 -23
- package/dist/chunks/{tool-vjbhnzss.js → variant-dwzs7v48.js} +4 -4
- package/dist/chunks/{tool-bzjcg73h.js → variant-dyda9n33.js} +20 -20
- package/dist/chunks/{tool-17qe7d48.js → variant-e3enbvgg.js} +36 -36
- package/dist/chunks/{tool-3ffx6953.js → variant-e629d5pb.js} +5 -5
- package/dist/chunks/{tool-cjp93f4e.js → variant-e6zxkh9r.js} +6 -6
- package/dist/chunks/{tool-ef5x83kb.js → variant-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-9zkmnpa0.js → variant-eqktwrb6.js} +9 -9
- package/dist/chunks/{tool-rztnjz0s.js → variant-erh0mstp.js} +9 -9
- package/dist/chunks/{tool-etq0c3wd.js → variant-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-71az546q.js → variant-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-bsjtdjkq.js → variant-fgywf9gk.js} +3 -3
- package/dist/chunks/{tool-axvnfcqc.js → variant-fmphmwrh.js} +11 -11
- package/dist/chunks/{tool-drtsxde7.js → variant-fp27np75.js} +5 -5
- package/dist/chunks/{tool-btvs9fn2.js → variant-fpecnkgp.js} +9 -9
- package/dist/chunks/{tool-g461mq4r.js → variant-fq6511ep.js} +15 -15
- package/dist/chunks/{tool-2ptc9fn1.js → variant-fwaxmgjq.js} +10 -10
- package/dist/chunks/{tool-ew325twr.js → variant-fwzpqqdh.js} +79 -79
- package/dist/chunks/{tool-tv3z232p.js → variant-fzdmn3yz.js} +24 -24
- package/dist/chunks/{tool-fb0xn3fq.js → variant-g2p31kt8.js} +17 -17
- package/dist/chunks/{tool-0xn4eefx.js → variant-g2sxjzdt.js} +20 -20
- package/dist/chunks/{tool-g5w8qwbj.js → variant-g5w8qwbj.js} +1 -1
- package/dist/chunks/{tool-0f5zvaaa.js → variant-g8mz2w69.js} +25 -25
- package/dist/chunks/{tool-rj37jpce.js → variant-g8za1g2v.js} +24 -24
- package/dist/chunks/{tool-bvx99qdh.js → variant-gbepe2ae.js} +7 -7
- package/dist/chunks/{tool-gd4qta3r.js → variant-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-gc9bwprx.js → variant-gj1nr5v6.js} +15 -15
- package/dist/chunks/{tool-8y7m5rtw.js → variant-gn253dkm.js} +24 -24
- package/dist/chunks/{tool-pt3xaqgj.js → variant-gt0brdtn.js} +8 -8
- package/dist/chunks/{tool-mnhe0asj.js → variant-gt9ryc23.js} +20 -20
- package/dist/chunks/{tool-105phwgw.js → variant-gtsn0tnk.js} +22 -22
- package/dist/chunks/{tool-t9t0jv1h.js → variant-gw31pd7g.js} +31 -31
- package/dist/chunks/{tool-stdkdhj9.js → variant-gz6jqjc4.js} +9 -9
- package/dist/chunks/{tool-7aqqc3we.js → variant-gzw67qvm.js} +3 -3
- package/dist/chunks/{tool-h6vf3j39.js → variant-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-ycvgqbex.js → variant-hb9m1k5a.js} +5 -5
- package/dist/chunks/{tool-qxmaq0sm.js → variant-hpfvhvya.js} +8 -8
- package/dist/chunks/{tool-zab19jja.js → variant-hrc132h6.js} +9 -9
- package/dist/chunks/{tool-vrwhxzcp.js → variant-hvmjbjcm.js} +11 -11
- package/dist/chunks/{tool-j3s83qj1.js → variant-hwmjpbet.js} +4 -4
- package/dist/chunks/{tool-50hs44sv.js → variant-j106h7ss.js} +9 -9
- package/dist/chunks/{tool-zah869sz.js → variant-j3wqrd5b.js} +32 -32
- package/dist/chunks/{tool-j56e64zr.js → variant-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-34y0nsfd.js → variant-j7mnaey5.js} +7 -7
- package/dist/chunks/variant-jg8ysj3v.js +253 -0
- package/dist/chunks/{tool-mxp2wkr3.js → variant-jw14gf2y.js} +28 -28
- package/dist/chunks/{tool-5b84avn1.js → variant-k1qrnqst.js} +8 -8
- package/dist/chunks/{tool-kq9ercpw.js → variant-k2yc6cnv.js} +9 -9
- package/dist/chunks/{tool-9e5bzkjp.js → variant-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-6ckhwffg.js → variant-kezwgbfg.js} +18 -18
- package/dist/chunks/{tool-e91ztryz.js → variant-kfcd5z23.js} +11 -11
- package/dist/chunks/{tool-a2z3evab.js → variant-kjatpnt8.js} +5 -5
- package/dist/chunks/{tool-f8yfhtys.js → variant-kz2hcv50.js} +15 -15
- package/dist/chunks/{tool-x9rf5mb3.js → variant-m2nkj9wm.js} +22 -22
- package/dist/chunks/{tool-95jzr6md.js → variant-m36wpc5k.js} +8 -8
- package/dist/chunks/{tool-m3fdjcah.js → variant-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-m9w0rfyh.js → variant-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-m406kgbt.js → variant-ma32y5j1.js} +11 -11
- package/dist/chunks/{tool-fvz0khbb.js → variant-mmt6kfyc.js} +3 -3
- package/dist/chunks/{tool-a1yrwfg3.js → variant-mn7gjtgm.js} +7 -7
- package/dist/chunks/{tool-hbftnxjp.js → variant-n2dqf2np.js} +5 -5
- package/dist/chunks/{tool-1sxecr9b.js → variant-n77f0pd2.js} +9 -9
- package/dist/chunks/{tool-zwekp0gr.js → variant-n89jxr1p.js} +14 -14
- package/dist/chunks/{tool-c93yrxa6.js → variant-n8mgpthn.js} +17 -17
- package/dist/chunks/{tool-29vra2hc.js → variant-na810hcp.js} +39 -39
- package/dist/chunks/{tool-nbfyeqag.js → variant-nf6a9ee8.js} +12 -12
- package/dist/chunks/{tool-6kd4vhpq.js → variant-nhsgg8x8.js} +10 -10
- package/dist/chunks/{tool-dygb53dv.js → variant-nnr4x7kr.js} +8 -8
- package/dist/chunks/{tool-gnmk0d0j.js → variant-nqfkachn.js} +21 -21
- package/dist/chunks/{tool-h19eb42x.js → variant-nqvytbxv.js} +35 -35
- package/dist/chunks/{tool-j32e3heq.js → variant-nrm1rbn7.js} +172 -172
- package/dist/chunks/{tool-sbtfeqxe.js → variant-nwypw74p.js} +33 -33
- package/dist/chunks/{tool-rszfxwsg.js → variant-p558d1j2.js} +5 -5
- package/dist/chunks/{tool-mmds1kx3.js → variant-p8qwaxbb.js} +6 -6
- package/dist/chunks/{tool-pjvnvgmy.js → variant-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → variant-pknna89w.js} +1 -1
- package/dist/chunks/{tool-8n3m7eek.js → variant-pz7ncxfz.js} +15 -15
- package/dist/chunks/{tool-q0xm7vwc.js → variant-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-0b5fx6ax.js → variant-qbkx6vz5.js} +43 -43
- package/dist/chunks/{tool-2k8khapm.js → variant-qgn6gcr1.js} +5 -5
- package/dist/chunks/{tool-sgwh5nyn.js → variant-qm7jrdpz.js} +8 -8
- package/dist/chunks/{tool-qnc92qwc.js → variant-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-bw6g5bvn.js → variant-qp7kv1vw.js} +14 -14
- package/dist/chunks/{tool-qsdy395h.js → variant-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-qxjc9qry.js → variant-qxjc9qry.js} +3 -3
- package/dist/chunks/{tool-3maez1s4.js → variant-qyj1vcvk.js} +11 -11
- package/dist/chunks/{tool-4p0zdh5f.js → variant-r44petzp.js} +12 -12
- package/dist/chunks/{tool-kq17zeba.js → variant-r5zvsjw5.js} +13 -13
- package/dist/chunks/{tool-x5cr8ne6.js → variant-r6jseaym.js} +9 -9
- package/dist/chunks/{tool-21x7xb6a.js → variant-r9rjt6mk.js} +39 -39
- package/dist/chunks/{tool-8fejdm01.js → variant-ras475kb.js} +4 -4
- package/dist/chunks/{tool-rdw6cm16.js → variant-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-6rm5yzkt.js → variant-rk7s9xkn.js} +4 -4
- package/dist/chunks/{tool-s027k0rf.js → variant-rkt3c9tb.js} +33 -33
- package/dist/chunks/{tool-xph0hbvx.js → variant-rp74r9yw.js} +5 -5
- package/dist/chunks/{tool-aydwcdnc.js → variant-rrewaqtd.js} +4 -4
- package/dist/chunks/{tool-msz05mbq.js → variant-rsccvmp7.js} +43 -43
- package/dist/chunks/{tool-ty1e6sjz.js → variant-s9eqfnec.js} +18 -18
- package/dist/chunks/{tool-v32h9fqj.js → variant-scpn23rs.js} +13 -13
- package/dist/chunks/{tool-q0pz77ry.js → variant-se8ef6cp.js} +26 -26
- package/dist/chunks/{tool-hqn60twj.js → variant-spq25e1b.js} +3 -3
- package/dist/chunks/{tool-7jm88nzg.js → variant-syfj11c6.js} +11 -11
- package/dist/chunks/{tool-6hh8tjw2.js → variant-t2fc4mz5.js} +4 -4
- package/dist/chunks/{tool-zav06jzw.js → variant-t7n9q6bq.js} +4 -4
- package/dist/chunks/{tool-tazgh4e4.js → variant-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-hdab2k61.js → variant-tcay1cqt.js} +6 -6
- package/dist/chunks/{tool-tcezcvh9.js → variant-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-tdstcens.js → variant-tdstcens.js} +1 -1
- package/dist/chunks/{tool-vsja1s7z.js → variant-v3k6f8x9.js} +30 -30
- package/dist/chunks/{tool-7xersvtf.js → variant-v9nrmqw2.js} +9 -9
- package/dist/chunks/{tool-veqvce7d.js → variant-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-g78cewbc.js → variant-vwdfph8k.js} +43 -43
- package/dist/chunks/{tool-my4zabxr.js → variant-vx3jgdek.js} +3 -3
- package/dist/chunks/{tool-vzcthcp8.js → variant-vzcthcp8.js} +1 -1
- package/dist/chunks/{tool-vzs5sf6e.js → variant-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-w3wsvvr9.js → variant-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-gwys9v9v.js → variant-w6whe858.js} +4 -4
- package/dist/chunks/{tool-wd87259q.js → variant-wd87259q.js} +1 -1
- package/dist/chunks/{tool-9qqkxast.js → variant-wfppjv2a.js} +43 -43
- package/dist/chunks/{tool-6g22x1cx.js → variant-wqzwmxsj.js} +24 -24
- package/dist/chunks/{tool-w5h262jq.js → variant-wsfq990z.js} +12 -12
- package/dist/chunks/{tool-qgj7yrzy.js → variant-wsgjsvvq.js} +21 -21
- package/dist/chunks/{tool-x1ezjp6w.js → variant-x1ezjp6w.js} +1 -1
- package/dist/chunks/{tool-qkdffjrw.js → variant-x1fpzj52.js} +17 -17
- package/dist/chunks/{tool-6kcqjz9a.js → variant-xee9d92m.js} +35 -35
- package/dist/chunks/{tool-5qgdse83.js → variant-xf6cn1wp.js} +28 -28
- package/dist/chunks/{tool-kearqegd.js → variant-xfy8k7j0.js} +13 -13
- package/dist/chunks/{tool-30ddhjt6.js → variant-xgdbyasr.js} +10 -10
- package/dist/chunks/{tool-49exe669.js → variant-xjtsx636.js} +5 -5
- package/dist/chunks/{tool-dmqcgk4z.js → variant-xkntkrq7.js} +5 -5
- package/dist/chunks/{tool-p8fxgfb9.js → variant-xkzytj2y.js} +3 -3
- package/dist/chunks/{tool-m7zns4k5.js → variant-xx0efrt7.js} +11 -11
- package/dist/chunks/{tool-y1fvbwt7.js → variant-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-bydnjh3t.js → variant-y56ehv6b.js} +9 -9
- package/dist/chunks/{tool-eymvbjgc.js → variant-y7q3v3g9.js} +30 -30
- package/dist/chunks/{tool-7wyknn3n.js → variant-y8cjrnwe.js} +43 -43
- package/dist/chunks/{tool-ytj3j3zq.js → variant-y98bq21c.js} +32 -32
- package/dist/chunks/{tool-zgc7nk2q.js → variant-yb01rvg4.js} +15 -15
- package/dist/chunks/{tool-adzfz996.js → variant-ye5j9ngg.js} +3 -3
- package/dist/chunks/{tool-m08rtf02.js → variant-ygvxdrq8.js} +13 -13
- package/dist/chunks/{tool-as7cf5zz.js → variant-ykt494b9.js} +4 -4
- package/dist/chunks/{tool-yrhqyw5v.js → variant-yrhqyw5v.js} +1 -1
- package/dist/chunks/{tool-f49rpt0h.js → variant-z002fj63.js} +20 -20
- package/dist/chunks/{tool-z0bkrqjs.js → variant-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-mtrbqqrq.js → variant-z2qbjhyn.js} +5 -5
- package/dist/chunks/{tool-83xtr5qh.js → variant-z68f0kh0.js} +33 -33
- package/dist/chunks/{tool-31aerb0s.js → variant-zhdzh2r0.js} +18 -18
- package/dist/chunks/{tool-kjw8fq0d.js → variant-zkvhbq4f.js} +45 -45
- package/dist/chunks/{tool-2mmss7gn.js → variant-zp3e6f5k.js} +18 -18
- package/dist/chunks/{tool-zr2ceqn5.js → variant-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-5v4tq1pr.js → variant-zv2eb485.js} +2 -2
- package/dist/chunks/{tool-zxq2ej10.js → variant-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-hdkng2sj.js → variant-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +121 -121
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +93 -93
- 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 +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- 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 +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +105 -105
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- 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 +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +113 -113
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- 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 +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +211 -211
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +222 -222
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +205 -205
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +74 -74
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/tool-8ty7ydja.js +0 -253
- package/dist/chunks/tool-9ahwsrv3.js +0 -26
- package/dist/chunks/tool-f81tjggh.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → variant-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → variant-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → variant-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → variant-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → variant-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → variant-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → variant-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → variant-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → variant-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → variant-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → variant-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → variant-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → variant-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → variant-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → variant-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → variant-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → variant-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → variant-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → variant-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → variant-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → variant-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → variant-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → variant-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → variant-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → variant-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → variant-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → variant-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → variant-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → variant-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → variant-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → variant-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → variant-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → variant-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → variant-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → variant-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → variant-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → variant-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → variant-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → variant-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → variant-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → variant-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → variant-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → variant-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → variant-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → variant-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → variant-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → variant-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → variant-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → variant-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → variant-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → variant-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → variant-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → variant-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → variant-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → variant-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → variant-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → variant-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → variant-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → variant-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → variant-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → variant-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hjbc5kem.js → variant-hjbc5kem.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → variant-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → variant-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → variant-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → variant-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → variant-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → variant-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → variant-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → variant-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → variant-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → variant-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → variant-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → variant-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → variant-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → variant-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → variant-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → variant-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → variant-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → variant-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → variant-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → variant-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → variant-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → variant-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → variant-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → variant-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → variant-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → variant-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → variant-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → variant-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → variant-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → variant-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → variant-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → variant-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → variant-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → variant-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → variant-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info9,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-g8za1g2v.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./variant-wfppjv2a.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill3 = {};
|
|
18
|
+
__export(exports_skill3, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin47,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill3
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -425,20 +425,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin47 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
432
432
|
yield* ctx.skill.transform((editor) => {
|
|
433
|
-
editor.add(
|
|
434
|
-
id:
|
|
433
|
+
editor.add(Info9.make({
|
|
434
|
+
id: ID5.make("opencode"),
|
|
435
435
|
name: Name2.make("OpenCode"),
|
|
436
436
|
description: OpencodeDescription2,
|
|
437
437
|
path: AbsolutePath2.make("/builtin/opencode.md"),
|
|
438
438
|
content: OpencodeContent2
|
|
439
439
|
}));
|
|
440
|
-
editor.add(
|
|
441
|
-
id:
|
|
440
|
+
editor.add(Info9.make({
|
|
441
|
+
id: ID5.make("report"),
|
|
442
442
|
name: Name2.make("Report"),
|
|
443
443
|
description: REPORT_DESCRIPTION,
|
|
444
444
|
path: AbsolutePath2.make("/builtin/report.md"),
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service55;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin47, exports_skill3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service49,
|
|
3
|
+
node51
|
|
4
|
+
} from "./variant-y8cjrnwe.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-vx3jgdek.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./variant-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service47,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node49,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service47 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service49;
|
|
59
|
+
return Service47.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node49 = makeLocationNode({ service: Service47, layer, deps: [node51] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service47, resolved2, node49, exports_model };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service81,
|
|
9
|
+
node85
|
|
10
|
+
} from "./variant-r44petzp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service79,
|
|
13
|
+
node83
|
|
14
|
+
} from "./variant-cz4d90js.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID7,
|
|
27
27
|
Service: () => Service60,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node64,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,9 +34,9 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID7 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 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())
|
|
@@ -47,9 +47,9 @@ class Service60 extends Context.Service()("@opencode/Snapshot") {
|
|
|
47
47
|
}
|
|
48
48
|
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service81;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service79;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service60, 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 Error5({ 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(Service60, 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 Error5({ 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;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID7.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,23 +127,23 @@ var layer = Layer.effect(Service60, 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 Error5({ 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 Error5({ 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
141
|
return Service60.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
143
|
+
var node64 = makeLocationNode({
|
|
144
144
|
service: Service60,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node85, Global.node, node83]
|
|
147
147
|
});
|
|
148
148
|
var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service60, Service60.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
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 {
|
|
166
|
+
export { ID7, Error5, Service60, node64, noopLayer3, exports_snapshot2 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./variant-5ee72v65.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make24,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./variant-fgywf9gk.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-bj6x4vyx.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./variant-v3k6f8x9.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service55
|
|
11
|
+
} from "./variant-wfppjv2a.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./variant-ax711rrr.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./variant-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./variant-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: () => Plugin2
|
|
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 Plugin2 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service55;
|
|
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 { Plugin2, exports_provider };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info13 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_command5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service45,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service45 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service45, exports_runner };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./variant-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: () => Service48,
|
|
10
|
+
node: () => node50
|
|
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 Service48 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node50 = LayerNode.unbound(Service48, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service48, node50, exports_service2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./variant-dwzs7v48.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./variant-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service79,
|
|
11
|
+
node83
|
|
12
|
+
} from "./variant-cz4d90js.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./variant-bj6x4vyx.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./variant-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,26 +30,26 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID8,
|
|
36
|
+
Info: () => Info17,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service68,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node72,
|
|
45
45
|
parse: () => parse5
|
|
46
46
|
});
|
|
47
47
|
import { Model } from "@opencode/schema/model";
|
|
48
48
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import { freeze } from "immer";
|
|
51
|
-
import { Event as
|
|
52
|
-
var
|
|
51
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
52
|
+
var ID8 = Model.ID;
|
|
53
53
|
var VariantID2 = Model.VariantID;
|
|
54
54
|
var Family2 = Model.Family;
|
|
55
55
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -65,14 +65,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
65
65
|
};
|
|
66
66
|
var Cost2 = Model.Cost;
|
|
67
67
|
var Ref2 = Model.Ref;
|
|
68
|
-
var
|
|
68
|
+
var Info17 = Model.Info;
|
|
69
69
|
|
|
70
|
-
class
|
|
70
|
+
class Service68 extends Context.Service()("@opencode/Model") {
|
|
71
71
|
}
|
|
72
|
-
var layer = Layer.effect(
|
|
73
|
-
const providers = yield*
|
|
72
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
73
|
+
const providers = yield* Service76;
|
|
74
74
|
const bus = yield* Service83;
|
|
75
|
-
const location = yield*
|
|
75
|
+
const location = yield* Service79;
|
|
76
76
|
let input;
|
|
77
77
|
const state = create3({
|
|
78
78
|
name: "model",
|
|
@@ -117,7 +117,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
117
117
|
const models = writable(providerID);
|
|
118
118
|
if (!models)
|
|
119
119
|
return;
|
|
120
|
-
const model = draft(providerID, modelID) ??
|
|
120
|
+
const model = draft(providerID, modelID) ?? Info17.default(providerID, modelID);
|
|
121
121
|
update(model);
|
|
122
122
|
model.id = modelID;
|
|
123
123
|
model.providerID = providerID;
|
|
@@ -206,8 +206,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
206
206
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
207
207
|
});
|
|
208
208
|
});
|
|
209
|
-
yield* bus.subscribe(
|
|
210
|
-
return
|
|
209
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
210
|
+
return Service68.of({
|
|
211
211
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
212
212
|
reload,
|
|
213
213
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -226,7 +226,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
226
226
|
})
|
|
227
227
|
});
|
|
228
228
|
}));
|
|
229
|
-
var
|
|
229
|
+
var node72 = makeLocationNode({ service: Service68, layer, deps: [node80, node87, node83] });
|
|
230
230
|
function compatibility2(input) {
|
|
231
231
|
if (typeof input === "string")
|
|
232
232
|
return { reasoningField: input };
|
|
@@ -237,9 +237,9 @@ function compatibility2(input) {
|
|
|
237
237
|
function parse5(input) {
|
|
238
238
|
const index = input.indexOf("/");
|
|
239
239
|
return {
|
|
240
|
-
providerID:
|
|
241
|
-
modelID:
|
|
240
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
241
|
+
modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
|
|
242
242
|
};
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
export {
|
|
245
|
+
export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info17, Service68, node72, compatibility2, parse5, exports_model2, Event13 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./variant-wfppjv2a.js";
|
|
4
4
|
import {
|
|
5
5
|
Service8
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./variant-2ej87zxe.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./variant-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./variant-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin13
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service55;
|
|
26
26
|
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
@@ -39,4 +39,4 @@ var Plugin10 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin13, exports_compaction };
|