@opencode/core 0.0.0-dev-20680 → 0.0.0-dev-20682
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{provider-ceggp57d.js → model-resolver-0364ndsb.js} +50 -50
- package/dist/chunks/{provider-r21srstc.js → model-resolver-08d6azjt.js} +9 -9
- package/dist/chunks/{provider-v0es1rhs.js → model-resolver-0bg0bx69.js} +5 -5
- package/dist/chunks/{provider-0j77ygfz.js → model-resolver-0j77ygfz.js} +2 -2
- package/dist/chunks/{provider-zfs8ae4p.js → model-resolver-0me0fk48.js} +4 -4
- package/dist/chunks/{provider-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{provider-z5p4rthk.js → model-resolver-0q2fecvk.js} +15 -15
- package/dist/chunks/{provider-yhj4pxny.js → model-resolver-0tpcnmcw.js} +6 -6
- package/dist/chunks/{provider-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{provider-p37xk6xs.js → model-resolver-0ybx6e4j.js} +19 -19
- package/dist/chunks/{provider-f3nm3bta.js → model-resolver-10c97xc6.js} +9 -9
- package/dist/chunks/{provider-qg966khd.js → model-resolver-110b8ek2.js} +26 -26
- package/dist/chunks/{provider-6bckvax5.js → model-resolver-11hct9f4.js} +36 -36
- package/dist/chunks/{provider-1rrcny1n.js → model-resolver-11nrpngx.js} +8 -8
- package/dist/chunks/{provider-2dqyrpx6.js → model-resolver-14p1364x.js} +32 -32
- package/dist/chunks/{provider-9s2v53af.js → model-resolver-16zkvp84.js} +37 -37
- package/dist/chunks/{provider-2j6a3knx.js → model-resolver-19y7fb49.js} +15 -15
- package/dist/chunks/{provider-rhraev7y.js → model-resolver-1acjjqhc.js} +4 -4
- package/dist/chunks/{provider-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{provider-rzcwaxq6.js → model-resolver-1p1pjvaa.js} +27 -27
- package/dist/chunks/{provider-gt0fdqz0.js → model-resolver-1y9c9szs.js} +20 -20
- package/dist/chunks/{provider-12n9xz34.js → model-resolver-211z80cq.js} +7 -7
- package/dist/chunks/{provider-9t0pcyht.js → model-resolver-24kyvzj3.js} +60 -60
- package/dist/chunks/{provider-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{provider-tk6t2mry.js → model-resolver-2becn8wt.js} +5 -5
- package/dist/chunks/{provider-2ccvkpx1.js → model-resolver-2ccvkpx1.js} +2 -2
- package/dist/chunks/{provider-3yrxafvf.js → model-resolver-2ex9v4dz.js} +27 -27
- package/dist/chunks/{provider-demb5sft.js → model-resolver-2f659e5x.js} +11 -11
- package/dist/chunks/{provider-a067pk1x.js → model-resolver-2mn1ra9m.js} +31 -31
- package/dist/chunks/{provider-sdzadkts.js → model-resolver-2txn9rvg.js} +1 -1
- package/dist/chunks/{provider-49sk4a95.js → model-resolver-2vecpzew.js} +15 -15
- package/dist/chunks/{provider-fxpnwj9a.js → model-resolver-2weqyc98.js} +23 -23
- package/dist/chunks/{provider-kb2ga0yc.js → model-resolver-31xw4se4.js} +1 -1
- package/dist/chunks/{provider-qa6d3x9c.js → model-resolver-33dajdt0.js} +99 -99
- package/dist/chunks/{provider-7ef7sjs1.js → model-resolver-38g0pyy9.js} +4 -4
- package/dist/chunks/{provider-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
- package/dist/chunks/{provider-f5bkmxnp.js → model-resolver-3dygqxay.js} +5 -5
- package/dist/chunks/{provider-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{provider-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{provider-5eseg7e3.js → model-resolver-3jbr2x8z.js} +12 -12
- package/dist/chunks/{provider-txreye6p.js → model-resolver-3qnt817w.js} +12 -12
- package/dist/chunks/{provider-3rd28rcz.js → model-resolver-3rd28rcz.js} +3 -3
- package/dist/chunks/{provider-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{provider-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{provider-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{provider-dsambs2d.js → model-resolver-40fy2d9q.js} +1 -1
- package/dist/chunks/{provider-q1v438vp.js → model-resolver-4dfbsgcw.js} +24 -24
- package/dist/chunks/{provider-jtg94zdj.js → model-resolver-4twwj3gr.js} +14 -14
- package/dist/chunks/{provider-v5veevtb.js → model-resolver-4warvet6.js} +25 -25
- package/dist/chunks/{provider-wfez0vbj.js → model-resolver-4x518902.js} +35 -35
- package/dist/chunks/{provider-ybjg4sk1.js → model-resolver-4yxeygct.js} +9 -9
- package/dist/chunks/{provider-4z58m4b4.js → model-resolver-4z58m4b4.js} +1 -1
- package/dist/chunks/{provider-wn63y901.js → model-resolver-5120j63r.js} +10 -10
- package/dist/chunks/{provider-01tz8p99.js → model-resolver-55vcwskv.js} +5 -5
- package/dist/chunks/{provider-mfqp6xfm.js → model-resolver-56gdpj1q.js} +6 -6
- package/dist/chunks/{provider-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{provider-mb4va0jh.js → model-resolver-5kp4xrh9.js} +9 -9
- package/dist/chunks/{provider-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{provider-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{provider-3z3hyhzp.js → model-resolver-5vs2d7gx.js} +18 -18
- package/dist/chunks/{provider-drnf6xwf.js → model-resolver-63db42yp.js} +2 -2
- package/dist/chunks/{provider-nbsm2mze.js → model-resolver-66hc15ng.js} +30 -30
- package/dist/chunks/{provider-4238gvvk.js → model-resolver-69fj14ep.js} +22 -22
- package/dist/chunks/{provider-4n5tf1vb.js → model-resolver-6c6jf3me.js} +24 -24
- package/dist/chunks/{provider-6m42r3np.js → model-resolver-6m42r3np.js} +1 -1
- package/dist/chunks/{provider-8nmh5xtz.js → model-resolver-6qcr098f.js} +3 -3
- package/dist/chunks/{provider-kpjwkn2w.js → model-resolver-6x448rs9.js} +26 -26
- package/dist/chunks/{provider-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{provider-d3vd9tt0.js → model-resolver-77jv0j1h.js} +3 -3
- package/dist/chunks/{provider-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{provider-t65vya29.js → model-resolver-7ecay89j.js} +18 -18
- package/dist/chunks/model-resolver-7mcy0e9k.js +26 -0
- package/dist/chunks/{provider-7rwqf82v.js → model-resolver-7s2tn799.js} +8 -8
- package/dist/chunks/{provider-2a67dxr4.js → model-resolver-7y628me3.js} +30 -30
- package/dist/chunks/{provider-gb4s5hjx.js → model-resolver-83009cjb.js} +25 -25
- package/dist/chunks/{provider-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
- package/dist/chunks/{provider-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{provider-gkvcm870.js → model-resolver-8bgdgvzg.js} +21 -21
- package/dist/chunks/{provider-wr5f2xar.js → model-resolver-8cv9sccg.js} +28 -28
- package/dist/chunks/{provider-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{provider-q9mkd3r6.js → model-resolver-8htghz5d.js} +18 -18
- package/dist/chunks/{provider-dd32f2vy.js → model-resolver-8kddseeh.js} +10 -10
- package/dist/chunks/{provider-3k933qym.js → model-resolver-8nn1yj6z.js} +11 -11
- package/dist/chunks/{provider-qa7zgbbm.js → model-resolver-8nwvde6v.js} +8 -8
- package/dist/chunks/{provider-w92k2e0p.js → model-resolver-8sze2n9a.js} +4 -4
- package/dist/chunks/{provider-f4f2ccwp.js → model-resolver-8wf1bn9q.js} +13 -13
- package/dist/chunks/{provider-gebtr55s.js → model-resolver-8y31xnqm.js} +5 -5
- package/dist/chunks/{provider-1fw2a5v8.js → model-resolver-8z06avg2.js} +15 -15
- package/dist/chunks/{provider-dzse07y5.js → model-resolver-909p1r3q.js} +6 -6
- package/dist/chunks/{provider-1fh7s5gq.js → model-resolver-94mn3p3s.js} +11 -11
- package/dist/chunks/{provider-b25x8xnb.js → model-resolver-9g5xkymg.js} +2 -2
- package/dist/chunks/{provider-6r3mnpr3.js → model-resolver-9n8a201b.js} +70 -70
- package/dist/chunks/{provider-asbthx8a.js → model-resolver-a4jzv6pb.js} +21 -21
- package/dist/chunks/{provider-3b9qt4hj.js → model-resolver-a7bcxdzj.js} +9 -9
- package/dist/chunks/{provider-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{provider-kb6vbnxp.js → model-resolver-afjydgk3.js} +4 -4
- package/dist/chunks/{provider-x2c1et5k.js → model-resolver-amehwh5s.js} +9 -9
- package/dist/chunks/{provider-j94rgt9d.js → model-resolver-av7v7zb0.js} +29 -29
- package/dist/chunks/{provider-78124vwp.js → model-resolver-azd5zvnq.js} +17 -17
- package/dist/chunks/{provider-b3f8fkhc.js → model-resolver-b3f8fkhc.js} +2 -2
- package/dist/chunks/{provider-b5mvcvwz.js → model-resolver-b3pet2zg.js} +4 -4
- package/dist/chunks/{provider-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{provider-9a7xdtq3.js → model-resolver-bd819fhp.js} +5 -5
- package/dist/chunks/{provider-ne7e5g4r.js → model-resolver-bmd39q5q.js} +15 -15
- package/dist/chunks/{provider-vz0zt1g9.js → model-resolver-btak5zqv.js} +10 -10
- package/dist/chunks/{provider-3ynd8b1x.js → model-resolver-bth1fran.js} +8 -8
- package/dist/chunks/{provider-01qztzme.js → model-resolver-c9kv66wf.js} +23 -23
- package/dist/chunks/model-resolver-ctefx7dc.js +18 -0
- package/dist/chunks/{provider-vevatqc6.js → model-resolver-ctzssw83.js} +8 -8
- package/dist/chunks/{provider-cpneeje0.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/{provider-tfmm9y66.js → model-resolver-cxsfdq8a.js} +30 -30
- package/dist/chunks/{provider-qc96wspf.js → model-resolver-d355hkrp.js} +30 -34
- package/dist/chunks/{provider-w0v9d1gg.js → model-resolver-d8tgnve2.js} +12 -12
- package/dist/chunks/{provider-v7hamc0y.js → model-resolver-dafg2r43.js} +38 -38
- package/dist/chunks/{provider-ry082wg0.js → model-resolver-dm21k72n.js} +6 -6
- package/dist/chunks/{provider-y3zkxqzw.js → model-resolver-dmghp31x.js} +15 -15
- package/dist/chunks/{provider-jqk80qgm.js → model-resolver-dmkm46ch.js} +13 -13
- package/dist/chunks/{provider-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
- package/dist/chunks/{provider-36m3y9wg.js → model-resolver-ds811dtb.js} +2 -2
- package/dist/chunks/{provider-6zaadkrj.js → model-resolver-dwyev0pn.js} +23 -23
- package/dist/chunks/{provider-k5xrbeez.js → model-resolver-dxqyj49f.js} +1 -1
- package/dist/chunks/{provider-100eqymc.js → model-resolver-dy92ps29.js} +6 -6
- package/dist/chunks/{provider-ane35rw3.js → model-resolver-e53gjx43.js} +46 -46
- package/dist/chunks/{provider-6hpqnq82.js → model-resolver-e5s5dhnn.js} +11 -11
- package/dist/chunks/{provider-exdczdw5.js → model-resolver-e6vcv3sh.js} +18 -18
- package/dist/chunks/{provider-90xe4ebd.js → model-resolver-e8sy2har.js} +35 -35
- package/dist/chunks/{provider-rrpq0de9.js → model-resolver-eatejewc.js} +12 -12
- package/dist/chunks/{provider-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{provider-phee4dp3.js → model-resolver-ep06henm.js} +18 -18
- package/dist/chunks/{provider-qbx2hgn0.js → model-resolver-es92z2hg.js} +6 -6
- package/dist/chunks/{provider-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{provider-q0yrs87k.js → model-resolver-evbj9t57.js} +45 -45
- package/dist/chunks/{provider-cetvmtxy.js → model-resolver-eyxk1qnq.js} +34 -34
- package/dist/chunks/{provider-9e4j78a5.js → model-resolver-f00eh3k7.js} +17 -17
- package/dist/chunks/{provider-wjpb9jag.js → model-resolver-f53vpfqg.js} +13 -13
- package/dist/chunks/{provider-9116qanx.js → model-resolver-f5en7f74.js} +5 -5
- package/dist/chunks/{provider-71az546q.js → model-resolver-f75zav2x.js} +2 -2
- package/dist/chunks/{provider-60e3je0q.js → model-resolver-fd65jbzw.js} +11 -11
- package/dist/chunks/{provider-34qtjr2x.js → model-resolver-fd7cqx9x.js} +13 -13
- package/dist/chunks/{provider-a2ew8a62.js → model-resolver-fm2qvscf.js} +4 -4
- package/dist/chunks/{provider-nda1mvrc.js → model-resolver-fvp47qe4.js} +19 -19
- package/dist/chunks/{provider-9m6wd42k.js → model-resolver-fzz3hcr3.js} +25 -25
- package/dist/chunks/{provider-9hn6k4tm.js → model-resolver-g0445xdp.js} +8 -8
- package/dist/chunks/{provider-vyzvb1w9.js → model-resolver-g2qj6ddr.js} +21 -21
- package/dist/chunks/{provider-954g4k0y.js → model-resolver-g3g4kd0v.js} +12 -12
- package/dist/chunks/{provider-z2wp2s8j.js → model-resolver-g7rd8z26.js} +4 -4
- package/dist/chunks/{provider-j798b1wp.js → model-resolver-gaav3xfc.js} +13 -13
- package/dist/chunks/{provider-gd0tnyjc.js → model-resolver-gd0tnyjc.js} +1 -1
- package/dist/chunks/{provider-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{provider-d1d7m7z7.js → model-resolver-ge7bq23y.js} +26 -26
- package/dist/chunks/{provider-k1zrjmzp.js → model-resolver-gpnd5mkj.js} +9 -9
- package/dist/chunks/{provider-hvqy4awq.js → model-resolver-grwyepjm.js} +23 -23
- package/dist/chunks/{provider-fwpeyn7w.js → model-resolver-gz16832s.js} +32 -32
- package/dist/chunks/{provider-6xj9v251.js → model-resolver-h0wm3sd5.js} +4 -4
- package/dist/chunks/{provider-9nndfwsw.js → model-resolver-h14zrqyq.js} +20 -20
- package/dist/chunks/{provider-8s9x7mq3.js → model-resolver-h182e1ya.js} +12 -12
- package/dist/chunks/{provider-gnptjt5e.js → model-resolver-h4a7s26t.js} +8 -8
- package/dist/chunks/{provider-ybe0dkr4.js → model-resolver-h5eb1stf.js} +45 -45
- package/dist/chunks/{provider-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{provider-p0ejkak0.js → model-resolver-h76ep6gq.js} +11 -11
- package/dist/chunks/{provider-9adq9209.js → model-resolver-hh65bbrn.js} +13 -13
- package/dist/chunks/{provider-985w54n2.js → model-resolver-hhxvcfmq.js} +2 -2
- package/dist/chunks/{provider-mbdw8qpz.js → model-resolver-hnyhndd0.js} +3 -3
- package/dist/chunks/{provider-6v3gtav4.js → model-resolver-ht2a8fky.js} +9 -9
- package/dist/chunks/{provider-631g3xwd.js → model-resolver-hv8xeme1.js} +12 -12
- package/dist/chunks/{provider-eq1pz5kg.js → model-resolver-j028xdjb.js} +3 -3
- package/dist/chunks/{provider-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{provider-5pdj13gp.js → model-resolver-je7fg4hd.js} +25 -25
- package/dist/chunks/{provider-b5pdhpjr.js → model-resolver-jjwtv0ah.js} +6 -6
- package/dist/chunks/{provider-4e64r1z1.js → model-resolver-jmskrp9g.js} +18 -18
- package/dist/chunks/{provider-wv3twx2w.js → model-resolver-jrqb24zm.js} +11 -11
- package/dist/chunks/{provider-j0sgkhxp.js → model-resolver-k4asghnp.js} +14 -14
- package/dist/chunks/{provider-q4h7jhqx.js → model-resolver-kax3gvj5.js} +15 -15
- package/dist/chunks/{provider-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
- package/dist/chunks/{provider-34wpv7v4.js → model-resolver-km7an3ep.js} +24 -24
- package/dist/chunks/{provider-baaqp4zd.js → model-resolver-kne8f3cn.js} +4 -4
- package/dist/chunks/{provider-3v63pd15.js → model-resolver-kx9rc79n.js} +21 -21
- package/dist/chunks/{provider-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{provider-hx2mnr5g.js → model-resolver-m6f3t844.js} +8 -8
- package/dist/chunks/{provider-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{provider-k751nkt0.js → model-resolver-m9wbq610.js} +27 -27
- package/dist/chunks/{provider-10bgy4f5.js → model-resolver-meahagrb.js} +41 -41
- package/dist/chunks/{provider-cx9z55d6.js → model-resolver-mtf9y83c.js} +11 -11
- package/dist/chunks/{provider-89tevzyb.js → model-resolver-mw9atry4.js} +3 -3
- package/dist/chunks/model-resolver-n66nyqav.js +253 -0
- package/dist/chunks/{provider-qne3fa44.js → model-resolver-n8vdnqrc.js} +5 -5
- package/dist/chunks/{provider-qmm8841s.js → model-resolver-ngghfn62.js} +3 -3
- package/dist/chunks/{provider-2j5hbwxg.js → model-resolver-nqc2a42y.js} +9 -9
- package/dist/chunks/{provider-pwvav0zc.js → model-resolver-nv85q5yc.js} +13 -13
- package/dist/chunks/{provider-cymm7g2a.js → model-resolver-nvkjfv9x.js} +18 -18
- package/dist/chunks/{provider-0xqyf95c.js → model-resolver-nw91k3fh.js} +4 -4
- package/dist/chunks/{provider-575tamff.js → model-resolver-p5qcrc4c.js} +3 -3
- package/dist/chunks/{provider-z30v2f0y.js → model-resolver-pbwe4c5d.js} +91 -91
- package/dist/chunks/{provider-m0p5n2gd.js → model-resolver-pj9tg3xc.js} +29 -29
- package/dist/chunks/{provider-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{provider-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{provider-7s451enq.js → model-resolver-pnaxc6j9.js} +7 -7
- package/dist/chunks/{provider-7hmthqft.js → model-resolver-q8nwznbs.js} +4 -4
- package/dist/chunks/{provider-2k8khapm.js → model-resolver-qgn6gcr1.js} +5 -5
- package/dist/chunks/{provider-ds0s37ch.js → model-resolver-qhf50je4.js} +22 -22
- package/dist/chunks/{provider-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{provider-qx41vpeg.js → model-resolver-qqbg84xg.js} +15 -15
- package/dist/chunks/{provider-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{provider-xyafkbt0.js → model-resolver-qxjc9qry.js} +3 -3
- package/dist/chunks/{provider-n57qrn3a.js → model-resolver-r01t9b5y.js} +6 -6
- package/dist/chunks/{provider-b2vb8hwy.js → model-resolver-r54yw92w.js} +11 -11
- package/dist/chunks/{provider-54ma36ye.js → model-resolver-r94pvvab.js} +4 -4
- package/dist/chunks/{provider-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{provider-xabyxep3.js → model-resolver-rp6bd9wq.js} +11 -11
- package/dist/chunks/{provider-hkznryjg.js → model-resolver-rs7zj18r.js} +11 -11
- package/dist/chunks/{provider-m9ya73e1.js → model-resolver-rwegcfpf.js} +16 -16
- package/dist/chunks/{provider-r6y3gdne.js → model-resolver-s6v33hhs.js} +8 -8
- package/dist/chunks/{provider-8xp68n0c.js → model-resolver-sgg17eyk.js} +22 -22
- package/dist/chunks/{provider-mgm0y126.js → model-resolver-sgksxw7g.js} +3 -3
- package/dist/chunks/{provider-my4zabxr.js → model-resolver-ss358qx3.js} +3 -3
- package/dist/chunks/{provider-camesg23.js → model-resolver-ssrgjt3e.js} +16 -16
- package/dist/chunks/{provider-gw6addyq.js → model-resolver-t29swve2.js} +3 -3
- package/dist/chunks/{provider-qtade0yk.js → model-resolver-t32zyhfe.js} +7 -7
- package/dist/chunks/{provider-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{provider-tcezcvh9.js → model-resolver-tcezcvh9.js} +1 -1
- package/dist/chunks/{provider-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{provider-3bzv0xj2.js → model-resolver-tg3ranp2.js} +25 -25
- package/dist/chunks/{provider-3vx21hd1.js → model-resolver-tjscfx4m.js} +30 -30
- package/dist/chunks/{provider-6yz0wx8n.js → model-resolver-tk14y25j.js} +5 -5
- package/dist/chunks/{provider-qr6zbtg5.js → model-resolver-tptdvtpk.js} +23 -23
- package/dist/chunks/{provider-6bdjrfqv.js → model-resolver-tttwfjc6.js} +5 -5
- package/dist/chunks/{provider-s8tgv6a6.js → model-resolver-txqvqyew.js} +38 -38
- package/dist/chunks/{provider-a6ye7dvb.js → model-resolver-v3n49zdf.js} +17 -17
- package/dist/chunks/{provider-27pw3ak9.js → model-resolver-vb454w7p.js} +3 -3
- package/dist/chunks/{provider-acshqmx2.js → model-resolver-vbdkyqz4.js} +1 -1
- package/dist/chunks/{provider-deadrwyj.js → model-resolver-vbwbd6d7.js} +9 -9
- package/dist/chunks/{provider-nazh1x8e.js → model-resolver-vepq4dqg.js} +42 -42
- package/dist/chunks/{provider-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{provider-gweqbbvm.js → model-resolver-vsn506cm.js} +20 -20
- package/dist/chunks/{provider-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{provider-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{provider-f7k5gakn.js → model-resolver-w7zyscj3.js} +8 -8
- package/dist/chunks/{provider-rmvqbh99.js → model-resolver-wbprqre7.js} +13 -13
- package/dist/chunks/{provider-cyjnm7zn.js → model-resolver-wbtjy708.js} +22 -22
- package/dist/chunks/{provider-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{provider-qw7qt5pa.js → model-resolver-wdr7g53b.js} +30 -30
- package/dist/chunks/{provider-9jtqxrkx.js → model-resolver-wgrcm666.js} +15 -15
- package/dist/chunks/{provider-h90v2x9d.js → model-resolver-wj76ss2k.js} +4 -4
- package/dist/chunks/{provider-s8d7rejh.js → model-resolver-wv396vej.js} +8 -8
- package/dist/chunks/{provider-dzg2nmyy.js → model-resolver-wyy60m0y.js} +1 -1
- package/dist/chunks/{provider-hdwgjdm7.js → model-resolver-wzmhb02r.js} +14 -14
- package/dist/chunks/{provider-150yg2gd.js → model-resolver-x2d9qy7d.js} +5 -5
- package/dist/chunks/{provider-62c2dtz6.js → model-resolver-x38qdzk1.js} +48 -48
- package/dist/chunks/{provider-bqd2cxqp.js → model-resolver-x623mxjj.js} +17 -17
- package/dist/chunks/{provider-x661k3y3.js → model-resolver-x661k3y3.js} +1 -1
- package/dist/chunks/{provider-zy5vtpm1.js → model-resolver-xbmhsw7f.js} +33 -33
- package/dist/chunks/{provider-57b9ws8p.js → model-resolver-xfkkasph.js} +7 -7
- package/dist/chunks/{provider-fh64nspq.js → model-resolver-xjd9n2sp.js} +28 -28
- package/dist/chunks/{provider-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{provider-san3pcvd.js → model-resolver-y0qr5jf7.js} +1 -1
- package/dist/chunks/{provider-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{provider-azv5qb8x.js → model-resolver-y6v1v83p.js} +11 -11
- package/dist/chunks/{provider-h6aq45ge.js → model-resolver-yc5k47t6.js} +21 -21
- package/dist/chunks/{provider-1xt4h7fg.js → model-resolver-yfa68f7n.js} +31 -31
- package/dist/chunks/{provider-xh27xnk0.js → model-resolver-yg62bcth.js} +11 -11
- package/dist/chunks/{provider-203x8f6s.js → model-resolver-ymr5aw12.js} +18 -18
- package/dist/chunks/{provider-bk97wshp.js → model-resolver-ynx1sbyb.js} +8 -8
- package/dist/chunks/{provider-h6dsmzc8.js → model-resolver-yp8tn9p0.js} +24 -24
- package/dist/chunks/{provider-hzvph4yq.js → model-resolver-ypjnx83w.js} +133 -133
- package/dist/chunks/{provider-gbfdm2f9.js → model-resolver-ypnjcb15.js} +42 -42
- package/dist/chunks/{provider-838d4dha.js → model-resolver-yvehv8j4.js} +24 -24
- package/dist/chunks/model-resolver-yvv17s0z.js +507 -0
- package/dist/chunks/{provider-7nsvsbpq.js → model-resolver-yyk24bey.js} +20 -20
- package/dist/chunks/{provider-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{provider-3yzafwg0.js → model-resolver-z0r25cb3.js} +11 -11
- package/dist/chunks/{provider-z4ztj7g0.js → model-resolver-z4ztj7g0.js} +2 -2
- package/dist/chunks/{provider-6m0km96n.js → model-resolver-zf19209g.js} +3 -3
- package/dist/chunks/{provider-bk0akfxd.js → model-resolver-zf4p7bms.js} +17 -17
- package/dist/chunks/{provider-zv9njayc.js → model-resolver-zny3dpd0.js} +8 -8
- package/dist/chunks/{provider-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{provider-ycw12012.js → model-resolver-zwcyw4cb.js} +4 -4
- package/dist/chunks/{provider-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +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 +116 -116
- 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 +114 -114
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- 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 +79 -79
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +1 -1
- package/dist/integration.js +83 -83
- package/dist/job.js +76 -76
- 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 +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +96 -96
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- 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 +3 -3
- 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 +114 -114
- 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 +74 -74
- 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 +341 -341
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +3 -3
- 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 +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +1 -1
- 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 +2 -2
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +201 -201
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- 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 +118 -118
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +208 -208
- 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 +110 -110
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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 +82 -82
- 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/provider-141rw18h.js +0 -507
- package/dist/chunks/provider-8557trs0.js +0 -26
- package/dist/chunks/provider-ckyzvwjx.js +0 -253
- package/dist/chunks/provider-hgd4btym.js +0 -18
- /package/dist/chunks/{provider-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{provider-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{provider-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{provider-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{provider-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{provider-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{provider-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{provider-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{provider-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{provider-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{provider-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{provider-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{provider-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{provider-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{provider-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{provider-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{provider-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{provider-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{provider-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{provider-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{provider-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{provider-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{provider-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{provider-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{provider-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{provider-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{provider-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{provider-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{provider-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{provider-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{provider-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{provider-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{provider-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{provider-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{provider-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{provider-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{provider-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{provider-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{provider-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{provider-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{provider-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{provider-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{provider-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{provider-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{provider-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{provider-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{provider-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{provider-e3qxr5gk.js → model-resolver-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{provider-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{provider-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{provider-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{provider-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{provider-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{provider-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{provider-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{provider-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{provider-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{provider-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{provider-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{provider-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{provider-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{provider-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{provider-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{provider-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{provider-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{provider-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{provider-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{provider-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{provider-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{provider-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{provider-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{provider-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{provider-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{provider-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{provider-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{provider-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{provider-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{provider-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{provider-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{provider-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{provider-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{provider-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{provider-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{provider-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{provider-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{provider-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{provider-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{provider-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{provider-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{provider-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{provider-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{provider-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{provider-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{provider-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{provider-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{provider-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{provider-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service84,
|
|
3
|
-
node88
|
|
4
|
-
} from "./provider-1fh7s5gq.js";
|
|
5
1
|
import {
|
|
6
2
|
Service83,
|
|
7
3
|
node87
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-94mn3p3s.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
13
|
ID9,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service56,
|
|
15
|
+
node58
|
|
16
|
+
} from "./model-resolver-jmskrp9g.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node75
|
|
23
|
+
} from "./model-resolver-83009cjb.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./model-resolver-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
provenance2,
|
|
32
32
|
compatible2,
|
|
33
33
|
isCheckpoint2,
|
|
34
34
|
encode2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-resolver-4z58m4b4.js";
|
|
36
36
|
import {
|
|
37
37
|
load4
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-bth1fran.js";
|
|
39
39
|
import {
|
|
40
40
|
toLLMMessages2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-gd0tnyjc.js";
|
|
42
42
|
import {
|
|
43
43
|
baseTranscript2,
|
|
44
44
|
unsupportedParts2,
|
|
45
45
|
boundImages2,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
} from "./
|
|
46
|
+
Service37,
|
|
47
|
+
node41
|
|
48
|
+
} from "./model-resolver-eyxk1qnq.js";
|
|
49
49
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./
|
|
50
|
+
Service45,
|
|
51
|
+
node47
|
|
52
|
+
} from "./model-resolver-8wf1bn9q.js";
|
|
53
53
|
import {
|
|
54
54
|
isRetryable2,
|
|
55
55
|
policy2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./model-resolver-b3f8fkhc.js";
|
|
57
57
|
import {
|
|
58
58
|
toSessionError2,
|
|
59
59
|
contentFilterError2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./model-resolver-tttwfjc6.js";
|
|
61
61
|
import {
|
|
62
62
|
calculateCost2,
|
|
63
63
|
record2,
|
|
64
64
|
add2
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./model-resolver-tdstcens.js";
|
|
66
66
|
import {
|
|
67
67
|
__export
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
69
69
|
|
|
70
70
|
// src/session/compaction.ts
|
|
71
71
|
var exports_compaction2 = {};
|
|
72
72
|
__export(exports_compaction2, {
|
|
73
|
-
Service: () =>
|
|
73
|
+
Service: () => Service9,
|
|
74
74
|
SessionCompaction: () => exports_compaction2,
|
|
75
75
|
buildPrompt: () => buildPrompt2,
|
|
76
76
|
estimateContext: () => estimateContext2,
|
|
77
77
|
estimatePrompt: () => estimatePrompt2,
|
|
78
|
-
layer: () =>
|
|
79
|
-
node: () =>
|
|
78
|
+
layer: () => layer6,
|
|
79
|
+
node: () => node11,
|
|
80
80
|
recentUserMessages: () => recentUserMessages2
|
|
81
81
|
});
|
|
82
82
|
import {
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
} from "@opencode/ai";
|
|
93
93
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
94
94
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
95
|
-
class
|
|
95
|
+
class Service9 extends Context.Service()("@opencode/SessionCompaction") {
|
|
96
96
|
}
|
|
97
97
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
98
98
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -171,14 +171,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
171
171
|
};
|
|
172
172
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
173
173
|
var LEGACY_HEADING = "## Additional Context";
|
|
174
|
-
var
|
|
175
|
-
const agents = yield*
|
|
176
|
-
const bus = yield*
|
|
174
|
+
var layer6 = Layer.effect(Service9, Effect.gen(function* () {
|
|
175
|
+
const agents = yield* Service56;
|
|
176
|
+
const bus = yield* Service82;
|
|
177
177
|
const llm = yield* LLMClient.Service;
|
|
178
|
-
const catalog = yield*
|
|
179
|
-
const models = yield*
|
|
180
|
-
const db = (yield*
|
|
181
|
-
const requests = yield*
|
|
178
|
+
const catalog = yield* Service71;
|
|
179
|
+
const models = yield* Service45;
|
|
180
|
+
const db = (yield* Service83).db;
|
|
181
|
+
const requests = yield* Service37;
|
|
182
182
|
const state = create3({
|
|
183
183
|
name: "session-compaction",
|
|
184
184
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -472,16 +472,16 @@ ${text}`;
|
|
|
472
472
|
}, { metadata: outcome.metadata });
|
|
473
473
|
return { status: "completed" };
|
|
474
474
|
});
|
|
475
|
-
return
|
|
475
|
+
return Service9.of({
|
|
476
476
|
transform: state.transform,
|
|
477
477
|
reload: state.reload,
|
|
478
478
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
479
479
|
});
|
|
480
480
|
}));
|
|
481
|
-
var
|
|
482
|
-
service:
|
|
483
|
-
layer:
|
|
484
|
-
deps: [
|
|
481
|
+
var node11 = makeLocationNode({
|
|
482
|
+
service: Service9,
|
|
483
|
+
layer: layer6,
|
|
484
|
+
deps: [node58, node86, node87, llmClient2, node75, node41, node47]
|
|
485
485
|
});
|
|
486
486
|
var previousCompaction = (messages) => {
|
|
487
487
|
const [first] = messages;
|
|
@@ -686,4 +686,4 @@ var estimateMedia = (mime) => {
|
|
|
686
686
|
return 0;
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
-
export {
|
|
689
|
+
export { Service9, buildPrompt2, layer6, node11, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node60
|
|
5
|
+
} from "./model-resolver-y6v1v83p.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-4z58m4b4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service70,
|
|
12
12
|
node74
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-pnaxc6j9.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-vepq4dqg.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-fd65jbzw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./model-resolver-c9kv66wf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
get4
|
|
25
|
+
} from "./model-resolver-r94pvvab.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service38,
|
|
28
|
+
node42
|
|
29
|
+
} from "./model-resolver-rp6bd9wq.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./model-resolver-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./model-resolver-gd0tnyjc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service37,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer14,
|
|
48
|
+
node: () => node41,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service37 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer14 = Layer.effect(Service37, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service70;
|
|
158
|
+
const transport = yield* Service38;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -181,7 +181,7 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
181
181
|
const entries = Object.entries(shaped.options);
|
|
182
182
|
const generation = Object.fromEntries(entries.filter(([k]) => GENERATION_KEYS.has(k)));
|
|
183
183
|
const providerOptions = Object.fromEntries(entries.filter(([k]) => !GENERATION_KEYS.has(k)));
|
|
184
|
-
const affinity =
|
|
184
|
+
const affinity = get4(session);
|
|
185
185
|
const base = LLM.request({
|
|
186
186
|
model: model.model,
|
|
187
187
|
http: {
|
|
@@ -260,17 +260,17 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service37.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [node74,
|
|
270
|
+
var node41 = makeLocationNode({
|
|
271
|
+
service: Service37,
|
|
272
|
+
layer: layer14,
|
|
273
|
+
deps: [node74, node42, node60]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service37, layer14, node41, exports_model_request };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make22,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-wv396vej.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
render: () =>
|
|
17
|
+
var exports_instructions2 = {};
|
|
18
|
+
__export(exports_instructions2, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions2,
|
|
20
|
+
make: () => make14,
|
|
21
|
+
render: () => render2,
|
|
22
22
|
update: () => update3
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
@@ -32,7 +32,7 @@ ${hasMoreTools ? `The catalog is partial. Inside \`execute\`, use \`search(...)\
|
|
|
32
32
|
- ${searchSignature}` : "The catalog is complete. Do not guess tool names."}
|
|
33
33
|
|
|
34
34
|
## Available tools`;
|
|
35
|
-
function
|
|
35
|
+
function render2(catalog) {
|
|
36
36
|
if (catalog.total === 0)
|
|
37
37
|
return "No Code Mode tools are currently available. Later Code Mode catalog updates may add or remove tools. Do not call `execute` unless there is at least one available Code Mode tool.";
|
|
38
38
|
const tools = catalog.namespaces.flatMap((namespace) => {
|
|
@@ -46,7 +46,7 @@ ${tools.join(`
|
|
|
46
46
|
function update3(previous, current) {
|
|
47
47
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
48
48
|
|
|
49
|
-
${
|
|
49
|
+
${render2(current)}`;
|
|
50
50
|
if (current.total === 0)
|
|
51
51
|
return replacement;
|
|
52
52
|
const previousComplete = previous.shown === previous.total;
|
|
@@ -109,20 +109,20 @@ ${render3(current)}`;
|
|
|
109
109
|
return delta;
|
|
110
110
|
return replacement;
|
|
111
111
|
}
|
|
112
|
-
var key =
|
|
112
|
+
var key = Key4.make("core/codemode");
|
|
113
113
|
var codec = Schema.toCodecJson(Summary2);
|
|
114
|
-
var
|
|
114
|
+
var make14 = (inventory) => {
|
|
115
115
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
116
|
-
return
|
|
116
|
+
return make22({
|
|
117
117
|
key,
|
|
118
118
|
codec,
|
|
119
119
|
read: Effect.succeed(catalog),
|
|
120
120
|
render: {
|
|
121
|
-
initial:
|
|
121
|
+
initial: render2,
|
|
122
122
|
changed: update3,
|
|
123
123
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
124
124
|
}
|
|
125
125
|
});
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { render2, update3, make14, exports_instructions2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-y6v1v83p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service82
|
|
6
|
+
} from "./model-resolver-ssrgjt3e.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event18,
|
|
10
|
+
Service74
|
|
11
|
+
} from "./model-resolver-1p1pjvaa.js";
|
|
12
12
|
import {
|
|
13
13
|
ID13,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-2ex9v4dz.js";
|
|
16
16
|
import {
|
|
17
17
|
ID12,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-6x448rs9.js";
|
|
20
20
|
import {
|
|
21
21
|
ID11,
|
|
22
22
|
VariantID2,
|
|
23
23
|
Info20
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./model-resolver-83009cjb.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./model-resolver-pjvnvgmy.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/chatgpt.ts
|
|
31
31
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -173,8 +173,8 @@ function listen(server) {
|
|
|
173
173
|
var ChatGPTPlugin2 = define({
|
|
174
174
|
id: "opencode.provider.chatgpt",
|
|
175
175
|
effect: Effect.fn(function* (ctx) {
|
|
176
|
-
const bus = yield*
|
|
177
|
-
const credentials = yield*
|
|
176
|
+
const bus = yield* Service82;
|
|
177
|
+
const credentials = yield* Service74;
|
|
178
178
|
const loading = Semaphore.makeUnsafe(1);
|
|
179
179
|
let chatgpt;
|
|
180
180
|
let source;
|
|
@@ -249,7 +249,7 @@ var ChatGPTPlugin2 = define({
|
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
251
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
252
|
-
yield* bus.subscribe(
|
|
252
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
253
253
|
})
|
|
254
254
|
});
|
|
255
255
|
function headers(app) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-vepq4dqg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin48 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin48, exports_plan };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-3cegwx68.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service75
|
|
3
|
+
} from "./model-resolver-wgrcm666.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./model-resolver-vepq4dqg.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input14,
|
|
16
16
|
Output: () => Output9,
|
|
17
17
|
Plugin: () => Plugin50,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input14 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output9 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin50 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service75;
|
|
57
|
+
const permission = yield* Service53;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input14,
|
|
63
63
|
output: Output9,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin50, exports_question };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./model-resolver-k4asghnp.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service63
|
|
9
|
+
} from "./model-resolver-e53gjx43.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-tg3ranp2.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./model-resolver-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin10 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service63;
|
|
35
|
+
const location = yield* Service78;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin10, exports_reference };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info17
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info17 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info17, exports_command5 };
|