@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
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-0q9kf5tv.js";
|
|
6
6
|
import {
|
|
7
7
|
Key3,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
10
|
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./image-s8d7rejh.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-z5v4ffb3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./image-rdw6cm16.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./image-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event14,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options10,
|
|
30
|
+
Service: () => Service71,
|
|
31
|
+
configured: () => configured11,
|
|
32
|
+
layer: () => layer24,
|
|
33
|
+
node: () => node75
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key3.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event14 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options10 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service71 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer24 = (options) => Layer.effect(Service71, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service83;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,7 +72,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event14.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
77
|
const source = (value) => make21({
|
|
78
78
|
key,
|
|
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service71.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured11(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service71,
|
|
110
|
+
layer: layer24(options),
|
|
111
111
|
deps: [node87]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node75 = configured11();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event14, Options10, Service71, layer24, configured11, node75, exports_instruction_discovery };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-qnc92qwc.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service83,
|
|
4
4
|
node87
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./image-0q9kf5tv.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./image-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service3,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node4
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service3 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service3, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service83;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service3.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node4 = makeGlobalNode({ service: Service3, layer: layer4, deps: [node87] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service3, layer4, node4, exports_sdk };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-1ygqh575.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./image-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin8,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint6
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint6 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin8 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin36 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint6);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint6, Plugin8, exports_exa };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID10,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./image-0w122yxh.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./image-zpf8gqaa.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./image-rm42a5p7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./image-arz7hw7x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service52
|
|
18
|
+
} from "./image-9s8yzpye.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./image-1ypajzm3.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service24
|
|
25
|
+
} from "./image-zntmvw6r.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./image-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./image-9tcd6kf4.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./image-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output3,
|
|
41
|
+
Plugin: () => Plugin19,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input5 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output3 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin19 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service24;
|
|
93
|
+
const jobs = yield* Service52;
|
|
94
|
+
const agents = yield* Service69;
|
|
95
|
+
const config = yield* Service40;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service75;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin25 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description3,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output3,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin25 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name3, Input3, Output3, description3, Plugin19, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command4 = {};
|
|
7
7
|
__export(exports_command4, {
|
|
8
8
|
ConfigCommandV1: () => exports_command4,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info7
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info7 = 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 Info9 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info7, exports_command4 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./image-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: () => Service46,
|
|
10
|
+
node: () => node48
|
|
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 Service46 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node48 = LayerNode.unbound(Service46, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service46, node48, exports_service2 };
|