@opencode/core 0.0.0-dev-20563 → 0.0.0-dev-20565
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{integration-t2rdrwa0.js → aisdk-native-01c5y6r6.js} +8 -8
- package/dist/chunks/{integration-1d069g3z.js → aisdk-native-0cfe567s.js} +4 -4
- package/dist/chunks/{integration-q0xm7vwc.js → aisdk-native-0j77ygfz.js} +6 -6
- package/dist/chunks/{integration-0paq2nw3.js → aisdk-native-0paq2nw3.js} +1 -1
- package/dist/chunks/{integration-0vbcp93d.js → aisdk-native-0vbcp93d.js} +2 -2
- package/dist/chunks/{integration-x6efas9w.js → aisdk-native-0zpzn4d7.js} +6 -6
- package/dist/chunks/{integration-1dazxqgg.js → aisdk-native-1dazxqgg.js} +2 -2
- package/dist/chunks/{integration-1dvck2a7.js → aisdk-native-1dvck2a7.js} +2 -2
- package/dist/chunks/{integration-78q6c2fx.js → aisdk-native-1e12qt7p.js} +2 -2
- package/dist/chunks/{integration-sz0mghca.js → aisdk-native-1hydhszs.js} +53 -53
- package/dist/chunks/{integration-dyfm8r99.js → aisdk-native-1kr6skh8.js} +32 -32
- package/dist/chunks/{integration-6kgskxtw.js → aisdk-native-1xzpbkn4.js} +11 -11
- package/dist/chunks/{integration-56gdpj1q.js → aisdk-native-1ygqh575.js} +9 -9
- package/dist/chunks/{integration-hn59rpgc.js → aisdk-native-27r23e72.js} +9 -9
- package/dist/chunks/{integration-2a5m3afh.js → aisdk-native-2a5m3afh.js} +1 -1
- package/dist/chunks/{integration-4ts7tf6z.js → aisdk-native-2ccvkpx1.js} +2 -2
- package/dist/chunks/{integration-gj71zhbs.js → aisdk-native-2k9fjx65.js} +5 -5
- package/dist/chunks/{integration-2mq1h16s.js → aisdk-native-2sejkfem.js} +9 -9
- package/dist/chunks/{integration-hes1j7ga.js → aisdk-native-2xx6zsf3.js} +9 -9
- package/dist/chunks/{integration-6vq97qmv.js → aisdk-native-35ng7dkh.js} +5 -5
- package/dist/chunks/{integration-tsdsbs35.js → aisdk-native-3c025f5t.js} +4 -4
- package/dist/chunks/{integration-3fc6dm20.js → aisdk-native-3fc6dm20.js} +1 -1
- package/dist/chunks/{integration-3hepkmqq.js → aisdk-native-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-jvr8zy6y.js → aisdk-native-3j7t303b.js} +20 -20
- package/dist/chunks/{integration-7e699zbw.js → aisdk-native-3jc2n8p0.js} +11 -11
- package/dist/chunks/{integration-3smtnn6g.js → aisdk-native-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → aisdk-native-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-a5cd7ghd.js → aisdk-native-3wzzgac2.js} +10 -10
- package/dist/chunks/{integration-x661k3y3.js → aisdk-native-3y377wv9.js} +4 -4
- package/dist/chunks/{integration-ezzcxqxt.js → aisdk-native-3zey905d.js} +17 -17
- package/dist/chunks/{integration-3zsf4n22.js → aisdk-native-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-ajzsbz6h.js → aisdk-native-44nyv85r.js} +9 -9
- package/dist/chunks/{integration-ewgaz5v5.js → aisdk-native-4h4kxtaj.js} +48 -48
- package/dist/chunks/{integration-zdsjmnhs.js → aisdk-native-4n65esaz.js} +40 -40
- package/dist/chunks/{integration-n95h65z6.js → aisdk-native-4prftwjh.js} +12 -12
- package/dist/chunks/{integration-vf2vkrrm.js → aisdk-native-4qv5p344.js} +16 -16
- package/dist/chunks/{integration-54ma36ye.js → aisdk-native-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-sg8r3yze.js → aisdk-native-5cmk2wp4.js} +26 -26
- package/dist/chunks/{integration-5daktx2q.js → aisdk-native-5daktx2q.js} +1 -1
- package/dist/chunks/{integration-v9sh5mr6.js → aisdk-native-5n1498r7.js} +11 -11
- package/dist/chunks/{integration-5t3nmthw.js → aisdk-native-5t3nmthw.js} +2 -2
- package/dist/chunks/{integration-50mzsvk4.js → aisdk-native-5wtwrezn.js} +21 -21
- package/dist/chunks/{integration-phstrbs2.js → aisdk-native-5yzzbxa7.js} +8 -8
- package/dist/chunks/{integration-2hpn1mkn.js → aisdk-native-6300n5n3.js} +30 -30
- package/dist/chunks/{integration-0sdr36gr.js → aisdk-native-63h05hks.js} +10 -10
- package/dist/chunks/{integration-669tq793.js → aisdk-native-669tq793.js} +1 -1
- package/dist/chunks/{integration-jjrmnxqj.js → aisdk-native-67a5dy8e.js} +11 -11
- package/dist/chunks/{integration-5as938m0.js → aisdk-native-67yj78eq.js} +20 -20
- package/dist/chunks/{integration-xf8yqmad.js → aisdk-native-6b2zjn2e.js} +9 -9
- package/dist/chunks/{integration-6kce7tyw.js → aisdk-native-6d26hh92.js} +5 -5
- package/dist/chunks/{integration-jeeg5a9e.js → aisdk-native-6sk5jvjw.js} +7 -7
- package/dist/chunks/{integration-bae1t5en.js → aisdk-native-6yn8wkyx.js} +41 -41
- package/dist/chunks/{integration-71az546q.js → aisdk-native-71az546q.js} +2 -2
- package/dist/chunks/{integration-yt2wzgk7.js → aisdk-native-72zesv76.js} +31 -31
- package/dist/chunks/{integration-tq71g8ap.js → aisdk-native-73gt1w4c.js} +13 -13
- package/dist/chunks/{integration-r70zs8xd.js → aisdk-native-75my1bc5.js} +6 -6
- package/dist/chunks/{integration-tksgby1q.js → aisdk-native-76m5d77j.js} +13 -13
- package/dist/chunks/{integration-7bmhse3q.js → aisdk-native-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-v9n2vrjc.js → aisdk-native-7eyh3bnw.js} +6 -6
- package/dist/chunks/{integration-v1sp7eaj.js → aisdk-native-7fxz6dkb.js} +9 -9
- package/dist/chunks/{integration-5ga7frt9.js → aisdk-native-8152sm2p.js} +11 -11
- package/dist/chunks/{integration-67bcdt02.js → aisdk-native-82pf199w.js} +2 -2
- package/dist/chunks/{integration-84txncab.js → aisdk-native-84txncab.js} +1 -1
- package/dist/chunks/{integration-ck8npcm5.js → aisdk-native-88c81vx2.js} +11 -11
- package/dist/chunks/{integration-gs3s1a1g.js → aisdk-native-892mrmp0.js} +8 -8
- package/dist/chunks/{integration-8d7r5vzw.js → aisdk-native-8d7r5vzw.js} +1 -1
- package/dist/chunks/{integration-f73rjn58.js → aisdk-native-8gxqpgph.js} +4 -4
- package/dist/chunks/{integration-cx9dmp5e.js → aisdk-native-8rp22gs3.js} +24 -24
- package/dist/chunks/{integration-36geq38g.js → aisdk-native-949g2drc.js} +16 -16
- package/dist/chunks/{integration-1gpb38yh.js → aisdk-native-96kn8jjj.js} +9 -9
- package/dist/chunks/{integration-pwwh9sf2.js → aisdk-native-9b7axqz1.js} +18 -18
- package/dist/chunks/{integration-vez1q221.js → aisdk-native-9c40n0jb.js} +5 -5
- package/dist/chunks/{integration-2r0bvek1.js → aisdk-native-9d82rcec.js} +20 -20
- package/dist/chunks/{integration-9e5bzkjp.js → aisdk-native-9e5bzkjp.js} +3 -3
- package/dist/chunks/{integration-t074mwkm.js → aisdk-native-9ma6wt5t.js} +25 -25
- package/dist/chunks/{integration-xn294t7g.js → aisdk-native-9r4pcehz.js} +11 -11
- package/dist/chunks/{integration-s8d7rejh.js → aisdk-native-9t7a50xb.js} +4 -4
- package/dist/chunks/{integration-95ce5he8.js → aisdk-native-9t8w2ahq.js} +23 -23
- package/dist/chunks/{integration-ryr25ayn.js → aisdk-native-a46v4e4v.js} +4 -4
- package/dist/chunks/{integration-aaet6srn.js → aisdk-native-aaet6srn.js} +2 -2
- package/dist/chunks/{integration-dcbfppex.js → aisdk-native-ac9v27d7.js} +1 -1
- package/dist/chunks/{integration-qn2r1ksk.js → aisdk-native-aekzj7mn.js} +47 -47
- package/dist/chunks/{integration-baf0qrbw.js → aisdk-native-aep8h9xc.js} +24 -24
- package/dist/chunks/{integration-4aysm09v.js → aisdk-native-afd55ew5.js} +3 -3
- package/dist/chunks/{integration-yr5xk40b.js → aisdk-native-afk374v9.js} +18 -18
- package/dist/chunks/{integration-c1rf6c5j.js → aisdk-native-ahgbg5cg.js} +24 -24
- package/dist/chunks/{integration-r1k096zv.js → aisdk-native-argm8pb7.js} +22 -22
- package/dist/chunks/{integration-p7ns63w7.js → aisdk-native-aw2draf2.js} +88 -88
- package/dist/chunks/{integration-364vmrdx.js → aisdk-native-b0tt7893.js} +8 -8
- package/dist/chunks/{integration-my4zabxr.js → aisdk-native-b1a1n7cj.js} +3 -3
- package/dist/chunks/{integration-8sze2n9a.js → aisdk-native-b4twkq7r.js} +2 -2
- package/dist/chunks/{integration-b6gygkdw.js → aisdk-native-b6gygkdw.js} +2 -2
- package/dist/chunks/{integration-fn0fz36k.js → aisdk-native-bb5kt2jn.js} +55 -55
- package/dist/chunks/{integration-w01efpt9.js → aisdk-native-bbwnzg71.js} +1 -1
- package/dist/chunks/{integration-wtntn80s.js → aisdk-native-bdqgscqf.js} +21 -21
- package/dist/chunks/{integration-efpk4dhb.js → aisdk-native-br8zwnq0.js} +20 -20
- package/dist/chunks/{integration-9yb5hbzy.js → aisdk-native-bx2ytj3w.js} +15 -15
- package/dist/chunks/aisdk-native-by5v678g.js +18 -0
- package/dist/chunks/{integration-y58jr7d0.js → aisdk-native-c03exg6g.js} +19 -19
- package/dist/chunks/{integration-27qvbgt5.js → aisdk-native-c13yshkj.js} +9 -9
- package/dist/chunks/{integration-d0rvbpjq.js → aisdk-native-c7rh5nts.js} +35 -35
- package/dist/chunks/{integration-wtc5n0mm.js → aisdk-native-c9v563g8.js} +27 -27
- package/dist/chunks/{integration-059g8d4k.js → aisdk-native-cb96d6xp.js} +42 -42
- package/dist/chunks/{integration-jfkkd3by.js → aisdk-native-cckp0th2.js} +9 -9
- package/dist/chunks/{integration-mz0batb7.js → aisdk-native-chc2zdkt.js} +20 -20
- package/dist/chunks/{integration-hpvhmm83.js → aisdk-native-cxzh1yzm.js} +14 -14
- package/dist/chunks/{integration-6ccjf041.js → aisdk-native-czrhzmy2.js} +17 -17
- package/dist/chunks/{integration-2pjeg2z2.js → aisdk-native-d3nkvx71.js} +11 -11
- package/dist/chunks/{integration-8tsdq50x.js → aisdk-native-d858xzj7.js} +4 -4
- package/dist/chunks/{integration-3zfapb4y.js → aisdk-native-da6rj7bf.js} +1 -1
- package/dist/chunks/{integration-qk9xt7fd.js → aisdk-native-dcqs1r74.js} +24 -24
- package/dist/chunks/{integration-4t0cy9j5.js → aisdk-native-dey7z9az.js} +8 -8
- package/dist/chunks/{integration-r45ck8xv.js → aisdk-native-dfrka5xw.js} +18 -18
- package/dist/chunks/{integration-v9se04c1.js → aisdk-native-dp10f5pz.js} +37 -37
- package/dist/chunks/{integration-vsn57w5r.js → aisdk-native-e1sya9kk.js} +14 -14
- package/dist/chunks/{integration-e53aj9j0.js → aisdk-native-e3pmn7jj.js} +3 -3
- package/dist/chunks/{integration-5qd3pb7m.js → aisdk-native-e3qxr5gk.js} +2 -2
- package/dist/chunks/{integration-v1h4yp45.js → aisdk-native-e6whca61.js} +9 -9
- package/dist/chunks/{integration-eak4wr82.js → aisdk-native-eds4v71x.js} +4 -4
- package/dist/chunks/{integration-ef5x83kb.js → aisdk-native-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-15ps4qk2.js → aisdk-native-eh78asc9.js} +8 -8
- package/dist/chunks/{integration-cbejjvrn.js → aisdk-native-em2ge006.js} +1 -1
- package/dist/chunks/{integration-xy0shr52.js → aisdk-native-emw8wwar.js} +30 -30
- package/dist/chunks/aisdk-native-esnhm4xp.js +507 -0
- package/dist/chunks/{integration-etq0c3wd.js → aisdk-native-etq0c3wd.js} +1 -1
- package/dist/chunks/{integration-nb71avvx.js → aisdk-native-ew31e1n8.js} +26 -26
- package/dist/chunks/{integration-ftpymj1c.js → aisdk-native-eyvbzxx2.js} +5 -5
- package/dist/chunks/{integration-vsfd28y0.js → aisdk-native-farr5dg5.js} +17 -17
- package/dist/chunks/{integration-qgn6gcr1.js → aisdk-native-fcrkznn8.js} +5 -5
- package/dist/chunks/{integration-182qsfc7.js → aisdk-native-fdfm1fab.js} +20 -20
- package/dist/chunks/{integration-xybsyq03.js → aisdk-native-ffejdewz.js} +8 -8
- package/dist/chunks/{integration-v3m4xybn.js → aisdk-native-fjvkf389.js} +14 -14
- package/dist/chunks/{integration-fxfthc9k.js → aisdk-native-fmmmd99t.js} +23 -23
- package/dist/chunks/{integration-xfkkasph.js → aisdk-native-g5w8qwbj.js} +4 -4
- package/dist/chunks/{integration-v0es1rhs.js → aisdk-native-g7zqntwq.js} +9 -9
- package/dist/chunks/{integration-gd4qta3r.js → aisdk-native-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-k70p9jzb.js → aisdk-native-gh5z95q3.js} +9 -9
- package/dist/chunks/{integration-kya9eqe7.js → aisdk-native-gj67nqzm.js} +19 -19
- package/dist/chunks/{integration-nph354g2.js → aisdk-native-gnh426nd.js} +30 -30
- package/dist/chunks/{integration-0w9yy26a.js → aisdk-native-grkvy0ax.js} +29 -29
- package/dist/chunks/{integration-w1e23z43.js → aisdk-native-gzyn59c6.js} +11 -11
- package/dist/chunks/{integration-h2b79v29.js → aisdk-native-h2b79v29.js} +2 -2
- package/dist/chunks/{integration-h6vf3j39.js → aisdk-native-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-rrpq0de9.js → aisdk-native-h7yzkcss.js} +12 -12
- package/dist/chunks/{integration-qc8mjd15.js → aisdk-native-h90xv67n.js} +26 -26
- package/dist/chunks/{integration-n1n192bv.js → aisdk-native-h9wp8z5w.js} +4 -4
- package/dist/chunks/{integration-s73zzv6w.js → aisdk-native-ham4rphm.js} +11 -11
- package/dist/chunks/{integration-dswj8cse.js → aisdk-native-hb6jkb09.js} +6 -6
- package/dist/chunks/{integration-7k3tsvew.js → aisdk-native-hdrfqnn0.js} +18 -18
- package/dist/chunks/{integration-v37ww4g2.js → aisdk-native-hhf6n1py.js} +22 -22
- package/dist/chunks/{integration-ek2swa8c.js → aisdk-native-htvbtt1g.js} +11 -11
- package/dist/chunks/{integration-qq29j3a7.js → aisdk-native-hvq0mtgt.js} +5 -5
- package/dist/chunks/{integration-8dq1fk7d.js → aisdk-native-hy56zg70.js} +33 -33
- package/dist/chunks/aisdk-native-j2rwqkfc.js +26 -0
- package/dist/chunks/{integration-j56e64zr.js → aisdk-native-j56e64zr.js} +1 -1
- package/dist/chunks/{integration-0pkcqgb8.js → aisdk-native-jbf8xwbe.js} +4 -4
- package/dist/chunks/{integration-ftbjc7m9.js → aisdk-native-jgq3bzp7.js} +6 -6
- package/dist/chunks/{integration-hdvg1gvn.js → aisdk-native-jsr80c5k.js} +13 -13
- package/dist/chunks/{integration-12nt3trd.js → aisdk-native-jx8whrs0.js} +14 -14
- package/dist/chunks/{integration-e7rw0n7p.js → aisdk-native-k0gn365y.js} +13 -13
- package/dist/chunks/{integration-k1qrnqst.js → aisdk-native-k1qrnqst.js} +1 -1
- package/dist/chunks/{integration-jvm9t07m.js → aisdk-native-k5ats9qr.js} +42 -42
- package/dist/chunks/{integration-aaxz4sa2.js → aisdk-native-khy5pppc.js} +13 -13
- package/dist/chunks/{integration-9hrtr6at.js → aisdk-native-kt7mt4bt.js} +9 -9
- package/dist/chunks/{integration-drnf6xwf.js → aisdk-native-ktgr00t7.js} +2 -2
- package/dist/chunks/{integration-m3fdjcah.js → aisdk-native-m3fdjcah.js} +1 -1
- package/dist/chunks/{integration-m9w0rfyh.js → aisdk-native-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-3td726cc.js → aisdk-native-mbw3mps2.js} +10 -10
- package/dist/chunks/{integration-me248f9r.js → aisdk-native-mdn075a8.js} +11 -11
- package/dist/chunks/{integration-b1xr1x42.js → aisdk-native-mek16e5d.js} +11 -11
- package/dist/chunks/{integration-pxdpczns.js → aisdk-native-mft91rf6.js} +18 -18
- package/dist/chunks/{integration-mvfsc1pv.js → aisdk-native-mhkvc446.js} +3 -3
- package/dist/chunks/{integration-qknqrzbr.js → aisdk-native-mnxbed03.js} +309 -309
- package/dist/chunks/{integration-wxj8d1rd.js → aisdk-native-mp6ep624.js} +3 -3
- package/dist/chunks/{integration-h839y2mj.js → aisdk-native-mqzt4rca.js} +1 -1
- package/dist/chunks/{integration-c5rw0wtq.js → aisdk-native-mraz915p.js} +14 -14
- package/dist/chunks/{integration-j8m1p4p1.js → aisdk-native-mweeaapw.js} +4 -4
- package/dist/chunks/{integration-5rtzacxx.js → aisdk-native-n271q3h2.js} +84 -84
- package/dist/chunks/{integration-10c2cggk.js → aisdk-native-ncak8jye.js} +46 -46
- package/dist/chunks/{integration-437d4mrk.js → aisdk-native-nfy3en6n.js} +10 -10
- package/dist/chunks/{integration-f54m0es2.js → aisdk-native-nhgkkmpm.js} +11 -11
- package/dist/chunks/{integration-4m2mj6tb.js → aisdk-native-nr5e11sn.js} +16 -16
- package/dist/chunks/{integration-dpkg50ah.js → aisdk-native-nxm207yx.js} +4 -4
- package/dist/chunks/{integration-jmwxft0s.js → aisdk-native-nyk1fyp4.js} +12 -12
- package/dist/chunks/{integration-bpghjdxg.js → aisdk-native-p0qeaa11.js} +9 -9
- package/dist/chunks/{integration-hnzzq30y.js → aisdk-native-p1vdptfs.js} +35 -35
- package/dist/chunks/{integration-nb8snq9w.js → aisdk-native-p21ebjx3.js} +5 -5
- package/dist/chunks/{integration-fk1hhqe8.js → aisdk-native-p7a2wsfd.js} +26 -26
- package/dist/chunks/{integration-v4vsdnev.js → aisdk-native-p870081h.js} +7 -7
- package/dist/chunks/{integration-e9f2mhvv.js → aisdk-native-p9rrtmsa.js} +18 -18
- package/dist/chunks/{integration-pjvnvgmy.js → aisdk-native-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → aisdk-native-pknna89w.js} +1 -1
- package/dist/chunks/{integration-73wqrjv7.js → aisdk-native-pqw896w1.js} +41 -41
- package/dist/chunks/{integration-8xv9sd1s.js → aisdk-native-q1rcyscz.js} +70 -70
- package/dist/chunks/{integration-qycjd338.js → aisdk-native-q55vxxer.js} +26 -26
- package/dist/chunks/{integration-2bhqjq49.js → aisdk-native-qcn4q8em.js} +33 -33
- package/dist/chunks/{integration-yt3hy1g9.js → aisdk-native-qdbakdjh.js} +5 -5
- package/dist/chunks/{integration-63rkghem.js → aisdk-native-qhxa7hkj.js} +17 -17
- package/dist/chunks/{integration-6thvw283.js → aisdk-native-qj8924en.js} +10 -10
- package/dist/chunks/{integration-3z1s4062.js → aisdk-native-qmyfbepj.js} +2 -2
- package/dist/chunks/{integration-qnc92qwc.js → aisdk-native-qnc92qwc.js} +1 -1
- package/dist/chunks/{integration-qsdy395h.js → aisdk-native-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-fb2ye723.js → aisdk-native-qxad8m1d.js} +4 -4
- package/dist/chunks/{integration-qxjc9qry.js → aisdk-native-qxjc9qry.js} +3 -3
- package/dist/chunks/{integration-zyk1yjk8.js → aisdk-native-qygbw77c.js} +5 -5
- package/dist/chunks/{integration-gsyvhc7r.js → aisdk-native-razfbhvw.js} +10 -10
- package/dist/chunks/{integration-rdw6cm16.js → aisdk-native-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-r8xr0va3.js → aisdk-native-rhraev7y.js} +4 -4
- package/dist/chunks/{integration-q38jhh9n.js → aisdk-native-rm5k8s0k.js} +11 -11
- package/dist/chunks/{integration-dh0hfq08.js → aisdk-native-rtm0nyp7.js} +21 -21
- package/dist/chunks/{integration-x7wzw7v3.js → aisdk-native-rwdasqnr.js} +13 -13
- package/dist/chunks/{integration-k65ws0vd.js → aisdk-native-s5ah27ne.js} +20 -20
- package/dist/chunks/{integration-6f7e58gh.js → aisdk-native-s5t3c14n.js} +17 -17
- package/dist/chunks/{integration-kdnhcbq7.js → aisdk-native-sbfy06vd.js} +15 -15
- package/dist/chunks/{integration-hcjvc488.js → aisdk-native-sfyrttg7.js} +15 -15
- package/dist/chunks/{integration-xtgb57pb.js → aisdk-native-sgvfmrbg.js} +23 -23
- package/dist/chunks/{integration-99y9v2v8.js → aisdk-native-t93jwvs9.js} +18 -18
- package/dist/chunks/{integration-8pwanctq.js → aisdk-native-t9yemr73.js} +24 -24
- package/dist/chunks/{integration-tazgh4e4.js → aisdk-native-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-tcezcvh9.js → aisdk-native-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → aisdk-native-tdstcens.js} +1 -1
- package/dist/chunks/{integration-fkhaayz1.js → aisdk-native-tgnrr30f.js} +15 -15
- package/dist/chunks/{integration-wh6zw745.js → aisdk-native-tk14y25j.js} +5 -5
- package/dist/chunks/{integration-k8p5y4yf.js → aisdk-native-tq6n2w36.js} +42 -42
- package/dist/chunks/{integration-ryba3xe9.js → aisdk-native-twpesn6j.js} +35 -35
- package/dist/chunks/{integration-47bw3wc2.js → aisdk-native-v1wnmjkj.js} +36 -36
- package/dist/chunks/{integration-2mgchxr3.js → aisdk-native-v8d3vz6b.js} +27 -27
- package/dist/chunks/{integration-t2jc65r8.js → aisdk-native-v9n33g1m.js} +8 -8
- package/dist/chunks/{integration-veqvce7d.js → aisdk-native-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-cyc0aq1c.js → aisdk-native-vgx35e8z.js} +5 -5
- package/dist/chunks/{integration-zfs8ae4p.js → aisdk-native-vn72gsba.js} +4 -4
- package/dist/chunks/{integration-y6x6gez8.js → aisdk-native-vqx8gqv7.js} +24 -24
- package/dist/chunks/aisdk-native-vsmdt9x7.js +253 -0
- package/dist/chunks/{integration-vzcthcp8.js → aisdk-native-vzcthcp8.js} +1 -1
- package/dist/chunks/{integration-vzs5sf6e.js → aisdk-native-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-drz29mpb.js → aisdk-native-w1ad28wa.js} +8 -8
- package/dist/chunks/{integration-wk8eqs9r.js → aisdk-native-w1pm7j1d.js} +9 -9
- package/dist/chunks/{integration-yqpq5w24.js → aisdk-native-w2cvy2k0.js} +34 -34
- package/dist/chunks/{integration-w3wsvvr9.js → aisdk-native-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-00x4qneg.js → aisdk-native-w3x9v1nk.js} +8 -8
- package/dist/chunks/{integration-tmq3448p.js → aisdk-native-w7jyf7cq.js} +15 -15
- package/dist/chunks/{integration-93ygb5af.js → aisdk-native-w9nng7hv.js} +6 -6
- package/dist/chunks/{integration-n57qrn3a.js → aisdk-native-wc1gtajg.js} +8 -8
- package/dist/chunks/{integration-wd87259q.js → aisdk-native-wd87259q.js} +1 -1
- package/dist/chunks/{integration-ty4cs4jg.js → aisdk-native-we5eng2t.js} +21 -21
- package/dist/chunks/{integration-y5r6xjdq.js → aisdk-native-wkzfrkbc.js} +11 -11
- package/dist/chunks/{integration-s736qrhc.js → aisdk-native-wmda9j09.js} +33 -33
- package/dist/chunks/{integration-44pjd4av.js → aisdk-native-wp7pd4k3.js} +1 -1
- package/dist/chunks/{integration-x1ezjp6w.js → aisdk-native-x1ezjp6w.js} +1 -1
- package/dist/chunks/{integration-xmq2cvs3.js → aisdk-native-x71w2pzz.js} +17 -17
- package/dist/chunks/{integration-rf5mjp85.js → aisdk-native-x7xd2a97.js} +15 -15
- package/dist/chunks/{integration-94bdwtsf.js → aisdk-native-x8wtvjqx.js} +8 -8
- package/dist/chunks/{integration-xb50yt4b.js → aisdk-native-xb50yt4b.js} +1 -1
- package/dist/chunks/{integration-6sq8rwkz.js → aisdk-native-xfm88rjk.js} +32 -32
- package/dist/chunks/{integration-6axkqqzx.js → aisdk-native-xhwza16c.js} +21 -21
- package/dist/chunks/{integration-xkntkrq7.js → aisdk-native-xkntkrq7.js} +2 -2
- package/dist/chunks/{integration-jwpqm9ac.js → aisdk-native-xp5jav47.js} +21 -21
- package/dist/chunks/{integration-pcw6nez0.js → aisdk-native-xt3dspkx.js} +9 -9
- package/dist/chunks/{integration-wbr2pe4k.js → aisdk-native-xx1ad7ep.js} +3 -3
- package/dist/chunks/{integration-y1fvbwt7.js → aisdk-native-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-2tbf8h14.js → aisdk-native-y30ga1y0.js} +10 -10
- package/dist/chunks/{integration-dynn18yc.js → aisdk-native-y5n98d98.js} +9 -9
- package/dist/chunks/{integration-qyd76h05.js → aisdk-native-y6dev1t8.js} +169 -169
- package/dist/chunks/{integration-s9ezrb6y.js → aisdk-native-ya8kz1fy.js} +9 -9
- package/dist/chunks/{integration-w09704f7.js → aisdk-native-ye1s5r4y.js} +3 -3
- package/dist/chunks/{integration-7tvajnyd.js → aisdk-native-ynwesw0e.js} +17 -17
- package/dist/chunks/{integration-amt0hrp4.js → aisdk-native-yt9bnwfn.js} +14 -14
- package/dist/chunks/{integration-hs99w951.js → aisdk-native-yvngqed4.js} +24 -24
- package/dist/chunks/{integration-z0bkrqjs.js → aisdk-native-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-09bav2z1.js → aisdk-native-z7p4cg5x.js} +29 -29
- package/dist/chunks/{integration-gf6ymv0v.js → aisdk-native-zkhtd7aa.js} +11 -11
- package/dist/chunks/{integration-ns3eape4.js → aisdk-native-znsx74x0.js} +1 -1
- package/dist/chunks/{integration-kevdh1wn.js → aisdk-native-zp2ac44c.js} +27 -27
- package/dist/chunks/{integration-zr2ceqn5.js → aisdk-native-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-5wewtars.js → aisdk-native-zs6n41c6.js} +8 -8
- package/dist/chunks/{integration-jtqj10x6.js → aisdk-native-zwbgw995.js} +16 -16
- package/dist/chunks/{integration-h08dmcw2.js → aisdk-native-zwkht4az.js} +22 -22
- package/dist/chunks/{integration-zxq2ej10.js → aisdk-native-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 +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 +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 +116 -116
- 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 +118 -118
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +3 -3
- 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 +93 -93
- 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 +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +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 +89 -89
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- 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 +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 +113 -113
- 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 +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/gateway.js +2 -2
- 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 +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- 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 +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- 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 +93 -93
- 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 +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- 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 +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- 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 +209 -209
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- 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 +1 -1
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +204 -204
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- 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 +98 -98
- package/package.json +8 -8
- package/dist/chunks/integration-1x11rq2a.js +0 -18
- package/dist/chunks/integration-gkcn6gmx.js +0 -507
- package/dist/chunks/integration-rs7qc95d.js +0 -253
- package/dist/chunks/integration-zzmvmaer.js +0 -26
- /package/dist/chunks/{integration-0qkdqm5v.js → aisdk-native-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → aisdk-native-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → aisdk-native-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → aisdk-native-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → aisdk-native-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → aisdk-native-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → aisdk-native-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → aisdk-native-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → aisdk-native-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-34c7v6d4.js → aisdk-native-34c7v6d4.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → aisdk-native-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → aisdk-native-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t0ybcrp.js → aisdk-native-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → aisdk-native-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3w5fmr99.js → aisdk-native-3w5fmr99.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → aisdk-native-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → aisdk-native-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → aisdk-native-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → aisdk-native-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → aisdk-native-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → aisdk-native-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → aisdk-native-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → aisdk-native-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → aisdk-native-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → aisdk-native-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → aisdk-native-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → aisdk-native-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → aisdk-native-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → aisdk-native-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → aisdk-native-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → aisdk-native-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → aisdk-native-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → aisdk-native-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → aisdk-native-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → aisdk-native-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → aisdk-native-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → aisdk-native-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → aisdk-native-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → aisdk-native-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → aisdk-native-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → aisdk-native-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → aisdk-native-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → aisdk-native-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → aisdk-native-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → aisdk-native-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → aisdk-native-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → aisdk-native-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → aisdk-native-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → aisdk-native-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → aisdk-native-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → aisdk-native-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → aisdk-native-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → aisdk-native-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → aisdk-native-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → aisdk-native-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-fxgpk5d8.js → aisdk-native-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → aisdk-native-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → aisdk-native-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → aisdk-native-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → aisdk-native-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hjbc5kem.js → aisdk-native-hjbc5kem.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → aisdk-native-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → aisdk-native-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → aisdk-native-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → aisdk-native-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → aisdk-native-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → aisdk-native-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → aisdk-native-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → aisdk-native-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → aisdk-native-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → aisdk-native-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → aisdk-native-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → aisdk-native-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → aisdk-native-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → aisdk-native-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → aisdk-native-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → aisdk-native-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → aisdk-native-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → aisdk-native-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → aisdk-native-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → aisdk-native-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → aisdk-native-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → aisdk-native-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → aisdk-native-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → aisdk-native-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → aisdk-native-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → aisdk-native-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → aisdk-native-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → aisdk-native-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → aisdk-native-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8cydn3q.js → aisdk-native-y8cydn3q.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → aisdk-native-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → aisdk-native-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → aisdk-native-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → aisdk-native-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → aisdk-native-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84,
|
|
6
6
|
node88
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./aisdk-native-afd55ew5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service83,
|
|
10
10
|
node87
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./aisdk-native-jbf8xwbe.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service77,
|
|
14
|
+
node81
|
|
15
|
+
} from "./aisdk-native-h7yzkcss.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID14,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info25,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event17,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-g7zqntwq.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./aisdk-native-h2b79v29.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./aisdk-native-1dvck2a7.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./aisdk-native-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: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID13,
|
|
40
|
+
Info: () => Info24,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service76,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node80,
|
|
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 ID13 = ID14;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info24 = Info25;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID13
|
|
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 Service76 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(Service76, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service77;
|
|
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(Event17.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 ?? ID13.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)
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
168
168
|
time_updated: Date.now()
|
|
169
169
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
170
170
|
if (!row)
|
|
171
|
-
return yield* new
|
|
171
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
172
172
|
const project = fromRow(row);
|
|
173
|
-
yield* bus.publish(
|
|
173
|
+
yield* bus.publish(Event17.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(Event17.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 ? ID13.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 ID13.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 ? ID13.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 ? ID13.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 ?? ID13.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 ?? ID13.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: ID13.make(Hash.fast(`directory:${directory}`)),
|
|
280
280
|
directory,
|
|
281
281
|
canonical: directory,
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service76.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node80 = makeGlobalNode({
|
|
288
|
+
service: Service76,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [node87, node88, FSUtil.node,
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node81, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export {
|
|
293
|
+
export { ID13, Vcs2, Current2, Info24, UpdateInput3, NotFoundError10, root2, Service76, node80, exports_project };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./aisdk-native-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./aisdk-native-x71w2pzz.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service46
|
|
12
|
+
} from "./aisdk-native-aep8h9xc.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service19
|
|
16
|
+
} from "./aisdk-native-p9rrtmsa.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./aisdk-native-zkhtd7aa.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service57
|
|
26
|
+
} from "./aisdk-native-1hydhszs.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service26
|
|
29
|
+
} from "./aisdk-native-t93jwvs9.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input4,
|
|
39
|
+
Output: () => Output3,
|
|
40
|
+
Plugin: () => Plugin22,
|
|
41
|
+
name: () => name4,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name4 = "grep";
|
|
48
|
+
var Input4 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input6 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output3 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin22 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service46;
|
|
90
|
+
const ripgrep = yield* Service19;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service26;
|
|
93
|
+
const permission = yield* Service57;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name4,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input4,
|
|
99
|
+
output: Output3,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name4,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin25 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin25 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name4, Input4, Output3, toModelContent2, Plugin22, exports_grep };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./aisdk-native-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service75
|
|
8
|
+
} from "./aisdk-native-x71w2pzz.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service46
|
|
11
|
+
} from "./aisdk-native-aep8h9xc.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service27
|
|
14
|
+
} from "./aisdk-native-bx2ytj3w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service14,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./aisdk-native-khy5pppc.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./aisdk-native-1hydhszs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service26,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./aisdk-native-t93jwvs9.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./aisdk-native-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin25,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output4 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin25 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service46;
|
|
112
|
+
const access = yield* Service26;
|
|
113
|
+
const fileMutation = yield* Service14;
|
|
114
|
+
const formatter = yield* Service27;
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const permission = yield* Service57;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin32 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output4, toModelContent4, Plugin25, exports_patch };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service61
|
|
4
|
+
} from "./aisdk-native-hdrfqnn0.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service73
|
|
8
|
+
} from "./aisdk-native-t9yemr73.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service70
|
|
12
|
+
} from "./aisdk-native-pqw896w1.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./aisdk-native-b1a1n7cj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service53
|
|
18
|
+
} from "./aisdk-native-nr5e11sn.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service57
|
|
22
|
+
} from "./aisdk-native-1hydhszs.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service28
|
|
25
|
+
} from "./aisdk-native-aw2draf2.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./aisdk-native-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make10
|
|
31
|
+
} from "./aisdk-native-3jc2n8p0.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
39
|
Input: () => Input11,
|
|
40
40
|
Output: () => Output7,
|
|
41
|
-
Plugin: () =>
|
|
41
|
+
Plugin: () => Plugin29,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description5,
|
|
44
44
|
name: () => name11
|
|
@@ -86,16 +86,16 @@ var description5 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin29 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service28;
|
|
93
|
+
const jobs = yield* Service53;
|
|
94
|
+
const agents = yield* Service61;
|
|
95
|
+
const config = yield* Service70;
|
|
96
|
+
const permission = yield* Service57;
|
|
97
|
+
const models = yield* Service73;
|
|
98
|
+
const subagents = yield* make10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export { name11, Input11, Output7, description5,
|
|
256
|
+
export { name11, Input11, Output7, description5, Plugin29, exports_subagent };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./aisdk-native-mnxbed03.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service73
|
|
6
|
+
} from "./aisdk-native-t9yemr73.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./aisdk-native-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin10,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin10 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service73;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin10, exports_verbosity };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service78
|
|
4
|
+
} from "./aisdk-native-ew31e1n8.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service78;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID15.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|