@opencode/core 0.0.0-dev-19562 → 0.0.0-dev-19563
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-472r768p.js → rpc-04mfqke3.js} +3 -3
- package/dist/chunks/{model-resolver-y8104vkb.js → rpc-04rqewrt.js} +5 -5
- package/dist/chunks/{model-resolver-jzz0khf2.js → rpc-09d6vmh1.js} +9 -9
- package/dist/chunks/{model-resolver-pvpa96jk.js → rpc-0mvp0mh7.js} +18 -18
- package/dist/chunks/{model-resolver-0paq2nw3.js → rpc-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → rpc-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-e6qnhjcz.js → rpc-0w5xhpes.js} +9 -9
- package/dist/chunks/{model-resolver-2d57kztd.js → rpc-15zevn5w.js} +6 -6
- package/dist/chunks/{model-resolver-gh1at4hc.js → rpc-16fh04ec.js} +13 -13
- package/dist/chunks/{model-resolver-bh23canw.js → rpc-16ryaddz.js} +13 -13
- package/dist/chunks/{model-resolver-f2n192rq.js → rpc-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-1dazxqgg.js → rpc-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-r8mwk7t1.js → rpc-1js01x30.js} +32 -32
- package/dist/chunks/{model-resolver-56gdpj1q.js → rpc-1ygqh575.js} +9 -9
- package/dist/chunks/{model-resolver-24p1656x.js → rpc-1zjf9yvn.js} +35 -35
- package/dist/chunks/{model-resolver-21r38tys.js → rpc-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-h10s6dah.js → rpc-2336b01z.js} +8 -8
- package/dist/chunks/{model-resolver-yqtqx2tb.js → rpc-24zysf4r.js} +1 -1
- package/dist/chunks/{model-resolver-bw3m288y.js → rpc-286te107.js} +47 -47
- package/dist/chunks/{model-resolver-14fxtwre.js → rpc-29ykcmqg.js} +40 -40
- package/dist/chunks/{model-resolver-2a5m3afh.js → rpc-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-r345bmqf.js → rpc-2gq7g35w.js} +11 -11
- package/dist/chunks/{model-resolver-15abmk5b.js → rpc-2gvej5bs.js} +22 -22
- package/dist/chunks/{model-resolver-d9mtv62x.js → rpc-2pfz77pe.js} +23 -23
- package/dist/chunks/{model-resolver-pmqmstmj.js → rpc-37m66rke.js} +24 -24
- package/dist/chunks/{model-resolver-7gwa0hgg.js → rpc-3ard968h.js} +15 -15
- package/dist/chunks/{model-resolver-ztye28yt.js → rpc-3cg5qkzz.js} +13 -13
- package/dist/chunks/{model-resolver-qvb3nf84.js → rpc-3cwb9jzf.js} +8 -8
- package/dist/chunks/{model-resolver-gdvy8fx6.js → rpc-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-ehav94k5.js → rpc-3h752403.js} +15 -15
- package/dist/chunks/{model-resolver-3hepkmqq.js → rpc-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-3smtnn6g.js → rpc-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → rpc-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-xxj3pgp3.js → rpc-3ztdxds0.js} +1 -1
- package/dist/chunks/{model-resolver-4w79hth0.js → rpc-41f61ev5.js} +8 -8
- package/dist/chunks/{model-resolver-s4vvta73.js → rpc-46t3hpnf.js} +9 -9
- package/dist/chunks/{model-resolver-ww2jdr25.js → rpc-49mee5h8.js} +17 -17
- package/dist/chunks/{model-resolver-sn15zvqk.js → rpc-4aqwh667.js} +20 -20
- package/dist/chunks/{model-resolver-jz0gg2wa.js → rpc-4gbc8xkz.js} +10 -10
- package/dist/chunks/{model-resolver-mqz2skd6.js → rpc-4hct64pd.js} +18 -18
- package/dist/chunks/{model-resolver-4j4p0yst.js → rpc-4jmdj23e.js} +9 -9
- package/dist/chunks/{model-resolver-00e8a32v.js → rpc-4jyw83yv.js} +7 -7
- package/dist/chunks/{model-resolver-r01t9b5y.js → rpc-4ns3h2re.js} +4 -4
- package/dist/chunks/rpc-4s989epk.js +247 -0
- package/dist/chunks/{model-resolver-wht86vv7.js → rpc-4ssmbb9f.js} +23 -23
- package/dist/chunks/{model-resolver-t0fxg8b9.js → rpc-4xbskmpe.js} +5 -5
- package/dist/chunks/{model-resolver-mcrwpmnc.js → rpc-4xr4bg31.js} +8 -8
- package/dist/chunks/{model-resolver-gea7vc3h.js → rpc-500m5zw2.js} +2 -2
- package/dist/chunks/{model-resolver-yrz8q0k0.js → rpc-524b8jaz.js} +1 -1
- package/dist/chunks/{model-resolver-7qpx1xb8.js → rpc-56s2cdtz.js} +41 -41
- package/dist/chunks/{model-resolver-a1bz86dw.js → rpc-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-5daktx2q.js → rpc-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-j699j8bt.js → rpc-5frpvc34.js} +2 -2
- package/dist/chunks/{model-resolver-s04evagd.js → rpc-5pbbnjst.js} +14 -14
- package/dist/chunks/{model-resolver-5t3nmthw.js → rpc-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-tm80w73m.js → rpc-5tstk5gw.js} +17 -17
- package/dist/chunks/{model-resolver-8ra0ktpd.js → rpc-5vsdfptq.js} +1 -1
- package/dist/chunks/{model-resolver-8as59qyc.js → rpc-5x59cjg9.js} +10 -10
- package/dist/chunks/{model-resolver-baajpyvs.js → rpc-5za0zb7s.js} +24 -24
- package/dist/chunks/{model-resolver-0jwsre1p.js → rpc-607tc6va.js} +5 -5
- package/dist/chunks/{model-resolver-k43t2cp1.js → rpc-645wt9kv.js} +6 -6
- package/dist/chunks/{model-resolver-9qc5egqb.js → rpc-65h43r7m.js} +9 -9
- package/dist/chunks/{model-resolver-669tq793.js → rpc-669tq793.js} +1 -1
- package/dist/chunks/rpc-68fqf9yb.js +4 -0
- package/dist/chunks/{model-resolver-2402vzrj.js → rpc-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-pp4zvqwf.js → rpc-6hdhgy3w.js} +9 -9
- package/dist/chunks/{model-resolver-7kzjj59j.js → rpc-6kjxaxcs.js} +9 -9
- package/dist/chunks/{model-resolver-6msgmcgs.js → rpc-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-8q68r2wm.js → rpc-6pdgntxq.js} +36 -36
- package/dist/chunks/{model-resolver-fke1fcjd.js → rpc-6sf48m2m.js} +14 -14
- package/dist/chunks/{model-resolver-w39ek3wx.js → rpc-6wbdxn87.js} +15 -15
- package/dist/chunks/{model-resolver-71q4at8m.js → rpc-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-dj4cd8g6.js → rpc-720ed7zc.js} +38 -38
- package/dist/chunks/{model-resolver-zwqxr9ac.js → rpc-72cpxe3g.js} +9 -9
- package/dist/chunks/{model-resolver-1bbkgx8g.js → rpc-73tb2d7t.js} +3 -3
- package/dist/chunks/{model-resolver-prmjvc7r.js → rpc-78qgck3m.js} +12 -12
- package/dist/chunks/{model-resolver-7bmhse3q.js → rpc-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-sse3cj1p.js → rpc-7etsmvw3.js} +9 -9
- package/dist/chunks/{model-resolver-sna6xqnk.js → rpc-7jdjd6ea.js} +30 -30
- package/dist/chunks/{model-resolver-agnae2h9.js → rpc-7jjvc4sd.js} +11 -11
- package/dist/chunks/{model-resolver-kpcpvznn.js → rpc-7k1v1939.js} +22 -22
- package/dist/chunks/{model-resolver-ec8389mk.js → rpc-7z7az0f5.js} +4 -4
- package/dist/chunks/{model-resolver-mfhfdr54.js → rpc-81czwxpn.js} +4 -4
- package/dist/chunks/{model-resolver-89znhe33.js → rpc-89znhe33.js} +1 -1
- package/dist/chunks/{model-resolver-0r7yqxbf.js → rpc-8cmvxv2n.js} +5 -5
- package/dist/chunks/{model-resolver-8d7r5vzw.js → rpc-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-nrk5vjbf.js → rpc-8dff8bqa.js} +5 -5
- package/dist/chunks/{model-resolver-prw92f66.js → rpc-8fbcvdxz.js} +15 -15
- package/dist/chunks/{model-resolver-pk2244jm.js → rpc-8q7cq0y1.js} +2 -2
- package/dist/chunks/{model-resolver-8jnsm5sz.js → rpc-8tgg60xp.js} +4 -4
- package/dist/chunks/{model-resolver-fbwxg4d7.js → rpc-900rp600.js} +35 -35
- package/dist/chunks/{model-resolver-5cneagdz.js → rpc-919kr58w.js} +18 -18
- package/dist/chunks/{model-resolver-s6y5cb61.js → rpc-9fvtqfah.js} +26 -26
- package/dist/chunks/rpc-9nbg9rgn.js +466 -0
- package/dist/chunks/{model-resolver-3ccz5h33.js → rpc-9pa4pdaw.js} +25 -25
- package/dist/chunks/{model-resolver-xyrnn15f.js → rpc-9qxv0saq.js} +47 -47
- package/dist/chunks/{model-resolver-rj1enhmn.js → rpc-9tp6rg03.js} +55 -55
- package/dist/chunks/{model-resolver-eq6j5b08.js → rpc-9vqpc88m.js} +43 -43
- package/dist/chunks/{model-resolver-b21wsm0h.js → rpc-9zvw9xqf.js} +11 -11
- package/dist/chunks/{model-resolver-aaet6srn.js → rpc-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-mbk19yfb.js → rpc-adgw0vx1.js} +18 -18
- package/dist/chunks/{model-resolver-tknyxa64.js → rpc-ak9cgfv8.js} +28 -28
- package/dist/chunks/{model-resolver-ba67t4eh.js → rpc-an5xxpg3.js} +10 -10
- package/dist/chunks/{model-resolver-m3e6h5hy.js → rpc-aq925jnm.js} +15 -15
- package/dist/chunks/{model-resolver-84r56gr5.js → rpc-as02qwds.js} +1 -1
- package/dist/chunks/{model-resolver-ws3jmg0w.js → rpc-at188k7x.js} +29 -29
- package/dist/chunks/{model-resolver-rk0rec3h.js → rpc-awbdwcvp.js} +9 -9
- package/dist/chunks/{model-resolver-k5z1e6p1.js → rpc-awy0m2ht.js} +7 -7
- package/dist/chunks/{model-resolver-94jd98dy.js → rpc-azwf31fh.js} +3 -3
- package/dist/chunks/{model-resolver-zxrxjv84.js → rpc-b0awdqvx.js} +6 -6
- package/dist/chunks/{model-resolver-y1xkgxqn.js → rpc-b3wv5y56.js} +6 -6
- package/dist/chunks/{model-resolver-r4w7q595.js → rpc-b5xr9r4a.js} +4 -4
- package/dist/chunks/{model-resolver-b6gygkdw.js → rpc-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-52vrzpkh.js → rpc-b8b3f19r.js} +9 -9
- package/dist/chunks/{model-resolver-e5nv3ght.js → rpc-bndc73cn.js} +5 -5
- package/dist/chunks/{model-resolver-gfraf4kn.js → rpc-bqttd0y0.js} +27 -27
- package/dist/chunks/{model-resolver-yef4v0b4.js → rpc-c0qvan2f.js} +45 -93
- package/dist/chunks/{model-resolver-rzyh5zbg.js → rpc-c14aw737.js} +10 -10
- package/dist/chunks/{model-resolver-vqv17xr0.js → rpc-c2z3ng5v.js} +20 -20
- package/dist/chunks/{model-resolver-390mr0wc.js → rpc-czfakrh3.js} +5 -5
- package/dist/chunks/{model-resolver-8nk5pr3x.js → rpc-d11nd7zh.js} +4 -4
- package/dist/chunks/{model-resolver-rrh3wayh.js → rpc-d4wz6bh8.js} +20 -20
- package/dist/chunks/{model-resolver-y7pd6vgd.js → rpc-dbekd7wq.js} +17 -17
- package/dist/chunks/{model-resolver-8p4f9s12.js → rpc-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-yz1rwmdd.js → rpc-dnz2amen.js} +4 -4
- package/dist/chunks/{model-resolver-y71avatq.js → rpc-dpkg50ah.js} +4 -4
- package/dist/chunks/{model-resolver-m60j7x9s.js → rpc-dq8t8fv9.js} +8 -8
- package/dist/chunks/{model-resolver-76wy3d38.js → rpc-e171vef2.js} +30 -30
- package/dist/chunks/{model-resolver-c20v218m.js → rpc-e2vkambt.js} +18 -18
- package/dist/chunks/{model-resolver-x60p6768.js → rpc-e4mg6za6.js} +27 -27
- package/dist/chunks/{model-resolver-f2b3pcdc.js → rpc-e7dhmq2r.js} +34 -34
- package/dist/chunks/{model-resolver-m1j7qv8x.js → rpc-eac5h0qb.js} +27 -27
- package/dist/chunks/{model-resolver-r0jzbrht.js → rpc-ecstd3x3.js} +12 -12
- package/dist/chunks/{model-resolver-3f15rfkp.js → rpc-egrr39fs.js} +6 -6
- package/dist/chunks/{model-resolver-wc561s8t.js → rpc-ekej3swh.js} +13 -13
- package/dist/chunks/{model-resolver-ctmr8zqa.js → rpc-embw8kgh.js} +4 -4
- package/dist/chunks/{model-resolver-wtzjvpyk.js → rpc-ensxwhj5.js} +14 -14
- package/dist/chunks/{model-resolver-7z0etnq8.js → rpc-ep0qqy8y.js} +9 -9
- package/dist/chunks/{model-resolver-wvmhx4nb.js → rpc-eraanh1f.js} +4 -4
- package/dist/chunks/{model-resolver-ddj422qv.js → rpc-et9a5mt7.js} +21 -21
- package/dist/chunks/{model-resolver-c2nzhxaj.js → rpc-etjfar9p.js} +9 -9
- package/dist/chunks/{model-resolver-etq0c3wd.js → rpc-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-3adkf2hq.js → rpc-evc8ed70.js} +18 -18
- package/dist/chunks/{model-resolver-t67bqcnn.js → rpc-ezv1a6xh.js} +6 -6
- package/dist/chunks/{model-resolver-61rt74dg.js → rpc-f04pyqpn.js} +8 -8
- package/dist/chunks/{model-resolver-49sc2kz0.js → rpc-f2kyhx0b.js} +9 -9
- package/dist/chunks/{model-resolver-6q8410ef.js → rpc-f5paykxm.js} +10 -10
- package/dist/chunks/{model-resolver-dsavrnz6.js → rpc-f7bvpx2e.js} +11 -11
- package/dist/chunks/{model-resolver-dhtkj142.js → rpc-fb3dn1g4.js} +5 -5
- package/dist/chunks/{model-resolver-cdqcdd4q.js → rpc-fbprdydg.js} +4 -4
- package/dist/chunks/{model-resolver-2rwb14mb.js → rpc-fe21mgs2.js} +2 -2
- package/dist/chunks/{model-resolver-fc7q7xy2.js → rpc-fhq59srp.js} +18 -18
- package/dist/chunks/rpc-fka8kn59.js +26 -0
- package/dist/chunks/{model-resolver-ps320bc5.js → rpc-fkgz1789.js} +11 -11
- package/dist/chunks/{model-resolver-5pqk165g.js → rpc-fve14tsv.js} +10 -10
- package/dist/chunks/{model-resolver-fxbjtjnd.js → rpc-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-mp0nztn2.js → rpc-gbtk5xpy.js} +16 -16
- package/dist/chunks/{model-resolver-9xpp069q.js → rpc-gd1sanb3.js} +33 -33
- package/dist/chunks/{model-resolver-gd4qta3r.js → rpc-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-tm5c6145.js → rpc-ghtm10aa.js} +6 -6
- package/dist/chunks/{model-resolver-hwt2n11x.js → rpc-gmt7v2f0.js} +15 -15
- package/dist/chunks/{model-resolver-drq8acbn.js → rpc-gnqpece3.js} +27 -27
- package/dist/chunks/{model-resolver-a10qfg7z.js → rpc-gsepd1qv.js} +7 -7
- package/dist/chunks/{model-resolver-h03wrkyp.js → rpc-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-gapn44fz.js → rpc-h2hjeshg.js} +26 -26
- package/dist/chunks/{model-resolver-ajpf6mah.js → rpc-h2kayq98.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → rpc-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-f828m53h.js → rpc-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-b1k5mb32.js → rpc-hgk9zqwm.js} +20 -20
- package/dist/chunks/{model-resolver-3a0pq44c.js → rpc-hrb636hh.js} +9 -9
- package/dist/chunks/{model-resolver-twy35tz0.js → rpc-hrvd6t1f.js} +9 -9
- package/dist/chunks/{model-resolver-j56e64zr.js → rpc-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-z0xf8849.js → rpc-j6tr09r7.js} +31 -31
- package/dist/chunks/{model-resolver-aawxrc71.js → rpc-jada9zq5.js} +5 -5
- package/dist/chunks/{model-resolver-9anxe710.js → rpc-jkttvqfz.js} +4 -4
- package/dist/chunks/{model-resolver-nvbchq6z.js → rpc-jyd6wsh8.js} +11 -11
- package/dist/chunks/{model-resolver-eq724rxw.js → rpc-jyes105x.js} +24 -24
- package/dist/chunks/{model-resolver-kenhkcqf.js → rpc-jz2xfere.js} +33 -33
- package/dist/chunks/{model-resolver-qbybakcq.js → rpc-k4ar8njc.js} +35 -35
- package/dist/chunks/{model-resolver-p0ydpdje.js → rpc-k6vfasqn.js} +1 -1
- package/dist/chunks/{model-resolver-00n9sm3e.js → rpc-k9h47z0e.js} +11 -11
- package/dist/chunks/{model-resolver-rxjvbk8n.js → rpc-kd92mjtq.js} +1 -1
- package/dist/chunks/{model-resolver-fff2ww6r.js → rpc-keedsq9y.js} +11 -11
- package/dist/chunks/{model-resolver-kg06axw8.js → rpc-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-4y9xcd5s.js → rpc-kkxr41sk.js} +11 -11
- package/dist/chunks/{model-resolver-hxnmyzpz.js → rpc-kvh0q0w5.js} +26 -26
- package/dist/chunks/{model-resolver-5w049mzn.js → rpc-m060z7eb.js} +17 -17
- package/dist/chunks/{model-resolver-cfpkc3c9.js → rpc-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-b9dtzdzx.js → rpc-m5j6zs5f.js} +15 -15
- package/dist/chunks/{model-resolver-qfw3ezrb.js → rpc-m7y1vdp5.js} +20 -20
- package/dist/chunks/{model-resolver-m9w0rfyh.js → rpc-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-f3ngv102.js → rpc-magykp64.js} +4 -4
- package/dist/chunks/{model-resolver-jb1x2pah.js → rpc-mc7c43gw.js} +20 -20
- package/dist/chunks/{model-resolver-kdqbr4kj.js → rpc-mkf7r8vc.js} +5 -5
- package/dist/chunks/{model-resolver-v7xck931.js → rpc-mpjjaxhm.js} +10 -10
- package/dist/chunks/{model-resolver-m1n5w1f6.js → rpc-mqqw7r41.js} +10 -10
- package/dist/chunks/{model-resolver-xbwfmkd1.js → rpc-n1abx18w.js} +6 -6
- package/dist/chunks/{model-resolver-9gh4k6y6.js → rpc-n8pzc7q0.js} +5 -5
- package/dist/chunks/{model-resolver-e82z9tr0.js → rpc-nhy5jxhy.js} +7 -7
- package/dist/chunks/{model-resolver-4cfrandj.js → rpc-njqd2r1p.js} +48 -48
- package/dist/chunks/{model-resolver-xh8yz4jf.js → rpc-p4zt19y4.js} +11 -11
- package/dist/chunks/{model-resolver-e6q3pz3t.js → rpc-pfhnemj1.js} +11 -11
- package/dist/chunks/{model-resolver-g1amre2a.js → rpc-pg92xra1.js} +18 -18
- package/dist/chunks/{model-resolver-7yhtqe52.js → rpc-phrpww5q.js} +6 -6
- package/dist/chunks/{model-resolver-pjvnvgmy.js → rpc-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-ah1s8aaq.js → rpc-pkcwckcb.js} +73 -73
- package/dist/chunks/{model-resolver-pknna89w.js → rpc-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-v4gzsxzt.js → rpc-q5zm5rbh.js} +155 -155
- package/dist/chunks/{model-resolver-xekzrwwc.js → rpc-q8qja58b.js} +9 -9
- package/dist/chunks/{model-resolver-nfx74p92.js → rpc-qc9m528a.js} +9 -9
- package/dist/chunks/{model-resolver-dcf7e85t.js → rpc-qra50pcy.js} +6 -6
- package/dist/chunks/{model-resolver-qsdy395h.js → rpc-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-1cn8af6j.js → rpc-qzfy2ng8.js} +12 -12
- package/dist/chunks/{model-resolver-r9mregkx.js → rpc-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-j8egexsa.js → rpc-ra10epn0.js} +4 -4
- package/dist/chunks/{model-resolver-ck5d9zpy.js → rpc-rq0td61g.js} +10 -10
- package/dist/chunks/{model-resolver-zeh9ct20.js → rpc-rq775frq.js} +2 -2
- package/dist/chunks/{model-resolver-xzqvznr8.js → rpc-s3be4ryk.js} +19 -19
- package/dist/chunks/{model-resolver-ba05va59.js → rpc-s51qhtww.js} +32 -32
- package/dist/chunks/{model-resolver-ze55z754.js → rpc-s6q7j8c1.js} +10 -10
- package/dist/chunks/{model-resolver-cq37gk0t.js → rpc-sdbkfcvv.js} +4 -4
- package/dist/chunks/{model-resolver-0v53mg2y.js → rpc-sx1n432n.js} +4 -4
- package/dist/chunks/{model-resolver-t2fc4mz5.js → rpc-sxz6gkc3.js} +7 -7
- package/dist/chunks/{model-resolver-ptz3r4n8.js → rpc-t04z7qz2.js} +44 -44
- package/dist/chunks/{model-resolver-h9h2cf90.js → rpc-t0nby5tn.js} +13 -13
- package/dist/chunks/{model-resolver-3aa2qh1v.js → rpc-t4dwhhvw.js} +15 -15
- package/dist/chunks/{model-resolver-rhjbct0v.js → rpc-t550f9t1.js} +4 -4
- package/dist/chunks/{model-resolver-vywwb7xw.js → rpc-t97x3sry.js} +2 -2
- package/dist/chunks/{model-resolver-tazgh4e4.js → rpc-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → rpc-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-nv8khyte.js → rpc-tfpzm518.js} +9 -9
- package/dist/chunks/{model-resolver-ae2xf8y7.js → rpc-tkptyfyx.js} +41 -41
- package/dist/chunks/{model-resolver-my4mn6ec.js → rpc-ttmwpwhe.js} +19 -19
- package/dist/chunks/{model-resolver-tvtrv512.js → rpc-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-yecv7nm8.js → rpc-v30ysbtp.js} +24 -24
- package/dist/chunks/{model-resolver-hk2b1w8q.js → rpc-v4hh8mmn.js} +76 -76
- package/dist/chunks/{model-resolver-vzm76b3t.js → rpc-v8jfbz3g.js} +6 -6
- package/dist/chunks/{model-resolver-9ynvy50g.js → rpc-v95aebz8.js} +18 -18
- package/dist/chunks/{model-resolver-j4h9n0kh.js → rpc-vaz4vjgg.js} +17 -17
- package/dist/chunks/{model-resolver-ph0q5yay.js → rpc-vbpsb3q0.js} +4 -4
- package/dist/chunks/{model-resolver-veqvce7d.js → rpc-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-qff9k35d.js → rpc-vhkqx8kk.js} +11 -11
- package/dist/chunks/{model-resolver-pjsmk15p.js → rpc-vkd6hz7d.js} +18 -18
- package/dist/chunks/{model-resolver-c7ssnmaj.js → rpc-vn9kcpf2.js} +4 -4
- package/dist/chunks/rpc-vnkjks7b.js +18 -0
- package/dist/chunks/{model-resolver-vzcthcp8.js → rpc-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-8cj6vp2e.js → rpc-w0r53wm9.js} +8 -8
- package/dist/chunks/{model-resolver-w3wsvvr9.js → rpc-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-d9hjbqwg.js → rpc-w6393bmh.js} +7 -7
- package/dist/chunks/{model-resolver-wd87259q.js → rpc-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-5d9hgq6a.js → rpc-wegwrt47.js} +22 -22
- package/dist/chunks/{model-resolver-13ggeyh8.js → rpc-why2nj5b.js} +8 -8
- package/dist/chunks/{model-resolver-b4ymjb7p.js → rpc-wm96jmrs.js} +32 -32
- package/dist/chunks/{model-resolver-jcabrnmj.js → rpc-wq9p3fvr.js} +16 -16
- package/dist/chunks/{model-resolver-2jb6wffc.js → rpc-wtzvqa7t.js} +26 -26
- package/dist/chunks/{model-resolver-x1ezjp6w.js → rpc-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-egap6qp7.js → rpc-x2ec7fj2.js} +20 -20
- package/dist/chunks/{model-resolver-dgj0dq1g.js → rpc-x3et2xth.js} +8 -8
- package/dist/chunks/{model-resolver-2ps3j6a4.js → rpc-x3ry4399.js} +26 -26
- package/dist/chunks/{model-resolver-kbhm0m0a.js → rpc-x4az3p4k.js} +12 -12
- package/dist/chunks/{model-resolver-xg954myy.js → rpc-xjk8cg32.js} +4 -4
- package/dist/chunks/{model-resolver-xwqaakv5.js → rpc-xwk582wh.js} +33 -33
- package/dist/chunks/{model-resolver-y1fvbwt7.js → rpc-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-pbky73a2.js → rpc-y3gka0kp.js} +1 -1
- package/dist/chunks/{model-resolver-7srvnxx8.js → rpc-y5gmhs7b.js} +2 -2
- package/dist/chunks/{model-resolver-4hdjqv5n.js → rpc-ybj7n8sc.js} +20 -20
- package/dist/chunks/{model-resolver-s8zy8myc.js → rpc-yjtcv9b8.js} +5 -5
- package/dist/chunks/{model-resolver-0mqwdcna.js → rpc-ymcp9qdd.js} +22 -22
- package/dist/chunks/{model-resolver-5907cmhj.js → rpc-yn742pxh.js} +10 -10
- package/dist/chunks/{model-resolver-yrhqyw5v.js → rpc-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-50spkatp.js → rpc-yrxgw5z8.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → rpc-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-gv6a8nnw.js → rpc-yyb7tjpc.js} +2 -2
- package/dist/chunks/{model-resolver-mx83bqr4.js → rpc-z05rcarj.js} +9 -9
- package/dist/chunks/{model-resolver-z0bkrqjs.js → rpc-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-z63w68vq.js → rpc-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-97c56c16.js → rpc-zctxc6dq.js} +14 -14
- package/dist/chunks/{model-resolver-ssg4d1r7.js → rpc-zdmpy1w1.js} +20 -20
- package/dist/chunks/{model-resolver-zr2ceqn5.js → rpc-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-1xzg4q7f.js → rpc-zsdfvbwd.js} +8 -8
- package/dist/chunks/{model-resolver-zxq2ej10.js → rpc-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-stz44jcx.js → rpc-zy7p2nkg.js} +24 -24
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +79 -79
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +99 -99
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +120 -120
- 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 +82 -82
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- 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 +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- 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 +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +90 -90
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +99 -99
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +77 -77
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +102 -102
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- 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 +87 -87
- package/dist/provider.js +3 -3
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +94 -94
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +125 -125
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +74 -74
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +94 -94
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +90 -90
- 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 +119 -119
- package/dist/tool/plugin/edit.js +117 -117
- 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/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +102 -102
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/types/config.d.ts +1 -5
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/model-resolver-fj1dxc35.js +0 -466
- package/dist/chunks/model-resolver-ga8867b0.js +0 -26
- package/dist/chunks/model-resolver-ht5y0zrb.js +0 -18
- package/dist/chunks/model-resolver-tp0yv4ge.js +0 -247
- package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → rpc-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → rpc-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → rpc-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → rpc-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → rpc-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → rpc-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → rpc-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → rpc-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → rpc-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → rpc-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → rpc-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → rpc-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → rpc-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → rpc-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → rpc-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → rpc-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → rpc-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → rpc-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → rpc-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → rpc-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → rpc-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → rpc-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → rpc-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → rpc-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → rpc-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → rpc-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → rpc-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → rpc-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → rpc-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → rpc-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → rpc-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → rpc-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → rpc-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → rpc-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → rpc-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → rpc-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → rpc-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → rpc-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → rpc-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → rpc-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → rpc-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → rpc-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → rpc-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → rpc-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → rpc-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → rpc-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → rpc-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → rpc-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → rpc-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → rpc-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → rpc-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → rpc-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → rpc-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → rpc-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → rpc-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → rpc-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → rpc-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → rpc-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → rpc-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → rpc-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → rpc-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → rpc-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → rpc-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → rpc-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → rpc-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → rpc-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → rpc-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → rpc-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → rpc-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → rpc-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-paphc93g.js → rpc-paphc93g.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → rpc-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → rpc-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → rpc-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → rpc-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → rpc-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → rpc-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → rpc-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → rpc-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → rpc-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → rpc-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → rpc-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → rpc-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → rpc-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → rpc-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → rpc-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → rpc-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → rpc-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → rpc-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → rpc-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → rpc-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → rpc-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → rpc-z9919s4g.js} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-8dff8bqa.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./rpc-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service6 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service6.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service10, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node9 = makeGlobalNode({ service: Service6, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service6, node9, exports_update };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./rpc-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -400,4 +400,4 @@ function update2(adapter, event) {
|
|
|
400
400
|
return project(event);
|
|
401
401
|
}
|
|
402
402
|
|
|
403
|
-
export {
|
|
403
|
+
export { update3, exports_message_updater };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node69
|
|
5
|
+
} from "./rpc-2gq7g35w.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-81czwxpn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service57,
|
|
12
|
+
node60
|
|
13
|
+
} from "./rpc-zsdfvbwd.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-29ykcmqg.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./rpc-gsepd1qv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./rpc-zy7p2nkg.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service24,
|
|
25
25
|
node28
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-41f61ev5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
make14
|
|
29
|
+
} from "./rpc-nhy5jxhy.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./rpc-yrxgw5z8.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./rpc-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service23,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
@@ -66,7 +66,7 @@ var baseTranscript2 = (input) => {
|
|
|
66
66
|
return {
|
|
67
67
|
providerMetadataKey,
|
|
68
68
|
system: [
|
|
69
|
-
input.agent.system ? input.agent.system :
|
|
69
|
+
input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
|
|
70
70
|
input.initial
|
|
71
71
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
72
72
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -150,11 +150,11 @@ var boundImages2 = (messages) => {
|
|
|
150
150
|
}));
|
|
151
151
|
};
|
|
152
152
|
|
|
153
|
-
class
|
|
153
|
+
class Service23 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
154
154
|
}
|
|
155
|
-
var layer10 = Layer.effect(
|
|
156
|
-
const hooks = yield*
|
|
157
|
-
const transport = yield*
|
|
155
|
+
var layer10 = Layer.effect(Service23, Effect.gen(function* () {
|
|
156
|
+
const hooks = yield* Service57;
|
|
157
|
+
const transport = yield* Service24;
|
|
158
158
|
const app = yield* Metadata2;
|
|
159
159
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
160
160
|
const session = input.session;
|
|
@@ -162,7 +162,7 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
162
162
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
163
163
|
const tools = input.tools ?? {
|
|
164
164
|
definitions: [],
|
|
165
|
-
execute: () => new
|
|
165
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
166
166
|
};
|
|
167
167
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
168
168
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -244,7 +244,7 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
246
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
247
|
-
return
|
|
247
|
+
return Service23.of({
|
|
248
248
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
249
249
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
250
250
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
@@ -252,9 +252,9 @@ var layer10 = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
252
252
|
});
|
|
253
253
|
}));
|
|
254
254
|
var node27 = makeLocationNode({
|
|
255
|
-
service:
|
|
255
|
+
service: Service23,
|
|
256
256
|
layer: layer10,
|
|
257
|
-
deps: [
|
|
257
|
+
deps: [node60, node28, node69]
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
260
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service23, layer10, node27, exports_model_request };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./rpc-dnz2amen.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event17,
|
|
7
|
+
Service61,
|
|
8
|
+
node64
|
|
9
|
+
} from "./rpc-ak9cgfv8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service37,
|
|
12
|
+
node41
|
|
13
|
+
} from "./rpc-2gvej5bs.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./rpc-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service76,
|
|
19
|
+
node81
|
|
20
|
+
} from "./rpc-m060z7eb.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./rpc-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./rpc-37m66rke.js";
|
|
27
27
|
import {
|
|
28
28
|
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./rpc-fb3dn1g4.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./rpc-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service38,
|
|
36
|
+
Event8,
|
|
37
|
+
node42
|
|
38
|
+
} from "./rpc-e2vkambt.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./rpc-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options4,
|
|
48
|
+
Service: () => Service36,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured4,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer15,
|
|
53
|
+
node: () => node40,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import path from "path";
|
|
58
58
|
import { isDeepStrictEqual } from "node:util";
|
|
59
|
-
import {
|
|
59
|
+
import { parse } from "jsonc-parser";
|
|
60
60
|
import { Context, Effect, FiberMap, Layer, Option, PubSub, Ref, Schema, Semaphore, Stream } from "effect";
|
|
61
61
|
import { Directory, Document, Info, Event } from "@opencode/schema/config";
|
|
62
62
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options4 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service36 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,32 +89,17 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service36, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
function
|
|
95
|
-
const errors = [];
|
|
96
|
-
const input = parse(text, errors, { allowTrailingComma: true });
|
|
97
|
-
if (errors.length)
|
|
98
|
-
return {};
|
|
99
|
-
const normalized = normalize2(input);
|
|
100
|
-
if (normalized.type === "rejected")
|
|
101
|
-
return {};
|
|
102
|
-
const info = Option.getOrUndefined(Schema.decodeUnknownOption(Info)(normalized.encoded));
|
|
103
|
-
return {
|
|
104
|
-
...info?.shell === undefined ? {} : { shell: info.shell },
|
|
105
|
-
...info?.websearch === undefined ? {} : { websearch: info.websearch }
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
94
|
+
var layer15 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
109
95
|
const fs = yield* FSUtil.Service;
|
|
110
|
-
const location = yield*
|
|
111
|
-
const watcher = yield*
|
|
96
|
+
const location = yield* Service76;
|
|
97
|
+
const watcher = yield* Service37;
|
|
112
98
|
const bus = yield* Service79;
|
|
113
|
-
const credentials = yield*
|
|
99
|
+
const credentials = yield* Service61;
|
|
114
100
|
const globalService = yield* Global.Service;
|
|
115
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service38;
|
|
116
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
117
|
-
const updateLock = Semaphore.makeUnsafe(1);
|
|
118
103
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
119
104
|
const decodeInfo = Schema.decodeUnknownOption(Info, decodeOptions);
|
|
120
105
|
const parseInfo = Effect.fn("Config.parseInfo")(function* (text, source) {
|
|
@@ -235,8 +220,8 @@ var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
235
220
|
}, (effect) => reloadLock.withPermit(effect));
|
|
236
221
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
237
222
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
238
|
-
yield* bus.subscribe(
|
|
239
|
-
yield* bus.subscribe(
|
|
223
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
+
yield* bus.subscribe(Event8.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
240
225
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
241
226
|
if (!wellknown.snapshot().length)
|
|
242
227
|
return Effect.void;
|
|
@@ -247,38 +232,7 @@ var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
247
232
|
}).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to refresh wellknown config", { cause })));
|
|
248
233
|
})), Effect.forever, Effect.forkScoped({ startImmediately: true }));
|
|
249
234
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
250
|
-
|
|
251
|
-
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
252
|
-
const candidates = names3.map((name) => path.join(directory, name));
|
|
253
|
-
const existing = yield* Effect.filter(candidates, fs.isFile);
|
|
254
|
-
return existing.at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
255
|
-
});
|
|
256
|
-
const preferences = Effect.fn("Config.preferences")(function* () {
|
|
257
|
-
const filepath = yield* globalConfigPath();
|
|
258
|
-
const text = yield* fs.readFileStringSafe(filepath);
|
|
259
|
-
return text === undefined ? {} : decodePreferences(text);
|
|
260
|
-
});
|
|
261
|
-
const updatePreferences = Effect.fn("Config.updatePreferences")(function* (patch) {
|
|
262
|
-
const filepath = yield* globalConfigPath();
|
|
263
|
-
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
264
|
-
`;
|
|
265
|
-
const updated = yield* Effect.try({
|
|
266
|
-
try: () => ["shell", "websearch"].reduce((content, key) => {
|
|
267
|
-
if (!Object.prototype.hasOwnProperty.call(patch, key))
|
|
268
|
-
return content;
|
|
269
|
-
return applyEdits(content, modify(content, [key], patch[key] === null ? undefined : patch[key], {
|
|
270
|
-
formattingOptions: { tabSize: 2, insertSpaces: true }
|
|
271
|
-
}));
|
|
272
|
-
}, text),
|
|
273
|
-
catch: (cause) => new FSUtil.FileSystemError({ method: "config.updatePreferences", cause })
|
|
274
|
-
});
|
|
275
|
-
yield* fs.writeWithDirs(filepath, updated.endsWith(`
|
|
276
|
-
`) ? updated : `${updated}
|
|
277
|
-
`);
|
|
278
|
-
yield* requestReload;
|
|
279
|
-
return decodePreferences(updated);
|
|
280
|
-
}, (effect) => updateLock.withPermit(effect));
|
|
281
|
-
return Service46.of({
|
|
235
|
+
return Service36.of({
|
|
282
236
|
entries: Effect.fnUntraced(function* () {
|
|
283
237
|
return configs;
|
|
284
238
|
}),
|
|
@@ -286,18 +240,16 @@ var layer20 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
286
240
|
claude: Effect.filter(sources.claude, fs.isDir),
|
|
287
241
|
agents: Effect.filter(sources.agents, fs.isDir)
|
|
288
242
|
}),
|
|
289
|
-
changes: () => Stream.fromPubSub(updates)
|
|
290
|
-
preferences,
|
|
291
|
-
updatePreferences
|
|
243
|
+
changes: () => Stream.fromPubSub(updates)
|
|
292
244
|
});
|
|
293
245
|
}));
|
|
294
|
-
function
|
|
246
|
+
function configured4(options) {
|
|
295
247
|
return makeLocationNode({
|
|
296
|
-
service:
|
|
297
|
-
layer:
|
|
298
|
-
deps: [
|
|
248
|
+
service: Service36,
|
|
249
|
+
layer: layer15(options),
|
|
250
|
+
deps: [node41, node84, FSUtil.node, Global.node, node81, node64, node42]
|
|
299
251
|
});
|
|
300
252
|
}
|
|
301
|
-
var
|
|
253
|
+
var node40 = configured4();
|
|
302
254
|
|
|
303
|
-
export { latest2,
|
|
255
|
+
export { latest2, Options4, Service36, Test2, testLayer2, layer15, configured4, node40, exports_config };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./rpc-azwf31fh.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./rpc-v8jfbz3g.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./rpc-vnkjks7b.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./rpc-81czwxpn.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./rpc-w0r53wm9.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./rpc-bqttd0y0.js";
|
|
19
19
|
import {
|
|
20
20
|
Service19
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./rpc-v4hh8mmn.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./rpc-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,7 +32,7 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service80;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./rpc-29ykcmqg.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./rpc-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./rpc-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./rpc-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input7,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin22,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
25
|
description: () => description4,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name7
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name7 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
37
|
var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input7 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input10 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input7.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin22 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service53;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name7,
|
|
102
102
|
options: { codemode: false },
|
|
103
103
|
description: description4,
|
|
104
|
-
input:
|
|
104
|
+
input: Input7,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin11 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name7,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name7, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input7, Plugin22, extractTextFromHTML2, exports_webfetch };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./rpc-5vsdfptq.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./rpc-n1abx18w.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./rpc-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|