@opencode/core 0.0.0-dev-20649 → 0.0.0-dev-20652
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 +69 -69
- package/dist/chunks/{mime-kj8me5dh.js → model-resolver-0422tdqy.js} +5 -5
- package/dist/chunks/{mime-gphzfxhq.js → model-resolver-0542bm0d.js} +32 -32
- package/dist/chunks/{mime-bxcw0mka.js → model-resolver-07nx60wz.js} +10 -10
- package/dist/chunks/{mime-13qx119e.js → model-resolver-08awhxg9.js} +10 -10
- package/dist/chunks/{mime-16c21bq7.js → model-resolver-08q73ng5.js} +6 -6
- package/dist/chunks/{mime-z92vphtz.js → model-resolver-0bs0xzzs.js} +17 -17
- package/dist/chunks/{mime-z99td3vh.js → model-resolver-0es0zd3j.js} +23 -23
- package/dist/chunks/{mime-xz9m3t1f.js → model-resolver-0f84emyz.js} +22 -22
- package/dist/chunks/{mime-sb6an3dy.js → model-resolver-0hc4mbjr.js} +7 -7
- package/dist/chunks/{mime-ry36jsf7.js → model-resolver-0nvn360z.js} +9 -9
- package/dist/chunks/{mime-0paq2nw3.js → model-resolver-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0vbcp93d.js → model-resolver-0vbcp93d.js} +2 -2
- package/dist/chunks/{mime-ds77a3s3.js → model-resolver-0vs3bra0.js} +19 -19
- package/dist/chunks/{mime-tcqa4h8g.js → model-resolver-0ykz178d.js} +10 -10
- package/dist/chunks/{mime-yjspgx20.js → model-resolver-127b9nq3.js} +2 -2
- package/dist/chunks/{mime-cca1v9sb.js → model-resolver-12gfzbq6.js} +13 -13
- package/dist/chunks/{mime-fhz5gfgy.js → model-resolver-150yg2gd.js} +5 -5
- package/dist/chunks/{mime-d9v54453.js → model-resolver-19v7rzjh.js} +39 -39
- package/dist/chunks/{mime-3thfs4vd.js → model-resolver-1a7kemja.js} +3 -3
- package/dist/chunks/{mime-1dazxqgg.js → model-resolver-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-59s0kgwy.js → model-resolver-1jj9vxsv.js} +3 -3
- package/dist/chunks/{mime-kz8ps502.js → model-resolver-1ssqd35y.js} +12 -12
- package/dist/chunks/{mime-a1nag75j.js → model-resolver-1xwtfmct.js} +4 -4
- package/dist/chunks/{mime-cs0pyha6.js → model-resolver-27czsdb9.js} +45 -45
- package/dist/chunks/{mime-k63gn3x0.js → model-resolver-286yb4sa.js} +4 -4
- package/dist/chunks/{mime-2a5m3afh.js → model-resolver-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-eqdfs7ht.js → model-resolver-2ck2j4j1.js} +6 -6
- package/dist/chunks/{mime-qreg5ges.js → model-resolver-2f6g987b.js} +173 -173
- package/dist/chunks/{mime-va8pbtsb.js → model-resolver-2h5pq9sb.js} +24 -24
- package/dist/chunks/{mime-2k8khapm.js → model-resolver-2k8khapm.js} +1 -1
- package/dist/chunks/{mime-bryryzyy.js → model-resolver-2pqtcr1v.js} +11 -11
- package/dist/chunks/{mime-0fan8waa.js → model-resolver-2v5zve2j.js} +20 -20
- package/dist/chunks/{mime-ag7r9101.js → model-resolver-2w7e4h0h.js} +11 -11
- package/dist/chunks/{mime-1b37m1mh.js → model-resolver-2ypb7czt.js} +17 -17
- package/dist/chunks/{mime-v553wp33.js → model-resolver-32h9x93b.js} +48 -48
- package/dist/chunks/{mime-h2b79v29.js → model-resolver-3cegwx68.js} +2 -2
- package/dist/chunks/{mime-3fc6dm20.js → model-resolver-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-vqfzq50h.js → model-resolver-3ppptnan.js} +6 -6
- package/dist/chunks/{mime-3smtnn6g.js → model-resolver-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → model-resolver-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-2wjfq3y1.js → model-resolver-3x6h1yzc.js} +16 -16
- package/dist/chunks/{mime-jk8bzzjw.js → model-resolver-3yzzydz0.js} +4 -4
- package/dist/chunks/{mime-3zsf4n22.js → model-resolver-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-5g9khqm3.js → model-resolver-41dwvnwc.js} +11 -11
- package/dist/chunks/{mime-h9dg90ta.js → model-resolver-45deadp2.js} +7 -7
- package/dist/chunks/{mime-12n08y7q.js → model-resolver-46tb29mf.js} +8 -8
- package/dist/chunks/{mime-1rn5pcm9.js → model-resolver-4j4tgtq5.js} +4 -4
- package/dist/chunks/{mime-170w37en.js → model-resolver-4nsnwgcs.js} +1 -1
- package/dist/chunks/{mime-2ccvkpx1.js → model-resolver-4ts7tf6z.js} +2 -2
- package/dist/chunks/{mime-w2h15q85.js → model-resolver-4xpgt2w9.js} +5 -5
- package/dist/chunks/{mime-f3cq72f8.js → model-resolver-4xy3xte6.js} +36 -36
- package/dist/chunks/{mime-h1qnxspz.js → model-resolver-5109a086.js} +32 -32
- package/dist/chunks/{mime-54ma36ye.js → model-resolver-54ma36ye.js} +1 -1
- package/dist/chunks/{mime-yqpe8af8.js → model-resolver-558ajqy5.js} +20 -20
- package/dist/chunks/{mime-j9g4e7w9.js → model-resolver-5d93dg4h.js} +17 -17
- package/dist/chunks/{mime-5daktx2q.js → model-resolver-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-n11krz91.js → model-resolver-5gxq0s6y.js} +42 -42
- package/dist/chunks/{mime-ghe998k5.js → model-resolver-5h3jqpbr.js} +15 -15
- package/dist/chunks/{mime-38adaqc0.js → model-resolver-5hx7d1d6.js} +5 -5
- package/dist/chunks/{mime-43efg38y.js → model-resolver-5jjt27vb.js} +11 -11
- package/dist/chunks/{mime-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{mime-j6gcmj6w.js → model-resolver-5mwnvj5n.js} +3 -3
- package/dist/chunks/{mime-e3qxr5gk.js → model-resolver-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-5t3nmthw.js → model-resolver-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-xawtvtgk.js → model-resolver-6ha37qbe.js} +43 -43
- package/dist/chunks/{mime-f3kq77fw.js → model-resolver-6mns344v.js} +17 -17
- package/dist/chunks/model-resolver-6rhw05qy.js +26 -0
- package/dist/chunks/{mime-6xb47vfp.js → model-resolver-6xb47vfp.js} +1 -1
- package/dist/chunks/{mime-9ne60yjh.js → model-resolver-6z0zjaxs.js} +20 -20
- package/dist/chunks/{mime-har29xsp.js → model-resolver-71ek9cp3.js} +7 -7
- package/dist/chunks/{mime-6540dvt1.js → model-resolver-73azztx1.js} +7 -7
- package/dist/chunks/{mime-mhkvc446.js → model-resolver-73tb2d7t.js} +3 -3
- package/dist/chunks/{mime-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-v0es1rhs.js → model-resolver-7d822byb.js} +9 -9
- package/dist/chunks/{mime-v1q4cba8.js → model-resolver-7zkyz21p.js} +6 -6
- package/dist/chunks/{mime-1dvck2a7.js → model-resolver-84h8c373.js} +2 -2
- package/dist/chunks/{mime-84txncab.js → model-resolver-84txncab.js} +1 -1
- package/dist/chunks/{mime-pfcsshcq.js → model-resolver-85eh7cfy.js} +32 -32
- package/dist/chunks/{mime-8d7r5vzw.js → model-resolver-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-9hyysrhy.js → model-resolver-8egvdccy.js} +11 -11
- package/dist/chunks/{mime-v9aw5k7b.js → model-resolver-8fm7ftfn.js} +13 -13
- package/dist/chunks/{mime-58phr483.js → model-resolver-8hbdmjnq.js} +69 -69
- package/dist/chunks/{mime-ywq4z9t2.js → model-resolver-8kb0e28r.js} +14 -14
- package/dist/chunks/{mime-penzfr98.js → model-resolver-8xq2p407.js} +19 -19
- package/dist/chunks/{mime-27xqmrb2.js → model-resolver-8yktm66k.js} +15 -15
- package/dist/chunks/{mime-3hx84xbv.js → model-resolver-974xbn4p.js} +33 -33
- package/dist/chunks/{mime-yx80kbmw.js → model-resolver-9b1bh67j.js} +5 -5
- package/dist/chunks/{mime-k1qrnqst.js → model-resolver-9kw8973d.js} +8 -8
- package/dist/chunks/{mime-0yzyde6c.js → model-resolver-9s0ehjpm.js} +26 -26
- package/dist/chunks/{mime-pd812h7a.js → model-resolver-9v0mj4cg.js} +8 -8
- package/dist/chunks/{mime-b644w2ar.js → model-resolver-9vk12vsk.js} +11 -11
- package/dist/chunks/{mime-n14gvf56.js → model-resolver-9zgzq4hp.js} +11 -11
- package/dist/chunks/{mime-e9dcgzx6.js → model-resolver-a6xnfde8.js} +4 -4
- package/dist/chunks/{mime-6m42r3np.js → model-resolver-a8bn8zg0.js} +21 -21
- package/dist/chunks/{mime-aaet6srn.js → model-resolver-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-03d19y83.js → model-resolver-ajft39nq.js} +4 -4
- package/dist/chunks/{mime-p1dcwdyv.js → model-resolver-apdvzw7w.js} +26 -26
- package/dist/chunks/{mime-vk6h2smq.js → model-resolver-b0nz5rd6.js} +15 -15
- package/dist/chunks/{mime-23h4de3k.js → model-resolver-b3rdhmww.js} +12 -12
- package/dist/chunks/{mime-b6gygkdw.js → model-resolver-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-w4afprn7.js → model-resolver-b75r5j40.js} +24 -24
- package/dist/chunks/{mime-6cpwc79d.js → model-resolver-bd8np6qp.js} +21 -21
- package/dist/chunks/{mime-61zpm44j.js → model-resolver-bdd5jqwb.js} +14 -14
- package/dist/chunks/{mime-hy49mbwe.js → model-resolver-bmtj8zad.js} +15 -15
- package/dist/chunks/{mime-4tamdkr5.js → model-resolver-bt4mtqh9.js} +5 -5
- package/dist/chunks/{mime-fb2y2dbg.js → model-resolver-bzzc495f.js} +11 -11
- package/dist/chunks/{mime-ds0wtj4e.js → model-resolver-bzzvw9kc.js} +1 -1
- package/dist/chunks/{mime-ky7drcmt.js → model-resolver-c0y2vens.js} +13 -13
- package/dist/chunks/{mime-y8j7y9g5.js → model-resolver-c0ykhrt2.js} +12 -12
- package/dist/chunks/{mime-t4cg2ngh.js → model-resolver-c5kr06rn.js} +322 -322
- package/dist/chunks/{mime-zq5qms4d.js → model-resolver-cfmtfeg9.js} +11 -11
- package/dist/chunks/{mime-8nzt4413.js → model-resolver-cjhnsaft.js} +11 -11
- package/dist/chunks/{mime-tz5y8hw2.js → model-resolver-cjw460n3.js} +20 -20
- package/dist/chunks/{mime-v7z2bvyd.js → model-resolver-cp937pt4.js} +4 -4
- package/dist/chunks/{mime-p6cz1f6w.js → model-resolver-cq29va0k.js} +19 -19
- package/dist/chunks/{mime-tk9ew89t.js → model-resolver-ctz7jbry.js} +8 -8
- package/dist/chunks/{mime-qmqgtz8f.js → model-resolver-cwa6csj7.js} +9 -9
- package/dist/chunks/{mime-ghcmpcfh.js → model-resolver-da6ee7ra.js} +9 -9
- package/dist/chunks/{mime-vxzh5eqq.js → model-resolver-de52ckkz.js} +4 -4
- package/dist/chunks/{mime-pkw6pxyw.js → model-resolver-dhe4rjrj.js} +30 -30
- package/dist/chunks/{mime-dpkg50ah.js → model-resolver-dpkg50ah.js} +1 -1
- package/dist/chunks/{mime-szavfcg2.js → model-resolver-dq0bda3m.js} +22 -22
- package/dist/chunks/{mime-3fw4vykw.js → model-resolver-dx1b2kp7.js} +29 -29
- package/dist/chunks/{mime-ncj3k1yy.js → model-resolver-dze2gebv.js} +26 -26
- package/dist/chunks/{mime-5g9tk4c4.js → model-resolver-e3bfy97n.js} +26 -26
- package/dist/chunks/{mime-dtt66365.js → model-resolver-e4knw194.js} +22 -22
- package/dist/chunks/{mime-h696b5ha.js → model-resolver-e67gvcg8.js} +32 -32
- package/dist/chunks/{mime-rhjbct0v.js → model-resolver-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-z2mbgn3s.js → model-resolver-ec8aqdm6.js} +53 -53
- package/dist/chunks/{mime-3rz5q6jx.js → model-resolver-ecw0m79c.js} +13 -13
- package/dist/chunks/{mime-g530ctaj.js → model-resolver-ed1gzxdy.js} +8 -8
- package/dist/chunks/{mime-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-jxd6d72w.js → model-resolver-epch8s0x.js} +3 -3
- package/dist/chunks/{mime-etq0c3wd.js → model-resolver-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-vq5be08n.js → model-resolver-eyz1e7b4.js} +3 -3
- package/dist/chunks/{mime-71az546q.js → model-resolver-f75zav2x.js} +2 -2
- package/dist/chunks/{mime-070fvye4.js → model-resolver-fjrw4d14.js} +47 -47
- package/dist/chunks/{mime-cn48saaq.js → model-resolver-fpcgeefe.js} +19 -19
- package/dist/chunks/{mime-pe057h99.js → model-resolver-ftczs0ph.js} +44 -44
- package/dist/chunks/{mime-c9e1chd6.js → model-resolver-g08qb7dt.js} +13 -13
- package/dist/chunks/{mime-gh5z95q3.js → model-resolver-g31erja1.js} +9 -9
- package/dist/chunks/{mime-0hwq8h39.js → model-resolver-g47h9c6m.js} +9 -9
- package/dist/chunks/{mime-1j858gve.js → model-resolver-g4pw1jpx.js} +24 -24
- package/dist/chunks/{mime-gd4qta3r.js → model-resolver-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-3ktk39h6.js → model-resolver-gdn89mga.js} +18 -18
- package/dist/chunks/{mime-na7gn6xf.js → model-resolver-gf4q96mg.js} +26 -26
- package/dist/chunks/{mime-3py696r4.js → model-resolver-gm70hkap.js} +11 -11
- package/dist/chunks/{mime-7hwp9pe8.js → model-resolver-gph55xgf.js} +15 -15
- package/dist/chunks/{mime-addxnjmp.js → model-resolver-gqtdsdt7.js} +4 -4
- package/dist/chunks/{mime-zrq8kphx.js → model-resolver-gqxmd7mw.js} +8 -8
- package/dist/chunks/{mime-06x8he3q.js → model-resolver-gst7axd9.js} +4 -4
- package/dist/chunks/{mime-vb17zyzn.js → model-resolver-gtfqxnbk.js} +11 -11
- package/dist/chunks/{mime-pzhq4eaf.js → model-resolver-h3g7c02j.js} +17 -17
- package/dist/chunks/{mime-3rd28rcz.js → model-resolver-h4ckqw4f.js} +11 -11
- package/dist/chunks/{mime-spf27589.js → model-resolver-h4z4phbe.js} +4 -4
- package/dist/chunks/{mime-h6vf3j39.js → model-resolver-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-xp3fh2h7.js → model-resolver-hd8vw2pw.js} +1 -1
- package/dist/chunks/{mime-3qhg2zya.js → model-resolver-hjm94w0b.js} +8 -8
- package/dist/chunks/{mime-31b5zmy0.js → model-resolver-hm2phjj0.js} +24 -24
- package/dist/chunks/{mime-myn0gkp2.js → model-resolver-hq45thad.js} +16 -16
- package/dist/chunks/{mime-c2hscm47.js → model-resolver-j4w879wy.js} +26 -26
- package/dist/chunks/{mime-j56e64zr.js → model-resolver-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-ea5vh3bk.js → model-resolver-j5n8pp08.js} +44 -44
- package/dist/chunks/{mime-dtm252p1.js → model-resolver-j8vk2cdy.js} +5 -5
- package/dist/chunks/{mime-r7a7bxfj.js → model-resolver-k2nq0b80.js} +25 -25
- package/dist/chunks/{mime-qjev0pmq.js → model-resolver-k3f304m0.js} +6 -6
- package/dist/chunks/{mime-kbx4g6d9.js → model-resolver-k3gjjqdh.js} +32 -32
- package/dist/chunks/{mime-3ch2ac9z.js → model-resolver-k9ga8ymg.js} +13 -13
- package/dist/chunks/{mime-9e5bzkjp.js → model-resolver-kb9j3d72.js} +3 -3
- package/dist/chunks/{mime-mypwhdkk.js → model-resolver-kc6s93qx.js} +6 -6
- package/dist/chunks/{mime-8gxsn6kg.js → model-resolver-kc9e1ych.js} +32 -32
- package/dist/chunks/{mime-wbfm5czg.js → model-resolver-kfh1rvrr.js} +27 -27
- package/dist/chunks/{mime-34vqaa0j.js → model-resolver-kk3g4k48.js} +32 -32
- package/dist/chunks/{mime-m3fdjcah.js → model-resolver-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-f44mjg6h.js → model-resolver-mdaxkk3h.js} +4 -4
- package/dist/chunks/{mime-1ygqh575.js → model-resolver-mfqp6xfm.js} +6 -6
- package/dist/chunks/{mime-3h16yct6.js → model-resolver-mj4tg0y9.js} +9 -9
- package/dist/chunks/{mime-2nthby9b.js → model-resolver-mq0f2m57.js} +30 -30
- package/dist/chunks/{mime-fpnx24t4.js → model-resolver-mtpeagzc.js} +3 -3
- package/dist/chunks/{mime-86qzxe6p.js → model-resolver-n2srvep7.js} +4 -4
- package/dist/chunks/{mime-r9w3djhf.js → model-resolver-n37c4crj.js} +5 -5
- package/dist/chunks/{mime-wvy7zsan.js → model-resolver-n4kwfwhc.js} +9 -9
- package/dist/chunks/{mime-kn1g41v8.js → model-resolver-n6kkq2ng.js} +32 -32
- package/dist/chunks/{mime-d009mnpz.js → model-resolver-nbe77j13.js} +22 -22
- package/dist/chunks/{mime-hkx83aab.js → model-resolver-nkpgj8pk.js} +5 -5
- package/dist/chunks/{mime-ws8rf1n9.js → model-resolver-nsk1prb9.js} +15 -15
- package/dist/chunks/{mime-jrc5bn6s.js → model-resolver-p5a37mby.js} +8 -8
- package/dist/chunks/{mime-99773vnq.js → model-resolver-p8byhbkv.js} +43 -43
- package/dist/chunks/{mime-pjvnvgmy.js → model-resolver-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{mime-5fb55ywp.js → model-resolver-pnkbpv6t.js} +9 -9
- package/dist/chunks/{mime-5wn8k982.js → model-resolver-pp4mne8d.js} +23 -23
- package/dist/chunks/{mime-vqbdn0d9.js → model-resolver-pv9k6nd9.js} +21 -21
- package/dist/chunks/{mime-564aqkfr.js → model-resolver-pw90wh71.js} +35 -35
- package/dist/chunks/{mime-9cnwn640.js → model-resolver-pwjc3egg.js} +19 -19
- package/dist/chunks/{mime-vkt5fbj2.js → model-resolver-q0kza1w9.js} +8 -8
- package/dist/chunks/{mime-0j77ygfz.js → model-resolver-q0xm7vwc.js} +6 -6
- package/dist/chunks/{mime-93exgp6v.js → model-resolver-q3h10w5c.js} +60 -60
- package/dist/chunks/model-resolver-q509s3k3.js +18 -0
- package/dist/chunks/{mime-qt8b63p3.js → model-resolver-q83407cy.js} +18 -18
- package/dist/chunks/{mime-sxz6gkc3.js → model-resolver-qa3qhgw8.js} +7 -7
- package/dist/chunks/{mime-9pnm2vv9.js → model-resolver-qk7srzz2.js} +30 -30
- package/dist/chunks/{mime-qnc92qwc.js → model-resolver-qnc92qwc.js} +1 -1
- package/dist/chunks/{mime-qsdy395h.js → model-resolver-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-rq7mwymb.js → model-resolver-qthsvwc3.js} +27 -27
- package/dist/chunks/{mime-ksgsjq6b.js → model-resolver-qzp699j3.js} +17 -17
- package/dist/chunks/{mime-e5ncbec4.js → model-resolver-qzpwn43k.js} +4 -4
- package/dist/chunks/{mime-p02g0fw2.js → model-resolver-r0spx5zb.js} +26 -26
- package/dist/chunks/{mime-4x0vy5hp.js → model-resolver-r3yntwzq.js} +5 -5
- package/dist/chunks/{mime-r8xr0va3.js → model-resolver-r8xr0va3.js} +1 -1
- package/dist/chunks/{mime-1mdr38wd.js → model-resolver-r95z6apf.js} +11 -11
- package/dist/chunks/{mime-rdw6cm16.js → model-resolver-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-y5jr1bsy.js → model-resolver-re314ab2.js} +88 -88
- package/dist/chunks/{mime-gkhvwrqw.js → model-resolver-re9ebc67.js} +18 -18
- package/dist/chunks/{mime-393wq71a.js → model-resolver-rpbkhrt2.js} +25 -25
- package/dist/chunks/{mime-zxxyec0p.js → model-resolver-rwp39ykb.js} +11 -11
- package/dist/chunks/{mime-q3ersh05.js → model-resolver-rxcdjwh1.js} +6 -6
- package/dist/chunks/{mime-gdmg3xqt.js → model-resolver-sd38pwsj.js} +17 -17
- package/dist/chunks/{mime-vw2nt98j.js → model-resolver-shwq57g0.js} +9 -9
- package/dist/chunks/{mime-h05y6get.js → model-resolver-snnqzhcb.js} +32 -32
- package/dist/chunks/{mime-tazgh4e4.js → model-resolver-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-00qg2tcw.js → model-resolver-tc8cg2nw.js} +15 -15
- package/dist/chunks/{mime-89znhe33.js → model-resolver-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → model-resolver-tdstcens.js} +1 -1
- package/dist/chunks/{mime-wpwvc70n.js → model-resolver-thcxkcch.js} +11 -11
- package/dist/chunks/{mime-9hn6k4tm.js → model-resolver-tpw6cwsb.js} +8 -8
- package/dist/chunks/{mime-jktqzjpa.js → model-resolver-ts23464c.js} +6 -6
- package/dist/chunks/{mime-93z3pz9m.js → model-resolver-tv2g93x2.js} +32 -32
- package/dist/chunks/{mime-faajnp1h.js → model-resolver-tzm99wp3.js} +8 -8
- package/dist/chunks/{mime-fd1b7pt2.js → model-resolver-v1z61gdb.js} +17 -17
- package/dist/chunks/{mime-x4aqza7e.js → model-resolver-v2d8dwc4.js} +9 -9
- package/dist/chunks/{mime-jskn7g1e.js → model-resolver-v8b1trmq.js} +3 -3
- package/dist/chunks/{mime-04mq6ee8.js → model-resolver-va0jwre1.js} +30 -30
- package/dist/chunks/{mime-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-n88acrca.js → model-resolver-vgz6x7va.js} +17 -17
- package/dist/chunks/{mime-mz925t54.js → model-resolver-vmv69sjz.js} +5 -5
- package/dist/chunks/{mime-m6yxcdx8.js → model-resolver-vqhepxyf.js} +32 -32
- package/dist/chunks/{mime-9qvg3h9w.js → model-resolver-vqhkw9gd.js} +81 -81
- package/dist/chunks/{mime-ze3jqpvg.js → model-resolver-vsmhcm1n.js} +18 -18
- package/dist/chunks/{mime-vzs5sf6e.js → model-resolver-vzs5sf6e.js} +1 -1
- package/dist/chunks/{mime-vjmwwnet.js → model-resolver-w06vrs2y.js} +4 -4
- package/dist/chunks/{mime-w19d8598.js → model-resolver-w19d8598.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-ndn3sg6m.js → model-resolver-w8wbc6jz.js} +5 -5
- package/dist/chunks/{mime-s0txbpxx.js → model-resolver-wc21baf5.js} +26 -26
- package/dist/chunks/{mime-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{mime-b3f8fkhc.js → model-resolver-wecqtg5s.js} +5 -5
- package/dist/chunks/{mime-vy452p9v.js → model-resolver-wfyxnnpw.js} +13 -13
- package/dist/chunks/{mime-p1ve58ng.js → model-resolver-wvw422xq.js} +30 -30
- package/dist/chunks/{mime-tevtjb4d.js → model-resolver-wzp2zdrd.js} +18 -18
- package/dist/chunks/{mime-aet780dh.js → model-resolver-x2g45djb.js} +9 -9
- package/dist/chunks/{mime-2sdz7qh7.js → model-resolver-x37b3njd.js} +45 -45
- package/dist/chunks/{mime-2vdde78z.js → model-resolver-xcgyncvr.js} +9 -9
- package/dist/chunks/{mime-esfhhzdr.js → model-resolver-xh8kgek2.js} +24 -24
- package/dist/chunks/{mime-xkntkrq7.js → model-resolver-xkntkrq7.js} +2 -2
- package/dist/chunks/{mime-ha65gv77.js → model-resolver-xn8rxa2c.js} +20 -20
- package/dist/chunks/{mime-qxjc9qry.js → model-resolver-xyafkbt0.js} +3 -3
- package/dist/chunks/{mime-sjq3gc3m.js → model-resolver-y18nf7t0.js} +3 -3
- package/dist/chunks/{mime-y1fvbwt7.js → model-resolver-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-2nhfnjcw.js → model-resolver-y77d0n28.js} +16 -16
- package/dist/chunks/{mime-93ymncz8.js → model-resolver-ya12f4a8.js} +24 -24
- package/dist/chunks/{mime-tgwh4g45.js → model-resolver-yfg3b8wm.js} +3 -3
- package/dist/chunks/{mime-as7cf5zz.js → model-resolver-yjtfa6v9.js} +4 -4
- package/dist/chunks/{mime-kvvdvz0d.js → model-resolver-ypzf3tk8.js} +36 -36
- package/dist/chunks/{mime-ccdh6zge.js → model-resolver-yz0fee1s.js} +10 -10
- package/dist/chunks/{mime-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-hs1x7rht.js → model-resolver-z1vm9hqc.js} +12 -12
- package/dist/chunks/{mime-n8vdnqrc.js → model-resolver-z6c3x22d.js} +5 -5
- package/dist/chunks/{mime-7zx1qa5e.js → model-resolver-z70hwzgh.js} +11 -11
- package/dist/chunks/{mime-5mqyks12.js → model-resolver-zd9ev577.js} +36 -36
- package/dist/chunks/model-resolver-zfywewcm.js +253 -0
- package/dist/chunks/{mime-vw5a0rfv.js → model-resolver-zm3dqqf4.js} +2 -2
- package/dist/chunks/{mime-npzkpwms.js → model-resolver-znqwxr4y.js} +10 -10
- package/dist/chunks/{mime-zr2ceqn5.js → model-resolver-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-w2p0hagm.js → model-resolver-zw0v8jtf.js} +16 -16
- package/dist/chunks/{mime-zxq2ej10.js → model-resolver-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +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 +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +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 +70 -70
- 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 +220 -220
- package/dist/filesystem/protected.js +3 -3
- 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 +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- 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 +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- 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 +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +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 +95 -95
- 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 +4 -4
- 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 +214 -214
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- 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 +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 +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- 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 +214 -214
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- 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 +1 -1
- 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 +201 -201
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +85 -85
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/mime-2at4bpy3.js +0 -26
- package/dist/chunks/mime-459hb6np.js +0 -253
- package/dist/chunks/mime-phz3h32g.js +0 -18
- /package/dist/chunks/{mime-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → model-resolver-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → model-resolver-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → model-resolver-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3t0ybcrp.js → model-resolver-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → model-resolver-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → model-resolver-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → model-resolver-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-q3h10w5c.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service30,
|
|
12
|
+
node33
|
|
13
|
+
} from "./model-resolver-x37b3njd.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-nbe77j13.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
23
|
+
var exports_instructions5 = {};
|
|
24
|
+
__export(exports_instructions5, {
|
|
25
|
+
McpInstructions: () => exports_instructions5,
|
|
26
|
+
Service: () => Service28,
|
|
27
27
|
layer: () => layer11,
|
|
28
|
-
node: () =>
|
|
28
|
+
node: () => node31
|
|
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 Service28 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var layer11 = Layer.effect(
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer11 = Layer.effect(Service28, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service30;
|
|
68
|
+
return Service28.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.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 layer11 = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node31 = makeLocationNode({ service: Service28, layer: layer11, deps: [node33] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service28, layer11, node31, exports_instructions5 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-va0jwre1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./model-resolver-j5n8pp08.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-7zkyz21p.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/local.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -22,7 +22,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
22
22
|
id: input.id,
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
24
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service59;
|
|
26
26
|
const source = { current: configured(yield* config.entries(), input.providerID, origin, suffix) };
|
|
27
27
|
const loaded = { models: [], hash: "[]" };
|
|
28
28
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -50,7 +50,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
50
50
|
for (const item of loaded.models) {
|
|
51
51
|
const spec = input.model(item);
|
|
52
52
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
53
|
-
model.modelID =
|
|
53
|
+
model.modelID = ID7.make(spec.id);
|
|
54
54
|
model.name = spec.name || spec.id;
|
|
55
55
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
56
56
|
model.capabilities = {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service23,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
13
|
layer: () => layer10,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node27
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service23 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service23, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service23.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
372
|
var layer10 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node27 = makeGlobalNode({ service: Service23, layer: layer10, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service23, makeLayer2, layer10, node27, exports_model_transport };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-z1vm9hqc.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service84,
|
|
12
12
|
node88
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-5mwnvj5n.js";
|
|
14
14
|
import {
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-qzpwn43k.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./model-resolver-3cegwx68.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-84h8c373.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID16,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-19v7rzjh.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-3x6h1yzc.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service46,
|
|
33
|
+
node48
|
|
34
|
+
} from "./model-resolver-n4kwfwhc.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./model-resolver-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
40
|
Service16
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./model-resolver-9zgzq4hp.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -79,7 +79,7 @@ var Info3 = Worktree.Info;
|
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -100,7 +100,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service83;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service46;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
259
259
|
var node18 = Node.makeGlobalNode({
|
|
260
260
|
service: Service15,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node87, node88, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node87, node88, AppProcess.node, node48]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-qzpwn43k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service61,
|
|
6
|
+
Event12
|
|
7
|
+
} from "./model-resolver-vsmhcm1n.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin20,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin20 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service83;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service61;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin18 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin20, exports_plugin };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-mtpeagzc.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./model-resolver-j5n8pp08.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service30
|
|
6
|
+
} from "./model-resolver-x37b3njd.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin19,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin19 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service59;
|
|
28
|
+
const mcp = yield* Service30;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin19, register2, exports_mcp };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin30,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin30 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin30, exports_tool_input_repair };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-5mwnvj5n.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./model-resolver-qzpwn43k.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service80,
|
|
14
|
+
node83
|
|
15
|
+
} from "./model-resolver-z1vm9hqc.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-7d822byb.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./model-resolver-3cegwx68.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./model-resolver-84h8c373.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service79,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info27 = Info28;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service79 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,9 +95,9 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service80;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
102
|
const bus = yield* Service83;
|
|
103
103
|
const db = (yield* Service84).db;
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
108
108
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
109
109
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
110
110
|
if (row)
|
|
111
|
-
yield* bus.publish(
|
|
111
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
112
112
|
}
|
|
113
113
|
if (!project.vcs)
|
|
114
114
|
return project;
|
|
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
145
145
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
146
146
|
projectID: item.projectID,
|
|
147
147
|
directory: item.directory,
|
|
148
|
-
previous: project.previous ??
|
|
148
|
+
previous: project.previous ?? ID16.global,
|
|
149
149
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
150
150
|
}, {
|
|
151
151
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
170
170
|
if (!row)
|
|
171
171
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event19.Updated, project);
|
|
174
174
|
return project;
|
|
175
175
|
});
|
|
176
176
|
const activated = new Map;
|
|
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
181
181
|
activated.set(projectID, now);
|
|
182
182
|
const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
|
|
183
183
|
if (row)
|
|
184
|
-
yield* bus.publish(
|
|
184
|
+
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
185
185
|
});
|
|
186
186
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
187
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
187
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
188
188
|
return;
|
|
189
189
|
}));
|
|
190
190
|
});
|
|
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
195
195
|
const normalized = url(origin);
|
|
196
196
|
if (!normalized)
|
|
197
197
|
return;
|
|
198
|
-
return
|
|
198
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
199
199
|
});
|
|
200
200
|
function url(input) {
|
|
201
201
|
const value = input.trim();
|
|
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
220
220
|
}
|
|
221
221
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
222
222
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
223
|
-
return root ?
|
|
223
|
+
return root ? ID16.make(root) : undefined;
|
|
224
224
|
});
|
|
225
225
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
226
226
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
236
236
|
return;
|
|
237
237
|
const node = result.stdout.toString("utf8").split(`
|
|
238
238
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
239
|
-
return node ?
|
|
239
|
+
return node ? ID16.make(node) : undefined;
|
|
240
240
|
});
|
|
241
241
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
242
242
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
245
245
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
246
246
|
return {
|
|
247
247
|
previous,
|
|
248
|
-
id: id ??
|
|
248
|
+
id: id ?? ID16.global,
|
|
249
249
|
directory: worktree,
|
|
250
250
|
vcs: { type: "hg", store }
|
|
251
251
|
};
|
|
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
262
262
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
263
263
|
return yield* persist({
|
|
264
264
|
previous,
|
|
265
|
-
id: id ??
|
|
265
|
+
id: id ?? ID16.global,
|
|
266
266
|
directory: repo.worktree,
|
|
267
267
|
canonical,
|
|
268
268
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
276
276
|
});
|
|
277
277
|
}
|
|
278
278
|
return yield* persist({
|
|
279
|
-
id:
|
|
279
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service79.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node82 = makeGlobalNode({
|
|
288
|
+
service: Service79,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node83, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service79, node82, exports_project };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID7
|
|
3
|
+
} from "./model-resolver-va0jwre1.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|