@opencode/core 0.0.0-dev-20678 → 0.0.0-dev-20680
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{worktree-emqscpbc.js → provider-01qztzme.js} +24 -24
- package/dist/chunks/{worktree-y1dpn6q8.js → provider-01tz8p99.js} +5 -5
- package/dist/chunks/{worktree-q0xm7vwc.js → provider-0j77ygfz.js} +6 -6
- package/dist/chunks/{worktree-0paq2nw3.js → provider-0paq2nw3.js} +1 -1
- package/dist/chunks/{worktree-0vbcp93d.js → provider-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-espax8zg.js → provider-0xqyf95c.js} +4 -4
- package/dist/chunks/{worktree-cftk923j.js → provider-100eqymc.js} +6 -6
- package/dist/chunks/{worktree-tznhj0ze.js → provider-10bgy4f5.js} +46 -46
- package/dist/chunks/{worktree-a6bra8ct.js → provider-12n9xz34.js} +7 -7
- package/dist/chunks/provider-141rw18h.js +507 -0
- package/dist/chunks/{worktree-0ryd0fps.js → provider-150yg2gd.js} +5 -5
- package/dist/chunks/{worktree-1dazxqgg.js → provider-1dazxqgg.js} +2 -2
- package/dist/chunks/{worktree-84h8c373.js → provider-1dvck2a7.js} +2 -2
- package/dist/chunks/{worktree-mp95dmdx.js → provider-1fh7s5gq.js} +3 -3
- package/dist/chunks/{worktree-pgvafq4z.js → provider-1fw2a5v8.js} +13 -13
- package/dist/chunks/{worktree-gt84n3fs.js → provider-1rrcny1n.js} +14 -14
- package/dist/chunks/{worktree-j2c9memp.js → provider-1xt4h7fg.js} +46 -46
- package/dist/chunks/{worktree-cjtxsq47.js → provider-203x8f6s.js} +18 -18
- package/dist/chunks/{worktree-hckh89c1.js → provider-27pw3ak9.js} +3 -3
- package/dist/chunks/{worktree-2a5m3afh.js → provider-2a5m3afh.js} +1 -1
- package/dist/chunks/{worktree-ryvhqdqz.js → provider-2a67dxr4.js} +34 -34
- package/dist/chunks/{worktree-4ts7tf6z.js → provider-2ccvkpx1.js} +2 -2
- package/dist/chunks/{worktree-pt9pzmkj.js → provider-2dqyrpx6.js} +32 -32
- package/dist/chunks/{worktree-srq8z0b0.js → provider-2j5hbwxg.js} +9 -9
- package/dist/chunks/{worktree-xqrtg09m.js → provider-2j6a3knx.js} +15 -15
- package/dist/chunks/{worktree-7dqw4kz8.js → provider-2k8khapm.js} +5 -5
- package/dist/chunks/{worktree-xfaszaq1.js → provider-34qtjr2x.js} +13 -13
- package/dist/chunks/{worktree-20qzy3kz.js → provider-34wpv7v4.js} +24 -24
- package/dist/chunks/{worktree-da0z8qs1.js → provider-36m3y9wg.js} +5 -5
- package/dist/chunks/{worktree-q58mka6k.js → provider-3b9qt4hj.js} +9 -9
- package/dist/chunks/{worktree-6gde23dc.js → provider-3bzv0xj2.js} +31 -31
- package/dist/chunks/{worktree-3fc6dm20.js → provider-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-3hepkmqq.js → provider-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-pdf4nf1w.js → provider-3k933qym.js} +11 -11
- package/dist/chunks/{worktree-1tbv6vyw.js → provider-3rd28rcz.js} +11 -11
- package/dist/chunks/{worktree-3smtnn6g.js → provider-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → provider-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-9bbn03rq.js → provider-3v63pd15.js} +18 -18
- package/dist/chunks/{worktree-hf0f0s02.js → provider-3vx21hd1.js} +30 -30
- package/dist/chunks/{worktree-4tfbnah3.js → provider-3ynd8b1x.js} +11 -11
- package/dist/chunks/{worktree-ye7asgrj.js → provider-3yrxafvf.js} +33 -33
- package/dist/chunks/{worktree-5g5j2e1n.js → provider-3yzafwg0.js} +14 -14
- package/dist/chunks/{worktree-ex5gm711.js → provider-3z3hyhzp.js} +21 -21
- package/dist/chunks/{worktree-3zsf4n22.js → provider-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-q1d18pxx.js → provider-4238gvvk.js} +22 -22
- package/dist/chunks/{worktree-qcxtzrkv.js → provider-49sk4a95.js} +18 -18
- package/dist/chunks/{worktree-9e73zybw.js → provider-4e64r1z1.js} +27 -27
- package/dist/chunks/{worktree-87bb084g.js → provider-4n5tf1vb.js} +24 -24
- package/dist/chunks/{worktree-f29mbr7f.js → provider-4z58m4b4.js} +4 -4
- package/dist/chunks/{worktree-54ma36ye.js → provider-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-kc86bjfa.js → provider-575tamff.js} +3 -3
- package/dist/chunks/{worktree-xfkkasph.js → provider-57b9ws8p.js} +7 -7
- package/dist/chunks/{worktree-5daktx2q.js → provider-5daktx2q.js} +1 -1
- package/dist/chunks/{worktree-0ezpynm7.js → provider-5eseg7e3.js} +15 -15
- package/dist/chunks/{worktree-5m9w47nd.js → provider-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-5nn9b30n.js → provider-5pdj13gp.js} +22 -22
- package/dist/chunks/{worktree-5t3nmthw.js → provider-5t3nmthw.js} +2 -2
- package/dist/chunks/{worktree-cnr2fbcv.js → provider-60e3je0q.js} +11 -11
- package/dist/chunks/{worktree-mad84jxc.js → provider-62c2dtz6.js} +48 -48
- package/dist/chunks/{worktree-h4aqnj6c.js → provider-631g3xwd.js} +12 -12
- package/dist/chunks/{worktree-x73za9sf.js → provider-6bckvax5.js} +36 -36
- package/dist/chunks/{worktree-wn0425kx.js → provider-6bdjrfqv.js} +5 -5
- package/dist/chunks/{worktree-j203rygf.js → provider-6hpqnq82.js} +11 -11
- package/dist/chunks/{worktree-w95j1aag.js → provider-6m0km96n.js} +5 -5
- package/dist/chunks/{worktree-50mzsvk4.js → provider-6m42r3np.js} +21 -21
- package/dist/chunks/{worktree-5xepet72.js → provider-6r3mnpr3.js} +74 -74
- package/dist/chunks/{worktree-7csx5nx0.js → provider-6v3gtav4.js} +11 -11
- package/dist/chunks/{worktree-6xb47vfp.js → provider-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-qtjwvqnb.js → provider-6xj9v251.js} +4 -4
- package/dist/chunks/{worktree-4xpgt2w9.js → provider-6yz0wx8n.js} +5 -5
- package/dist/chunks/{worktree-mfa4e2dy.js → provider-6zaadkrj.js} +31 -31
- package/dist/chunks/{worktree-f75zav2x.js → provider-71az546q.js} +2 -2
- package/dist/chunks/{worktree-7gb06545.js → provider-78124vwp.js} +17 -17
- package/dist/chunks/{worktree-7bmhse3q.js → provider-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-60ag5qjy.js → provider-7ef7sjs1.js} +4 -4
- package/dist/chunks/{worktree-y127w3hy.js → provider-7hmthqft.js} +4 -4
- package/dist/chunks/{worktree-nps7pa21.js → provider-7nsvsbpq.js} +20 -20
- package/dist/chunks/{worktree-w49382pb.js → provider-7rwqf82v.js} +8 -8
- package/dist/chunks/{worktree-2eegacq4.js → provider-7s451enq.js} +8 -8
- package/dist/chunks/{worktree-55dytp5r.js → provider-838d4dha.js} +20 -20
- package/dist/chunks/{worktree-w1eejvng.js → provider-84txncab.js} +5 -5
- package/dist/chunks/provider-8557trs0.js +26 -0
- package/dist/chunks/{worktree-xcbn40rf.js → provider-89tevzyb.js} +12 -12
- package/dist/chunks/{worktree-8d7r5vzw.js → provider-8d7r5vzw.js} +1 -1
- package/dist/chunks/{worktree-jpzbbj13.js → provider-8nmh5xtz.js} +5 -5
- package/dist/chunks/{worktree-qhbw5a4b.js → provider-8s9x7mq3.js} +9 -9
- package/dist/chunks/{worktree-1f35zj2n.js → provider-8xp68n0c.js} +21 -21
- package/dist/chunks/{worktree-17m7e5yb.js → provider-90xe4ebd.js} +35 -35
- package/dist/chunks/{worktree-xk6gwbtw.js → provider-9116qanx.js} +5 -5
- package/dist/chunks/{worktree-rk26t4bh.js → provider-954g4k0y.js} +17 -17
- package/dist/chunks/{worktree-zdz72ay5.js → provider-985w54n2.js} +4 -4
- package/dist/chunks/{worktree-w9778aye.js → provider-9a7xdtq3.js} +8 -8
- package/dist/chunks/{worktree-8vz7v9xx.js → provider-9adq9209.js} +19 -19
- package/dist/chunks/{worktree-qkn6xzgz.js → provider-9e4j78a5.js} +17 -17
- package/dist/chunks/{worktree-kb9j3d72.js → provider-9e5bzkjp.js} +3 -3
- package/dist/chunks/{worktree-8v6pyhej.js → provider-9hn6k4tm.js} +8 -8
- package/dist/chunks/{worktree-d34h28nh.js → provider-9jtqxrkx.js} +28 -28
- package/dist/chunks/{worktree-08em3ee9.js → provider-9m6wd42k.js} +25 -25
- package/dist/chunks/{worktree-7hctjrk6.js → provider-9nndfwsw.js} +23 -23
- package/dist/chunks/{worktree-mvfv6g31.js → provider-9s2v53af.js} +35 -35
- package/dist/chunks/{worktree-3n65r2sc.js → provider-9t0pcyht.js} +58 -58
- package/dist/chunks/{worktree-dqwk5426.js → provider-a067pk1x.js} +38 -38
- package/dist/chunks/{worktree-v5dkyp31.js → provider-a2ew8a62.js} +4 -4
- package/dist/chunks/{worktree-j9c73dve.js → provider-a6ye7dvb.js} +17 -17
- package/dist/chunks/{worktree-aaet6srn.js → provider-aaet6srn.js} +2 -2
- package/dist/chunks/{worktree-we3yb86z.js → provider-acshqmx2.js} +4 -4
- package/dist/chunks/{worktree-9jn3z3yz.js → provider-ane35rw3.js} +42 -42
- package/dist/chunks/{worktree-tnf1wecr.js → provider-asbthx8a.js} +27 -27
- package/dist/chunks/{worktree-2kn5e7ew.js → provider-azv5qb8x.js} +11 -11
- package/dist/chunks/{worktree-pft5j206.js → provider-b25x8xnb.js} +2 -2
- package/dist/chunks/{worktree-zgwqe4kw.js → provider-b2vb8hwy.js} +11 -11
- package/dist/chunks/{worktree-zyk1yjk8.js → provider-b3f8fkhc.js} +5 -5
- package/dist/chunks/{worktree-k2pcze7v.js → provider-b5mvcvwz.js} +4 -4
- package/dist/chunks/{worktree-qvzmz2hd.js → provider-b5pdhpjr.js} +11 -11
- package/dist/chunks/{worktree-b6gygkdw.js → provider-b6gygkdw.js} +2 -2
- package/dist/chunks/{worktree-2vs2nh1n.js → provider-baaqp4zd.js} +4 -4
- package/dist/chunks/{worktree-5hw3kh65.js → provider-bk0akfxd.js} +26 -26
- package/dist/chunks/{worktree-n30jecw5.js → provider-bk97wshp.js} +11 -11
- package/dist/chunks/{worktree-vf88kmda.js → provider-bqd2cxqp.js} +16 -16
- package/dist/chunks/{worktree-khzvsr9n.js → provider-camesg23.js} +12 -12
- package/dist/chunks/{worktree-vy6tct52.js → provider-ceggp57d.js} +50 -50
- package/dist/chunks/{worktree-5zzwt5g1.js → provider-cetvmtxy.js} +31 -31
- package/dist/chunks/provider-ckyzvwjx.js +253 -0
- package/dist/chunks/{worktree-c765mh8b.js → provider-cpneeje0.js} +8 -8
- package/dist/chunks/{worktree-9da98haa.js → provider-cx9z55d6.js} +11 -11
- package/dist/chunks/{worktree-rb0yz7b3.js → provider-cyjnm7zn.js} +47 -47
- package/dist/chunks/{worktree-jqfnw3hv.js → provider-cymm7g2a.js} +18 -18
- package/dist/chunks/{worktree-d9zcp3x2.js → provider-d1d7m7z7.js} +29 -29
- package/dist/chunks/{worktree-vtmyt3zh.js → provider-d3vd9tt0.js} +11 -11
- package/dist/chunks/{worktree-vhxw02v1.js → provider-dd32f2vy.js} +10 -10
- package/dist/chunks/{worktree-20k90jn5.js → provider-deadrwyj.js} +9 -9
- package/dist/chunks/{worktree-fa24ys4h.js → provider-demb5sft.js} +11 -11
- package/dist/chunks/{worktree-dpkg50ah.js → provider-dpkg50ah.js} +1 -1
- package/dist/chunks/{worktree-63db42yp.js → provider-drnf6xwf.js} +2 -2
- package/dist/chunks/{worktree-abze2epy.js → provider-ds0s37ch.js} +19 -19
- package/dist/chunks/{worktree-mfg7hkjp.js → provider-dsambs2d.js} +1 -1
- package/dist/chunks/{worktree-8g79wser.js → provider-dzg2nmyy.js} +3 -3
- package/dist/chunks/{worktree-4mwpykj0.js → provider-dzse07y5.js} +6 -6
- package/dist/chunks/{worktree-5qd3pb7m.js → provider-e3qxr5gk.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → provider-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-7yh4e7ss.js → provider-eq1pz5kg.js} +3 -3
- package/dist/chunks/{worktree-etq0c3wd.js → provider-etq0c3wd.js} +1 -1
- package/dist/chunks/{worktree-gbzg285s.js → provider-exdczdw5.js} +34 -34
- package/dist/chunks/{worktree-yd1hyy78.js → provider-f3nm3bta.js} +9 -9
- package/dist/chunks/{worktree-xh3pt0hh.js → provider-f4f2ccwp.js} +13 -13
- package/dist/chunks/{worktree-97anc7e4.js → provider-f5bkmxnp.js} +11 -11
- package/dist/chunks/{worktree-vrm0t447.js → provider-f7k5gakn.js} +11 -11
- package/dist/chunks/{worktree-cyczn8d8.js → provider-fh64nspq.js} +28 -28
- package/dist/chunks/{worktree-x90t23kx.js → provider-fwpeyn7w.js} +32 -32
- package/dist/chunks/{worktree-8sfbsvhp.js → provider-fxpnwj9a.js} +28 -28
- package/dist/chunks/{worktree-fn9txvmy.js → provider-gb4s5hjx.js} +35 -35
- package/dist/chunks/{worktree-ah48gt2j.js → provider-gbfdm2f9.js} +39 -39
- package/dist/chunks/{worktree-q5e7cmwt.js → provider-gd0tnyjc.js} +1 -1
- package/dist/chunks/{worktree-gd4qta3r.js → provider-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-0gapa1rm.js → provider-gebtr55s.js} +5 -5
- package/dist/chunks/{worktree-kpy4tq5x.js → provider-gkvcm870.js} +21 -21
- package/dist/chunks/{worktree-c2j3xy4g.js → provider-gnptjt5e.js} +8 -8
- package/dist/chunks/{worktree-4p3293aj.js → provider-gt0fdqz0.js} +20 -20
- package/dist/chunks/{worktree-ftw06dxe.js → provider-gw6addyq.js} +3 -3
- package/dist/chunks/{worktree-yv32pxkv.js → provider-gweqbbvm.js} +15 -15
- package/dist/chunks/{worktree-3cegwx68.js → provider-h2b79v29.js} +2 -2
- package/dist/chunks/{worktree-ak05m9d7.js → provider-h6aq45ge.js} +21 -21
- package/dist/chunks/{worktree-2gec4brg.js → provider-h6dsmzc8.js} +23 -23
- package/dist/chunks/{worktree-h6vf3j39.js → provider-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-jewzahs7.js → provider-h90v2x9d.js} +4 -4
- package/dist/chunks/{worktree-9cwy2jha.js → provider-hdwgjdm7.js} +22 -22
- package/dist/chunks/provider-hgd4btym.js +18 -0
- package/dist/chunks/{worktree-d0fqnv22.js → provider-hkznryjg.js} +17 -17
- package/dist/chunks/{worktree-mvmnyn7n.js → provider-hvqy4awq.js} +34 -34
- package/dist/chunks/{worktree-k1qrnqst.js → provider-hx2mnr5g.js} +8 -8
- package/dist/chunks/{worktree-fhr46ct7.js → provider-hzvph4yq.js} +184 -184
- package/dist/chunks/{worktree-944zhfh4.js → provider-j0sgkhxp.js} +14 -14
- package/dist/chunks/{worktree-j56e64zr.js → provider-j56e64zr.js} +1 -1
- package/dist/chunks/{worktree-g8hmyp2d.js → provider-j798b1wp.js} +13 -13
- package/dist/chunks/{worktree-5t0megjy.js → provider-j94rgt9d.js} +23 -23
- package/dist/chunks/{worktree-vn3s1ht6.js → provider-jqk80qgm.js} +13 -13
- package/dist/chunks/{worktree-ftdt7j28.js → provider-jtg94zdj.js} +16 -16
- package/dist/chunks/{worktree-554ppjqe.js → provider-k1zrjmzp.js} +9 -9
- package/dist/chunks/{worktree-a2fssteg.js → provider-k5xrbeez.js} +3 -3
- package/dist/chunks/{worktree-3t7b0x40.js → provider-k751nkt0.js} +22 -22
- package/dist/chunks/{worktree-cfbwxe1g.js → provider-kb2ga0yc.js} +1 -1
- package/dist/chunks/{worktree-tx92n959.js → provider-kb6vbnxp.js} +4 -4
- package/dist/chunks/{worktree-cprp9kwr.js → provider-kpjwkn2w.js} +35 -35
- package/dist/chunks/{worktree-1sdf2zn9.js → provider-m0p5n2gd.js} +26 -26
- package/dist/chunks/{worktree-m3fdjcah.js → provider-m3fdjcah.js} +1 -1
- package/dist/chunks/{worktree-m9w0rfyh.js → provider-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-ype5ssfh.js → provider-m9ya73e1.js} +16 -16
- package/dist/chunks/{worktree-73c0qt40.js → provider-mb4va0jh.js} +9 -9
- package/dist/chunks/{worktree-43g4wmcb.js → provider-mbdw8qpz.js} +3 -3
- package/dist/chunks/{worktree-56gdpj1q.js → provider-mfqp6xfm.js} +6 -6
- package/dist/chunks/{worktree-8rg4pjtz.js → provider-mgm0y126.js} +3 -3
- package/dist/chunks/{worktree-ss358qx3.js → provider-my4zabxr.js} +3 -3
- package/dist/chunks/{worktree-7qq3ahcc.js → provider-n57qrn3a.js} +6 -6
- package/dist/chunks/{worktree-zm5574p5.js → provider-nazh1x8e.js} +62 -62
- package/dist/chunks/{worktree-ywvdrxjw.js → provider-nbsm2mze.js} +33 -33
- package/dist/chunks/{worktree-3v3tg56d.js → provider-nda1mvrc.js} +22 -22
- package/dist/chunks/{worktree-vzhe4zg6.js → provider-ne7e5g4r.js} +15 -15
- package/dist/chunks/{worktree-fz1ega6x.js → provider-p0ejkak0.js} +11 -11
- package/dist/chunks/{worktree-6xjbkn91.js → provider-p37xk6xs.js} +19 -19
- package/dist/chunks/{worktree-qr3e8w20.js → provider-phee4dp3.js} +12 -12
- package/dist/chunks/{worktree-pjvnvgmy.js → provider-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-pknna89w.js → provider-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-qm27jccq.js → provider-pwvav0zc.js} +10 -10
- package/dist/chunks/{worktree-4jeef9x8.js → provider-q0yrs87k.js} +47 -47
- package/dist/chunks/{worktree-s3sb1ad7.js → provider-q1v438vp.js} +27 -27
- package/dist/chunks/{worktree-4wc52ngv.js → provider-q4h7jhqx.js} +19 -19
- package/dist/chunks/{worktree-ksg1aq7r.js → provider-q9mkd3r6.js} +12 -12
- package/dist/chunks/{worktree-6evnp53q.js → provider-qa6d3x9c.js} +94 -94
- package/dist/chunks/{worktree-15560esq.js → provider-qa7zgbbm.js} +8 -8
- package/dist/chunks/{worktree-f1fpav69.js → provider-qbx2hgn0.js} +4 -4
- package/dist/chunks/{worktree-6rd4tpzh.js → provider-qc96wspf.js} +44 -44
- package/dist/chunks/{worktree-d96ycdxj.js → provider-qg966khd.js} +30 -30
- package/dist/chunks/{worktree-vgp7e6pk.js → provider-qmm8841s.js} +5 -5
- package/dist/chunks/{worktree-qnc92qwc.js → provider-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-gj71zhbs.js → provider-qne3fa44.js} +5 -5
- package/dist/chunks/{worktree-59f3e3ff.js → provider-qr6zbtg5.js} +23 -23
- package/dist/chunks/{worktree-qsdy395h.js → provider-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-8hq66769.js → provider-qtade0yk.js} +7 -7
- package/dist/chunks/{worktree-z736p80b.js → provider-qw7qt5pa.js} +30 -30
- package/dist/chunks/{worktree-rtbx6p6s.js → provider-qx41vpeg.js} +15 -15
- package/dist/chunks/{worktree-8284y6xq.js → provider-r21srstc.js} +9 -9
- package/dist/chunks/{worktree-zyp8ka10.js → provider-r6y3gdne.js} +8 -8
- package/dist/chunks/{worktree-rdw6cm16.js → provider-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-yp2x3t23.js → provider-rhraev7y.js} +4 -4
- package/dist/chunks/{worktree-vj5pc5q1.js → provider-rmvqbh99.js} +13 -13
- package/dist/chunks/{worktree-qqrjxc2w.js → provider-rrpq0de9.js} +12 -12
- package/dist/chunks/{worktree-e8vwfchq.js → provider-ry082wg0.js} +9 -9
- package/dist/chunks/{worktree-4hwsr2c7.js → provider-rzcwaxq6.js} +33 -33
- package/dist/chunks/{worktree-wv396vej.js → provider-s8d7rejh.js} +8 -8
- package/dist/chunks/{worktree-n143kkat.js → provider-s8tgv6a6.js} +42 -42
- package/dist/chunks/{worktree-30s1jqhr.js → provider-san3pcvd.js} +5 -5
- package/dist/chunks/{worktree-gvwrdnb7.js → provider-sdzadkts.js} +3 -3
- package/dist/chunks/{worktree-dejvf9w0.js → provider-t65vya29.js} +18 -18
- package/dist/chunks/{worktree-tazgh4e4.js → provider-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tcezcvh9.js → provider-tcezcvh9.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → provider-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-7c77ewax.js → provider-tfmm9y66.js} +20 -20
- package/dist/chunks/{worktree-z3zxqg9g.js → provider-tk6t2mry.js} +7 -7
- package/dist/chunks/{worktree-r2t9nb79.js → provider-txreye6p.js} +12 -12
- package/dist/chunks/{worktree-v0es1rhs.js → provider-v0es1rhs.js} +2 -2
- package/dist/chunks/{worktree-t3mstrkb.js → provider-v5veevtb.js} +23 -23
- package/dist/chunks/{worktree-vyfh7cqh.js → provider-v7hamc0y.js} +32 -32
- package/dist/chunks/{worktree-veqvce7d.js → provider-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-gv66gg0x.js → provider-vevatqc6.js} +8 -8
- package/dist/chunks/{worktree-v60n4k93.js → provider-vyzvb1w9.js} +25 -25
- package/dist/chunks/{worktree-e9ddm36m.js → provider-vz0zt1g9.js} +10 -10
- package/dist/chunks/{worktree-vzs5sf6e.js → provider-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-17we2qek.js → provider-w0v9d1gg.js} +13 -13
- package/dist/chunks/{worktree-w3wsvvr9.js → provider-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-8sze2n9a.js → provider-w92k2e0p.js} +4 -4
- package/dist/chunks/{worktree-wd87259q.js → provider-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-124pajz9.js → provider-wfez0vbj.js} +35 -35
- package/dist/chunks/{worktree-8w291pm7.js → provider-wjpb9jag.js} +21 -21
- package/dist/chunks/{worktree-x995py8c.js → provider-wn63y901.js} +10 -10
- package/dist/chunks/{worktree-hnq9bmna.js → provider-wr5f2xar.js} +26 -26
- package/dist/chunks/{worktree-980jbebj.js → provider-wv3twx2w.js} +11 -11
- package/dist/chunks/{worktree-7ds11y3c.js → provider-x2c1et5k.js} +9 -9
- package/dist/chunks/{worktree-db2wf4at.js → provider-x661k3y3.js} +4 -4
- package/dist/chunks/{worktree-yertzaey.js → provider-xabyxep3.js} +9 -9
- package/dist/chunks/{worktree-f2mw6jyj.js → provider-xh27xnk0.js} +11 -11
- package/dist/chunks/{worktree-xkntkrq7.js → provider-xkntkrq7.js} +2 -2
- package/dist/chunks/{worktree-qxjc9qry.js → provider-xyafkbt0.js} +3 -3
- package/dist/chunks/{worktree-y1fvbwt7.js → provider-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-sj5387ee.js → provider-y3zkxqzw.js} +27 -27
- package/dist/chunks/{worktree-gwb0ctjv.js → provider-ybe0dkr4.js} +47 -47
- package/dist/chunks/{worktree-6nwqebjc.js → provider-ybjg4sk1.js} +9 -9
- package/dist/chunks/{worktree-zd8n3m20.js → provider-ycw12012.js} +4 -4
- package/dist/chunks/{worktree-ns15zm60.js → provider-yhj4pxny.js} +6 -6
- package/dist/chunks/{worktree-z0bkrqjs.js → provider-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-fbv57nyx.js → provider-z2wp2s8j.js} +4 -4
- package/dist/chunks/{worktree-g7px2a66.js → provider-z30v2f0y.js} +89 -89
- package/dist/chunks/{worktree-fqcgpcra.js → provider-z4ztj7g0.js} +9 -9
- package/dist/chunks/{worktree-bb1b8k90.js → provider-z5p4rthk.js} +15 -15
- package/dist/chunks/{worktree-sqvzcy4n.js → provider-zfs8ae4p.js} +4 -4
- package/dist/chunks/{worktree-zr2ceqn5.js → provider-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-6gmc3kzw.js → provider-zv9njayc.js} +8 -8
- package/dist/chunks/{worktree-zxq2ej10.js → provider-zxq2ej10.js} +1 -1
- package/dist/chunks/{worktree-vgwdt6gq.js → provider-zy5vtpm1.js} +26 -26
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- 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 +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +74 -74
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +126 -126
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/worktree-by5v678g.js +0 -18
- package/dist/chunks/worktree-h0mpfvff.js +0 -507
- package/dist/chunks/worktree-s29k18d1.js +0 -26
- package/dist/chunks/worktree-y8fy98eq.js +0 -253
- /package/dist/chunks/{worktree-0qkdqm5v.js → provider-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → provider-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → provider-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → provider-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → provider-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → provider-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → provider-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → provider-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → provider-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-34c7v6d4.js → provider-34c7v6d4.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → provider-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → provider-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → provider-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → provider-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3w5fmr99.js → provider-3w5fmr99.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → provider-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → provider-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → provider-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → provider-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → provider-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → provider-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → provider-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → provider-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → provider-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → provider-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → provider-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → provider-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → provider-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → provider-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → provider-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → provider-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → provider-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → provider-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → provider-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → provider-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → provider-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → provider-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → provider-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → provider-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → provider-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → provider-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → provider-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → provider-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → provider-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → provider-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → provider-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → provider-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → provider-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → provider-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → provider-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → provider-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → provider-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → provider-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → provider-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → provider-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → provider-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fxgpk5d8.js → provider-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → provider-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → provider-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → provider-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → provider-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → provider-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → provider-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → provider-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → provider-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → provider-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → provider-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → provider-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → provider-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → provider-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → provider-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → provider-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → provider-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → provider-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → provider-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → provider-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → provider-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → provider-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → provider-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → provider-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → provider-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → provider-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → provider-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → provider-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → provider-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → provider-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → provider-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → provider-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → provider-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → provider-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8cydn3q.js → provider-y8cydn3q.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → provider-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → provider-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → provider-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → provider-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → provider-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-camesg23.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node75
|
|
8
|
+
} from "./provider-pwvav0zc.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./provider-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./provider-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service30,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node33
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID4 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID4, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID4
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID4,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service30 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
69
|
-
const bus = yield*
|
|
70
|
-
const kv = yield*
|
|
68
|
+
var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
69
|
+
const bus = yield* Service83;
|
|
70
|
+
const kv = yield* Service72;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service30.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node33 = makeLocationNode({
|
|
188
|
+
service: Service30,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [
|
|
190
|
+
deps: [node87, node75]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID4, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service30, node33, exports_websearch3, Event5 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./provider-camesg23.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./provider-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service80,
|
|
11
|
+
node84
|
|
12
|
+
} from "./provider-j0sgkhxp.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service74,
|
|
20
|
+
node77,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./provider-kpjwkn2w.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./provider-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,27 +30,27 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID11,
|
|
36
|
+
Info: () => Info20,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service73,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
45
|
-
parse: () =>
|
|
44
|
+
node: () => node76,
|
|
45
|
+
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
48
48
|
import { Model } from "@opencode/schema/model";
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
53
|
-
var
|
|
52
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
53
|
+
var ID11 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
56
56
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -66,14 +66,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info20 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service73 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const location = yield*
|
|
73
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service74;
|
|
75
|
+
const bus = yield* Service83;
|
|
76
|
+
const location = yield* Service80;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "model",
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info20.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -207,8 +207,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
207
207
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
208
208
|
});
|
|
209
209
|
});
|
|
210
|
-
yield* bus.subscribe(
|
|
211
|
-
return
|
|
210
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
211
|
+
return Service73.of({
|
|
212
212
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
213
213
|
reload,
|
|
214
214
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -227,7 +227,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
227
227
|
})
|
|
228
228
|
});
|
|
229
229
|
}));
|
|
230
|
-
var
|
|
230
|
+
var node76 = makeLocationNode({ service: Service73, layer, deps: [node77, node87, node84] });
|
|
231
231
|
function supportsText2(model) {
|
|
232
232
|
return (model.capabilities.input.length === 0 || model.capabilities.input.some((item) => item.startsWith("text"))) && (model.capabilities.output.length === 0 || model.capabilities.output.some((item) => item.startsWith("text")));
|
|
233
233
|
}
|
|
@@ -238,12 +238,12 @@ function compatibility2(input) {
|
|
|
238
238
|
return;
|
|
239
239
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function parse5(input) {
|
|
242
242
|
const index = input.indexOf("/");
|
|
243
243
|
return {
|
|
244
|
-
providerID:
|
|
245
|
-
modelID:
|
|
244
|
+
providerID: ID12.make(index === -1 ? input : input.slice(0, index)),
|
|
245
|
+
modelID: ID11.make(index === -1 ? "" : input.slice(index + 1))
|
|
246
246
|
};
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
export {
|
|
249
|
+
export { ID11, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info20, Service73, node76, supportsText2, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./provider-1fh7s5gq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./provider-camesg23.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service54,
|
|
11
|
+
node57
|
|
12
|
+
} from "./provider-jtg94zdj.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service52,
|
|
15
|
+
node55
|
|
16
|
+
} from "./provider-dzse07y5.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make19
|
|
22
|
+
} from "./provider-rhraev7y.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service50
|
|
26
|
+
} from "./provider-baaqp4zd.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service58,
|
|
29
|
+
node61
|
|
30
|
+
} from "./provider-bqd2cxqp.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./provider-6bdjrfqv.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./provider-h6dsmzc8.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./provider-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service49,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer19,
|
|
47
|
+
node: () => node53,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service49 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer19 = Layer.effect(Service49, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service58;
|
|
64
|
+
const instances = yield* Service52;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const jobs = yield* Service54;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service50.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make19({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service49.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer15 = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node53 = makeGlobalNode({
|
|
127
|
+
service: Service49,
|
|
128
|
+
layer: layer19,
|
|
129
|
+
deps: [node61, node55, node87, node88, node57]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service49, Service49.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service39, Service39.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service49, terminal2, layer19, node53, noopLayer3, exports_execution };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./provider-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./provider-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./provider-rrpq0de9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./provider-j0sgkhxp.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./provider-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
make16
|
|
16
|
+
} from "./provider-gnptjt5e.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./provider-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service29,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node32
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service29 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
|
-
const git = yield*
|
|
39
|
+
const git = yield* make16;
|
|
40
40
|
const state = create3({
|
|
41
41
|
name: "worktree",
|
|
42
42
|
initial: () => ({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service29.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node32 = makeLocationNode({
|
|
61
|
+
service: Service29,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service29, node32, exports_strategies };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service82
|
|
3
|
+
} from "./provider-rrpq0de9.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./provider-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./provider-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make16
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make16 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service82;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make21 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make16, exports_git2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-s8d7rejh.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-nazh1x8e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service23,
|
|
12
|
+
node26
|
|
13
|
+
} from "./provider-ceggp57d.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name13
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./provider-fh64nspq.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./provider-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions4 = {};
|
|
24
24
|
__export(exports_instructions4, {
|
|
25
25
|
McpInstructions: () => exports_instructions4,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service21,
|
|
27
|
+
layer: () => layer8,
|
|
28
|
+
node: () => node24
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service21 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer8 = Layer.effect(Service21, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service23;
|
|
68
|
+
return Service21.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key3.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer9 = Layer.effect(Service28, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node24 = makeLocationNode({ service: Service21, layer: layer8, deps: [node26] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service21, layer8, node24, exports_instructions4 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./provider-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
tokens2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./provider-tdstcens.js";
|
|
7
7
|
import {
|
|
8
8
|
contentFilterError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./provider-6bdjrfqv.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/publish-llm-event.ts
|
|
12
12
|
import { Effect, Fiber, Iterable } from "effect";
|