@opencode/core 0.0.0-dev-21426 → 0.0.0-dev-21430
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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{config-feaxzjj3.js → location-020242mm.js} +15 -15
- package/dist/chunks/{config-034tev2y.js → location-034tev2y.js} +2 -2
- package/dist/chunks/{config-1j2f4qsr.js → location-07wcwaet.js} +8 -8
- package/dist/chunks/{config-snf3gk9w.js → location-0f97zcpq.js} +10 -10
- package/dist/chunks/{config-fy1v1v3w.js → location-0ferak4p.js} +8 -8
- package/dist/chunks/{config-52hc0txd.js → location-0qe50jst.js} +11 -11
- package/dist/chunks/{config-bspgb8ad.js → location-0spnvnyv.js} +20 -20
- package/dist/chunks/{config-0vbcp93d.js → location-0vbcp93d.js} +2 -2
- package/dist/chunks/{config-2fnj739t.js → location-1a95124r.js} +9 -9
- package/dist/chunks/{config-1ep2p91f.js → location-1ep2p91f.js} +2 -2
- package/dist/chunks/{config-crwbn2y9.js → location-1g1nqesa.js} +22 -22
- package/dist/chunks/{config-s8a7kdxx.js → location-1wyvxh86.js} +9 -9
- package/dist/chunks/{config-zgxkm1v3.js → location-1x8ctv13.js} +5 -5
- package/dist/chunks/{config-waxg8h9f.js → location-21b844t5.js} +23 -23
- package/dist/chunks/{config-8hedw0ek.js → location-22zynyp8.js} +32 -32
- package/dist/chunks/{config-xmcppnpw.js → location-28zjsd3e.js} +19 -19
- package/dist/chunks/{config-80j02cg4.js → location-2excde36.js} +18 -18
- package/dist/chunks/{config-42deak0c.js → location-2pz8qhez.js} +9 -9
- package/dist/chunks/{config-7c4qa9ts.js → location-2tbztjht.js} +23 -23
- package/dist/chunks/{config-enx3y4vw.js → location-313pbxt2.js} +24 -24
- package/dist/chunks/{config-y8ar35d9.js → location-338tmc2w.js} +32 -32
- package/dist/chunks/{config-x94symkw.js → location-338tp1sw.js} +11 -11
- package/dist/chunks/{config-2p600f2y.js → location-38vrzhk4.js} +13 -13
- package/dist/chunks/{config-yqtzk2wa.js → location-3adnxn06.js} +4 -4
- package/dist/chunks/{config-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3hwn7j4h.js → location-3hwn7j4h.js} +2 -2
- package/dist/chunks/{config-6907env3.js → location-3r2m892a.js} +31 -31
- package/dist/chunks/{config-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-kw6jxsk0.js → location-3v68m8yr.js} +1 -1
- package/dist/chunks/{config-txkw7pkq.js → location-3y1df9hb.js} +3 -3
- package/dist/chunks/{config-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/location-48fz5dd2.js +257 -0
- package/dist/chunks/{config-zs8bw0hs.js → location-4pdt9v4n.js} +6 -6
- package/dist/chunks/{config-sx7k6tns.js → location-4qxrp1dj.js} +36 -36
- package/dist/chunks/{config-9pw60qma.js → location-4sem758r.js} +10 -10
- package/dist/chunks/{config-e885zgyg.js → location-516j2px1.js} +15 -15
- package/dist/chunks/{config-54ma36ye.js → location-54ma36ye.js} +1 -1
- package/dist/chunks/{config-h63x9vp7.js → location-5663gavc.js} +20 -20
- package/dist/chunks/{config-drwq78ky.js → location-57b9ws8p.js} +5 -5
- package/dist/chunks/{config-rs1m2fsr.js → location-5csbs030.js} +14 -14
- package/dist/chunks/{config-vep9yay1.js → location-5g57z1ma.js} +4 -4
- package/dist/chunks/{config-5m9w47nd.js → location-5m9w47nd.js} +1 -1
- package/dist/chunks/{config-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{config-amqabej0.js → location-62v5rbec.js} +13 -13
- package/dist/chunks/{config-zq3wqe3s.js → location-6559rxr6.js} +6 -6
- package/dist/chunks/{config-6827pfxn.js → location-6827pfxn.js} +1 -1
- package/dist/chunks/{config-vjyee8yk.js → location-68d09h7d.js} +13 -13
- package/dist/chunks/{config-vdac0er2.js → location-6fbgyqx2.js} +26 -26
- package/dist/chunks/{config-3bh6rbdv.js → location-6hq2s9rg.js} +37 -37
- package/dist/chunks/{config-1vmdeh7r.js → location-6k57be7g.js} +30 -30
- package/dist/chunks/{config-6xb47vfp.js → location-6xb47vfp.js} +1 -1
- package/dist/chunks/{config-mq70b39w.js → location-6xp44e9y.js} +19 -19
- package/dist/chunks/{config-yr1dkphx.js → location-74mnjb9k.js} +16 -16
- package/dist/chunks/{config-461nxmbv.js → location-76rvckpe.js} +5 -5
- package/dist/chunks/{config-775gj3j1.js → location-775gj3j1.js} +2 -2
- package/dist/chunks/{config-s018hf8z.js → location-77y8wgeh.js} +3 -3
- package/dist/chunks/{config-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-pq0y0frh.js → location-7sn7bbtk.js} +8 -8
- package/dist/chunks/{config-a20pjse5.js → location-7v6vae4w.js} +3 -3
- package/dist/chunks/{config-e7e0kxqn.js → location-829bc28g.js} +17 -17
- package/dist/chunks/{config-zp3yatdq.js → location-83xz3hbj.js} +26 -26
- package/dist/chunks/{config-84txncab.js → location-84txncab.js} +1 -1
- package/dist/chunks/{config-59zfea0h.js → location-8ft9mnds.js} +22 -22
- package/dist/chunks/{config-v9vmdvvc.js → location-8h9rdd29.js} +54 -54
- package/dist/chunks/{config-8m6m0r52.js → location-8m6m0r52.js} +1 -1
- package/dist/chunks/{config-8mywswrd.js → location-8mywswrd.js} +1 -1
- package/dist/chunks/{config-rn6he5ra.js → location-8n6gk45f.js} +8 -8
- package/dist/chunks/{config-w4ac3p39.js → location-8w3e00az.js} +43 -43
- package/dist/chunks/{config-07pek4cx.js → location-8zbn9c46.js} +2 -2
- package/dist/chunks/{config-v3gvycs7.js → location-98hve3fq.js} +28 -28
- package/dist/chunks/{config-6gb59z7y.js → location-9bh5q6pj.js} +2 -2
- package/dist/chunks/{config-0asg5kcx.js → location-9ceytgjn.js} +30 -30
- package/dist/chunks/{config-dv1qgsyq.js → location-9hn6k4tm.js} +4 -4
- package/dist/chunks/{config-cntk2pgp.js → location-9jfsax2t.js} +14 -14
- package/dist/chunks/{config-e8k3m892.js → location-9p7ryr2b.js} +7 -7
- package/dist/chunks/{config-w90xvrpk.js → location-9t8hw933.js} +21 -21
- package/dist/chunks/{config-9wev2pgg.js → location-9wev2pgg.js} +1 -1
- package/dist/chunks/{config-gj0f7hmv.js → location-9zsn4ryv.js} +11 -11
- package/dist/chunks/{config-e2b9fjdx.js → location-a1cwsqdb.js} +32 -32
- package/dist/chunks/{config-8v71k0zv.js → location-a2wnnmtd.js} +4 -4
- package/dist/chunks/{config-t95zrypp.js → location-aacha31a.js} +12 -12
- package/dist/chunks/{config-2t62vza4.js → location-ac8jf0gv.js} +27 -27
- package/dist/chunks/{config-x661k3y3.js → location-addxnjmp.js} +4 -4
- package/dist/chunks/{config-byhx8kym.js → location-aecj3y8p.js} +19 -19
- package/dist/chunks/{config-am1vdybj.js → location-am1vdybj.js} +4 -4
- package/dist/chunks/{config-48q2nkwy.js → location-ar4nzpwm.js} +15 -15
- package/dist/chunks/{config-8bt0p1st.js → location-asa024m6.js} +55 -55
- package/dist/chunks/{config-n7d88tpn.js → location-axe3mf62.js} +3 -3
- package/dist/chunks/{config-ezf7jcbt.js → location-b04q5t5m.js} +22 -22
- package/dist/chunks/{config-20b9eb0y.js → location-b28fxhss.js} +13 -13
- package/dist/chunks/{config-qne3fa44.js → location-b674v2dg.js} +5 -5
- package/dist/chunks/{config-f25fcgnf.js → location-bfk5x8m4.js} +24 -24
- package/dist/chunks/{config-35qg6615.js → location-bhva45zq.js} +12 -12
- package/dist/chunks/{config-bjx1sjef.js → location-bjx1sjef.js} +2 -2
- package/dist/chunks/{config-mtshcjcm.js → location-bvjxnz85.js} +4 -4
- package/dist/chunks/{config-nb4t1njv.js → location-bzb0xpje.js} +22 -22
- package/dist/chunks/{config-bzeyqsqd.js → location-bzeyqsqd.js} +1 -1
- package/dist/chunks/{config-2hyn57wn.js → location-bzgnhg0n.js} +22 -22
- package/dist/chunks/{config-9r5hwe0j.js → location-c3dg826k.js} +23 -23
- package/dist/chunks/{config-cwa6csj7.js → location-c765mh8b.js} +9 -9
- package/dist/chunks/{config-zn2p44k5.js → location-cpq8ekdt.js} +25 -25
- package/dist/chunks/{config-vgx6weyf.js → location-ctz7jbry.js} +7 -7
- package/dist/chunks/{config-b2dv2ce0.js → location-d1ftyfm1.js} +17 -17
- package/dist/chunks/{config-f1p7pa8k.js → location-d63h9wdy.js} +25 -25
- package/dist/chunks/{config-ngz91grz.js → location-d63sgyqh.js} +9 -9
- package/dist/chunks/{config-vm948sk0.js → location-d99zq9a9.js} +24 -24
- package/dist/chunks/{config-e55fgsma.js → location-dbapnq8x.js} +3 -3
- package/dist/chunks/{config-cbtvbhw1.js → location-demjctvx.js} +26 -26
- package/dist/chunks/{config-bmyy5mys.js → location-dgsn3vfw.js} +33 -33
- package/dist/chunks/{config-dgzq35zb.js → location-dgzq35zb.js} +3 -3
- package/dist/chunks/{config-m70sbz6t.js → location-dhmh7aw6.js} +4 -4
- package/dist/chunks/{config-3dzxwfjp.js → location-dkrr3wvc.js} +16 -16
- package/dist/chunks/{config-8fchc7zc.js → location-dmw8mvpz.js} +30 -30
- package/dist/chunks/{config-dpkg50ah.js → location-dpkg50ah.js} +1 -1
- package/dist/chunks/{config-2pq7936q.js → location-dsyqdg7y.js} +44 -44
- package/dist/chunks/{config-b4ytdsdb.js → location-dys7k0s0.js} +11 -11
- package/dist/chunks/{config-jwsr2jqg.js → location-e357gpbq.js} +9 -9
- package/dist/chunks/{config-9h0kmg1t.js → location-e3naqsya.js} +20 -20
- package/dist/chunks/{config-zfpzcwk9.js → location-e3x0acme.js} +21 -21
- package/dist/chunks/{config-e80seqcp.js → location-e80seqcp.js} +1 -1
- package/dist/chunks/{config-hvvwjwyw.js → location-e9vjet1j.js} +4 -4
- package/dist/chunks/{config-eej6y6fw.js → location-eej6y6fw.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-wx0954d0.js → location-ek46kvq2.js} +8 -8
- package/dist/chunks/{config-xp361r34.js → location-ets9hpqy.js} +18 -18
- package/dist/chunks/{config-4xe88sh8.js → location-f32pwxtn.js} +11 -11
- package/dist/chunks/{config-0tqq5k4f.js → location-f5gknkdx.js} +16 -16
- package/dist/chunks/{config-7dqw4kz8.js → location-fcrkznn8.js} +5 -5
- package/dist/chunks/{config-fcy631f0.js → location-fcy631f0.js} +1 -1
- package/dist/chunks/{config-87ywznqb.js → location-fd08frkx.js} +5 -5
- package/dist/chunks/{config-1wsr3dh3.js → location-fmvmqg86.js} +23 -23
- package/dist/chunks/{config-n5ydym07.js → location-fn7yw61f.js} +15 -15
- package/dist/chunks/{config-fn9t717r.js → location-fn9t717r.js} +3 -3
- package/dist/chunks/{config-vz4s7aff.js → location-fp99e1xt.js} +15 -15
- package/dist/chunks/{config-s5met55r.js → location-fqtvmpfq.js} +8 -8
- package/dist/chunks/{config-8ntw25jb.js → location-fr4cd36j.js} +12 -12
- package/dist/chunks/{config-awrk3fb0.js → location-fwy8kg2k.js} +10 -10
- package/dist/chunks/{config-hq3c8me3.js → location-fxaymqdw.js} +4 -4
- package/dist/chunks/{config-nqbnnj1c.js → location-g4fwqmp5.js} +13 -13
- package/dist/chunks/{config-gjqsfh0v.js → location-gafzn91c.js} +24 -24
- package/dist/chunks/{config-20vf2h00.js → location-garxcygd.js} +24 -24
- package/dist/chunks/{config-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-c42rzcd8.js → location-gg3qganw.js} +11 -11
- package/dist/chunks/{config-g2g98bkp.js → location-gg5w8wvf.js} +10 -10
- package/dist/chunks/{config-nt0mbjfb.js → location-gg795btt.js} +34 -23
- package/dist/chunks/{config-qa96c720.js → location-gnx3cc6w.js} +8 -8
- package/dist/chunks/{config-f4p4s2dp.js → location-h01qn727.js} +16 -16
- package/dist/chunks/{config-chwf2abb.js → location-h1s5a7fb.js} +18 -18
- package/dist/chunks/{config-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-h6310vsd.js → location-h9pnpq88.js} +4 -4
- package/dist/chunks/{config-nwb8xr43.js → location-hfhp5k6j.js} +3 -3
- package/dist/chunks/{config-hgz4x7wa.js → location-hgz4x7wa.js} +1 -1
- package/dist/chunks/{config-jvt300by.js → location-hmcw1xv3.js} +30 -30
- package/dist/chunks/{config-fh9gh03y.js → location-hsr8yxc9.js} +18 -18
- package/dist/chunks/location-ht5y0zrb.js +18 -0
- package/dist/chunks/{config-czs8vvbs.js → location-hyarejjy.js} +11 -11
- package/dist/chunks/{config-x6y6dcgj.js → location-hyvp8sn8.js} +1 -1
- package/dist/chunks/{config-dhy8wzd4.js → location-j5yzhdah.js} +11 -11
- package/dist/chunks/{config-ezd1262t.js → location-j973zg4r.js} +5 -5
- package/dist/chunks/{config-3pcv17pz.js → location-jdsf1v6s.js} +25 -25
- package/dist/chunks/{config-204j7sp1.js → location-jg8pxvea.js} +3 -3
- package/dist/chunks/{config-3sfz3gfe.js → location-jgwkv6jn.js} +4 -4
- package/dist/chunks/{config-nvhwy6q6.js → location-jhn3db5w.js} +11 -11
- package/dist/chunks/{config-pcx0zree.js → location-jm6wfgtn.js} +10 -10
- package/dist/chunks/{config-vv6vh0dz.js → location-jpb42pwq.js} +10 -10
- package/dist/chunks/{config-x6k018ha.js → location-jzxww0nw.js} +14 -14
- package/dist/chunks/{config-sxp0tgh5.js → location-k0wzqvjk.js} +42 -42
- package/dist/chunks/{config-xj3qrrcf.js → location-k0ze7r27.js} +13 -13
- package/dist/chunks/{config-w1tfqne5.js → location-k5tmaff0.js} +33 -33
- package/dist/chunks/{config-kjdm35cs.js → location-kjdm35cs.js} +2 -2
- package/dist/chunks/{config-kwb1v3vj.js → location-kwb1v3vj.js} +1 -1
- package/dist/chunks/{config-x4m4mg1p.js → location-kypjhz4q.js} +11 -11
- package/dist/chunks/{config-4987t165.js → location-m15ha2ry.js} +6 -6
- package/dist/chunks/{config-35ng7dkh.js → location-m64xvjj1.js} +5 -5
- package/dist/chunks/{config-ed399rt4.js → location-m7kdtezn.js} +13 -13
- package/dist/chunks/{config-dndk2997.js → location-m97symvc.js} +40 -40
- package/dist/chunks/{config-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-maspj1v3.js → location-maspj1v3.js} +1 -1
- package/dist/chunks/{config-faecte32.js → location-mjjmqb1d.js} +22 -22
- package/dist/chunks/{config-bepc8xst.js → location-mmyy2hne.js} +19 -19
- package/dist/chunks/{config-zx07qeyt.js → location-mnc26hcw.js} +7 -7
- package/dist/chunks/{config-g92cw1z2.js → location-mzkqbs9t.js} +5 -5
- package/dist/chunks/{config-pq6k2t1k.js → location-n2r55xd1.js} +35 -35
- package/dist/chunks/{config-2vqdzajb.js → location-n5q7pmwt.js} +312 -312
- package/dist/chunks/{config-568n7c7m.js → location-n63hq1yp.js} +32 -32
- package/dist/chunks/{config-349sgcxm.js → location-n7dc1ar6.js} +45 -45
- package/dist/chunks/{config-jfy7efkq.js → location-nc7xb224.js} +42 -42
- package/dist/chunks/{config-pw3j8gkm.js → location-ncmgswqr.js} +11 -11
- package/dist/chunks/{config-7z9ajsa5.js → location-nry4qgac.js} +3 -3
- package/dist/chunks/{config-d5qyj1cx.js → location-nymjqhfd.js} +16 -16
- package/dist/chunks/{config-nz56sr1f.js → location-nz56sr1f.js} +2 -2
- package/dist/chunks/{config-t8r4mfn9.js → location-p1wfrhak.js} +19 -19
- package/dist/chunks/{config-n4rnyzk2.js → location-p2d2ky5d.js} +1 -1
- package/dist/chunks/{config-ph842b28.js → location-ph842b28.js} +1 -1
- package/dist/chunks/{config-phz50fbd.js → location-phz50fbd.js} +2 -2
- package/dist/chunks/{config-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{config-vefrakjx.js → location-pr35srdg.js} +11 -11
- package/dist/chunks/{config-9tcbax0s.js → location-q84pcmhe.js} +68 -68
- package/dist/chunks/{config-feks9h3c.js → location-qacj84y4.js} +32 -32
- package/dist/chunks/{config-26fsx0a3.js → location-qg3jze5q.js} +6 -6
- package/dist/chunks/{config-w0cy9m9e.js → location-qhft0c11.js} +8 -8
- package/dist/chunks/{config-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{config-xcvbpcg3.js → location-r771kefb.js} +11 -11
- package/dist/chunks/{config-n37c4crj.js → location-r9w3djhf.js} +5 -5
- package/dist/chunks/{config-52kcknyt.js → location-rdmm8wx1.js} +3 -3
- package/dist/chunks/{config-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-1bf0fc7d.js → location-rqxnffma.js} +11 -11
- package/dist/chunks/{config-1g7epwpd.js → location-ryr25ayn.js} +7 -7
- package/dist/chunks/{config-dpd3efqc.js → location-s041gtt0.js} +21 -21
- package/dist/chunks/{config-s8d7rejh.js → location-s8d7rejh.js} +1 -1
- package/dist/chunks/{config-hfn6fzew.js → location-scdee33y.js} +2 -2
- package/dist/chunks/{config-mc3j0fpx.js → location-sf4c3jp0.js} +36 -36
- package/dist/chunks/{config-4x3ndnvr.js → location-sm4k3a60.js} +2 -2
- package/dist/chunks/{config-3v851aqh.js → location-snt75n4w.js} +3 -3
- package/dist/chunks/{config-kn42yqxp.js → location-stn64ya2.js} +15 -15
- package/dist/chunks/{config-syv4x271.js → location-syv4x271.js} +1 -1
- package/dist/chunks/{config-56c3x50a.js → location-t2xhzx1r.js} +30 -30
- package/dist/chunks/{config-b4gz5vkn.js → location-t4dwgtwr.js} +11 -11
- package/dist/chunks/{config-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-j5w2yx54.js → location-tcay1cqt.js} +6 -6
- package/dist/chunks/{config-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{config-fah73bdr.js → location-tgvsetpk.js} +13 -13
- package/dist/chunks/{config-tm0kqsz3.js → location-tm0kqsz3.js} +1 -1
- package/dist/chunks/{config-w9apwqk6.js → location-tnv0fyap.js} +21 -21
- package/dist/chunks/{config-ncf68bzz.js → location-trya7axm.js} +6 -6
- package/dist/chunks/{config-0pey3jm5.js → location-tw7m84f2.js} +1 -1
- package/dist/chunks/{config-zjahv0kn.js → location-txx63mhx.js} +85 -85
- package/dist/chunks/{config-1ar5vknn.js → location-tyk0w0pd.js} +13 -13
- package/dist/chunks/{config-tyytaxap.js → location-tyytaxap.js} +1 -1
- package/dist/chunks/{config-sr7jmsgt.js → location-v210v162.js} +7 -7
- package/dist/chunks/{config-gm3zmfrd.js → location-v2f1b6th.js} +3 -3
- package/dist/chunks/{config-yz6198zk.js → location-v4r857ee.js} +33 -33
- package/dist/chunks/{config-v7p4zvkq.js → location-v7p4zvkq.js} +2 -2
- package/dist/chunks/{config-shj7x14z.js → location-v97gy4rz.js} +14 -14
- package/dist/chunks/{config-a6vnn6sk.js → location-vdnac628.js} +21 -21
- package/dist/chunks/{config-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{config-hf0nszqz.js → location-vgqhef6t.js} +50 -50
- package/dist/chunks/{config-xp5n5vja.js → location-vmt5mznf.js} +6 -6
- package/dist/chunks/{config-epeaaket.js → location-vt1s2zds.js} +4 -4
- package/dist/chunks/{config-3dhryxx4.js → location-vwsfg3fg.js} +21 -21
- package/dist/chunks/{config-6favvbp3.js → location-vzcdy7t2.js} +6 -6
- package/dist/chunks/{config-vzs5sf6e.js → location-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-hhjjafxr.js → location-w375ekyd.js} +20 -20
- package/dist/chunks/{config-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-6pc27hjz.js → location-w92k2e0p.js} +4 -4
- package/dist/chunks/{config-w3jg838k.js → location-w9vf9qqj.js} +9 -9
- package/dist/chunks/{config-wakvkjy4.js → location-wakvkjy4.js} +1 -1
- package/dist/chunks/{config-7cx595n2.js → location-waskdk5r.js} +9 -9
- package/dist/chunks/{config-205njdx0.js → location-wbq5q4f0.js} +17 -17
- package/dist/chunks/{config-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{config-rvev36qg.js → location-wvzvsjpz.js} +16 -16
- package/dist/chunks/{config-9ma1f7k9.js → location-wxy29yzb.js} +11 -11
- package/dist/chunks/{config-x0ec8gbe.js → location-x1n877dv.js} +15 -15
- package/dist/chunks/{config-ce6zma9w.js → location-x2c0z4fa.js} +84 -84
- package/dist/chunks/{config-m2azh2y0.js → location-x3h37q7j.js} +10 -10
- package/dist/chunks/{config-302tx58t.js → location-xc0mr4yb.js} +7 -7
- package/dist/chunks/{config-r8jbq22n.js → location-xc1ymh3x.js} +6 -6
- package/dist/chunks/{config-pc9qwa86.js → location-xmrc0ft6.js} +13 -13
- package/dist/chunks/{config-xw9fg8fb.js → location-xw9fg8fb.js} +2 -2
- package/dist/chunks/{config-62xe7jwg.js → location-xx7k8td3.js} +2 -2
- package/dist/chunks/{config-ztk2zx25.js → location-y05taef3.js} +16 -16
- package/dist/chunks/{config-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-fc6jq9j4.js → location-y49bgj8b.js} +18 -18
- package/dist/chunks/{config-zsj6gmjs.js → location-ya11n351.js} +14 -14
- package/dist/chunks/{config-7cxds5z9.js → location-yetj4y2f.js} +156 -156
- package/dist/chunks/{config-q4ywch8c.js → location-yh8p5p3y.js} +14 -14
- package/dist/chunks/{config-jkter17d.js → location-ysdyyay3.js} +24 -24
- package/dist/chunks/{config-qdsg7kg5.js → location-ysjtvpas.js} +3 -3
- package/dist/chunks/{config-9n959v4g.js → location-yvy8rc3z.js} +18 -18
- package/dist/chunks/{config-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-z18fegx4.js → location-z18fegx4.js} +1 -1
- package/dist/chunks/location-z6xb3w2g.js +26 -0
- package/dist/chunks/{config-qtx6733w.js → location-z6z736zf.js} +27 -27
- package/dist/chunks/{config-msrd37ae.js → location-zajs041s.js} +23 -23
- package/dist/chunks/{config-h7ev3d7m.js → location-zec5t9m9.js} +4 -4
- package/dist/chunks/{config-20tcvkr4.js → location-zgkfskaa.js} +40 -40
- package/dist/chunks/{config-c5zzfjak.js → location-zp589yax.js} +12 -12
- package/dist/chunks/{config-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → location-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +114 -114
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- 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 +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- 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 +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +123 -123
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +9 -9
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- 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 +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/voice.d.ts +12 -1
- 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 +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/config-4envctst.js +0 -26
- package/dist/chunks/config-595xcfmx.js +0 -257
- package/dist/chunks/config-pf31ssb9.js +0 -18
- /package/dist/chunks/{config-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2bv980vf.js → location-2bv980vf.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3t0ybcrp.js → location-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{config-6q2bdcd1.js → location-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{config-84wd9syh.js → location-84wd9syh.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hcxmzztb.js → location-hcxmzztb.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jze0r7bz.js → location-jze0r7bz.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-m18g726c.js → location-m18g726c.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-pkyv6v7h.js → location-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{config-pyv0edze.js → location-pyv0edze.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-ve7vex1e.js → location-ve7vex1e.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wjj7prxr.js → location-wjj7prxr.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z5v4ffb3.js → location-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./location-y05taef3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-ysdyyay3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service17,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-tgvsetpk.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service81
|
|
14
|
+
} from "./location-516j2px1.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service72
|
|
17
|
+
} from "./location-asa024m6.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-ets9hpqy.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input9,
|
|
34
|
+
Output: () => Output5,
|
|
35
|
+
Plugin: () => Plugin45,
|
|
36
|
+
name: () => name9
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name9 = "edit";
|
|
43
|
+
var Input9 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output5 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
|
|
|
190
190
|
}
|
|
191
191
|
return low;
|
|
192
192
|
};
|
|
193
|
-
var
|
|
193
|
+
var Plugin45 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service14;
|
|
197
|
+
const fileMutation = yield* Service17;
|
|
198
|
+
const environment = yield* Service60;
|
|
199
|
+
const formatter = yield* Service81;
|
|
200
|
+
const location = yield* Service82;
|
|
201
|
+
const permission = yield* Service72;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name9,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
207
|
-
output:
|
|
206
|
+
input: Input9,
|
|
207
|
+
output: Output5,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
210
210
|
const permissionSource = {
|
|
@@ -276,4 +276,4 @@ var Plugin37 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name9, Input9, Output5, Plugin45, exports_edit };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID11,
|
|
3
|
+
Service75
|
|
4
|
+
} from "./location-d99zq9a9.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service70
|
|
8
|
+
} from "./location-98hve3fq.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service58
|
|
12
|
+
} from "./location-nc7xb224.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-axe3mf62.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service50
|
|
18
|
+
} from "./location-dkrr3wvc.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service72
|
|
22
|
+
} from "./location-asa024m6.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./location-x2c0z4fa.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service12
|
|
31
|
+
} from "./location-28zjsd3e.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input13,
|
|
40
|
+
Output: () => Output9,
|
|
41
|
+
Plugin: () => Plugin50,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name13
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name13 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input13 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input9 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output9 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin50 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service50;
|
|
94
|
+
const agents = yield* Service75;
|
|
95
|
+
const config = yield* Service58;
|
|
96
|
+
const permission = yield* Service72;
|
|
97
|
+
const models = yield* Service70;
|
|
98
|
+
const subagents = yield* Service12;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin43 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name13,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input13,
|
|
122
|
+
output: Output9,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin43 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name13,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin43 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID11.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name13 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name13];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name13, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name13, Input13, Output9, description5, Plugin50, exports_subagent };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-bvjxnz85.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event20,
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./location-garxcygd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./location-1g1nqesa.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service82,
|
|
19
|
+
node86
|
|
20
|
+
} from "./location-y05taef3.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-kwb1v3vj.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-h01qn727.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-mzkqbs9t.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-6827pfxn.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service65,
|
|
37
|
+
Event12,
|
|
38
|
+
node69
|
|
39
|
+
} from "./location-hsr8yxc9.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
48
|
Options: () => Options8,
|
|
49
|
-
Service: () =>
|
|
49
|
+
Service: () => Service58,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
53
|
layer: () => layer23,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node60,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -76,7 +76,7 @@ var Options8 = Schema.Struct({
|
|
|
76
76
|
content: Schema.optional(Schema.String)
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -94,16 +94,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
94
94
|
setEntries: (next) => Ref.set(entries, next),
|
|
95
95
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
96
96
|
});
|
|
97
|
-
return Context.empty().pipe(Context.add(
|
|
97
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
98
98
|
}));
|
|
99
|
-
var layer23 = (options) => Layer.effect(
|
|
99
|
+
var layer23 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
100
100
|
const fs = yield* FSUtil.Service;
|
|
101
|
-
const location = yield*
|
|
102
|
-
const watcher = yield*
|
|
101
|
+
const location = yield* Service82;
|
|
102
|
+
const watcher = yield* Service59;
|
|
103
103
|
const bus = yield* Service85;
|
|
104
|
-
const credentials = yield*
|
|
104
|
+
const credentials = yield* Service80;
|
|
105
105
|
const globalService = yield* Global.Service;
|
|
106
|
-
const wellknown = yield*
|
|
106
|
+
const wellknown = yield* Service65;
|
|
107
107
|
const processes = yield* AppProcess.Service;
|
|
108
108
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
109
109
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -254,8 +254,8 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
254
254
|
}, (effect) => reloadLock.withPermit(effect));
|
|
255
255
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
256
256
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
-
yield* bus.subscribe(
|
|
258
|
-
yield* bus.subscribe(
|
|
257
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
259
259
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
260
260
|
if (!wellknown.snapshot().length)
|
|
261
261
|
return Effect.void;
|
|
@@ -283,7 +283,7 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
283
283
|
`);
|
|
284
284
|
yield* requestReload;
|
|
285
285
|
}, (effect) => updateLock.withPermit(effect));
|
|
286
|
-
return
|
|
286
|
+
return Service58.of({
|
|
287
287
|
entries: Effect.fnUntraced(function* () {
|
|
288
288
|
return configs;
|
|
289
289
|
}),
|
|
@@ -295,22 +295,22 @@ var layer23 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
295
295
|
update
|
|
296
296
|
});
|
|
297
297
|
}));
|
|
298
|
-
function
|
|
298
|
+
function configured8(options) {
|
|
299
299
|
return makeLocationNode({
|
|
300
|
-
service:
|
|
300
|
+
service: Service58,
|
|
301
301
|
layer: layer23(options),
|
|
302
302
|
deps: [
|
|
303
|
-
|
|
303
|
+
node61,
|
|
304
304
|
node89,
|
|
305
305
|
FSUtil.node,
|
|
306
306
|
Global.node,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
307
|
+
node86,
|
|
308
|
+
node84,
|
|
309
|
+
node69,
|
|
310
310
|
AppProcess.node
|
|
311
311
|
]
|
|
312
312
|
});
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var node60 = configured8();
|
|
315
315
|
|
|
316
|
-
export { latest2, Options8,
|
|
316
|
+
export { latest2, Options8, Service58, Test2, testLayer2, layer23, configured8, node60, exports_config };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./location-nc7xb224.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service8
|
|
6
|
+
} from "./location-dsyqdg7y.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin31
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service58;
|
|
26
|
+
const compaction = yield* Service8;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin25 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin31, exports_compaction };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-hyvp8sn8.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-3y1df9hb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-hfhp5k6j.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-bvjxnz85.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service48
|
|
9
|
+
} from "./location-tcay1cqt.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-z5v4ffb3.js";
|
|
13
13
|
import {
|
|
14
14
|
ID5,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service41
|
|
16
|
+
} from "./location-b04q5t5m.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
MessageNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-6559rxr6.js";
|
|
23
23
|
import {
|
|
24
24
|
SessionMessageTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-dgzq35zb.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeMessageRowSync2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-gg3qganw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -41,11 +41,11 @@ __export(exports_revert, {
|
|
|
41
41
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
42
42
|
import { Effect } from "effect";
|
|
43
43
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
44
|
-
const instances = yield*
|
|
44
|
+
const instances = yield* Service48;
|
|
45
45
|
const database = yield* Service86;
|
|
46
46
|
const bus = yield* Service85;
|
|
47
47
|
return yield* Effect.gen(function* () {
|
|
48
|
-
const snapshot = yield*
|
|
48
|
+
const snapshot = yield* Service41;
|
|
49
49
|
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
50
50
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
51
51
|
const restore = new Map;
|
|
@@ -73,10 +73,10 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
73
73
|
}).pipe(instances.provide(input.session));
|
|
74
74
|
});
|
|
75
75
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
76
|
-
const instances = yield*
|
|
76
|
+
const instances = yield* Service48;
|
|
77
77
|
const bus = yield* Service85;
|
|
78
78
|
yield* Effect.gen(function* () {
|
|
79
|
-
const snapshot = yield*
|
|
79
|
+
const snapshot = yield* Service41;
|
|
80
80
|
if (!session.revert)
|
|
81
81
|
return;
|
|
82
82
|
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|