@opencode/core 0.0.0-dev-20533 → 0.0.0-dev-20534
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{image-1ypajzm3.js → config-08yy0avz.js} +41 -41
- package/dist/chunks/{image-q0xm7vwc.js → config-0j77ygfz.js} +6 -6
- package/dist/chunks/{image-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-0vbcp93d.js → config-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-9s8yzpye.js → config-0zhyqgmg.js} +16 -16
- package/dist/chunks/{image-rbprr21d.js → config-11dh48zj.js} +49 -49
- package/dist/chunks/{image-jdzgxeqc.js → config-152s6pwn.js} +21 -21
- package/dist/chunks/{image-d7cq9ezy.js → config-1a56eczy.js} +290 -290
- package/dist/chunks/{image-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-84h8c373.js → config-1dvck2a7.js} +2 -2
- package/dist/chunks/{image-5nwak147.js → config-1m3h628y.js} +1 -1
- package/dist/chunks/{image-4npmrd5n.js → config-1msf33w2.js} +11 -11
- package/dist/chunks/{image-6bcqaf1k.js → config-1tte8357.js} +5 -5
- package/dist/chunks/{image-px9wmdnb.js → config-1vev1kdd.js} +13 -13
- package/dist/chunks/{image-w4p6zx7p.js → config-2166p4xx.js} +22 -22
- package/dist/chunks/{image-j8s9ab9g.js → config-22f357wt.js} +9 -9
- package/dist/chunks/{image-5em88vt3.js → config-26f3m8zn.js} +2 -2
- package/dist/chunks/{image-2z5cr914.js → config-273adbxq.js} +8 -8
- package/dist/chunks/{image-pttj84yp.js → config-28nn80cc.js} +32 -32
- package/dist/chunks/{image-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-4ts7tf6z.js → config-2ccvkpx1.js} +2 -2
- package/dist/chunks/{image-q52fpcke.js → config-2dq01dtx.js} +10 -10
- package/dist/chunks/{image-tbnnfq83.js → config-2fye62ny.js} +25 -25
- package/dist/chunks/{image-6kxx5nj2.js → config-2hhn4vcd.js} +15 -15
- package/dist/chunks/{image-pm8wv035.js → config-2jp203za.js} +24 -24
- package/dist/chunks/{image-kvvk39gs.js → config-2pnhn36q.js} +21 -21
- package/dist/chunks/{image-z8ye16b1.js → config-2wfpdqw9.js} +17 -17
- package/dist/chunks/{image-jzt42scw.js → config-2yxw0cy6.js} +26 -26
- package/dist/chunks/{image-0bzve7m2.js → config-33qp56xq.js} +3 -3
- package/dist/chunks/{image-wabv6zcf.js → config-3e18h1by.js} +6 -6
- package/dist/chunks/{image-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-1dawjks7.js → config-3v50kkzc.js} +10 -10
- package/dist/chunks/{image-mjh3e1an.js → config-3w3k7d6e.js} +11 -11
- package/dist/chunks/{image-mff15jza.js → config-3yhr9phv.js} +7 -7
- package/dist/chunks/{image-m72vf2gd.js → config-3zet0cgs.js} +14 -14
- package/dist/chunks/{image-jnbzx70p.js → config-3zng69e3.js} +24 -24
- package/dist/chunks/{image-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-3yqb6p60.js → config-4103bsjm.js} +13 -13
- package/dist/chunks/{image-k5kkq75a.js → config-425epnte.js} +6 -6
- package/dist/chunks/{image-dbv05mm3.js → config-44pdqs77.js} +4 -4
- package/dist/chunks/{image-tz7vcdn8.js → config-4qntt0re.js} +18 -18
- package/dist/chunks/{image-t01ha5fv.js → config-4w9z08xf.js} +9 -9
- package/dist/chunks/{image-jtcz6fmx.js → config-4zs4qwxc.js} +13 -13
- package/dist/chunks/{image-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{image-1ygqh575.js → config-56gdpj1q.js} +9 -9
- package/dist/chunks/{image-8mfdap3f.js → config-57e9z27j.js} +5 -5
- package/dist/chunks/{image-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{image-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-3pt18ddt.js → config-5tke5vcc.js} +17 -17
- package/dist/chunks/config-619r8v3y.js +18 -0
- package/dist/chunks/{image-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{image-3t8d2924.js → config-67wxv9g3.js} +10 -10
- package/dist/chunks/{image-zt6rd191.js → config-6djd4hw6.js} +2 -2
- package/dist/chunks/{image-2vb0m4sa.js → config-6fsenb1m.js} +4 -4
- package/dist/chunks/{image-zsrjdhgv.js → config-6h1ernme.js} +11 -11
- package/dist/chunks/{image-mqxcq9ag.js → config-6h3wybc7.js} +6 -6
- package/dist/chunks/{image-7w85bd0v.js → config-6ke7sn6j.js} +13 -13
- package/dist/chunks/{image-zmnekn2y.js → config-6t6sma4g.js} +25 -25
- package/dist/chunks/{image-nqxj0yn4.js → config-706phk7x.js} +2 -2
- package/dist/chunks/{image-f75zav2x.js → config-71az546q.js} +2 -2
- package/dist/chunks/{image-ccvzzz8a.js → config-7791qa0k.js} +9 -9
- package/dist/chunks/{image-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-j8me8hvw.js → config-7dk24xqw.js} +28 -28
- package/dist/chunks/{image-q5ngfwmn.js → config-7eavrcw3.js} +28 -28
- package/dist/chunks/{image-kv97enbb.js → config-7en76nbd.js} +33 -33
- package/dist/chunks/{image-7c6s17vd.js → config-7petkjk5.js} +13 -13
- package/dist/chunks/{image-ejsrhqvc.js → config-7zjdbvta.js} +3 -3
- package/dist/chunks/{image-3ykdjwsk.js → config-7zryb3w6.js} +6 -6
- package/dist/chunks/{image-84txncab.js → config-84txncab.js} +1 -1
- package/dist/chunks/{image-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-zntmvw6r.js → config-8dd049mz.js} +83 -83
- package/dist/chunks/{image-3qbdf9ts.js → config-8ep03z9b.js} +9 -9
- package/dist/chunks/{image-swz9yf49.js → config-8pbsyw6v.js} +15 -15
- package/dist/chunks/{image-8sze2n9a.js → config-8sze2n9a.js} +2 -2
- package/dist/chunks/{image-tjedn1bk.js → config-8tsdq50x.js} +4 -4
- package/dist/chunks/{image-ky6yw5g0.js → config-8yv66smy.js} +9 -9
- package/dist/chunks/{image-9y4fyvj9.js → config-93ehw481.js} +15 -15
- package/dist/chunks/{image-yd14hhn6.js → config-942wkfdx.js} +20 -20
- package/dist/chunks/{image-p4rtc4a0.js → config-96wa2rfw.js} +6 -6
- package/dist/chunks/{image-xzemz1mp.js → config-982twh0r.js} +11 -11
- package/dist/chunks/{image-6mq306kf.js → config-99v39pa8.js} +14 -14
- package/dist/chunks/{image-kb9j3d72.js → config-9e5bzkjp.js} +3 -3
- package/dist/chunks/{image-dhwpmhdd.js → config-9pe3dj47.js} +4 -4
- package/dist/chunks/{image-vf6bps2h.js → config-9syfwt2v.js} +3 -3
- package/dist/chunks/{image-s8d7rejh.js → config-9t7a50xb.js} +4 -4
- package/dist/chunks/{image-42497aj7.js → config-9trbnnmb.js} +9 -9
- package/dist/chunks/{image-nbmzwga5.js → config-9w7bvsxq.js} +19 -19
- package/dist/chunks/{image-4wg1qszp.js → config-a6gzke4f.js} +42 -42
- package/dist/chunks/{image-0w122yxh.js → config-a72mdkx4.js} +22 -22
- package/dist/chunks/{image-28n5w14t.js → config-a9xzcfbf.js} +24 -24
- package/dist/chunks/{image-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{image-jeewpkja.js → config-aawpemgr.js} +16 -16
- package/dist/chunks/{image-addxnjmp.js → config-addxnjmp.js} +1 -1
- package/dist/chunks/{image-1w4dgp74.js → config-aec9zen2.js} +14 -14
- package/dist/chunks/{image-h0dk06es.js → config-aja6r1ay.js} +17 -17
- package/dist/chunks/{image-rnr5nq63.js → config-av3f8rgc.js} +15 -15
- package/dist/chunks/{image-3eqhsn6r.js → config-azcp386p.js} +13 -13
- package/dist/chunks/{image-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-xbkfksat.js → config-b8nb9mmt.js} +19 -19
- package/dist/chunks/{image-azqq1d0c.js → config-b9b81nxh.js} +11 -11
- package/dist/chunks/{image-sqd8sfd6.js → config-bgctr62v.js} +37 -37
- package/dist/chunks/{image-x56pwdce.js → config-bh3q4rkt.js} +8 -8
- package/dist/chunks/{image-p37cw4rj.js → config-br0tr5aq.js} +8 -8
- package/dist/chunks/{image-h6h0qx3d.js → config-bsmgzwfa.js} +32 -32
- package/dist/chunks/{image-5f3byeqc.js → config-bynqbhm2.js} +2 -2
- package/dist/chunks/{image-zpf8gqaa.js → config-c4724183.js} +5 -5
- package/dist/chunks/{image-416yb7k1.js → config-cjn4ma4m.js} +4 -4
- package/dist/chunks/{image-djszqvmq.js → config-d4he2qe1.js} +9 -9
- package/dist/chunks/{image-ep0fakv4.js → config-d62nek0h.js} +1 -1
- package/dist/chunks/{image-30af84ad.js → config-d98j95nk.js} +2 -2
- package/dist/chunks/{image-dpkg50ah.js → config-dpkg50ah.js} +1 -1
- package/dist/chunks/{image-v30ksjc9.js → config-dr262xdz.js} +30 -30
- package/dist/chunks/{image-v310650k.js → config-dzbh4apr.js} +3 -3
- package/dist/chunks/{image-mqzwkyay.js → config-dzwk3h89.js} +4 -4
- package/dist/chunks/{image-5qd3pb7m.js → config-e3qxr5gk.js} +2 -2
- package/dist/chunks/{image-dhs430jm.js → config-e5d8wq4d.js} +7 -7
- package/dist/chunks/{image-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-9w6z1msx.js → config-efmb6h41.js} +8 -8
- package/dist/chunks/{image-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-88586yk8.js → config-ezfgasyb.js} +10 -10
- package/dist/chunks/{image-w9vf9qqj.js → config-f58gpcny.js} +9 -9
- package/dist/chunks/{image-801vz39t.js → config-fgm41tnp.js} +24 -24
- package/dist/chunks/{image-h53jngsn.js → config-fm3m0w0b.js} +8 -8
- package/dist/chunks/{image-fqkjn7y7.js → config-fmw4ha9g.js} +1 -1
- package/dist/chunks/{image-0nkbh456.js → config-g3xc01ec.js} +11 -11
- package/dist/chunks/{image-j9xcz2tx.js → config-g5ztpnme.js} +32 -32
- package/dist/chunks/{image-aesyxyae.js → config-g6cf5x0z.js} +18 -18
- package/dist/chunks/{image-ssw4eee2.js → config-g6wm352c.js} +12 -12
- package/dist/chunks/{image-t71v2ka4.js → config-gcavn3wx.js} +5 -5
- package/dist/chunks/{image-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-m96306pw.js → config-gh40whqf.js} +10 -10
- package/dist/chunks/{image-6dher0rp.js → config-gjb8h76y.js} +24 -24
- package/dist/chunks/{image-k17pjak8.js → config-gqbfxvtk.js} +16 -16
- package/dist/chunks/{image-dasd50vc.js → config-h0ay602x.js} +1 -1
- package/dist/chunks/{image-3cegwx68.js → config-h2b79v29.js} +2 -2
- package/dist/chunks/{image-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-n1n192bv.js → config-h9wp8z5w.js} +4 -4
- package/dist/chunks/{image-yh4t3zdw.js → config-hj7694bp.js} +2 -2
- package/dist/chunks/{image-6ajmbb10.js → config-hp8kg0yw.js} +11 -11
- package/dist/chunks/{image-15nepkqg.js → config-hpfvhvya.js} +8 -8
- package/dist/chunks/{image-vzbxwz1d.js → config-hvr28mne.js} +11 -11
- package/dist/chunks/{image-a6ty810w.js → config-hzav2eaw.js} +3 -3
- package/dist/chunks/{image-besg32kx.js → config-j1xc2fbc.js} +20 -20
- package/dist/chunks/{image-aeknpwjp.js → config-j2ky9r9a.js} +24 -24
- package/dist/chunks/{image-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{image-rydwr5yq.js → config-j6d506hw.js} +16 -16
- package/dist/chunks/{image-jmfmmy6v.js → config-jb0c5hrr.js} +24 -24
- package/dist/chunks/{image-sw6reqhd.js → config-jbe5j81w.js} +26 -26
- package/dist/chunks/{image-w9b9h2fr.js → config-jc97knsw.js} +24 -24
- package/dist/chunks/{image-rcs4n31g.js → config-jfjpqnhv.js} +46 -46
- package/dist/chunks/{image-8rqycdgd.js → config-jfqtm2ew.js} +7 -7
- package/dist/chunks/{image-vh0kh8n7.js → config-jwpx33kn.js} +1 -1
- package/dist/chunks/{image-qwzhw6b4.js → config-k2a1hwxc.js} +6 -6
- package/dist/chunks/{image-97q8t400.js → config-ktdzgs7s.js} +68 -68
- package/dist/chunks/config-kzf9nnvx.js +253 -0
- package/dist/chunks/{image-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-dmdxn4pm.js → config-m5k532tk.js} +18 -18
- package/dist/chunks/{image-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-zb1e6psc.js → config-mdqmmg5h.js} +1 -1
- package/dist/chunks/{image-zq8gz19f.js → config-mevpmkqx.js} +13 -13
- package/dist/chunks/{image-czzmkzgf.js → config-mmz9dvg3.js} +3 -3
- package/dist/chunks/{image-9tcd6kf4.js → config-mtdva1qy.js} +11 -11
- package/dist/chunks/{image-a1gpj94z.js → config-mvfsc1pv.js} +3 -3
- package/dist/chunks/{image-arz7hw7x.js → config-n7d88tpn.js} +3 -3
- package/dist/chunks/{image-0bwnrbmb.js → config-n8vdnqrc.js} +5 -5
- package/dist/chunks/{image-btxt8gzs.js → config-ncc5c4y3.js} +12 -12
- package/dist/chunks/{image-cemmg988.js → config-ndb5mcf5.js} +120 -120
- package/dist/chunks/{image-65h3y7s4.js → config-ng2gaq78.js} +26 -26
- package/dist/chunks/{image-j3r0htje.js → config-nq9bxq7e.js} +2 -2
- package/dist/chunks/{image-8qeptwcf.js → config-nwq0hrd2.js} +40 -40
- package/dist/chunks/{image-5a1rh38j.js → config-nx00dghm.js} +1 -1
- package/dist/chunks/{image-nxdkcg0t.js → config-p1n36tyd.js} +3 -3
- package/dist/chunks/{image-ans8dmj5.js → config-p53k5ct8.js} +23 -23
- package/dist/chunks/{image-zvma4j48.js → config-pfe2pgff.js} +6 -6
- package/dist/chunks/{image-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{image-v9s4hws0.js → config-pkr8ke0k.js} +20 -20
- package/dist/chunks/{image-f4kf9m1y.js → config-ps0tqvyq.js} +20 -20
- package/dist/chunks/{image-9gtf3fja.js → config-psafj5a7.js} +5 -5
- package/dist/chunks/{image-0q9kf5tv.js → config-pszp576s.js} +4 -4
- package/dist/chunks/{image-z8v9jae5.js → config-pyje2r1j.js} +7 -7
- package/dist/chunks/{image-9gtn0d49.js → config-q2vggat9.js} +14 -14
- package/dist/chunks/{image-f0c8m7at.js → config-q2z73cjp.js} +8 -8
- package/dist/chunks/{image-rfkpwr2j.js → config-qa84b0ag.js} +8 -8
- package/dist/chunks/{image-7xefxa1b.js → config-qc7egp1v.js} +18 -18
- package/dist/chunks/{image-qgn6gcr1.js → config-qgn6gcr1.js} +1 -1
- package/dist/chunks/{image-qnc92qwc.js → config-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-ck81h70z.js → config-qq88xqjp.js} +25 -25
- package/dist/chunks/{image-aa1twyr9.js → config-qs2pxgrz.js} +4 -4
- package/dist/chunks/{image-p6mn5kpz.js → config-qsc7prf3.js} +17 -17
- package/dist/chunks/{image-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{image-tke1j2mf.js → config-qwxhqfke.js} +37 -37
- package/dist/chunks/{image-xyafkbt0.js → config-qxjc9qry.js} +3 -3
- package/dist/chunks/{image-q2yq2gjj.js → config-r1eft7rx.js} +9 -9
- package/dist/chunks/config-r6w0hgbw.js +26 -0
- package/dist/chunks/{image-1acjjqhc.js → config-r8xr0va3.js} +4 -4
- package/dist/chunks/{image-44ak30pa.js → config-ra4n65wq.js} +4 -4
- package/dist/chunks/{image-0y1042ra.js → config-rb9nmwz4.js} +7 -7
- package/dist/chunks/{image-kt0esg8p.js → config-rdsw6m59.js} +9 -9
- package/dist/chunks/{image-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-nhvya3p1.js → config-rrp7ar1c.js} +20 -20
- package/dist/chunks/{image-qdhtzqa2.js → config-s058642n.js} +11 -11
- package/dist/chunks/{image-k1gkpfdk.js → config-s5met55r.js} +8 -8
- package/dist/chunks/{image-tv99pcdp.js → config-s5nqmcjt.js} +4 -4
- package/dist/chunks/{image-165224c5.js → config-s90qgpnn.js} +74 -74
- package/dist/chunks/{image-2y53w5jf.js → config-sbhz05xg.js} +20 -20
- package/dist/chunks/{image-ttxcsnx6.js → config-stfwnbdx.js} +26 -26
- package/dist/chunks/{image-e2s36tnm.js → config-t7e6cevd.js} +7 -7
- package/dist/chunks/{image-zvt5dnpc.js → config-t7n9q6bq.js} +4 -4
- package/dist/chunks/{image-q9wfmdme.js → config-t9fg6pvd.js} +11 -11
- package/dist/chunks/{image-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-909p1r3q.js → config-tcay1cqt.js} +6 -6
- package/dist/chunks/{image-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{image-hhgjswkb.js → config-tdt8xeve.js} +3 -3
- package/dist/chunks/{image-5vw7j8zj.js → config-tf611bf2.js} +11 -11
- package/dist/chunks/{image-ca74j1r2.js → config-tme4mdwn.js} +4 -4
- package/dist/chunks/{image-srfcfy2e.js → config-tnapj0gp.js} +7 -7
- package/dist/chunks/{image-t5y568kv.js → config-tqev68zw.js} +3 -3
- package/dist/chunks/{image-v0es1rhs.js → config-v0es1rhs.js} +2 -2
- package/dist/chunks/{image-mc1xwb8r.js → config-v5yzg42a.js} +16 -16
- package/dist/chunks/{image-dssbfrwz.js → config-vazhwx36.js} +5 -5
- package/dist/chunks/{image-0ze6xpc4.js → config-vbdyyw4h.js} +5 -5
- package/dist/chunks/{image-4wrkd8nn.js → config-vd5y62t1.js} +11 -11
- package/dist/chunks/{image-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{image-04aqpn0x.js → config-vg5vp9kg.js} +8 -8
- package/dist/chunks/{image-ahzha35r.js → config-vjfys9bt.js} +15 -15
- package/dist/chunks/{image-21tvpp2c.js → config-vn72gsba.js} +4 -4
- package/dist/chunks/{image-bn712fd7.js → config-vns4c42r.js} +16 -16
- package/dist/chunks/{image-rz9jawm0.js → config-vrcx9qkm.js} +10 -10
- package/dist/chunks/{image-k70p9jzb.js → config-vsr6dns1.js} +9 -9
- package/dist/chunks/{image-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-6n84hwn8.js → config-w0d9f24f.js} +23 -23
- package/dist/chunks/{image-vkkt5te1.js → config-w2nx10tf.js} +11 -11
- package/dist/chunks/{image-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-2wv53gaq.js → config-w9fpc6ap.js} +9 -9
- package/dist/chunks/{image-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{image-ax8wm56r.js → config-whby8p1r.js} +29 -29
- package/dist/chunks/{image-s9qk69v9.js → config-wmngscs6.js} +26 -26
- package/dist/chunks/{image-4xxx3g7n.js → config-wpv6y6te.js} +13 -13
- package/dist/chunks/{image-rm42a5p7.js → config-wre6jq6t.js} +35 -35
- package/dist/chunks/{image-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-jzsdzy65.js → config-x1sp8qw1.js} +12 -12
- package/dist/chunks/{image-pwy55j0r.js → config-x5pg15r8.js} +20 -20
- package/dist/chunks/{image-0na1b1gm.js → config-xbt3aarz.js} +22 -22
- package/dist/chunks/{image-hm9hwmm7.js → config-xd0gfkns.js} +31 -31
- package/dist/chunks/{image-xfkkasph.js → config-xfkkasph.js} +1 -1
- package/dist/chunks/{image-dmqcgk4z.js → config-xkntkrq7.js} +5 -5
- package/dist/chunks/{image-dfzt7k9z.js → config-xnm5p8xe.js} +13 -13
- package/dist/chunks/{image-r8evdm5r.js → config-xnv95vjn.js} +16 -16
- package/dist/chunks/{image-qq8ybhxb.js → config-xqgkd5cb.js} +8 -8
- package/dist/chunks/{image-kww3qs6q.js → config-xx0fyqjs.js} +23 -23
- package/dist/chunks/{image-0sx8qwq0.js → config-xx78p48m.js} +22 -22
- package/dist/chunks/{image-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-11dqjexa.js → config-y56ehv6b.js} +9 -9
- package/dist/chunks/{image-2z8cmg4f.js → config-y7x1114v.js} +48 -48
- package/dist/chunks/{image-f9t2jyhr.js → config-yaxeaqxr.js} +8 -8
- package/dist/chunks/{image-t6v32j07.js → config-ydpcz7fh.js} +8 -8
- package/dist/chunks/{image-b0fxdq5g.js → config-yeamxayg.js} +13 -13
- package/dist/chunks/{image-yf10kn3d.js → config-yf10kn3d.js} +1 -1
- package/dist/chunks/{image-ttswb5c4.js → config-yp38gpyv.js} +11 -11
- package/dist/chunks/{image-qv7mm2ys.js → config-yq8gd929.js} +14 -14
- package/dist/chunks/{image-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-e425rb6v.js → config-z4kbpcpe.js} +22 -22
- package/dist/chunks/{image-6dz2y33h.js → config-z7np2f9t.js} +7 -7
- package/dist/chunks/{image-rrpq0de9.js → config-zc5g640q.js} +5 -5
- package/dist/chunks/{image-f62qkzqr.js → config-zd30eb5w.js} +5 -5
- package/dist/chunks/{image-c61xtve1.js → config-zdwt3mwp.js} +13 -13
- package/dist/chunks/{image-pcf5kfm0.js → config-ze7kzgnq.js} +11 -11
- package/dist/chunks/{image-jza4j236.js → config-zfacwgta.js} +13 -13
- package/dist/chunks/{image-ns3eape4.js → config-znsx74x0.js} +1 -1
- package/dist/chunks/{image-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{image-scgrse2b.js → config-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +73 -73
- 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 +97 -97
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +98 -98
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +101 -101
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- 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 +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +101 -101
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +90 -90
- package/dist/models-dev.js +95 -95
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- 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 +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +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 +5 -5
- 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 +214 -214
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- 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 +94 -94
- 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 +5 -5
- package/dist/session/session.js +162 -162
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +118 -118
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +109 -109
- 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 +118 -118
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- 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 +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- 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/image-9sh4wc5j.js +0 -18
- package/dist/chunks/image-k9hpsh7n.js +0 -26
- package/dist/chunks/image-vc89bnvz.js +0 -253
- /package/dist/chunks/{image-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3t0ybcrp.js → config-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → config-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./config-f58gpcny.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service48
|
|
6
|
+
} from "./config-tcay1cqt.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-619r8v3y.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./config-s5met55r.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-22f357wt.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service49
|
|
23
|
+
} from "./config-wmngscs6.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service48;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service49;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service52;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-26f3m8zn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service63
|
|
6
|
+
} from "./config-08yy0avz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID5,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service41
|
|
14
|
+
} from "./config-6t6sma4g.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./config-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input6,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
24
|
+
Plugin: () => Plugin24,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name6 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input6 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID5,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin24 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
52
|
+
const permission = yield* Service63;
|
|
53
53
|
const forms = yield* Service79;
|
|
54
|
-
const websearch = yield*
|
|
54
|
+
const websearch = yield* Service41;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name6,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input6,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name6,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name6];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name6, NO_RESULTS2, description4, Input6, Plugin24, exports_websearch2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-pszp576s.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./config-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./config-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service37,
|
|
17
|
+
node40
|
|
18
|
+
} from "./config-2wfpdqw9.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./config-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./config-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event6,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info5,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service36,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node39
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event6 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info5 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service36 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service37;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info5.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info5.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service36.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node39 = makeLocationNode({
|
|
116
|
+
service: Service36,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node40]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info5, Service36, node39, exports_reference2, Event6 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./config-pszp576s.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./config-av3f8rgc.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./config-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError9,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service71,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer24,
|
|
27
|
+
node: () => node75
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options9 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError9 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service71 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service71, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service83;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError9({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service71.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service48, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer24 = makeLayer();
|
|
263
|
+
var configured10 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service71,
|
|
265
|
+
layer: options === undefined ? layer24 : makeLayer(options),
|
|
266
266
|
deps: [node87, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node75 = configured10();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError9, Service71, layer24, configured10, node75, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./config-wre6jq6t.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service56
|
|
13
|
+
} from "./config-152s6pwn.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service61
|
|
16
|
+
} from "./config-0zhyqgmg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service63
|
|
19
|
+
} from "./config-08yy0avz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service18,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./config-vjfys9bt.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service72,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./config-av3f8rgc.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service53
|
|
37
|
+
} from "./config-a6gzke4f.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service23
|
|
40
|
+
} from "./config-8dd049mz.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./config-qs2pxgrz.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./config-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin28,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin28 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service23;
|
|
123
|
+
const jobs = yield* Service61;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service56;
|
|
126
|
+
const access = yield* Service18;
|
|
127
|
+
const shell = yield* Service53;
|
|
128
|
+
const shellSelect = yield* Service72;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service63;
|
|
131
|
+
const config = yield* Service69;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin20 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name9,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin20 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name9,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input9,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin20 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name9,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name9];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin28, exports_shell2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command5 = {};
|
|
7
|
+
__export(exports_command5, {
|
|
8
|
+
ConfigCommandV1: () => exports_command5,
|
|
9
|
+
Info: () => Info19
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info19 = 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 Info7 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info19, exports_command5 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-96wa2rfw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service75
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-c4724183.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin43,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,7 +23,7 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin43 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
29
|
const models = yield* Service75;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin43, exports_verbosity };
|