@opencode/core 0.0.0-dev-20531 → 0.0.0-dev-20533
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 +77 -77
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{filesystem-64mvex4m.js → image-04aqpn0x.js} +8 -8
- package/dist/chunks/{filesystem-0r3c1bmw.js → image-0bwnrbmb.js} +5 -5
- package/dist/chunks/{filesystem-wmn0mqt9.js → image-0bzve7m2.js} +3 -3
- package/dist/chunks/{filesystem-6pe82dve.js → image-0na1b1gm.js} +42 -42
- package/dist/chunks/{filesystem-fxrszsqc.js → image-0nkbh456.js} +11 -11
- package/dist/chunks/{filesystem-0paq2nw3.js → image-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-73tar9qe.js → image-0q9kf5tv.js} +4 -4
- package/dist/chunks/{filesystem-ts1v98fg.js → image-0sx8qwq0.js} +25 -25
- package/dist/chunks/{filesystem-0vbcp93d.js → image-0vbcp93d.js} +2 -2
- package/dist/chunks/{filesystem-85p9n8tz.js → image-0w122yxh.js} +12 -12
- package/dist/chunks/{filesystem-k5d6ggnk.js → image-0y1042ra.js} +9 -9
- package/dist/chunks/{filesystem-5c3xf46m.js → image-0ze6xpc4.js} +5 -5
- package/dist/chunks/{filesystem-fwwk8vbp.js → image-11dqjexa.js} +9 -9
- package/dist/chunks/{filesystem-vgx6weyf.js → image-15nepkqg.js} +8 -8
- package/dist/chunks/{filesystem-v15jgdj5.js → image-165224c5.js} +84 -84
- package/dist/chunks/{filesystem-1acjjqhc.js → image-1acjjqhc.js} +1 -1
- package/dist/chunks/{filesystem-b7fwmpe3.js → image-1dawjks7.js} +8 -8
- package/dist/chunks/{filesystem-1dazxqgg.js → image-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-h1g26gxa.js → image-1w4dgp74.js} +14 -14
- package/dist/chunks/{filesystem-56gdpj1q.js → image-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-6nqryyh5.js → image-1ypajzm3.js} +35 -35
- package/dist/chunks/{filesystem-zfs8ae4p.js → image-21tvpp2c.js} +4 -4
- package/dist/chunks/{filesystem-drqqp3v9.js → image-28n5w14t.js} +27 -27
- package/dist/chunks/{filesystem-2a5m3afh.js → image-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-82sy2mg5.js → image-2vb0m4sa.js} +4 -4
- package/dist/chunks/{filesystem-m4fxjmpc.js → image-2wv53gaq.js} +9 -9
- package/dist/chunks/{filesystem-dxn0tv1e.js → image-2y53w5jf.js} +19 -19
- package/dist/chunks/{filesystem-sew9t773.js → image-2z5cr914.js} +13 -13
- package/dist/chunks/{filesystem-b3pp9b5c.js → image-2z8cmg4f.js} +48 -48
- package/dist/chunks/{filesystem-h125g6et.js → image-30af84ad.js} +2 -2
- package/dist/chunks/{filesystem-h2b79v29.js → image-3cegwx68.js} +2 -2
- package/dist/chunks/{filesystem-b68vaz6m.js → image-3eqhsn6r.js} +13 -13
- package/dist/chunks/{filesystem-3fc6dm20.js → image-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-3hepkmqq.js → image-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-zt3hkk6n.js → image-3pt18ddt.js} +20 -20
- package/dist/chunks/{filesystem-y0cyrr97.js → image-3qbdf9ts.js} +9 -9
- package/dist/chunks/{filesystem-3smtnn6g.js → image-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-zfd6e9bj.js → image-3t8d2924.js} +12 -12
- package/dist/chunks/{filesystem-3tvqynh2.js → image-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-nkbqs3g6.js → image-3ykdjwsk.js} +6 -6
- package/dist/chunks/{filesystem-45jk3jnj.js → image-3yqb6p60.js} +13 -13
- package/dist/chunks/{filesystem-3zsf4n22.js → image-3zsf4n22.js} +1 -1
- package/dist/chunks/{filesystem-mv8b8kps.js → image-416yb7k1.js} +6 -6
- package/dist/chunks/{filesystem-yvxbrs33.js → image-42497aj7.js} +9 -9
- package/dist/chunks/{filesystem-espax8zg.js → image-44ak30pa.js} +4 -4
- package/dist/chunks/{filesystem-2kn5e7ew.js → image-4npmrd5n.js} +10 -10
- package/dist/chunks/{filesystem-4ts7tf6z.js → image-4ts7tf6z.js} +2 -2
- package/dist/chunks/{filesystem-2q1phy68.js → image-4wg1qszp.js} +41 -41
- package/dist/chunks/{filesystem-g4kgyb8v.js → image-4wrkd8nn.js} +11 -11
- package/dist/chunks/{filesystem-pn1pz4vq.js → image-4xxx3g7n.js} +13 -13
- package/dist/chunks/{filesystem-54ma36ye.js → image-54ma36ye.js} +1 -1
- package/dist/chunks/{filesystem-xen5jtsa.js → image-5a1rh38j.js} +1 -1
- package/dist/chunks/{filesystem-5daktx2q.js → image-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-8mjme096.js → image-5em88vt3.js} +9 -9
- package/dist/chunks/{filesystem-78darpkf.js → image-5f3byeqc.js} +2 -2
- package/dist/chunks/{filesystem-bex1x4zy.js → image-5nwak147.js} +1 -1
- package/dist/chunks/{filesystem-5t3nmthw.js → image-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-jvnkzp89.js → image-5vw7j8zj.js} +11 -11
- package/dist/chunks/{filesystem-38a9mec5.js → image-65h3y7s4.js} +24 -24
- package/dist/chunks/{filesystem-669tq793.js → image-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-e2ecsfnz.js → image-6ajmbb10.js} +11 -11
- package/dist/chunks/{filesystem-p1qa6xf0.js → image-6bcqaf1k.js} +5 -5
- package/dist/chunks/{filesystem-wk58j6tm.js → image-6dher0rp.js} +24 -24
- package/dist/chunks/{filesystem-q9tf20sz.js → image-6dz2y33h.js} +7 -7
- package/dist/chunks/{filesystem-ym8tb199.js → image-6kxx5nj2.js} +9 -9
- package/dist/chunks/{filesystem-ps5mjhzb.js → image-6mq306kf.js} +10 -10
- package/dist/chunks/{filesystem-3pv6zzd2.js → image-6n84hwn8.js} +24 -24
- package/dist/chunks/{filesystem-7bmhse3q.js → image-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-0jnt77nz.js → image-7c6s17vd.js} +13 -13
- package/dist/chunks/{filesystem-bkn7p5q5.js → image-7w85bd0v.js} +13 -13
- package/dist/chunks/{filesystem-qpb5c1z6.js → image-7xefxa1b.js} +18 -18
- package/dist/chunks/{filesystem-pm8b6h9m.js → image-801vz39t.js} +22 -22
- package/dist/chunks/{filesystem-1dvck2a7.js → image-84h8c373.js} +2 -2
- package/dist/chunks/{filesystem-w1eejvng.js → image-84txncab.js} +5 -5
- package/dist/chunks/{filesystem-eafe18m5.js → image-88586yk8.js} +10 -10
- package/dist/chunks/{filesystem-8d7r5vzw.js → image-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-kjfdeayr.js → image-8mfdap3f.js} +8 -8
- package/dist/chunks/{filesystem-8f26ydmn.js → image-8qeptwcf.js} +40 -40
- package/dist/chunks/{filesystem-t6vsspdg.js → image-8rqycdgd.js} +4 -4
- package/dist/chunks/{filesystem-b4twkq7r.js → image-8sze2n9a.js} +2 -2
- package/dist/chunks/{filesystem-c8bydgjz.js → image-909p1r3q.js} +6 -6
- package/dist/chunks/{filesystem-31181pcg.js → image-97q8t400.js} +71 -71
- package/dist/chunks/{filesystem-pkrc5xvy.js → image-9gtf3fja.js} +12 -12
- package/dist/chunks/{filesystem-5eefmsp7.js → image-9gtn0d49.js} +14 -14
- package/dist/chunks/{filesystem-jgqxxj2j.js → image-9s8yzpye.js} +16 -16
- package/dist/chunks/image-9sh4wc5j.js +18 -0
- package/dist/chunks/{filesystem-8fvnpy6c.js → image-9tcd6kf4.js} +11 -11
- package/dist/chunks/{filesystem-7tmatsbb.js → image-9w6z1msx.js} +10 -10
- package/dist/chunks/{filesystem-fzrnca5p.js → image-9y4fyvj9.js} +15 -15
- package/dist/chunks/{filesystem-a1gpj94z.js → image-a1gpj94z.js} +1 -1
- package/dist/chunks/{filesystem-py70tdg1.js → image-a6ty810w.js} +3 -3
- package/dist/chunks/{filesystem-e53c762s.js → image-aa1twyr9.js} +4 -4
- package/dist/chunks/{filesystem-aaet6srn.js → image-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-addxnjmp.js → image-addxnjmp.js} +1 -1
- package/dist/chunks/{filesystem-qhrb4a35.js → image-aeknpwjp.js} +22 -22
- package/dist/chunks/{filesystem-ennymmbt.js → image-aesyxyae.js} +18 -18
- package/dist/chunks/{filesystem-4r8zejwp.js → image-ahzha35r.js} +15 -15
- package/dist/chunks/{filesystem-yb9gdvbw.js → image-ans8dmj5.js} +33 -33
- package/dist/chunks/{filesystem-awtjdqmz.js → image-ax8wm56r.js} +29 -29
- package/dist/chunks/{filesystem-fsvjw6z4.js → image-azqq1d0c.js} +11 -11
- package/dist/chunks/{filesystem-fyhjcypg.js → image-b0fxdq5g.js} +18 -18
- package/dist/chunks/{filesystem-b6gygkdw.js → image-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-9dsgt9ga.js → image-besg32kx.js} +20 -20
- package/dist/chunks/{filesystem-xn8gay62.js → image-bn712fd7.js} +12 -12
- package/dist/chunks/{filesystem-zrh84zxt.js → image-btxt8gzs.js} +11 -11
- package/dist/chunks/{filesystem-s7j8m5w2.js → image-c61xtve1.js} +13 -13
- package/dist/chunks/{filesystem-kwjc5r28.js → image-ca74j1r2.js} +4 -4
- package/dist/chunks/{filesystem-j4gdhs7y.js → image-ccvzzz8a.js} +9 -9
- package/dist/chunks/{filesystem-12sp09rz.js → image-cemmg988.js} +129 -129
- package/dist/chunks/{filesystem-j8k5ysy1.js → image-ck81h70z.js} +22 -22
- package/dist/chunks/{filesystem-thsy2857.js → image-czzmkzgf.js} +3 -3
- package/dist/chunks/image-d7cq9ezy.js +507 -0
- package/dist/chunks/{filesystem-vr5k2d26.js → image-dasd50vc.js} +1 -1
- package/dist/chunks/{filesystem-5kvqrqtt.js → image-dbv05mm3.js} +4 -4
- package/dist/chunks/{filesystem-5jy0kct7.js → image-dfzt7k9z.js} +13 -13
- package/dist/chunks/{filesystem-gf17gtxz.js → image-dhs430jm.js} +7 -7
- package/dist/chunks/{filesystem-nn8fb7t6.js → image-dhwpmhdd.js} +6 -6
- package/dist/chunks/{filesystem-qmqgtz8f.js → image-djszqvmq.js} +9 -9
- package/dist/chunks/{filesystem-dwetzd9n.js → image-dmdxn4pm.js} +18 -18
- package/dist/chunks/{filesystem-xkntkrq7.js → image-dmqcgk4z.js} +5 -5
- package/dist/chunks/{filesystem-dpkg50ah.js → image-dpkg50ah.js} +1 -1
- package/dist/chunks/{filesystem-wh6zw745.js → image-dssbfrwz.js} +5 -5
- package/dist/chunks/{filesystem-tk8x1hm1.js → image-e2s36tnm.js} +7 -7
- package/dist/chunks/{filesystem-9z7zeshw.js → image-e425rb6v.js} +18 -18
- package/dist/chunks/{filesystem-ef5x83kb.js → image-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-pbt1jtcc.js → image-ejsrhqvc.js} +3 -3
- package/dist/chunks/{filesystem-hz0mfcnp.js → image-ep0fakv4.js} +3 -3
- package/dist/chunks/{filesystem-etq0c3wd.js → image-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-5nv1sxm7.js → image-f0c8m7at.js} +8 -8
- package/dist/chunks/{filesystem-acdp6s4z.js → image-f4kf9m1y.js} +17 -17
- package/dist/chunks/{filesystem-axs6pdy0.js → image-f62qkzqr.js} +5 -5
- package/dist/chunks/{filesystem-71az546q.js → image-f75zav2x.js} +2 -2
- package/dist/chunks/{filesystem-2gqdvf5a.js → image-f9t2jyhr.js} +8 -8
- package/dist/chunks/{filesystem-9z5f2m0a.js → image-fqkjn7y7.js} +1 -1
- package/dist/chunks/{filesystem-gd4qta3r.js → image-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-dyehecrw.js → image-h0dk06es.js} +22 -22
- package/dist/chunks/{filesystem-gz5xbxw7.js → image-h53jngsn.js} +10 -10
- package/dist/chunks/{filesystem-wbg99yep.js → image-h6h0qx3d.js} +32 -32
- package/dist/chunks/{filesystem-h6vf3j39.js → image-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-xt1atnrg.js → image-hhgjswkb.js} +3 -3
- package/dist/chunks/{filesystem-kzarbxz4.js → image-hm9hwmm7.js} +30 -30
- package/dist/chunks/{filesystem-cwbdp38r.js → image-j3r0htje.js} +2 -2
- package/dist/chunks/{filesystem-j56e64zr.js → image-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-p8ssyvcj.js → image-j8me8hvw.js} +30 -30
- package/dist/chunks/{filesystem-snf1tfdw.js → image-j8s9ab9g.js} +6 -6
- package/dist/chunks/{filesystem-t2haz5gh.js → image-j9xcz2tx.js} +32 -32
- package/dist/chunks/{filesystem-9d45qq6m.js → image-jdzgxeqc.js} +21 -21
- package/dist/chunks/{filesystem-78spbjhq.js → image-jeewpkja.js} +16 -16
- package/dist/chunks/{filesystem-bpbp8hpr.js → image-jmfmmy6v.js} +25 -25
- package/dist/chunks/{filesystem-f9skksj2.js → image-jnbzx70p.js} +32 -32
- package/dist/chunks/{filesystem-6n7seegv.js → image-jtcz6fmx.js} +11 -11
- package/dist/chunks/{filesystem-eagghdma.js → image-jza4j236.js} +13 -13
- package/dist/chunks/{filesystem-v9wwnm74.js → image-jzsdzy65.js} +16 -16
- package/dist/chunks/{filesystem-cj3ra4xv.js → image-jzt42scw.js} +26 -26
- package/dist/chunks/{filesystem-6td2m5pa.js → image-k17pjak8.js} +16 -16
- package/dist/chunks/{filesystem-4a0nv7mx.js → image-k1gkpfdk.js} +4 -4
- package/dist/chunks/{filesystem-7ktbgdd3.js → image-k5kkq75a.js} +6 -6
- package/dist/chunks/{filesystem-k70p9jzb.js → image-k70p9jzb.js} +2 -2
- package/dist/chunks/image-k9hpsh7n.js +26 -0
- package/dist/chunks/{filesystem-9e5bzkjp.js → image-kb9j3d72.js} +3 -3
- package/dist/chunks/{filesystem-bqnke3pc.js → image-kt0esg8p.js} +9 -9
- package/dist/chunks/{filesystem-jp81aqv7.js → image-kv97enbb.js} +33 -33
- package/dist/chunks/{filesystem-mjymc32g.js → image-kvvk39gs.js} +4 -4
- package/dist/chunks/{filesystem-da2yvjyp.js → image-kww3qs6q.js} +21 -21
- package/dist/chunks/{filesystem-9k8khh75.js → image-ky6yw5g0.js} +12 -12
- package/dist/chunks/{filesystem-m3fdjcah.js → image-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-bjwetsb5.js → image-m72vf2gd.js} +10 -10
- package/dist/chunks/{filesystem-2apkwqsb.js → image-m96306pw.js} +10 -10
- package/dist/chunks/{filesystem-m9w0rfyh.js → image-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-hrd6cbb0.js → image-mc1xwb8r.js} +15 -15
- package/dist/chunks/{filesystem-cykga7bk.js → image-mff15jza.js} +13 -13
- package/dist/chunks/{filesystem-msp0qmja.js → image-mjh3e1an.js} +11 -11
- package/dist/chunks/{filesystem-dyyz5283.js → image-mqxcq9ag.js} +6 -6
- package/dist/chunks/{filesystem-68dcddmz.js → image-mqzwkyay.js} +6 -6
- package/dist/chunks/{filesystem-n1n192bv.js → image-n1n192bv.js} +1 -1
- package/dist/chunks/{filesystem-7wx2pc4d.js → image-nbmzwga5.js} +25 -25
- package/dist/chunks/{filesystem-1rpgv84q.js → image-nhvya3p1.js} +20 -20
- package/dist/chunks/{filesystem-nqxj0yn4.js → image-nqxj0yn4.js} +2 -2
- package/dist/chunks/{filesystem-ns3eape4.js → image-ns3eape4.js} +1 -1
- package/dist/chunks/{filesystem-6xzq5fa6.js → image-nxdkcg0t.js} +3 -3
- package/dist/chunks/{filesystem-cmwkp3r5.js → image-p37cw4rj.js} +8 -8
- package/dist/chunks/{filesystem-dkbsewq8.js → image-p4rtc4a0.js} +16 -16
- package/dist/chunks/{filesystem-w69xzprf.js → image-p6mn5kpz.js} +17 -17
- package/dist/chunks/{filesystem-tqhhq86f.js → image-pcf5kfm0.js} +11 -11
- package/dist/chunks/{filesystem-pjvnvgmy.js → image-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → image-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-ptnpxtm5.js → image-pm8wv035.js} +22 -22
- package/dist/chunks/{filesystem-5jtj29cv.js → image-pttj84yp.js} +32 -32
- package/dist/chunks/{filesystem-a08sk1xf.js → image-pwy55j0r.js} +26 -26
- package/dist/chunks/{filesystem-2ycn1y7x.js → image-px9wmdnb.js} +10 -10
- package/dist/chunks/{filesystem-q0xm7vwc.js → image-q0xm7vwc.js} +2 -2
- package/dist/chunks/{filesystem-eh93c3s7.js → image-q2yq2gjj.js} +9 -9
- package/dist/chunks/{filesystem-cdmtew64.js → image-q52fpcke.js} +10 -10
- package/dist/chunks/{filesystem-pv8gv9eh.js → image-q5ngfwmn.js} +28 -28
- package/dist/chunks/{filesystem-ts3jh11f.js → image-q9wfmdme.js} +11 -11
- package/dist/chunks/{filesystem-gx4wbphy.js → image-qdhtzqa2.js} +8 -8
- package/dist/chunks/{filesystem-7dqw4kz8.js → image-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-qnc92qwc.js → image-qnc92qwc.js} +1 -1
- package/dist/chunks/{filesystem-2w3n3m8j.js → image-qq8ybhxb.js} +8 -8
- package/dist/chunks/{filesystem-qsdy395h.js → image-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-n3ryxqmw.js → image-qv7mm2ys.js} +9 -9
- package/dist/chunks/{filesystem-ar1hqry0.js → image-qwzhw6b4.js} +8 -8
- package/dist/chunks/{filesystem-778v1p37.js → image-r8evdm5r.js} +23 -23
- package/dist/chunks/{filesystem-qrn3jd90.js → image-rbprr21d.js} +41 -41
- package/dist/chunks/{filesystem-b4vpaca7.js → image-rcs4n31g.js} +46 -46
- package/dist/chunks/{filesystem-rdw6cm16.js → image-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-qr2vfm7c.js → image-rfkpwr2j.js} +13 -13
- package/dist/chunks/{filesystem-fxbx2n37.js → image-rm42a5p7.js} +38 -38
- package/dist/chunks/{filesystem-2e1yz4t0.js → image-rnr5nq63.js} +15 -15
- package/dist/chunks/{filesystem-zc5g640q.js → image-rrpq0de9.js} +5 -5
- package/dist/chunks/{filesystem-a9rbwxzk.js → image-rydwr5yq.js} +14 -14
- package/dist/chunks/{filesystem-5mb7ck5g.js → image-rz9jawm0.js} +10 -10
- package/dist/chunks/{filesystem-s8d7rejh.js → image-s8d7rejh.js} +1 -1
- package/dist/chunks/{filesystem-91vxggq8.js → image-s9qk69v9.js} +24 -24
- package/dist/chunks/{filesystem-zyk1yjk8.js → image-scgrse2b.js} +5 -5
- package/dist/chunks/{filesystem-scqv88yq.js → image-sqd8sfd6.js} +40 -40
- package/dist/chunks/{filesystem-c8fjvqma.js → image-srfcfy2e.js} +7 -7
- package/dist/chunks/{filesystem-2zadq5g7.js → image-ssw4eee2.js} +12 -12
- package/dist/chunks/{filesystem-3y96te51.js → image-sw6reqhd.js} +28 -28
- package/dist/chunks/{filesystem-h9g3g433.js → image-swz9yf49.js} +31 -31
- package/dist/chunks/{filesystem-c4yrfsg4.js → image-t01ha5fv.js} +9 -9
- package/dist/chunks/{filesystem-6ey4jt7g.js → image-t5y568kv.js} +11 -11
- package/dist/chunks/{filesystem-3xy3xwp7.js → image-t6v32j07.js} +8 -8
- package/dist/chunks/{filesystem-r2jew814.js → image-t71v2ka4.js} +5 -5
- package/dist/chunks/{filesystem-tazgh4e4.js → image-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-53dbz2qs.js → image-tbnnfq83.js} +23 -23
- package/dist/chunks/{filesystem-tcezcvh9.js → image-tcezcvh9.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → image-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-qbqbaz6q.js → image-tjedn1bk.js} +4 -4
- package/dist/chunks/{filesystem-9q4c8q0k.js → image-tke1j2mf.js} +32 -32
- package/dist/chunks/{filesystem-nrrs8pkn.js → image-ttswb5c4.js} +11 -11
- package/dist/chunks/{filesystem-eaa81kvs.js → image-ttxcsnx6.js} +25 -25
- package/dist/chunks/{filesystem-ssxp0zwz.js → image-tv99pcdp.js} +4 -4
- package/dist/chunks/{filesystem-0h4w2jpr.js → image-tz7vcdn8.js} +16 -16
- package/dist/chunks/{filesystem-v0es1rhs.js → image-v0es1rhs.js} +2 -2
- package/dist/chunks/{filesystem-z9gshpcf.js → image-v30ksjc9.js} +33 -33
- package/dist/chunks/{filesystem-c1rs4prt.js → image-v310650k.js} +3 -3
- package/dist/chunks/{filesystem-vzjemywg.js → image-v9s4hws0.js} +20 -20
- package/dist/chunks/image-vc89bnvz.js +253 -0
- package/dist/chunks/{filesystem-veqvce7d.js → image-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-6tqa78yj.js → image-vf6bps2h.js} +3 -3
- package/dist/chunks/{filesystem-fn3q1e6y.js → image-vh0kh8n7.js} +3 -3
- package/dist/chunks/{filesystem-58tv462p.js → image-vkkt5te1.js} +11 -11
- package/dist/chunks/{filesystem-dhcb13vn.js → image-vzbxwz1d.js} +11 -11
- package/dist/chunks/{filesystem-vzcthcp8.js → image-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-vzs5sf6e.js → image-vzs5sf6e.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → image-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-m7a2mh30.js → image-w4p6zx7p.js} +21 -21
- package/dist/chunks/{filesystem-b57xqxwy.js → image-w9b9h2fr.js} +22 -22
- package/dist/chunks/{filesystem-w8djw5a7.js → image-w9vf9qqj.js} +9 -9
- package/dist/chunks/{filesystem-z850ddpp.js → image-wabv6zcf.js} +18 -18
- package/dist/chunks/{filesystem-wd87259q.js → image-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-x1ezjp6w.js → image-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-5r28c85n.js → image-x56pwdce.js} +10 -10
- package/dist/chunks/{filesystem-143r6mr8.js → image-xbkfksat.js} +35 -35
- package/dist/chunks/{filesystem-g5w8qwbj.js → image-xfkkasph.js} +4 -4
- package/dist/chunks/{filesystem-qxjc9qry.js → image-xyafkbt0.js} +3 -3
- package/dist/chunks/{filesystem-8wn17bgt.js → image-xzemz1mp.js} +11 -11
- package/dist/chunks/{filesystem-y1fvbwt7.js → image-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-gv6xq7ga.js → image-yd14hhn6.js} +20 -20
- package/dist/chunks/{filesystem-hz0q9sdq.js → image-yf10kn3d.js} +8 -8
- package/dist/chunks/{filesystem-2n81hgv1.js → image-yh4t3zdw.js} +4 -4
- package/dist/chunks/{filesystem-yrhqyw5v.js → image-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-z0bkrqjs.js → image-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-4jpz076h.js → image-z8v9jae5.js} +11 -11
- package/dist/chunks/{filesystem-80zwctzz.js → image-z8ye16b1.js} +20 -20
- package/dist/chunks/{filesystem-d4sssd0r.js → image-zb1e6psc.js} +1 -1
- package/dist/chunks/{filesystem-hrs77wz1.js → image-zmnekn2y.js} +18 -18
- package/dist/chunks/{filesystem-kwqjewqr.js → image-zntmvw6r.js} +75 -75
- package/dist/chunks/{filesystem-887wtq38.js → image-zpf8gqaa.js} +25 -25
- package/dist/chunks/{filesystem-hbayhptd.js → image-zq8gz19f.js} +20 -20
- package/dist/chunks/{filesystem-zr2ceqn5.js → image-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-03xyy9gs.js → image-zsrjdhgv.js} +8 -8
- package/dist/chunks/{filesystem-82qs4kd9.js → image-zt6rd191.js} +2 -2
- package/dist/chunks/{filesystem-anshh03w.js → image-zvma4j48.js} +6 -6
- package/dist/chunks/{filesystem-dhmh7aw6.js → image-zvt5dnpc.js} +4 -4
- package/dist/chunks/{filesystem-zxq2ej10.js → image-zxq2ej10.js} +1 -1
- 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 +83 -83
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- 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 +77 -77
- 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 +95 -95
- 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 +218 -218
- 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 +102 -102
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +1 -1
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +81 -81
- 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 +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- 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 +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +3 -3
- 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 +7 -7
- 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 +115 -115
- 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 +76 -76
- 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 +346 -346
- 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 +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +93 -93
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +154 -154
- 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 +79 -79
- 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 +1 -1
- 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 +224 -224
- 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 +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- 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 +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +204 -204
- package/dist/session/usage.js +1 -1
- package/dist/session.js +207 -207
- 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 +132 -132
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +128 -128
- 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 +124 -124
- 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 +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +110 -110
- 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 +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/filesystem-906zpy71.js +0 -507
- package/dist/chunks/filesystem-ctefx7dc.js +0 -18
- package/dist/chunks/filesystem-q0w5zgnd.js +0 -26
- package/dist/chunks/filesystem-rswcn97f.js +0 -253
- /package/dist/chunks/{filesystem-0qkdqm5v.js → image-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → image-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → image-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → image-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → image-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → image-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → image-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → image-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → image-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-34c7v6d4.js → image-34c7v6d4.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → image-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → image-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3t0ybcrp.js → image-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → image-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → image-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → image-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → image-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → image-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → image-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → image-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → image-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → image-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → image-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → image-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → image-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → image-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → image-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → image-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → image-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-8wj87zfr.js → image-8wj87zfr.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → image-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → image-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → image-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → image-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → image-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → image-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-arz7hw7x.js → image-arz7hw7x.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → image-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → image-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → image-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → image-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → image-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → image-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → image-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → image-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → image-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → image-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → image-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → image-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → image-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → image-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → image-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → image-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → image-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → image-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → image-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → image-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → image-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → image-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → image-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → image-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → image-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → image-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → image-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → image-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → image-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → image-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → image-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → image-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → image-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → image-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → image-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → image-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → image-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → image-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → image-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → image-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → image-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → image-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → image-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → image-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → image-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → image-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → image-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → image-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → image-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → image-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → image-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → image-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → image-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → image-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → image-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → image-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → image-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → image-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → image-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z5v4ffb3.js → image-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → image-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin17,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin17 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin49 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin17, exports_identity };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-a6ty810w.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-0q9kf5tv.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node55
|
|
12
|
+
} from "./image-9s8yzpye.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service46,
|
|
15
|
+
node48
|
|
16
|
+
} from "./image-909p1r3q.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./image-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make17
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./image-1acjjqhc.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service44
|
|
26
|
+
} from "./image-zvt5dnpc.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service67,
|
|
29
|
+
node71
|
|
30
|
+
} from "./image-bn712fd7.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./image-0ze6xpc4.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./image-2y53w5jf.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./image-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service43,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
46
|
layer: () => layer18,
|
|
47
|
-
node: () =>
|
|
47
|
+
node: () => node46,
|
|
48
48
|
noopLayer: () => noopLayer2,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service43 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var layer18 = Layer.effect(
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer18 = Layer.effect(Service43, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service67;
|
|
64
|
+
const instances = yield* Service46;
|
|
65
65
|
const bus = yield* Service83;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service52;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service44.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service45, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
126
|
+
var node46 = makeGlobalNode({
|
|
127
|
+
service: Service43,
|
|
128
128
|
layer: layer18,
|
|
129
|
-
deps: [
|
|
129
|
+
deps: [node71, node48, node87, node88, node55]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer2 = Layer.succeed(
|
|
131
|
+
var noopLayer2 = Layer.succeed(Service43, Service43.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer2 = Layer.succeed(Service45, Service45.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service43, terminal2, layer18, node46, noopLayer2, exports_execution };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-0q9kf5tv.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-z5v4ffb3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-5f3byeqc.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./image-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node74
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service70 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,7 +39,7 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
42
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
43
43
|
const bus = yield* Service83;
|
|
44
44
|
const location = yield* Service80;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
@@ -123,9 +123,9 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service70.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node87, node84] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service70, node74, exports_rpc, define2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./image-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-rrpq0de9.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./image-5f3byeqc.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./image-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./image-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error4,
|
|
26
|
+
ID: () => ID6,
|
|
27
|
+
Service: () => Service55,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node58,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,18 +34,18 @@ 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 ID6 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error4 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service55 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error4({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error4({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID6.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error4({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error4({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service55.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node58 = makeLocationNode({
|
|
144
|
+
service: Service55,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service55, Service55.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(Service50, Service50.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error4 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error4({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID6, Error4, Service55, node58, noopLayer3, exports_snapshot2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./image-jdzgxeqc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service59;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service61,
|
|
3
|
+
node65
|
|
4
|
+
} from "./image-sw6reqhd.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
7
|
removed2,
|
|
8
8
|
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./image-s8d7rejh.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./image-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service26,
|
|
20
|
+
node: () => node29
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,11 +57,11 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service26 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service61;
|
|
64
|
+
return Service26.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node29 = makeLocationNode({ service: Service26, layer, deps: [node65] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service26, node29, exports_instructions2 };
|
|
@@ -1,80 +1,80 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-a6ty810w.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-0q9kf5tv.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service46
|
|
9
|
+
} from "./image-909p1r3q.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./image-j8s9ab9g.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./image-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service67
|
|
29
|
+
} from "./image-bn712fd7.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
Service47
|
|
34
|
-
} from "./filesystem-dxn0tv1e.js";
|
|
35
|
-
import {
|
|
36
33
|
Service45
|
|
37
|
-
} from "./
|
|
34
|
+
} from "./image-2y53w5jf.js";
|
|
35
|
+
import {
|
|
36
|
+
Service43
|
|
37
|
+
} from "./image-tke1j2mf.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./image-rydwr5yq.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./image-besg32kx.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./image-3qbdf9ts.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./image-t01ha5fv.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./image-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make13
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
65
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
66
|
const bus = yield* Service83;
|
|
67
67
|
const database = yield* Service84;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
68
|
+
const store = yield* Service67;
|
|
69
|
+
const instances = yield* Service46;
|
|
70
|
+
const execution = yield* Service43;
|
|
71
|
+
const admission = yield* Service45;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
75
|
const session = yield* store.get(sessionID);
|
|
76
76
|
if (!session)
|
|
77
|
-
return yield* new
|
|
77
|
+
return yield* new NotFoundError9({ sessionID });
|
|
78
78
|
return session;
|
|
79
79
|
});
|
|
80
80
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service46, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service46, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service46, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service46, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make13, exports_session2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-p4rtc4a0.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./image-416yb7k1.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|