@opencode-ai/core 0.0.0-dev-19212 → 0.0.0-dev-19216
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{reference-mkqxwqz2.js → file-mutation-01mh49p0.js} +7 -7
- package/dist/chunks/{reference-1qw2s0et.js → file-mutation-06qbn9zd.js} +9 -9
- package/dist/chunks/{reference-pjrq25az.js → file-mutation-09n63jss.js} +22 -22
- package/dist/chunks/{reference-12d3xw68.js → file-mutation-0amw245z.js} +21 -21
- package/dist/chunks/{reference-xev5h8m1.js → file-mutation-0dy783fj.js} +6 -6
- package/dist/chunks/{reference-0e0xafbb.js → file-mutation-0e0xafbb.js} +2 -2
- package/dist/chunks/{reference-jj4631b0.js → file-mutation-0ek2w54z.js} +11 -11
- package/dist/chunks/{reference-0paq2nw3.js → file-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → file-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-bz9mz44d.js → file-mutation-0s535w00.js} +32 -32
- package/dist/chunks/{reference-0s9ayhjt.js → file-mutation-0s9ayhjt.js} +1 -1
- package/dist/chunks/{reference-1dvtgkhr.js → file-mutation-0tqc2v94.js} +3 -3
- package/dist/chunks/{reference-gwybkery.js → file-mutation-0wvfwpx6.js} +20 -20
- package/dist/chunks/{reference-qmgss0yx.js → file-mutation-143qxyja.js} +22 -22
- package/dist/chunks/{reference-f2n192rq.js → file-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{reference-1ct4r87x.js → file-mutation-1ct4r87x.js} +1 -1
- package/dist/chunks/{reference-pzqtgemf.js → file-mutation-1dbh8d2n.js} +11 -11
- package/dist/chunks/{reference-0084cjzv.js → file-mutation-1fgze8hp.js} +20 -20
- package/dist/chunks/{reference-hfg87k89.js → file-mutation-1kvgva6x.js} +22 -22
- package/dist/chunks/file-mutation-1x11rq2a.js +18 -0
- package/dist/chunks/{reference-8efgc05f.js → file-mutation-20m0wqts.js} +15 -15
- package/dist/chunks/{reference-21r38tys.js → file-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{reference-2402vzrj.js → file-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{reference-z63w68vq.js → file-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{reference-2a5m3afh.js → file-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-dnahm207.js → file-mutation-2bm7eph3.js} +18 -18
- package/dist/chunks/{reference-q1gnbgak.js → file-mutation-2e3b49a5.js} +23 -23
- package/dist/chunks/{reference-vr25nrf1.js → file-mutation-2ed8104q.js} +46 -46
- package/dist/chunks/{reference-2ht70gj7.js → file-mutation-2ht70gj7.js} +1 -1
- package/dist/chunks/{reference-6w0j3k4h.js → file-mutation-2phvqca6.js} +16 -16
- package/dist/chunks/{reference-snsfg8hg.js → file-mutation-2sj3c2ad.js} +30 -30
- package/dist/chunks/{reference-y6nt3k22.js → file-mutation-2z0b56st.js} +2 -2
- package/dist/chunks/{reference-1c2r3nav.js → file-mutation-34m8n255.js} +6 -6
- package/dist/chunks/{reference-pkdexze4.js → file-mutation-35e7m4yx.js} +22 -22
- package/dist/chunks/{reference-e8dmw4nq.js → file-mutation-3and2xxf.js} +28 -28
- package/dist/chunks/{reference-ah5d5vc5.js → file-mutation-3ap2p86d.js} +9 -9
- package/dist/chunks/{reference-gdvy8fx6.js → file-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{reference-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-21psq759.js → file-mutation-3jpejpk8.js} +23 -23
- package/dist/chunks/{reference-g2tqkshq.js → file-mutation-3jxqjar4.js} +29 -29
- package/dist/chunks/{reference-0x6rv59f.js → file-mutation-3pt7nqe6.js} +50 -50
- package/dist/chunks/{reference-3qzbfqsy.js → file-mutation-3qzbfqsy.js} +2 -2
- package/dist/chunks/{reference-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-t7jrq559.js → file-mutation-3sy3bhxh.js} +8 -8
- package/dist/chunks/{reference-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-711hfp6y.js → file-mutation-3x6030n9.js} +2 -2
- package/dist/chunks/{reference-sf4mqfcw.js → file-mutation-40jtjs1k.js} +11 -11
- package/dist/chunks/{reference-454k5vzh.js → file-mutation-454k5vzh.js} +1 -1
- package/dist/chunks/{reference-3v8a3rwp.js → file-mutation-45a3e49b.js} +9 -9
- package/dist/chunks/{reference-xc4h7e7s.js → file-mutation-47cx0r01.js} +31 -31
- package/dist/chunks/{reference-0ynctp82.js → file-mutation-4b1sg654.js} +19 -19
- package/dist/chunks/{reference-8s7rem2e.js → file-mutation-4k7zmpk3.js} +8 -8
- package/dist/chunks/{reference-4r2nyarf.js → file-mutation-4r2nyarf.js} +1 -1
- package/dist/chunks/{reference-t87rya8x.js → file-mutation-4xymgjke.js} +17 -17
- package/dist/chunks/{reference-1ygqh575.js → file-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{reference-x8wn8zn7.js → file-mutation-58hcpyay.js} +33 -33
- package/dist/chunks/{reference-vyc39jy3.js → file-mutation-5bch6tfs.js} +13 -13
- package/dist/chunks/{reference-5daktx2q.js → file-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-mqv5z4da.js → file-mutation-5e624tvg.js} +7 -7
- package/dist/chunks/{reference-5fmxt4p5.js → file-mutation-5fmxt4p5.js} +1 -1
- package/dist/chunks/{reference-5jvc5tg2.js → file-mutation-5jvc5tg2.js} +1 -1
- package/dist/chunks/{reference-krma7hp6.js → file-mutation-5mqca3xa.js} +25 -25
- package/dist/chunks/{reference-5bk2z4g2.js → file-mutation-5n978qtj.js} +6 -6
- package/dist/chunks/{reference-5ehqaa7d.js → file-mutation-62z4m846.js} +24 -24
- package/dist/chunks/{reference-4z6b0fg6.js → file-mutation-64z8z5x5.js} +6 -6
- package/dist/chunks/{reference-p8mkgytk.js → file-mutation-6e593aan.js} +28 -28
- package/dist/chunks/{reference-yhr218qz.js → file-mutation-6e958v7x.js} +4 -4
- package/dist/chunks/{reference-w03xx005.js → file-mutation-6qvt79ej.js} +24 -24
- package/dist/chunks/{reference-kjmqhh6j.js → file-mutation-6t42cqx7.js} +29 -29
- package/dist/chunks/{reference-qwrhw08z.js → file-mutation-6tnfgw9a.js} +28 -28
- package/dist/chunks/{reference-72nftnjy.js → file-mutation-72nftnjy.js} +2 -2
- package/dist/chunks/{reference-ms9ez6yh.js → file-mutation-76smfv87.js} +7 -7
- package/dist/chunks/{reference-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-e0j83zpa.js → file-mutation-7cnkxtbd.js} +9 -9
- package/dist/chunks/file-mutation-7ctffjx1.js +22 -0
- package/dist/chunks/{reference-fcrkznn8.js → file-mutation-7dqw4kz8.js} +5 -5
- package/dist/chunks/{reference-9pvr9h0s.js → file-mutation-7m9tkefv.js} +11 -11
- package/dist/chunks/{reference-xqsy6kp0.js → file-mutation-7ng7exzm.js} +1 -1
- package/dist/chunks/{reference-e5b0qn1c.js → file-mutation-7nxyxket.js} +1 -1
- package/dist/chunks/{reference-14hmenm3.js → file-mutation-7ry09vv5.js} +3 -3
- package/dist/chunks/{reference-bdqrk2vk.js → file-mutation-7w3s9kd0.js} +4 -4
- package/dist/chunks/{reference-a3hbghzv.js → file-mutation-85490285.js} +29 -29
- package/dist/chunks/{reference-4s516vzf.js → file-mutation-897hzw7d.js} +9 -9
- package/dist/chunks/{reference-n3zdm92s.js → file-mutation-8ht03v18.js} +4 -4
- package/dist/chunks/{reference-emtnqcre.js → file-mutation-8yqh4j7k.js} +28 -28
- package/dist/chunks/{reference-8q4ja06g.js → file-mutation-8za182nc.js} +15 -15
- package/dist/chunks/{reference-g41n1fn3.js → file-mutation-986p65m9.js} +5 -5
- package/dist/chunks/{reference-r4ftc533.js → file-mutation-998c6hc6.js} +32 -32
- package/dist/chunks/{reference-a9zfrvqc.js → file-mutation-99vgbsyy.js} +5 -5
- package/dist/chunks/{reference-5xenskfm.js → file-mutation-9b3te7cd.js} +46 -46
- package/dist/chunks/{reference-ngxtnptd.js → file-mutation-9pk3p303.js} +8 -8
- package/dist/chunks/{reference-q05vaz4s.js → file-mutation-a1qwmqqw.js} +13 -13
- package/dist/chunks/{reference-qa3qhgw8.js → file-mutation-a2ew8a62.js} +4 -4
- package/dist/chunks/{reference-4qjtp74j.js → file-mutation-a4rgs0hc.js} +8 -8
- package/dist/chunks/{reference-vweaxkb2.js → file-mutation-a9e4exys.js} +37 -37
- package/dist/chunks/{reference-18tdf853.js → file-mutation-aa8vhsgg.js} +7 -7
- package/dist/chunks/{reference-aaet6srn.js → file-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-n97at88n.js → file-mutation-ab39g6be.js} +15 -15
- package/dist/chunks/{reference-3vnt15xv.js → file-mutation-ada40aw5.js} +42 -42
- package/dist/chunks/{reference-d7na6v95.js → file-mutation-aeg24s2a.js} +3 -3
- package/dist/chunks/{reference-jfgx1kn9.js → file-mutation-asb5ddgn.js} +3 -3
- package/dist/chunks/{reference-3cae9tw6.js → file-mutation-ayghbyc9.js} +16 -16
- package/dist/chunks/{reference-4sjb0t0m.js → file-mutation-b2cva8t7.js} +32 -32
- package/dist/chunks/{reference-b6gygkdw.js → file-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-6mj2pf94.js → file-mutation-b92pv2tj.js} +5 -5
- package/dist/chunks/{reference-gaw4vzx1.js → file-mutation-b9j3swwv.js} +12 -12
- package/dist/chunks/{reference-b9wsbatv.js → file-mutation-b9wsbatv.js} +1 -1
- package/dist/chunks/{reference-e579sj9a.js → file-mutation-babn4frh.js} +8 -8
- package/dist/chunks/{reference-eg4pr325.js → file-mutation-bfr8x9hg.js} +10 -10
- package/dist/chunks/{reference-j2823k0a.js → file-mutation-bgt6msk1.js} +2 -2
- package/dist/chunks/{reference-0xd2d7hb.js → file-mutation-bxnxw8jj.js} +5 -5
- package/dist/chunks/{reference-6cd6tdvt.js → file-mutation-c0gy5km3.js} +6 -6
- package/dist/chunks/{reference-16p10fwd.js → file-mutation-c0yyaxk6.js} +17 -17
- package/dist/chunks/{reference-r5cm8qwg.js → file-mutation-c8k27x3s.js} +9 -9
- package/dist/chunks/{reference-a2vgq88x.js → file-mutation-cfbbrnxq.js} +11 -11
- package/dist/chunks/{reference-fvanntqq.js → file-mutation-cpy6gm2a.js} +4 -4
- package/dist/chunks/{reference-g77vssk4.js → file-mutation-cq35m6me.js} +3 -3
- package/dist/chunks/{reference-d05z5f6t.js → file-mutation-cr8sbmwr.js} +44 -44
- package/dist/chunks/{reference-dbhz56x7.js → file-mutation-d4pvcjkk.js} +18 -18
- package/dist/chunks/{reference-5cmvkkst.js → file-mutation-d6k3vpm5.js} +4 -4
- package/dist/chunks/{reference-z407bpgn.js → file-mutation-dcgj9q88.js} +25 -25
- package/dist/chunks/{reference-w26538p1.js → file-mutation-dds56zbh.js} +29 -29
- package/dist/chunks/{reference-an7cqtb7.js → file-mutation-dfe8djrf.js} +4 -4
- package/dist/chunks/{reference-fa3xpm51.js → file-mutation-dk2pae67.js} +16 -16
- package/dist/chunks/{reference-rx1jg21z.js → file-mutation-dxyd6n6d.js} +174 -174
- package/dist/chunks/{reference-qh8mgzry.js → file-mutation-dyqxbeha.js} +11 -11
- package/dist/chunks/{reference-6efxj6ke.js → file-mutation-e4gkhccc.js} +4 -4
- package/dist/chunks/{reference-x41jnft1.js → file-mutation-e6yvemtv.js} +65 -65
- package/dist/chunks/{reference-2sqse76q.js → file-mutation-e94r4fk5.js} +79 -79
- package/dist/chunks/{reference-2yberneh.js → file-mutation-enamxrz2.js} +2 -2
- package/dist/chunks/{reference-5ngsm0n8.js → file-mutation-etamtscj.js} +5 -5
- package/dist/chunks/{reference-hjrjbgez.js → file-mutation-ev7pq6rs.js} +5 -5
- package/dist/chunks/{reference-41p65mbg.js → file-mutation-evj8e4hg.js} +26 -26
- package/dist/chunks/{reference-asvzsbd0.js → file-mutation-evj94p3t.js} +13 -13
- package/dist/chunks/{reference-wyrajqkf.js → file-mutation-f40w3zwy.js} +46 -46
- package/dist/chunks/{reference-86s3977f.js → file-mutation-f9x6rp1j.js} +1 -1
- package/dist/chunks/{reference-kw0c7kv6.js → file-mutation-fdcmbayr.js} +20 -20
- package/dist/chunks/{reference-2w60sym0.js → file-mutation-fhbjhm8t.js} +48 -48
- package/dist/chunks/{reference-6bwsc8qf.js → file-mutation-fj5hcd03.js} +35 -35
- package/dist/chunks/{reference-njkh1s3y.js → file-mutation-fke00733.js} +8 -8
- package/dist/chunks/{reference-a3jrf4x9.js → file-mutation-fmzy9ynz.js} +10 -10
- package/dist/chunks/{reference-y3t4revc.js → file-mutation-fvpasvjq.js} +4 -4
- package/dist/chunks/{reference-8nfv3dr6.js → file-mutation-fw416nha.js} +20 -20
- package/dist/chunks/{reference-fxbjtjnd.js → file-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-fxypknc8.js → file-mutation-fxypknc8.js} +1 -1
- package/dist/chunks/{reference-1n116cmy.js → file-mutation-fz1pdqz4.js} +9 -9
- package/dist/chunks/{reference-hrvm11jt.js → file-mutation-g2dy4bvs.js} +3 -3
- package/dist/chunks/{reference-d72308c8.js → file-mutation-g2gt0w0k.js} +2 -2
- package/dist/chunks/{reference-mzj84rkx.js → file-mutation-g8a6h08d.js} +13 -13
- package/dist/chunks/{reference-yegg0avx.js → file-mutation-gd0bwbeh.js} +83 -83
- package/dist/chunks/{reference-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-etjqf465.js → file-mutation-ger17fbp.js} +59 -59
- package/dist/chunks/{reference-3gzh0vtz.js → file-mutation-gkvt71jh.js} +9 -9
- package/dist/chunks/{reference-ef7xpky4.js → file-mutation-gz5et4ap.js} +16 -16
- package/dist/chunks/file-mutation-h139r1mg.js +460 -0
- package/dist/chunks/{reference-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-trss6eke.js → file-mutation-hayn59kd.js} +27 -27
- package/dist/chunks/{reference-heyhwy2w.js → file-mutation-heyhwy2w.js} +1 -1
- package/dist/chunks/{reference-5k3f87xj.js → file-mutation-hgeb4s25.js} +1 -1
- package/dist/chunks/{reference-y2cqme3r.js → file-mutation-hhpzk61m.js} +5 -5
- package/dist/chunks/{reference-ffynz4t3.js → file-mutation-hjpabd42.js} +23 -23
- package/dist/chunks/{reference-e82z9tr0.js → file-mutation-hjt4xg1x.js} +7 -7
- package/dist/chunks/{reference-hn57h045.js → file-mutation-hn57h045.js} +1 -1
- package/dist/chunks/{reference-bsvvsrn1.js → file-mutation-hnyf01b0.js} +5 -5
- package/dist/chunks/{reference-v60ecprk.js → file-mutation-hpbtcqba.js} +9 -9
- package/dist/chunks/{reference-856yxx7h.js → file-mutation-htqkwcnv.js} +10 -10
- package/dist/chunks/{reference-x6z3jawz.js → file-mutation-hzzs2yvs.js} +36 -36
- package/dist/chunks/{reference-7x2s7bzw.js → file-mutation-j8swj2w1.js} +11 -11
- package/dist/chunks/{reference-paphc93g.js → file-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{reference-1r334jan.js → file-mutation-jykcc5qa.js} +6 -6
- package/dist/chunks/{reference-f7tmr1cs.js → file-mutation-k0g96r8n.js} +4 -4
- package/dist/chunks/{reference-k0zpnkm5.js → file-mutation-k0zpnkm5.js} +1 -1
- package/dist/chunks/{reference-4829mzp8.js → file-mutation-k1h3pd12.js} +10 -10
- package/dist/chunks/{reference-50xx9m7g.js → file-mutation-k3b33mde.js} +7 -7
- package/dist/chunks/{reference-x2q61z0h.js → file-mutation-k3xp7ghz.js} +18 -18
- package/dist/chunks/{reference-k4bwy1x5.js → file-mutation-k4bwy1x5.js} +1 -1
- package/dist/chunks/{reference-tk4kvvnf.js → file-mutation-kbsyt50d.js} +25 -25
- package/dist/chunks/{reference-1qh4pj30.js → file-mutation-kdrneqjw.js} +29 -29
- package/dist/chunks/{reference-kg06axw8.js → file-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-6k404gxp.js → file-mutation-kkxc5154.js} +4 -4
- package/dist/chunks/{reference-68prq3sc.js → file-mutation-kry5p3r0.js} +26 -26
- package/dist/chunks/{reference-j8tds478.js → file-mutation-ks0jjys9.js} +12 -12
- package/dist/chunks/{reference-hw4pv20g.js → file-mutation-kvsjn1dr.js} +2 -2
- package/dist/chunks/{reference-3qew0nv7.js → file-mutation-kx9ynrf0.js} +15 -15
- package/dist/chunks/{reference-zn2pq4p8.js → file-mutation-kxnt8qcg.js} +5 -5
- package/dist/chunks/{reference-4h3djfaw.js → file-mutation-m5a4zvg4.js} +39 -39
- package/dist/chunks/{reference-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-ztnyd3e4.js → file-mutation-mfv0zw27.js} +9 -9
- package/dist/chunks/{reference-jdqgf29y.js → file-mutation-mkajv2tb.js} +6 -6
- package/dist/chunks/{reference-vkfv6j0y.js → file-mutation-mpsa3nes.js} +12 -12
- package/dist/chunks/{reference-6wt2d068.js → file-mutation-mq3bjh81.js} +22 -22
- package/dist/chunks/{reference-mhkvc446.js → file-mutation-mvfsc1pv.js} +3 -3
- package/dist/chunks/{reference-a17pxmag.js → file-mutation-n0gbmnre.js} +11 -11
- package/dist/chunks/{reference-spxrvp3q.js → file-mutation-n27y30w6.js} +46 -46
- package/dist/chunks/{reference-tcttdp38.js → file-mutation-n8dztyn3.js} +13 -13
- package/dist/chunks/{reference-tjtqfkq6.js → file-mutation-npsbfqmn.js} +31 -31
- package/dist/chunks/{reference-018mknr8.js → file-mutation-nt2vsa9g.js} +22 -22
- package/dist/chunks/{reference-rmk9teax.js → file-mutation-nvm3xv8h.js} +28 -28
- package/dist/chunks/{reference-6md5mvvn.js → file-mutation-nxepqw4e.js} +18 -18
- package/dist/chunks/{reference-xrq8ec0v.js → file-mutation-ny5fc873.js} +15 -15
- package/dist/chunks/{reference-vg3d5k3k.js → file-mutation-p33zfxh6.js} +26 -26
- package/dist/chunks/{reference-asb6ptdj.js → file-mutation-pjvn5h54.js} +12 -12
- package/dist/chunks/{reference-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{reference-d657j5sf.js → file-mutation-ptg06ky0.js} +12 -12
- package/dist/chunks/{reference-agc30tdk.js → file-mutation-ptrtafvx.js} +11 -11
- package/dist/chunks/{reference-692yah3v.js → file-mutation-q36vtzqe.js} +5 -5
- package/dist/chunks/{reference-snxwbbja.js → file-mutation-q68wbhj3.js} +4 -4
- package/dist/chunks/{reference-s3eqpch7.js → file-mutation-qbyj8qxd.js} +1 -1
- package/dist/chunks/{reference-ea1bn3s4.js → file-mutation-qfv34cas.js} +17 -17
- package/dist/chunks/{reference-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-8dtfw9dp.js → file-mutation-qswnket4.js} +16 -16
- package/dist/chunks/{reference-9qm9egsn.js → file-mutation-qvbcabdc.js} +2 -2
- package/dist/chunks/{reference-wvd7xkhd.js → file-mutation-qxezqvzm.js} +17 -17
- package/dist/chunks/{reference-mb6p4x5v.js → file-mutation-r062cge9.js} +40 -40
- package/dist/chunks/{reference-r8dhm0tv.js → file-mutation-r8dhm0tv.js} +1 -1
- package/dist/chunks/{reference-18se47gg.js → file-mutation-rae26gbb.js} +8 -8
- package/dist/chunks/{reference-0pkwxjdh.js → file-mutation-renmeb8y.js} +7 -7
- package/dist/chunks/{reference-hmw71aj6.js → file-mutation-rhqk4sk8.js} +14 -14
- package/dist/chunks/{reference-xcjh69t4.js → file-mutation-rwh0xq6p.js} +15 -15
- package/dist/chunks/{reference-pztv92z9.js → file-mutation-rx7yndt1.js} +11 -11
- package/dist/chunks/{reference-v72skxvp.js → file-mutation-s38wv68t.js} +18 -18
- package/dist/chunks/{reference-r4fs0yvq.js → file-mutation-s3vrd4d2.js} +18 -18
- package/dist/chunks/{reference-sba4qhjf.js → file-mutation-sba4qhjf.js} +1 -1
- package/dist/chunks/{reference-esxkkh19.js → file-mutation-sbnvhk9g.js} +20 -20
- package/dist/chunks/{reference-sxfxx2yk.js → file-mutation-sc1wqa8e.js} +24 -24
- package/dist/chunks/{reference-bcv0c355.js → file-mutation-shfaz11f.js} +4 -4
- package/dist/chunks/{reference-09ywgxwg.js → file-mutation-sxhwk0c0.js} +4 -4
- package/dist/chunks/{reference-1ks609kc.js → file-mutation-ta5yt3rh.js} +34 -34
- package/dist/chunks/{reference-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-tcezcvh9.js → file-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-sznyev98.js → file-mutation-tdpndm1c.js} +5 -5
- package/dist/chunks/{reference-g97bp859.js → file-mutation-tgnthhz6.js} +25 -25
- package/dist/chunks/{reference-dryn3h34.js → file-mutation-thb62adn.js} +10 -10
- package/dist/chunks/{reference-tjykrgmx.js → file-mutation-tjykrgmx.js} +1 -1
- package/dist/chunks/{reference-y5ey60w0.js → file-mutation-v3gnfvgj.js} +11 -11
- package/dist/chunks/{reference-kwjjfgw8.js → file-mutation-v7r3cw40.js} +32 -32
- package/dist/chunks/{reference-mcxg6pmm.js → file-mutation-v8gy3pjr.js} +1 -1
- package/dist/chunks/{reference-y18qbtn0.js → file-mutation-vdve1s0m.js} +3 -3
- package/dist/chunks/{reference-84p78t7c.js → file-mutation-vfhg49f4.js} +11 -11
- package/dist/chunks/{reference-67cp0t3n.js → file-mutation-vhh9ar68.js} +11 -11
- package/dist/chunks/{reference-k3895j1r.js → file-mutation-vj79ke67.js} +27 -27
- package/dist/chunks/{reference-g2xm0wwc.js → file-mutation-vnj10zg0.js} +14 -14
- package/dist/chunks/{reference-cawt2ka0.js → file-mutation-vwq77r6c.js} +32 -32
- package/dist/chunks/{reference-e7ngq1fb.js → file-mutation-w19ppvv8.js} +11 -11
- package/dist/chunks/{reference-5kw2ja90.js → file-mutation-w25meggd.js} +14 -14
- package/dist/chunks/{reference-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-2n1jf9zw.js → file-mutation-w5gv9txn.js} +7 -7
- package/dist/chunks/{reference-j3qa67je.js → file-mutation-w7a45d2w.js} +23 -23
- package/dist/chunks/{reference-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{reference-9v2dm5wj.js → file-mutation-wy24wt1k.js} +17 -17
- package/dist/chunks/{reference-v5qh35yv.js → file-mutation-wzn1pg97.js} +9 -9
- package/dist/chunks/{reference-x1ezjp6w.js → file-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-k1m6m3k9.js → file-mutation-x7n6jb1w.js} +17 -17
- package/dist/chunks/{reference-pgnsvmsq.js → file-mutation-xscz55ef.js} +15 -15
- package/dist/chunks/{reference-2zjvjrq5.js → file-mutation-xspyb9m3.js} +8 -8
- package/dist/chunks/{reference-evv0wppe.js → file-mutation-y1a5n2r0.js} +16 -16
- package/dist/chunks/{reference-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-r9vqe5sy.js → file-mutation-y4xjyrf3.js} +18 -18
- package/dist/chunks/{reference-1pxjmmqp.js → file-mutation-y5h9vgb0.js} +8 -8
- package/dist/chunks/{reference-5mmddgh2.js → file-mutation-y61qnw8a.js} +10 -10
- package/dist/chunks/{reference-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{reference-pv06p42z.js → file-mutation-y724s5yt.js} +4 -4
- package/dist/chunks/{reference-sht6jbn9.js → file-mutation-y8g99sqg.js} +29 -29
- package/dist/chunks/{reference-1gdy6sdc.js → file-mutation-ye0hwk1t.js} +9 -9
- package/dist/chunks/{reference-yfbd16n1.js → file-mutation-yfbd16n1.js} +2 -2
- package/dist/chunks/{reference-ajtjthsy.js → file-mutation-yg7sb877.js} +2 -2
- package/dist/chunks/{reference-fm6rrk6d.js → file-mutation-ypexc4gq.js} +41 -41
- package/dist/chunks/file-mutation-ywgxakqv.js +247 -0
- package/dist/chunks/{reference-z1k01bn4.js → file-mutation-z1k01bn4.js} +2 -2
- package/dist/chunks/{reference-b2vrfppg.js → file-mutation-z3s9j4q6.js} +12 -12
- package/dist/chunks/{reference-g937y3ww.js → file-mutation-z48dvxa8.js} +1 -1
- package/dist/chunks/{reference-z6q3sy01.js → file-mutation-z5wp74ca.js} +13 -13
- package/dist/chunks/{reference-8ss6hdvh.js → file-mutation-zjx20249.js} +4 -4
- package/dist/chunks/{reference-fexhrjwy.js → file-mutation-zjy9mrjh.js} +17 -17
- package/dist/chunks/{reference-xb8haxn3.js → file-mutation-zr1rg8va.js} +22 -22
- package/dist/chunks/{reference-zxq2ej10.js → file-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +96 -96
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- 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 +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +353 -353
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +346 -346
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +81 -81
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +347 -347
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +119 -119
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +78 -78
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +321 -321
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +96 -96
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +74 -74
- 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 +336 -336
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +217 -217
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +146 -146
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +119 -119
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +14 -14
- package/dist/session/inbox.js +78 -78
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +91 -91
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +112 -112
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +125 -125
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +99 -99
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +82 -82
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +118 -118
- package/dist/session/runner/to-llm-message.js +1 -1
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +97 -97
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +82 -82
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +204 -204
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +148 -148
- package/dist/session/to-session-error.js +106 -106
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +101 -101
- package/dist/skill.js +102 -102
- package/dist/snapshot.js +88 -88
- 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 +118 -118
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +117 -117
- package/dist/tool/plugin/grep.js +119 -119
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +95 -95
- package/dist/tool/plugin/read.js +120 -120
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +103 -103
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +11 -11
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +14 -14
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +337 -337
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +89 -89
- package/package.json +7 -7
- package/dist/chunks/reference-584ntgtv.js +0 -460
- package/dist/chunks/reference-ehdge3wy.js +0 -22
- package/dist/chunks/reference-q509s3k3.js +0 -18
- package/dist/chunks/reference-yb1x73y0.js +0 -247
- /package/dist/chunks/{reference-0fabt78z.js → file-mutation-0fabt78z.js} +0 -0
- /package/dist/chunks/{reference-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3t738kvx.js → file-mutation-3t738kvx.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-41nvscxy.js → file-mutation-41nvscxy.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-7zk4hah4.js → file-mutation-7zk4hah4.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-982e01ww.js → file-mutation-982e01ww.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a1tpkmh4.js → file-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → file-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mntxs535.js → file-mutation-mntxs535.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p8qxwesx.js → file-mutation-p8qxwesx.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-se0s1eqw.js → file-mutation-se0s1eqw.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → file-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → file-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x1b8g1yb.js → file-mutation-x1b8g1yb.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → file-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
- /package/dist/chunks/{reference-zbjnn3ac.js → file-mutation-zbjnn3ac.js} +0 -0
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service45
|
|
3
|
+
} from "./file-mutation-ger17fbp.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-a1tpkmh4.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin29,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description5,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name11
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name11 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description5 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input11 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input3 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input11.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin29 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service45;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name11,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description5,
|
|
104
|
+
input: Input11,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin16 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name11,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description5, Input11, Plugin29, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/system-prompt.ts
|
|
6
6
|
var exports_system_prompt = {};
|
|
7
7
|
__export(exports_system_prompt, {
|
|
8
8
|
SessionSystemPrompt: () => exports_system_prompt,
|
|
9
|
-
make: () =>
|
|
10
|
-
render: () =>
|
|
9
|
+
make: () => make15,
|
|
10
|
+
render: () => render3
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
// src/session/runner/prompt/system.txt
|
|
@@ -29,10 +29,10 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
|
|
|
29
29
|
`;
|
|
30
30
|
|
|
31
31
|
// src/session/system-prompt.ts
|
|
32
|
-
function
|
|
33
|
-
return
|
|
32
|
+
function make15(tools) {
|
|
33
|
+
return render3(system_default, tools);
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function render3(prompt, tools) {
|
|
36
36
|
const instructions = [];
|
|
37
37
|
if (tools.includes("shell")) {
|
|
38
38
|
instructions.push("- Prefer dedicated tools over shell commands; fall back to the shell when a tool cannot do what you need.", "- Do not chain shell commands with separators like `echo \"====\";` or `printf '---'`; the output becomes noisy in a way that makes the user's side of the conversation worse.");
|
|
@@ -47,4 +47,4 @@ function render2(prompt, tools) {
|
|
|
47
47
|
`));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
export {
|
|
50
|
+
export { make15, render3, exports_system_prompt };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-mntxs535.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/runner/retry.ts
|
|
9
9
|
var exports_retry = {};
|
|
10
10
|
__export(exports_retry, {
|
|
11
11
|
SessionRunnerRetry: () => exports_retry,
|
|
12
12
|
isRetryable: () => isRetryable2,
|
|
13
|
-
make: () =>
|
|
13
|
+
make: () => make5,
|
|
14
14
|
policy: () => policy2
|
|
15
15
|
});
|
|
16
16
|
import { Clock, Duration, Effect, Pull, Schedule } from "effect";
|
|
@@ -80,7 +80,7 @@ var policy2 = (sessionID) => Effect.gen(function* () {
|
|
|
80
80
|
return { retry: true, attempt, delay: normalized };
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
var
|
|
83
|
+
var make5 = (bus, sessionID) => Effect.gen(function* () {
|
|
84
84
|
const decide = yield* policy2(sessionID);
|
|
85
85
|
const wait = (input) => Effect.gen(function* () {
|
|
86
86
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -97,4 +97,4 @@ var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
97
97
|
return { decide, wait };
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
export { isRetryable2, policy2,
|
|
100
|
+
export { isRetryable2, policy2, make5, exports_retry };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-p8qxwesx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/project/schema.ts
|
|
9
9
|
var exports_schema = {};
|
|
10
10
|
__export(exports_schema, {
|
|
11
11
|
Current: () => Current3,
|
|
12
|
-
Event: () =>
|
|
13
|
-
ID: () =>
|
|
14
|
-
Info: () =>
|
|
12
|
+
Event: () => Event15,
|
|
13
|
+
ID: () => ID12,
|
|
14
|
+
Info: () => Info26,
|
|
15
15
|
ProjectSchema: () => exports_schema,
|
|
16
16
|
UpdateInput: () => UpdateInput4,
|
|
17
17
|
Vcs: () => Vcs3
|
|
18
18
|
});
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { Project } from "@opencode-ai/schema/project";
|
|
21
|
-
var
|
|
21
|
+
var ID12 = Project.ID;
|
|
22
22
|
var Current3 = Project.Current;
|
|
23
|
-
var
|
|
23
|
+
var Info26 = Project.Info;
|
|
24
24
|
var UpdateInput4 = Project.UpdateInput;
|
|
25
|
-
var
|
|
25
|
+
var Event15 = Project.Event;
|
|
26
26
|
var Vcs3 = Schema.Struct({
|
|
27
27
|
type: Project.Vcs,
|
|
28
28
|
store: AbsolutePath2
|
|
29
29
|
});
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { ID12, Current3, Info26, UpdateInput4, Event15, Vcs3, exports_schema };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-pjvn5h54.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./file-mutation-ada40aw5.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-01mh49p0.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make7(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service56;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
catalog.model.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID16.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make7();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make7, OllamaPlugin2 };
|
|
@@ -2,46 +2,46 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service67
|
|
8
|
+
} from "./file-mutation-zjy9mrjh.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service64
|
|
11
|
+
} from "./file-mutation-62z4m846.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service14
|
|
14
|
+
} from "./file-mutation-ab39g6be.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service63,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-n8dztyn3.js";
|
|
20
20
|
import {
|
|
21
21
|
externalDirectoryPermission2,
|
|
22
22
|
resolvePath2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service66
|
|
24
|
+
} from "./file-mutation-dk2pae67.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service45
|
|
27
|
+
} from "./file-mutation-ger17fbp.js";
|
|
28
28
|
import {
|
|
29
29
|
fileDiff2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-mutation-6prwharc.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/tool/plugin/patch.ts
|
|
36
36
|
var exports_patch = {};
|
|
37
37
|
__export(exports_patch, {
|
|
38
38
|
Applied: () => Applied2,
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
39
|
+
Input: () => Input8,
|
|
40
|
+
Output: () => Output6,
|
|
41
41
|
PatchTool: () => exports_patch,
|
|
42
|
-
Plugin: () =>
|
|
43
|
-
name: () =>
|
|
44
|
-
toModelContent: () =>
|
|
42
|
+
Plugin: () => Plugin25,
|
|
43
|
+
name: () => name8,
|
|
44
|
+
toModelContent: () => toModelContent4
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode-ai/ai";
|
|
47
47
|
import { FileDiff } from "@opencode-ai/schema/file-diff";
|
|
@@ -86,8 +86,8 @@ It is important to remember:
|
|
|
86
86
|
`;
|
|
87
87
|
|
|
88
88
|
// src/tool/plugin/patch.ts
|
|
89
|
-
var
|
|
90
|
-
var
|
|
89
|
+
var name8 = "patch";
|
|
90
|
+
var Input8 = Schema.Struct({
|
|
91
91
|
patchText: Schema.String.annotate({
|
|
92
92
|
description: "The full patch text describing add, update, and delete operations"
|
|
93
93
|
})
|
|
@@ -97,30 +97,30 @@ var Applied2 = Schema.Struct({
|
|
|
97
97
|
resource: Schema.String,
|
|
98
98
|
target: Schema.String
|
|
99
99
|
});
|
|
100
|
-
var
|
|
100
|
+
var Output6 = Schema.Struct({
|
|
101
101
|
applied: Schema.Array(Applied2),
|
|
102
102
|
files: Schema.Array(FileDiff.Info)
|
|
103
103
|
});
|
|
104
|
-
var
|
|
104
|
+
var toModelContent4 = (output) => [
|
|
105
105
|
"Success. Updated the following files:",
|
|
106
106
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
107
107
|
].join(`
|
|
108
108
|
`);
|
|
109
|
-
var
|
|
109
|
+
var Plugin25 = {
|
|
110
110
|
id: "opencode.tool.patch",
|
|
111
111
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
112
|
-
const environment = yield*
|
|
113
|
-
const mutation = yield*
|
|
114
|
-
const fileMutation = yield*
|
|
115
|
-
const formatter = yield*
|
|
116
|
-
const location = yield*
|
|
117
|
-
const permission = yield*
|
|
112
|
+
const environment = yield* Service64;
|
|
113
|
+
const mutation = yield* Service66;
|
|
114
|
+
const fileMutation = yield* Service63;
|
|
115
|
+
const formatter = yield* Service14;
|
|
116
|
+
const location = yield* Service67;
|
|
117
|
+
const permission = yield* Service45;
|
|
118
118
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
119
|
-
name:
|
|
119
|
+
name: name8,
|
|
120
120
|
options: { codemode: false, permission: "edit" },
|
|
121
121
|
description: patch_default,
|
|
122
|
-
input:
|
|
123
|
-
output:
|
|
122
|
+
input: Input8,
|
|
123
|
+
output: Output6,
|
|
124
124
|
execute: (input, context) => {
|
|
125
125
|
const applied = [];
|
|
126
126
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -273,7 +273,7 @@ var Plugin18 = {
|
|
|
273
273
|
return { applied, files };
|
|
274
274
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
275
275
|
output,
|
|
276
|
-
content:
|
|
276
|
+
content: toModelContent4(output),
|
|
277
277
|
metadata: { files: output.files }
|
|
278
278
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
279
279
|
}
|
|
@@ -330,4 +330,4 @@ function trimDiff(diff) {
|
|
|
330
330
|
`);
|
|
331
331
|
}
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { name8, Input8, Applied2, Output6, toModelContent4, Plugin25, exports_patch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID17,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-64z8z5x5.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID16,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info30
|
|
11
|
+
} from "./file-mutation-pjvn5h54.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
17
|
var exports_models = {};
|
|
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
|
|
|
87
87
|
result.set(id, build(id, current, baseURL, model));
|
|
88
88
|
}
|
|
89
89
|
for (const [id, model] of remote) {
|
|
90
|
-
const key =
|
|
90
|
+
const key = ID16.make(id);
|
|
91
91
|
if (result.has(key))
|
|
92
92
|
continue;
|
|
93
93
|
result.set(key, build(key, model, baseURL));
|
|
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
111
111
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
112
112
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
113
113
|
const released = previous?.time.released || Date.parse(version);
|
|
114
|
-
return
|
|
115
|
-
...
|
|
114
|
+
return Info30.make({
|
|
115
|
+
...Info30.default(ID17.githubCopilot, id),
|
|
116
116
|
id,
|
|
117
|
-
modelID:
|
|
118
|
-
providerID:
|
|
117
|
+
modelID: ID16.make(remote.id),
|
|
118
|
+
providerID: ID17.githubCopilot,
|
|
119
119
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
120
120
|
name: previous?.name ?? remote.name,
|
|
121
121
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load3() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./file-mutation-2phvqca6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
Event2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-6e593aan.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -14,8 +14,8 @@ import { Effect, Stream } from "effect";
|
|
|
14
14
|
var ModelsDevPlugin2 = define({
|
|
15
15
|
id: "opencode.models.dev",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
|
-
const modelsDev = yield*
|
|
18
|
-
const bus = yield*
|
|
17
|
+
const modelsDev = yield* Service13;
|
|
18
|
+
const bus = yield* Service78;
|
|
19
19
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
20
20
|
yield* ctx.integration.transform((integrations) => {
|
|
21
21
|
for (const provider of loaded.data) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-4b1sg654.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-pjvn5h54.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service56
|
|
7
|
+
} from "./file-mutation-ada40aw5.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-01mh49p0.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode-ai/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make8(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service56;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID16.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make8();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make8, LMStudioPlugin2 };
|
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
VariantUnavailableError3,
|
|
3
3
|
UnsupportedPackageError3,
|
|
4
4
|
UnresolvedProviderVariablesError3,
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node76
|
|
7
|
+
} from "./file-mutation-m5a4zvg4.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-cq35m6me.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/runner/model.ts
|
|
16
16
|
var exports_model = {};
|
|
@@ -62,7 +62,7 @@ var resolved2 = (model, options) => ({
|
|
|
62
62
|
limit: options.limit
|
|
63
63
|
});
|
|
64
64
|
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
65
|
-
const resolver = yield*
|
|
65
|
+
const resolver = yield* Service71;
|
|
66
66
|
return Service40.of({
|
|
67
67
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
68
68
|
if (!session.model) {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var node43 = makeLocationNode({ service: Service40, layer, deps: [
|
|
84
|
+
var node43 = makeLocationNode({ service: Service40, layer, deps: [node76] });
|
|
85
85
|
|
|
86
86
|
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, Service40, resolved2, node43, exports_model };
|