@opencode/core 0.0.0-dev-20300 → 0.0.0-dev-20307
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 +73 -73
- package/dist/chunks/{event-logger-k79tzb9n.js → config-0jq9fyba.js} +5 -5
- package/dist/chunks/{event-logger-0paq2nw3.js → config-0paq2nw3.js} +1 -1
- package/dist/chunks/{event-logger-3vv51bva.js → config-0q3s84gs.js} +22 -22
- package/dist/chunks/{event-logger-35r86gx7.js → config-0t7zfrp0.js} +2 -2
- package/dist/chunks/{event-logger-0x4m4gc6.js → config-0tny3c9f.js} +30 -30
- package/dist/chunks/{event-logger-3t3bkqqx.js → config-0vd4engx.js} +3 -3
- package/dist/chunks/{event-logger-zqrsnbvz.js → config-0w59s7c2.js} +14 -14
- package/dist/chunks/{event-logger-56zse835.js → config-0x3pdc3s.js} +67 -67
- package/dist/chunks/{event-logger-5kh6m3pr.js → config-12xz87kv.js} +3 -3
- package/dist/chunks/{event-logger-1dazxqgg.js → config-1dazxqgg.js} +2 -2
- package/dist/chunks/{event-logger-72jg65dk.js → config-1jz99jwb.js} +48 -48
- package/dist/chunks/{event-logger-jtscxqr2.js → config-1mddym19.js} +41 -41
- package/dist/chunks/{event-logger-739k6dsq.js → config-1rzg8cx3.js} +37 -33
- package/dist/chunks/{event-logger-dys24x3z.js → config-1sf86jmj.js} +12 -12
- package/dist/chunks/{event-logger-1ygqh575.js → config-1ygqh575.js} +2 -2
- package/dist/chunks/{event-logger-21r38tys.js → config-21r38tys.js} +1 -1
- package/dist/chunks/{event-logger-ya782s6g.js → config-25be0864.js} +15 -15
- package/dist/chunks/{event-logger-qg5w4dek.js → config-269darmg.js} +25 -25
- package/dist/chunks/{event-logger-0mb95hfz.js → config-292wsk96.js} +2 -2
- package/dist/chunks/{event-logger-d676vkt9.js → config-29t9s0qq.js} +13 -13
- package/dist/chunks/{event-logger-2a5m3afh.js → config-2a5m3afh.js} +1 -1
- package/dist/chunks/{event-logger-gcv002t7.js → config-2d52yt7h.js} +9 -9
- package/dist/chunks/{event-logger-q3t37ft6.js → config-2f04pwep.js} +2 -2
- package/dist/chunks/{event-logger-05drfyp7.js → config-2fa7a2cb.js} +21 -21
- package/dist/chunks/{event-logger-7jqnfy5j.js → config-2hbvw9vv.js} +10 -10
- package/dist/chunks/{event-logger-qmqgtz8f.js → config-2sejkfem.js} +9 -9
- package/dist/chunks/{event-logger-pk5rpknt.js → config-2shgxpvs.js} +4 -4
- package/dist/chunks/{event-logger-hy75wegv.js → config-2sz29cz1.js} +29 -29
- package/dist/chunks/{event-logger-bntvr425.js → config-2vpry5jy.js} +14 -14
- package/dist/chunks/{event-logger-8pnxeyxd.js → config-32775zb7.js} +302 -302
- package/dist/chunks/{event-logger-7358hs9s.js → config-3d257yh9.js} +3 -3
- package/dist/chunks/{event-logger-3fc6dm20.js → config-3fc6dm20.js} +1 -1
- package/dist/chunks/{event-logger-3hepkmqq.js → config-3hepkmqq.js} +1 -1
- package/dist/chunks/{event-logger-x7eft90k.js → config-3jgxhq06.js} +28 -28
- package/dist/chunks/{event-logger-3smtnn6g.js → config-3smtnn6g.js} +1 -1
- package/dist/chunks/{event-logger-3tvqynh2.js → config-3tvqynh2.js} +1 -1
- package/dist/chunks/{event-logger-gd3e1aq9.js → config-3xvfcnst.js} +7 -7
- package/dist/chunks/{event-logger-3zsf4n22.js → config-3zsf4n22.js} +1 -1
- package/dist/chunks/{event-logger-5xzagc23.js → config-422899az.js} +38 -38
- package/dist/chunks/{event-logger-a3c7ahw6.js → config-44ak30pa.js} +4 -4
- package/dist/chunks/{event-logger-af60tkba.js → config-45trpagw.js} +11 -11
- package/dist/chunks/{event-logger-bkh9vwpp.js → config-46119t3w.js} +13 -13
- package/dist/chunks/{event-logger-d72ykhpz.js → config-4dzbwv5q.js} +25 -25
- package/dist/chunks/{event-logger-cr1rmkmp.js → config-4kd7e6ys.js} +7 -7
- package/dist/chunks/{event-logger-p2864vt2.js → config-4kmetaym.js} +37 -37
- package/dist/chunks/config-4n7khwcq.js +427 -0
- package/dist/chunks/{event-logger-mwwxnxty.js → config-4wwqnvbr.js} +4 -4
- package/dist/chunks/{event-logger-bh593jhc.js → config-4xh623zh.js} +26 -26
- package/dist/chunks/{event-logger-0r7yqxbf.js → config-510m7gjw.js} +5 -5
- package/dist/chunks/{event-logger-54ma36ye.js → config-54ma36ye.js} +1 -1
- package/dist/chunks/{event-logger-2fgn2we9.js → config-57ez7d0k.js} +9 -9
- package/dist/chunks/{event-logger-0xp25zzf.js → config-59akn9cc.js} +11 -11
- package/dist/chunks/{event-logger-bd80k4zb.js → config-5cwfczjf.js} +22 -22
- package/dist/chunks/{event-logger-5daktx2q.js → config-5daktx2q.js} +1 -1
- package/dist/chunks/{event-logger-txcf0vz9.js → config-5fn2wwsq.js} +15 -15
- package/dist/chunks/{event-logger-p6ecssyc.js → config-5mvwrzry.js} +10 -10
- package/dist/chunks/{event-logger-qsef27kt.js → config-5n0kyfxb.js} +13 -13
- package/dist/chunks/{event-logger-5t3nmthw.js → config-5t3nmthw.js} +2 -2
- package/dist/chunks/{event-logger-7g31tjk5.js → config-5t7tt675.js} +11 -11
- package/dist/chunks/{event-logger-gkrhf1d5.js → config-5xvskv7y.js} +8 -8
- package/dist/chunks/{event-logger-669tq793.js → config-669tq793.js} +1 -1
- package/dist/chunks/{event-logger-hd4mk6dn.js → config-6jcmgf9k.js} +8 -8
- package/dist/chunks/{event-logger-9frk6cee.js → config-6jrp8t3j.js} +6 -6
- package/dist/chunks/{event-logger-fc3fz5yp.js → config-6k72yjme.js} +21 -21
- package/dist/chunks/{event-logger-dk0mqk66.js → config-6km63wvd.js} +21 -21
- package/dist/chunks/{event-logger-6msgmcgs.js → config-6msgmcgs.js} +1 -1
- package/dist/chunks/{event-logger-rkprpv83.js → config-6pc27hjz.js} +6 -6
- package/dist/chunks/{event-logger-jtecw4np.js → config-6tdhfkhk.js} +1 -1
- package/dist/chunks/{event-logger-g2m9wvvx.js → config-75jb4kyn.js} +12 -12
- package/dist/chunks/{event-logger-q3v70c5s.js → config-77m06x4p.js} +8 -8
- package/dist/chunks/{event-logger-7bmhse3q.js → config-7bmhse3q.js} +1 -1
- package/dist/chunks/{event-logger-2k8khapm.js → config-7dqw4kz8.js} +5 -5
- package/dist/chunks/{event-logger-8g31m1p8.js → config-7jtbgzxh.js} +9 -9
- package/dist/chunks/{event-logger-h29qthyp.js → config-7t1gf4xk.js} +16 -16
- package/dist/chunks/{event-logger-p48qjbda.js → config-7xv45gyt.js} +3 -3
- package/dist/chunks/{event-logger-ameawy6r.js → config-87m1q7ht.js} +8 -8
- package/dist/chunks/{event-logger-jvwnm37b.js → config-89392nta.js} +11 -11
- package/dist/chunks/{event-logger-8p9a1qen.js → config-8d0exfkm.js} +24 -24
- package/dist/chunks/{event-logger-8d7r5vzw.js → config-8d7r5vzw.js} +1 -1
- package/dist/chunks/{event-logger-zav06jzw.js → config-8gxqpgph.js} +4 -4
- package/dist/chunks/{event-logger-tvtzm9vb.js → config-8hj0xwzd.js} +26 -26
- package/dist/chunks/{event-logger-9szx4j0a.js → config-8rrryrvw.js} +11 -11
- package/dist/chunks/{event-logger-wq865z1c.js → config-90jdj94b.js} +17 -17
- package/dist/chunks/{event-logger-gebtr55s.js → config-92azg307.js} +5 -5
- package/dist/chunks/{event-logger-gfvb90ym.js → config-94ek1h2f.js} +2 -2
- package/dist/chunks/{event-logger-g414dn7q.js → config-95y9ape3.js} +29 -29
- package/dist/chunks/{event-logger-mc5qwq8g.js → config-9bmgxnfb.js} +32 -32
- package/dist/chunks/{event-logger-6g391fys.js → config-9mkjfjeb.js} +16 -16
- package/dist/chunks/config-9sh4wc5j.js +18 -0
- package/dist/chunks/{event-logger-y10zjx7n.js → config-9z9ew9nd.js} +1 -1
- package/dist/chunks/{event-logger-c0qhn7g4.js → config-a0ex1whv.js} +14 -14
- package/dist/chunks/{event-logger-50av738z.js → config-a8qx80kp.js} +9 -9
- package/dist/chunks/{event-logger-dwwkn0mg.js → config-aa6e1bxm.js} +31 -31
- package/dist/chunks/{event-logger-aaet6srn.js → config-aaet6srn.js} +2 -2
- package/dist/chunks/{event-logger-x661k3y3.js → config-addxnjmp.js} +4 -4
- package/dist/chunks/{event-logger-qjj1cc1j.js → config-arjb37bx.js} +33 -25
- package/dist/chunks/{event-logger-xkwzk721.js → config-asnp7hhc.js} +4 -4
- package/dist/chunks/{event-logger-51yh9xt6.js → config-b164etxs.js} +25 -25
- package/dist/chunks/{event-logger-nsjb7sab.js → config-b1gf7dz2.js} +24 -24
- package/dist/chunks/{event-logger-7sbkp4xb.js → config-b27vhd2z.js} +4 -4
- package/dist/chunks/{event-logger-b6gygkdw.js → config-b6gygkdw.js} +2 -2
- package/dist/chunks/{event-logger-crt3f3h0.js → config-b9hntxh7.js} +14 -14
- package/dist/chunks/{event-logger-qn3f85xh.js → config-ba9gehx5.js} +1 -1
- package/dist/chunks/{event-logger-dwvzh0g2.js → config-bdqrk2vk.js} +6 -6
- package/dist/chunks/{event-logger-p70m11t7.js → config-bhemr9wh.js} +11 -11
- package/dist/chunks/{event-logger-e63ynvta.js → config-bnvytdy7.js} +19 -19
- package/dist/chunks/{event-logger-87njwr7s.js → config-byf60vcv.js} +21 -21
- package/dist/chunks/{event-logger-n3xrbjpq.js → config-c6t9gnna.js} +11 -11
- package/dist/chunks/{event-logger-vf5egdtx.js → config-ca9g9rqk.js} +3 -3
- package/dist/chunks/{event-logger-tqsh01p4.js → config-ce44v4st.js} +25 -25
- package/dist/chunks/{event-logger-54tcyq79.js → config-ckecvw8r.js} +2 -2
- package/dist/chunks/{event-logger-aaa6x6ax.js → config-cswq075c.js} +35 -35
- package/dist/chunks/{event-logger-egmenwpk.js → config-d2kdndyg.js} +22 -22
- package/dist/chunks/{event-logger-nez6t23e.js → config-d7syg0tc.js} +12 -12
- package/dist/chunks/{event-logger-212zxvyn.js → config-d7wsq8bv.js} +11 -11
- package/dist/chunks/{event-logger-hs8arses.js → config-dah29an0.js} +2 -2
- package/dist/chunks/{event-logger-me7ybzbp.js → config-dc965nrq.js} +31 -31
- package/dist/chunks/{event-logger-xkntkrq7.js → config-dmqcgk4z.js} +5 -5
- package/dist/chunks/{event-logger-geebtqnp.js → config-dmqymbqv.js} +7 -7
- package/dist/chunks/{event-logger-z3dw66da.js → config-dr8yj0jr.js} +9 -9
- package/dist/chunks/{event-logger-drwq78ky.js → config-drwq78ky.js} +1 -1
- package/dist/chunks/{event-logger-x0r2tdf3.js → config-dzjeaeqz.js} +5 -5
- package/dist/chunks/{event-logger-pr7d68de.js → config-e1n7rw9f.js} +4 -4
- package/dist/chunks/{event-logger-hkfg6fzm.js → config-ead3g9p8.js} +5 -5
- package/dist/chunks/{event-logger-eaj1djv9.js → config-eaj1djv9.js} +1 -1
- package/dist/chunks/{event-logger-yzg9cvd0.js → config-ebp6b9tv.js} +10 -10
- package/dist/chunks/{event-logger-ecfe7b91.js → config-ecfe7b91.js} +2 -2
- package/dist/chunks/{event-logger-cyybam5y.js → config-eemsvzwm.js} +4 -4
- package/dist/chunks/{event-logger-ef5x83kb.js → config-ef5x83kb.js} +1 -1
- package/dist/chunks/{event-logger-ybtvde30.js → config-efjjk5dx.js} +11 -11
- package/dist/chunks/{event-logger-mhkvc446.js → config-eq1pz5kg.js} +3 -3
- package/dist/chunks/{event-logger-1c8xcbqk.js → config-eq9h0d5y.js} +8 -8
- package/dist/chunks/{event-logger-gj694qjh.js → config-eqht9cbe.js} +18 -18
- package/dist/chunks/{event-logger-etq0c3wd.js → config-etq0c3wd.js} +1 -1
- package/dist/chunks/{event-logger-akqk8sab.js → config-f1vyadhg.js} +10 -10
- package/dist/chunks/{event-logger-0vpbvc12.js → config-few7m4w4.js} +6 -6
- package/dist/chunks/{event-logger-qad94zvq.js → config-ff2d7thw.js} +14 -14
- package/dist/chunks/{event-logger-nv1p5j7x.js → config-fj4h7adg.js} +20 -20
- package/dist/chunks/{event-logger-tx9w5tca.js → config-fqtvmpfq.js} +8 -8
- package/dist/chunks/{event-logger-e6hd9jay.js → config-fvanntqq.js} +6 -6
- package/dist/chunks/{event-logger-0c5mcabb.js → config-g31nq6sa.js} +8 -8
- package/dist/chunks/{event-logger-az82vszd.js → config-g8z1d8m7.js} +9 -9
- package/dist/chunks/{event-logger-gd4qta3r.js → config-gd4qta3r.js} +1 -1
- package/dist/chunks/{event-logger-2fjhkdtj.js → config-ghxng14m.js} +5 -5
- package/dist/chunks/{event-logger-gv6a8nnw.js → config-gv6a8nnw.js} +2 -2
- package/dist/chunks/{event-logger-rdcxwqtg.js → config-gvw0fbgk.js} +8 -8
- package/dist/chunks/{event-logger-h6vf3j39.js → config-h6vf3j39.js} +1 -1
- package/dist/chunks/{event-logger-h8g80tac.js → config-h78069mn.js} +11 -11
- package/dist/chunks/{event-logger-h896pcm5.js → config-h896pcm5.js} +1 -1
- package/dist/chunks/{event-logger-0fsbgwxw.js → config-h8rda941.js} +17 -17
- package/dist/chunks/{event-logger-hekxc47r.js → config-hekxc47r.js} +1 -1
- package/dist/chunks/{event-logger-k6gc0w33.js → config-hnw0gg26.js} +3 -3
- package/dist/chunks/{event-logger-6c9zkndg.js → config-hzc9ca78.js} +10 -10
- package/dist/chunks/{event-logger-j56e64zr.js → config-j56e64zr.js} +1 -1
- package/dist/chunks/{event-logger-gxpss1xa.js → config-jf3khhe6.js} +6 -6
- package/dist/chunks/{event-logger-gc3a2mq0.js → config-jge473sv.js} +11 -11
- package/dist/chunks/{event-logger-czx650js.js → config-jha2wz63.js} +78 -78
- package/dist/chunks/{event-logger-fbx4mpfx.js → config-jhp1ybt8.js} +19 -19
- package/dist/chunks/{event-logger-wedw5mta.js → config-jhser3r8.js} +12 -12
- package/dist/chunks/{event-logger-h3v2aa7y.js → config-jnj9g4r4.js} +48 -48
- package/dist/chunks/{event-logger-z3s216w8.js → config-jq6r9rxs.js} +4 -4
- package/dist/chunks/{event-logger-3ykaprc5.js → config-jwhtpyzr.js} +25 -25
- package/dist/chunks/{event-logger-818pfwc9.js → config-k0gdq8ga.js} +8 -8
- package/dist/chunks/{event-logger-k3c624dm.js → config-k3c624dm.js} +3 -3
- package/dist/chunks/config-k8cz98np.js +252 -0
- package/dist/chunks/{event-logger-w0bv1bp8.js → config-kcsm1vfq.js} +8 -8
- package/dist/chunks/{event-logger-v4hp9vzp.js → config-kgw42yf8.js} +12 -12
- package/dist/chunks/{event-logger-2jnyx621.js → config-kwwj852z.js} +77 -77
- package/dist/chunks/{event-logger-e4cp32a1.js → config-m10m16yg.js} +8 -8
- package/dist/chunks/{event-logger-m3fdjcah.js → config-m3fdjcah.js} +1 -1
- package/dist/chunks/{event-logger-m9w0rfyh.js → config-m9w0rfyh.js} +1 -1
- package/dist/chunks/{event-logger-582j49fg.js → config-mekq1jxg.js} +29 -29
- package/dist/chunks/{event-logger-enae3s66.js → config-mjrszqca.js} +34 -34
- package/dist/chunks/{event-logger-78jgv2cz.js → config-mt9yrtbx.js} +1 -1
- package/dist/chunks/{event-logger-ebgnttvs.js → config-mxp0vfn9.js} +34 -34
- package/dist/chunks/{event-logger-dvkythkc.js → config-n10xprsy.js} +20 -20
- package/dist/chunks/{event-logger-ycgfw7y5.js → config-n8zm2rh5.js} +4 -4
- package/dist/chunks/{event-logger-mvqdx4t1.js → config-nbbwaq1x.js} +8 -8
- package/dist/chunks/{event-logger-2qeskfjt.js → config-nej22d74.js} +29 -29
- package/dist/chunks/{event-logger-nq7qbqzc.js → config-nq7qbqzc.js} +2 -2
- package/dist/chunks/{event-logger-x1n81qdc.js → config-nzsvss4e.js} +3 -3
- package/dist/chunks/{event-logger-fc5be094.js → config-p0317zjm.js} +45 -45
- package/dist/chunks/{event-logger-nda15pd4.js → config-p27bdzt8.js} +43 -43
- package/dist/chunks/{event-logger-5xtgfte3.js → config-p37cw4rj.js} +4 -4
- package/dist/chunks/{event-logger-6dfetvvz.js → config-p67888xt.js} +12 -12
- package/dist/chunks/{event-logger-p6wxjpka.js → config-p6wxjpka.js} +1 -1
- package/dist/chunks/{event-logger-hr86py8n.js → config-pd37k1mn.js} +10 -10
- package/dist/chunks/{event-logger-pjvnvgmy.js → config-pjvnvgmy.js} +1 -1
- package/dist/chunks/{event-logger-pknna89w.js → config-pknna89w.js} +1 -1
- package/dist/chunks/{event-logger-00z3vp5f.js → config-pmr4s4kc.js} +4 -4
- package/dist/chunks/{event-logger-e2z9n6er.js → config-pq8y9jyn.js} +9 -9
- package/dist/chunks/{event-logger-veeagbsv.js → config-q0mntv84.js} +6 -6
- package/dist/chunks/{event-logger-h2yrmx5e.js → config-q2gm30vq.js} +11 -10
- package/dist/chunks/{event-logger-v4hfvfhv.js → config-q3pdm90z.js} +25 -25
- package/dist/chunks/{event-logger-f1xfam91.js → config-q67st9n4.js} +20 -20
- package/dist/chunks/{event-logger-wvvrp032.js → config-q7e6fk49.js} +18 -18
- package/dist/chunks/{event-logger-y8s4drfk.js → config-q8n9d2sh.js} +3 -3
- package/dist/chunks/{event-logger-e6m9qz06.js → config-qehv365y.js} +7 -7
- package/dist/chunks/{event-logger-ap7jznt4.js → config-qexff29z.js} +6 -6
- package/dist/chunks/{event-logger-cx12mkt6.js → config-qgdgv7hk.js} +1 -1
- package/dist/chunks/{event-logger-g190xswt.js → config-qj8eh1ht.js} +4 -4
- package/dist/chunks/{event-logger-mf0d3swk.js → config-qnv5e02b.js} +19 -19
- package/dist/chunks/{event-logger-qsdy395h.js → config-qsdy395h.js} +1 -1
- package/dist/chunks/{event-logger-3801kdgp.js → config-qsr9synt.js} +5 -5
- package/dist/chunks/{event-logger-r4va0x0h.js → config-qwb4tgp6.js} +20 -20
- package/dist/chunks/{event-logger-r7nsrefv.js → config-r3q6pmcz.js} +6 -6
- package/dist/chunks/{event-logger-rdw6cm16.js → config-rdw6cm16.js} +1 -1
- package/dist/chunks/{event-logger-38x4fkzp.js → config-s5cnhrvf.js} +15 -15
- package/dist/chunks/{event-logger-jca4demv.js → config-s8610hey.js} +2 -2
- package/dist/chunks/{event-logger-xr2xdzp5.js → config-s8avne91.js} +22 -22
- package/dist/chunks/{event-logger-vq7dkmg6.js → config-s8fxn872.js} +13 -13
- package/dist/chunks/{event-logger-mgpk9p2q.js → config-sa09mgdh.js} +14 -14
- package/dist/chunks/{event-logger-hdmg76f8.js → config-sk4te5ak.js} +34 -34
- package/dist/chunks/{event-logger-4ks30rnq.js → config-sv1g477j.js} +13 -13
- package/dist/chunks/{event-logger-cgftzr9x.js → config-sve1nj7a.js} +24 -24
- package/dist/chunks/{event-logger-fepyq996.js → config-syj77zjw.js} +22 -22
- package/dist/chunks/{event-logger-37s12vcn.js → config-t0fxg8b9.js} +5 -5
- package/dist/chunks/{event-logger-1cmp1yx0.js → config-t9b158gy.js} +13 -13
- package/dist/chunks/{event-logger-tazgh4e4.js → config-tazgh4e4.js} +1 -1
- package/dist/chunks/{event-logger-tcezcvh9.js → config-tcezcvh9.js} +1 -1
- package/dist/chunks/{event-logger-tdstcens.js → config-tdstcens.js} +1 -1
- package/dist/chunks/{event-logger-81dawb4q.js → config-tk3wdx18.js} +139 -139
- package/dist/chunks/{event-logger-3kdn186t.js → config-tq32sg09.js} +22 -22
- package/dist/chunks/{event-logger-tvtrv512.js → config-tvtrv512.js} +1 -1
- package/dist/chunks/{event-logger-jhdrpgrd.js → config-twx3wtca.js} +15 -15
- package/dist/chunks/{event-logger-vfze4e7p.js → config-v8fkb6at.js} +11 -11
- package/dist/chunks/{event-logger-tjedn1bk.js → config-vbfgae2j.js} +4 -4
- package/dist/chunks/{event-logger-vd7rzxqf.js → config-vd7rzxqf.js} +2 -2
- package/dist/chunks/{event-logger-veqvce7d.js → config-veqvce7d.js} +1 -1
- package/dist/chunks/{event-logger-9bfk5xdd.js → config-vk0rzmvc.js} +47 -47
- package/dist/chunks/{event-logger-vcs79k5x.js → config-vwpf3yy2.js} +16 -16
- package/dist/chunks/{event-logger-vzcthcp8.js → config-vzcthcp8.js} +1 -1
- package/dist/chunks/{event-logger-vzs5sf6e.js → config-vzs5sf6e.js} +1 -1
- package/dist/chunks/{event-logger-w1eejvng.js → config-w1eejvng.js} +1 -1
- package/dist/chunks/{event-logger-mk3tjkqx.js → config-w3c417zp.js} +3 -3
- package/dist/chunks/{event-logger-w3wsvvr9.js → config-w3wsvvr9.js} +1 -1
- package/dist/chunks/{event-logger-5w3kyw83.js → config-w7qq5tsb.js} +20 -20
- package/dist/chunks/{event-logger-psazpmmj.js → config-wd3x2cqz.js} +2 -2
- package/dist/chunks/{event-logger-wd87259q.js → config-wd87259q.js} +1 -1
- package/dist/chunks/{event-logger-jvgend4z.js → config-wf79szkf.js} +13 -13
- package/dist/chunks/{event-logger-arjnx064.js → config-wgbxdxnn.js} +22 -22
- package/dist/chunks/{event-logger-jspgs3p8.js → config-wkvewthv.js} +20 -20
- package/dist/chunks/{event-logger-sxc772xe.js → config-ws9abje0.js} +5 -5
- package/dist/chunks/{event-logger-zq5pb45y.js → config-wzwsskye.js} +17 -17
- package/dist/chunks/{event-logger-x1ezjp6w.js → config-x1ezjp6w.js} +1 -1
- package/dist/chunks/{event-logger-epqv3gec.js → config-xfcb1x2f.js} +23 -23
- package/dist/chunks/{event-logger-yv3d64wd.js → config-xks95tas.js} +29 -29
- package/dist/chunks/{event-logger-8wprgtcj.js → config-xpkwndmr.js} +18 -18
- package/dist/chunks/{event-logger-07xp2psn.js → config-xvgtn10j.js} +6 -6
- package/dist/chunks/{event-logger-1ed2t66p.js → config-xwm6bryg.js} +4 -4
- package/dist/chunks/{event-logger-4z2gx1r5.js → config-y0ghwd9k.js} +5 -5
- package/dist/chunks/{event-logger-j1mj860n.js → config-y0mc46pw.js} +9 -9
- package/dist/chunks/{event-logger-y1fvbwt7.js → config-y1fvbwt7.js} +1 -1
- package/dist/chunks/{event-logger-d2ztc3sk.js → config-y5df08dr.js} +5 -5
- package/dist/chunks/{event-logger-dpkg50ah.js → config-y71avatq.js} +4 -4
- package/dist/chunks/{event-logger-ev2737vw.js → config-y8q9ap8c.js} +13 -13
- package/dist/chunks/{event-logger-js7evpf5.js → config-y9a1hj5c.js} +10 -10
- package/dist/chunks/{event-logger-k1qrnqst.js → config-yf10kn3d.js} +8 -8
- package/dist/chunks/{event-logger-tpxm4wg4.js → config-yfcxk4hn.js} +24 -24
- package/dist/chunks/{event-logger-ra6f59x8.js → config-yhd4mc25.js} +14 -14
- package/dist/chunks/{event-logger-6a30tsfs.js → config-yk4jbxhg.js} +10 -10
- package/dist/chunks/{event-logger-yp2x3t23.js → config-yp2x3t23.js} +1 -1
- package/dist/chunks/{event-logger-8ra4etaj.js → config-yp2zyt9e.js} +23 -23
- package/dist/chunks/{event-logger-6bms86gp.js → config-ypxgwkzp.js} +7 -7
- package/dist/chunks/{event-logger-ccnsw293.js → config-yqsrqvmh.js} +11 -11
- package/dist/chunks/{event-logger-v4wgc6ts.js → config-yr1ytw2x.js} +15 -15
- package/dist/chunks/{event-logger-yrhqyw5v.js → config-yrhqyw5v.js} +1 -1
- package/dist/chunks/{event-logger-yrznvahk.js → config-yrznvahk.js} +2 -2
- package/dist/chunks/{event-logger-8mqdnygk.js → config-yttf4vyv.js} +1 -1
- package/dist/chunks/{event-logger-fwr084f3.js → config-yvpx9whs.js} +28 -28
- package/dist/chunks/{event-logger-sm965ndy.js → config-yvvvp4gn.js} +8 -8
- package/dist/chunks/{event-logger-k3ymncy7.js → config-z04bxrmy.js} +8 -8
- package/dist/chunks/{event-logger-bjtzbw4r.js → config-z07pqspn.js} +3 -3
- package/dist/chunks/{event-logger-z0bkrqjs.js → config-z0bkrqjs.js} +1 -1
- package/dist/chunks/{event-logger-zse6reh4.js → config-z349dkze.js} +17 -17
- package/dist/chunks/{event-logger-pb89f654.js → config-z3xax5j7.js} +8 -8
- package/dist/chunks/{event-logger-eyz64kwr.js → config-z3zp24an.js} +3 -3
- package/dist/chunks/{event-logger-z63w68vq.js → config-z63w68vq.js} +2 -2
- package/dist/chunks/{event-logger-9j401wee.js → config-z75a89z7.js} +14 -14
- package/dist/chunks/{event-logger-5esg9gyy.js → config-z8pd6906.js} +15 -15
- package/dist/chunks/{event-logger-m3zza4qd.js → config-ze5v0a14.js} +8 -8
- package/dist/chunks/{event-logger-zeh9ct20.js → config-zeh9ct20.js} +2 -2
- package/dist/chunks/{event-logger-zr2ceqn5.js → config-zr2ceqn5.js} +1 -1
- package/dist/chunks/{event-logger-zxq2ej10.js → config-zxq2ej10.js} +1 -1
- package/dist/chunks/{event-logger-s8a9z6as.js → config-zz0c306v.js} +31 -31
- package/dist/chunks/{event-logger-0hcagjse.js → config-zz3bkaqy.js} +14 -14
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +366 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +74 -74
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +97 -97
- 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 +78 -78
- package/dist/formatter/builtins.js +4 -4
- 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 +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/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +1 -1
- package/dist/instance.js +359 -358
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +85 -85
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -359
- package/dist/location.js +83 -83
- 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 +127 -127
- 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 +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +101 -101
- 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 +103 -103
- 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 +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -334
- 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 +4 -4
- 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 +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +104 -0
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- 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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -162
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -353
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +84 -84
- package/dist/plugin/vcs/hg.js +84 -84
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +4 -4
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- 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 +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- 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 +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +232 -232
- 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 +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- 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 +211 -211
- 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 +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- 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 +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- package/dist/types/credential.d.ts +6 -1
- package/dist/types/plugin/provider/chatgpt.d.ts +33 -0
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +9 -8
- package/dist/chunks/event-logger-1x11rq2a.js +0 -18
- package/dist/chunks/event-logger-68kb85dp.js +0 -252
- /package/dist/chunks/{event-logger-0qkdqm5v.js → config-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{event-logger-0zkw76rk.js → config-0zkw76rk.js} +0 -0
- /package/dist/chunks/{event-logger-17cy0kzp.js → config-17cy0kzp.js} +0 -0
- /package/dist/chunks/{event-logger-1cnp2v09.js → config-1cnp2v09.js} +0 -0
- /package/dist/chunks/{event-logger-1kg9ymc8.js → config-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{event-logger-24dcb14g.js → config-24dcb14g.js} +0 -0
- /package/dist/chunks/{event-logger-2710q6r3.js → config-2710q6r3.js} +0 -0
- /package/dist/chunks/{event-logger-2axfhc9x.js → config-2axfhc9x.js} +0 -0
- /package/dist/chunks/{event-logger-2c3vjs8z.js → config-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{event-logger-34c7v6d4.js → config-34c7v6d4.js} +0 -0
- /package/dist/chunks/{event-logger-359p4xyc.js → config-359p4xyc.js} +0 -0
- /package/dist/chunks/{event-logger-3asan66x.js → config-3asan66x.js} +0 -0
- /package/dist/chunks/{event-logger-3v8g72cx.js → config-3v8g72cx.js} +0 -0
- /package/dist/chunks/{event-logger-3w5fmr99.js → config-3w5fmr99.js} +0 -0
- /package/dist/chunks/{event-logger-3wcehsnq.js → config-3wcehsnq.js} +0 -0
- /package/dist/chunks/{event-logger-43n2bw4t.js → config-43n2bw4t.js} +0 -0
- /package/dist/chunks/{event-logger-4knz6hnm.js → config-4knz6hnm.js} +0 -0
- /package/dist/chunks/{event-logger-4vcrnpx2.js → config-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{event-logger-4y7fprxs.js → config-4y7fprxs.js} +0 -0
- /package/dist/chunks/{event-logger-53557ph1.js → config-53557ph1.js} +0 -0
- /package/dist/chunks/{event-logger-550bvhaj.js → config-550bvhaj.js} +0 -0
- /package/dist/chunks/{event-logger-5qd3pb7m.js → config-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{event-logger-6prwharc.js → config-6prwharc.js} +0 -0
- /package/dist/chunks/{event-logger-7akdwqpd.js → config-7akdwqpd.js} +0 -0
- /package/dist/chunks/{event-logger-7m9af43g.js → config-7m9af43g.js} +0 -0
- /package/dist/chunks/{event-logger-822emrt2.js → config-822emrt2.js} +0 -0
- /package/dist/chunks/{event-logger-88xbtdfr.js → config-88xbtdfr.js} +0 -0
- /package/dist/chunks/{event-logger-8n3pysct.js → config-8n3pysct.js} +0 -0
- /package/dist/chunks/{event-logger-8wj87zfr.js → config-8wj87zfr.js} +0 -0
- /package/dist/chunks/{event-logger-922hggd3.js → config-922hggd3.js} +0 -0
- /package/dist/chunks/{event-logger-9a4afbnw.js → config-9a4afbnw.js} +0 -0
- /package/dist/chunks/{event-logger-9rqn6x4v.js → config-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{event-logger-a6k6eb26.js → config-a6k6eb26.js} +0 -0
- /package/dist/chunks/{event-logger-af5trqkr.js → config-af5trqkr.js} +0 -0
- /package/dist/chunks/{event-logger-afrmfg78.js → config-afrmfg78.js} +0 -0
- /package/dist/chunks/{event-logger-aqzs7mqg.js → config-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{event-logger-atq7p7m5.js → config-atq7p7m5.js} +0 -0
- /package/dist/chunks/{event-logger-bkyjaxrp.js → config-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{event-logger-bmr6ed5q.js → config-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{event-logger-cf4snx6d.js → config-cf4snx6d.js} +0 -0
- /package/dist/chunks/{event-logger-cvy3z8tj.js → config-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{event-logger-d9fn303g.js → config-d9fn303g.js} +0 -0
- /package/dist/chunks/{event-logger-d9jj8t3e.js → config-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{event-logger-dajrwvna.js → config-dajrwvna.js} +0 -0
- /package/dist/chunks/{event-logger-dap0rakb.js → config-dap0rakb.js} +0 -0
- /package/dist/chunks/{event-logger-df08tz66.js → config-df08tz66.js} +0 -0
- /package/dist/chunks/{event-logger-dy18nga0.js → config-dy18nga0.js} +0 -0
- /package/dist/chunks/{event-logger-e5kj55wp.js → config-e5kj55wp.js} +0 -0
- /package/dist/chunks/{event-logger-e73j6tqm.js → config-e73j6tqm.js} +0 -0
- /package/dist/chunks/{event-logger-ec1grn59.js → config-ec1grn59.js} +0 -0
- /package/dist/chunks/{event-logger-eh3zwz77.js → config-eh3zwz77.js} +0 -0
- /package/dist/chunks/{event-logger-emrn6kk6.js → config-emrn6kk6.js} +0 -0
- /package/dist/chunks/{event-logger-f0mxakyp.js → config-f0mxakyp.js} +0 -0
- /package/dist/chunks/{event-logger-f6n9ztr4.js → config-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{event-logger-faypxj3z.js → config-faypxj3z.js} +0 -0
- /package/dist/chunks/{event-logger-fd410y7t.js → config-fd410y7t.js} +0 -0
- /package/dist/chunks/{event-logger-fxgpk5d8.js → config-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{event-logger-g4wezp1m.js → config-g4wezp1m.js} +0 -0
- /package/dist/chunks/{event-logger-g86h250q.js → config-g86h250q.js} +0 -0
- /package/dist/chunks/{event-logger-gebd4c9n.js → config-gebd4c9n.js} +0 -0
- /package/dist/chunks/{event-logger-gftt206x.js → config-gftt206x.js} +0 -0
- /package/dist/chunks/{event-logger-hjbc5kem.js → config-hjbc5kem.js} +0 -0
- /package/dist/chunks/{event-logger-hk9envan.js → config-hk9envan.js} +0 -0
- /package/dist/chunks/{event-logger-j2ntwpah.js → config-j2ntwpah.js} +0 -0
- /package/dist/chunks/{event-logger-j5zkgpj8.js → config-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{event-logger-jjkms2e6.js → config-jjkms2e6.js} +0 -0
- /package/dist/chunks/{event-logger-jr7sbwjy.js → config-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{event-logger-jwfs4k6c.js → config-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{event-logger-jzg6c2d5.js → config-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{event-logger-mp448xyj.js → config-mp448xyj.js} +0 -0
- /package/dist/chunks/{event-logger-msx8hqn2.js → config-msx8hqn2.js} +0 -0
- /package/dist/chunks/{event-logger-n05xt0ee.js → config-n05xt0ee.js} +0 -0
- /package/dist/chunks/{event-logger-n3j8tn72.js → config-n3j8tn72.js} +0 -0
- /package/dist/chunks/{event-logger-njntx4h6.js → config-njntx4h6.js} +0 -0
- /package/dist/chunks/{event-logger-q3sfg36h.js → config-q3sfg36h.js} +0 -0
- /package/dist/chunks/{event-logger-q74kybfr.js → config-q74kybfr.js} +0 -0
- /package/dist/chunks/{event-logger-qaymkmh1.js → config-qaymkmh1.js} +0 -0
- /package/dist/chunks/{event-logger-qb87gjwd.js → config-qb87gjwd.js} +0 -0
- /package/dist/chunks/{event-logger-qfa1cgps.js → config-qfa1cgps.js} +0 -0
- /package/dist/chunks/{event-logger-qg3g05ea.js → config-qg3g05ea.js} +0 -0
- /package/dist/chunks/{event-logger-qrg20bc0.js → config-qrg20bc0.js} +0 -0
- /package/dist/chunks/{event-logger-rcb2kzg1.js → config-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{event-logger-sdp7kfr6.js → config-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{event-logger-sk3qaz4a.js → config-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{event-logger-ssg3fenm.js → config-ssg3fenm.js} +0 -0
- /package/dist/chunks/{event-logger-w803qqfp.js → config-w803qqfp.js} +0 -0
- /package/dist/chunks/{event-logger-wc3fc9cn.js → config-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{event-logger-wer8tq1h.js → config-wer8tq1h.js} +0 -0
- /package/dist/chunks/{event-logger-wtztk69x.js → config-wtztk69x.js} +0 -0
- /package/dist/chunks/{event-logger-x0ckcb58.js → config-x0ckcb58.js} +0 -0
- /package/dist/chunks/{event-logger-x61499pn.js → config-x61499pn.js} +0 -0
- /package/dist/chunks/{event-logger-y44na4kk.js → config-y44na4kk.js} +0 -0
- /package/dist/chunks/{event-logger-y8cydn3q.js → config-y8cydn3q.js} +0 -0
- /package/dist/chunks/{event-logger-y8f7s663.js → config-y8f7s663.js} +0 -0
- /package/dist/chunks/{event-logger-ygaqb7jw.js → config-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{event-logger-ym463w8f.js → config-ym463w8f.js} +0 -0
- /package/dist/chunks/{event-logger-z9919s4g.js → config-z9919s4g.js} +0 -0
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service62,
|
|
6
|
+
node65
|
|
7
|
+
} from "./config-3jgxhq06.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./config-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service54,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer20,
|
|
20
|
+
node: () => node56
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service54 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer20 = Layer.effect(Service54, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service62;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer16 = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service54.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node56 = makeLocationNode({
|
|
74
|
+
service: Service54,
|
|
75
|
+
layer: layer20,
|
|
76
|
+
deps: [node65, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service54, layer20, node56, exports_generate2 };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service82,
|
|
4
|
+
node86
|
|
5
|
+
} from "./config-d7syg0tc.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-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: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
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 Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.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 node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service39
|
|
3
|
+
} from "./config-y0mc46pw.js";
|
|
4
4
|
import {
|
|
5
5
|
Service50
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-h896pcm5.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-9sh4wc5j.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service76
|
|
15
|
+
} from "./config-fqtvmpfq.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-z3zp24an.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service60
|
|
23
|
+
} from "./config-wgbxdxnn.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 = {};
|
|
@@ -42,7 +42,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
42
42
|
const instances = yield* Service50;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service76;
|
|
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* Service60;
|
|
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* Service39;
|
|
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 })));
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./config-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./config-dzjeaeqz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./config-6km63wvd.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./config-89392nta.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service20,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-46119t3w.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service73
|
|
22
|
+
} from "./config-cswq075c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service22,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./config-twx3wtca.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./config-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./config-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin26,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin26 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service58;
|
|
112
|
+
const access = yield* Service22;
|
|
113
|
+
const fileMutation = yield* Service20;
|
|
114
|
+
const formatter = yield* Service18;
|
|
115
115
|
const location = yield* Service79;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service73;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin28 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output5, toModelContent4, Plugin26, exports_patch };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Plugin7
|
|
3
|
+
} from "./config-ze5v0a14.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Plugin8
|
|
6
|
+
} from "./config-dr8yj0jr.js";
|
|
7
7
|
import {
|
|
8
8
|
Plugin6
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-3d257yh9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Plugin5
|
|
12
|
+
} from "./config-m10m16yg.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Plugin4
|
|
15
|
+
} from "./config-g8z1d8m7.js";
|
|
16
16
|
|
|
17
17
|
// src/plugin/websearch/index.ts
|
|
18
18
|
var WebSearchPlugins2 = [
|
|
19
|
-
Plugin5,
|
|
20
|
-
Plugin4,
|
|
21
|
-
Plugin6,
|
|
22
19
|
Plugin7,
|
|
23
|
-
Plugin8
|
|
20
|
+
Plugin8,
|
|
21
|
+
Plugin6,
|
|
22
|
+
Plugin5,
|
|
23
|
+
Plugin4
|
|
24
24
|
];
|
|
25
25
|
|
|
26
26
|
export { WebSearchPlugins2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./config-d7syg0tc.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service70,
|
|
8
|
+
node73
|
|
9
|
+
} from "./config-arjb37bx.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./config-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./config-addxnjmp.js";
|
|
16
16
|
import {
|
|
17
17
|
validateAnswer2,
|
|
18
18
|
validateFields2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./config-z8pd6906.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./config-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/integration.ts
|
|
25
25
|
var exports_integration = {};
|
|
@@ -36,15 +36,15 @@ __export(exports_integration, {
|
|
|
36
36
|
EnvMethod: () => EnvMethod2,
|
|
37
37
|
Event: () => Event15,
|
|
38
38
|
ID: () => ID9,
|
|
39
|
-
Info: () =>
|
|
39
|
+
Info: () => Info23,
|
|
40
40
|
Integration: () => exports_integration,
|
|
41
41
|
KeyMethod: () => KeyMethod2,
|
|
42
42
|
Method: () => Method2,
|
|
43
43
|
MethodID: () => MethodID2,
|
|
44
44
|
OAuthMethod: () => OAuthMethod2,
|
|
45
45
|
Ref: () => Ref3,
|
|
46
|
-
Service: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
Service: () => Service69,
|
|
47
|
+
node: () => node72
|
|
48
48
|
});
|
|
49
49
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
50
50
|
import {
|
|
@@ -75,7 +75,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
75
75
|
var KeyMethod2 = Integration.KeyMethod;
|
|
76
76
|
var EnvMethod2 = Integration.EnvMethod;
|
|
77
77
|
var Method2 = Integration.Method;
|
|
78
|
-
var
|
|
78
|
+
var Info23 = Integration.Info;
|
|
79
79
|
var Attempt2 = Integration.Attempt;
|
|
80
80
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
81
81
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -104,14 +104,14 @@ class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNot
|
|
|
104
104
|
}
|
|
105
105
|
var Ref3 = Integration.Ref;
|
|
106
106
|
|
|
107
|
-
class
|
|
107
|
+
class Service69 extends Context.Service()("@opencode/Integration") {
|
|
108
108
|
}
|
|
109
109
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
110
110
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
111
111
|
var scrubInterval = Duration.seconds(30);
|
|
112
|
-
var layer = Layer.effect(
|
|
113
|
-
const credentials = yield*
|
|
114
|
-
const bus = yield*
|
|
112
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
113
|
+
const credentials = yield* Service70;
|
|
114
|
+
const bus = yield* Service82;
|
|
115
115
|
const processes = yield* AppProcess.Service;
|
|
116
116
|
const scope = yield* Scope.Scope;
|
|
117
117
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -207,7 +207,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
207
207
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
208
208
|
return [...credentials, ...env];
|
|
209
209
|
};
|
|
210
|
-
const project = (entry, connections) =>
|
|
210
|
+
const project = (entry, connections) => Info23.make({
|
|
211
211
|
id: entry.ref.id,
|
|
212
212
|
name: entry.ref.name,
|
|
213
213
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -440,7 +440,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
440
440
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
441
441
|
return CommandAttempt2.make({ attemptID, time });
|
|
442
442
|
});
|
|
443
|
-
return
|
|
443
|
+
return Service69.of({
|
|
444
444
|
transform: state.transform,
|
|
445
445
|
reload: state.reload,
|
|
446
446
|
revision: state.revision,
|
|
@@ -599,10 +599,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
599
599
|
}
|
|
600
600
|
});
|
|
601
601
|
}));
|
|
602
|
-
var
|
|
603
|
-
service:
|
|
602
|
+
var node72 = makeLocationNode({
|
|
603
|
+
service: Service69,
|
|
604
604
|
layer,
|
|
605
|
-
deps: [
|
|
605
|
+
deps: [node73, node86, AppProcess.node]
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
608
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service69, node72, exports_integration, Event15 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./config-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options10,
|
|
17
|
+
Service: () => Service65,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node68,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options10 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service65 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service65, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service65.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service65.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service65).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service65, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service65, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node68 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options10, Service65, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured10, node68, exports_watcher };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./config-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./config-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info12
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info12 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info12, exports_attachment };
|