@opencode/core 0.0.0-dev-19537 → 0.0.0-dev-19539
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 +80 -80
- 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/{location-service-map-jvker3z1.js → wellknown-00h2wynw.js} +22 -22
- package/dist/chunks/{location-service-map-debkcy1p.js → wellknown-07vf46pq.js} +25 -25
- package/dist/chunks/{location-service-map-57qjsc5p.js → wellknown-08cen3js.js} +16 -16
- package/dist/chunks/wellknown-0mesazry.js +4 -0
- package/dist/chunks/{location-service-map-0paq2nw3.js → wellknown-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → wellknown-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-xv0jpfyy.js → wellknown-0t3pyjz3.js} +9 -9
- package/dist/chunks/{location-service-map-15py5x5a.js → wellknown-1at5eyj7.js} +90 -90
- package/dist/chunks/{location-service-map-4kc6mx0f.js → wellknown-1bx8nmgw.js} +9 -9
- package/dist/chunks/{location-service-map-1dazxqgg.js → wellknown-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-x7t95jgy.js → wellknown-1hpbd1d8.js} +7 -7
- package/dist/chunks/{location-service-map-hch7hs3h.js → wellknown-1s2726j8.js} +11 -11
- package/dist/chunks/{location-service-map-htz087a0.js → wellknown-1vr0zdnx.js} +9 -9
- package/dist/chunks/{location-service-map-nwezgm6v.js → wellknown-2023svme.js} +9 -9
- package/dist/chunks/{location-service-map-21r38tys.js → wellknown-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-3a6re68j.js → wellknown-23pqda6t.js} +6 -6
- package/dist/chunks/{location-service-map-p0p59wv7.js → wellknown-23t8dfc0.js} +4 -4
- package/dist/chunks/{location-service-map-s9y3pymr.js → wellknown-26qyng6q.js} +9 -9
- package/dist/chunks/{location-service-map-2a5m3afh.js → wellknown-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-fhxn8svr.js → wellknown-2ab9sw28.js} +27 -27
- package/dist/chunks/{location-service-map-bp410sh6.js → wellknown-2d9jcxpv.js} +16 -16
- package/dist/chunks/{location-service-map-0zwqsx91.js → wellknown-2erey2nk.js} +11 -11
- package/dist/chunks/{location-service-map-0jwsre1p.js → wellknown-2k8khapm.js} +5 -5
- package/dist/chunks/{location-service-map-624gnx8g.js → wellknown-2qw1bc1t.js} +21 -21
- package/dist/chunks/{location-service-map-1m1dj84h.js → wellknown-2yc0zt1n.js} +18 -18
- package/dist/chunks/{location-service-map-b10tkd3e.js → wellknown-307krdjp.js} +15 -15
- package/dist/chunks/{location-service-map-t0fxg8b9.js → wellknown-3cfzdc8e.js} +5 -5
- package/dist/chunks/{location-service-map-3fc6dm20.js → wellknown-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-3hepkmqq.js → wellknown-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-jes5qxbr.js → wellknown-3jxyd7b8.js} +18 -18
- package/dist/chunks/{location-service-map-3smtnn6g.js → wellknown-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-3tvqynh2.js → wellknown-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-kwxt209v.js → wellknown-40kjh9zt.js} +44 -44
- package/dist/chunks/{location-service-map-m61y730t.js → wellknown-428yx6p2.js} +36 -36
- package/dist/chunks/{location-service-map-zcqf6png.js → wellknown-4m2pmvxz.js} +6 -6
- package/dist/chunks/{location-service-map-vryeqwq0.js → wellknown-4xrb88hm.js} +26 -26
- package/dist/chunks/{location-service-map-b3t9b1fg.js → wellknown-53dfrr0p.js} +29 -29
- package/dist/chunks/{location-service-map-qf23eh72.js → wellknown-55a4dvpq.js} +5 -5
- package/dist/chunks/{location-service-map-5daktx2q.js → wellknown-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-wejrbswc.js → wellknown-5fhs403j.js} +26 -26
- package/dist/chunks/{location-service-map-5t3nmthw.js → wellknown-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-x811wgw1.js → wellknown-5vc4apcq.js} +17 -17
- package/dist/chunks/{location-service-map-sdf6ey0z.js → wellknown-5zsm984v.js} +6 -6
- package/dist/chunks/{location-service-map-b67z4z5h.js → wellknown-614nn5w1.js} +12 -12
- package/dist/chunks/{location-service-map-x9jnhqqq.js → wellknown-65cnjpna.js} +32 -32
- package/dist/chunks/{location-service-map-669tq793.js → wellknown-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-9r3pxvdt.js → wellknown-66c64646.js} +6 -6
- package/dist/chunks/{location-service-map-d4rcy47n.js → wellknown-67esxyaq.js} +20 -20
- package/dist/chunks/{location-service-map-6h73sxmp.js → wellknown-6h73sxmp.js} +1 -1
- package/dist/chunks/{location-service-map-2a0mm7y3.js → wellknown-6jvvt40y.js} +9 -9
- package/dist/chunks/{location-service-map-6msgmcgs.js → wellknown-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-sa6e320r.js → wellknown-6pzpj85z.js} +32 -32
- package/dist/chunks/{location-service-map-ae848n5r.js → wellknown-6w9kmp65.js} +88 -88
- package/dist/chunks/{location-service-map-e5add2x6.js → wellknown-6xcwhts3.js} +11 -11
- package/dist/chunks/{location-service-map-jt7nkbyw.js → wellknown-6yjwfbhf.js} +4 -4
- package/dist/chunks/{location-service-map-qdy2vyx0.js → wellknown-6ymj5c7p.js} +24 -24
- package/dist/chunks/{location-service-map-71q4at8m.js → wellknown-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-4g5m988d.js → wellknown-728x28gm.js} +8 -8
- package/dist/chunks/{location-service-map-rrbca1ec.js → wellknown-77nagcj1.js} +4 -4
- package/dist/chunks/{location-service-map-7bmhse3q.js → wellknown-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-r9p7z20f.js → wellknown-7df9bwsb.js} +27 -27
- package/dist/chunks/{location-service-map-04x0dbvj.js → wellknown-7esh47m3.js} +11 -11
- package/dist/chunks/{location-service-map-0v2v5eak.js → wellknown-7j34szy8.js} +20 -20
- package/dist/chunks/{location-service-map-8ppq07x6.js → wellknown-7m5f9412.js} +8 -8
- package/dist/chunks/{location-service-map-1at5a1z8.js → wellknown-7pd4ry3z.js} +43 -43
- package/dist/chunks/{location-service-map-mk2t9s24.js → wellknown-7srhakrh.js} +35 -35
- package/dist/chunks/wellknown-7sz98wh0.js +462 -0
- package/dist/chunks/{location-service-map-eh1r4ehf.js → wellknown-7vzhg19r.js} +4 -4
- package/dist/chunks/{location-service-map-73tb2d7t.js → wellknown-7yh4e7ss.js} +3 -3
- package/dist/chunks/{location-service-map-j7zc0ft0.js → wellknown-81swgkk7.js} +9 -9
- package/dist/chunks/{location-service-map-m6zchz64.js → wellknown-851r6173.js} +16 -16
- package/dist/chunks/{location-service-map-yzht29fw.js → wellknown-860p72tc.js} +10 -10
- package/dist/chunks/{location-service-map-6kkmjw8v.js → wellknown-875jp0ab.js} +24 -24
- package/dist/chunks/{location-service-map-8d7r5vzw.js → wellknown-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-1wck6se0.js → wellknown-8hhpf1hm.js} +33 -33
- package/dist/chunks/{location-service-map-3nehwj0v.js → wellknown-8k6k9q3x.js} +5 -5
- package/dist/chunks/{location-service-map-8p4f9s12.js → wellknown-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-service-map-2fn11zxb.js → wellknown-8r3d8rvc.js} +24 -24
- package/dist/chunks/wellknown-8rg17q0b.js +26 -0
- package/dist/chunks/{location-service-map-38p3jg3c.js → wellknown-8wrg7dkf.js} +20 -20
- package/dist/chunks/{location-service-map-ffj503y8.js → wellknown-97jqyest.js} +25 -25
- package/dist/chunks/{location-service-map-a61zyxyk.js → wellknown-9cw4g2nz.js} +19 -19
- package/dist/chunks/{location-service-map-5wd49k1e.js → wellknown-9j4e7e8q.js} +7 -7
- package/dist/chunks/{location-service-map-wn4cedxa.js → wellknown-9sh3b0bz.js} +4 -4
- package/dist/chunks/{location-service-map-a1bz86dw.js → wellknown-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-service-map-85n21aby.js → wellknown-a6jgch9w.js} +25 -25
- package/dist/chunks/{location-service-map-j6pynq9h.js → wellknown-a8nah55w.js} +1 -1
- package/dist/chunks/{location-service-map-aaet6srn.js → wellknown-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-gst7axd9.js → wellknown-afdssyjb.js} +4 -4
- package/dist/chunks/{location-service-map-5tk5x0jd.js → wellknown-akw77m90.js} +1 -1
- package/dist/chunks/{location-service-map-tnppwh2z.js → wellknown-arwy73pv.js} +17 -17
- package/dist/chunks/{location-service-map-9p0arqf3.js → wellknown-as6kphby.js} +47 -47
- package/dist/chunks/{location-service-map-5sxs7n9e.js → wellknown-awhgpd7e.js} +11 -11
- package/dist/chunks/{location-service-map-4qp87j5s.js → wellknown-b4cya9kz.js} +13 -13
- package/dist/chunks/{location-service-map-b6gygkdw.js → wellknown-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-mzdqfm2n.js → wellknown-b860jvh5.js} +4 -4
- package/dist/chunks/{location-service-map-9zswys26.js → wellknown-b8b3f19r.js} +2 -2
- package/dist/chunks/{location-service-map-y1tepbr5.js → wellknown-bb3w8y6r.js} +32 -32
- package/dist/chunks/{location-service-map-4w8kf3nz.js → wellknown-bbz20pt0.js} +38 -38
- package/dist/chunks/{location-service-map-3amprz0f.js → wellknown-bha4atvq.js} +4 -4
- package/dist/chunks/{location-service-map-48bbk4t2.js → wellknown-bksxygyb.js} +27 -27
- package/dist/chunks/{location-service-map-e5nv3ght.js → wellknown-bndc73cn.js} +5 -5
- package/dist/chunks/{location-service-map-mxdd6pa9.js → wellknown-bnp0v6wa.js} +24 -24
- package/dist/chunks/{location-service-map-38qatnx6.js → wellknown-bq71vxtg.js} +23 -23
- package/dist/chunks/{location-service-map-02kqeaaa.js → wellknown-bz0devez.js} +10 -10
- package/dist/chunks/{location-service-map-zac6rwn7.js → wellknown-c982ejga.js} +9 -9
- package/dist/chunks/{location-service-map-apdy0k05.js → wellknown-cfb5pb1y.js} +17 -17
- package/dist/chunks/{location-service-map-cfpkc3c9.js → wellknown-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-service-map-n44ezvse.js → wellknown-cxqrqs6v.js} +30 -30
- package/dist/chunks/{location-service-map-x3et2xth.js → wellknown-cxv3b682.js} +8 -8
- package/dist/chunks/{location-service-map-p0bvwtkc.js → wellknown-cyvma0e0.js} +15 -15
- package/dist/chunks/{location-service-map-v1jygnrp.js → wellknown-czy44wp6.js} +5 -5
- package/dist/chunks/{location-service-map-nvf61pg7.js → wellknown-d1v5nxx2.js} +22 -22
- package/dist/chunks/{location-service-map-b3z67xjk.js → wellknown-d60v85tc.js} +3 -3
- package/dist/chunks/{location-service-map-2sbgdypg.js → wellknown-d6ygf2cn.js} +28 -28
- package/dist/chunks/{location-service-map-k2rknt6h.js → wellknown-dc76j9wz.js} +8 -8
- package/dist/chunks/{location-service-map-yb8j6yg8.js → wellknown-ddc0bqhb.js} +5 -5
- package/dist/chunks/{location-service-map-25qt6gnv.js → wellknown-deh05xx4.js} +16 -16
- package/dist/chunks/{location-service-map-y71avatq.js → wellknown-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-service-map-04rxdvp0.js → wellknown-ds6fr8we.js} +17 -17
- package/dist/chunks/{location-service-map-78syc2fc.js → wellknown-ds9vkb33.js} +169 -169
- package/dist/chunks/{location-service-map-6yvzvxek.js → wellknown-dwq8cef9.js} +35 -35
- package/dist/chunks/{location-service-map-ffpjxk75.js → wellknown-e0nfhzw1.js} +20 -20
- package/dist/chunks/{location-service-map-jv01nqvq.js → wellknown-e6hmchc5.js} +5 -5
- package/dist/chunks/{location-service-map-n7z6f99n.js → wellknown-e95g814e.js} +18 -18
- package/dist/chunks/{location-service-map-02a7j1yb.js → wellknown-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-service-map-y5ber50k.js → wellknown-ec6jknr9.js} +15 -15
- package/dist/chunks/{location-service-map-etq0c3wd.js → wellknown-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-s0k3ntgq.js → wellknown-eyt4k3kj.js} +17 -17
- package/dist/chunks/{location-service-map-ptrp1kjm.js → wellknown-f66vs8vk.js} +8 -8
- package/dist/chunks/{location-service-map-13y5pzfr.js → wellknown-f6brk7pj.js} +12 -12
- package/dist/chunks/{location-service-map-f828m53h.js → wellknown-f828m53h.js} +2 -2
- package/dist/chunks/{location-service-map-pw7ckczw.js → wellknown-ferfphdt.js} +5 -5
- package/dist/chunks/{location-service-map-xg1qtray.js → wellknown-fexf5k2n.js} +8 -8
- package/dist/chunks/{location-service-map-64tzds00.js → wellknown-fff7t2h9.js} +11 -11
- package/dist/chunks/{location-service-map-vkt5fbj2.js → wellknown-fqj9nv8j.js} +5 -5
- package/dist/chunks/{location-service-map-fxbjtjnd.js → wellknown-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-492wvmbd.js → wellknown-fy5rdmrn.js} +5 -5
- package/dist/chunks/{location-service-map-5kzeweb6.js → wellknown-fyj0f73f.js} +14 -14
- package/dist/chunks/{location-service-map-1en1xn1a.js → wellknown-g2ddh771.js} +8 -8
- package/dist/chunks/{location-service-map-8hv2c1z5.js → wellknown-g4417hh3.js} +6 -6
- package/dist/chunks/{location-service-map-bc01wvk0.js → wellknown-g59p72yg.js} +47 -47
- package/dist/chunks/{location-service-map-46gb4b7h.js → wellknown-g8471784.js} +2 -2
- package/dist/chunks/{location-service-map-gd4qta3r.js → wellknown-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-gv6a8nnw.js → wellknown-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-2v772y4b.js → wellknown-gx2jmcw9.js} +11 -11
- package/dist/chunks/{location-service-map-h03wrkyp.js → wellknown-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-zpyc6n5y.js → wellknown-h0w0a0x1.js} +9 -9
- package/dist/chunks/{location-service-map-ebnjd4vn.js → wellknown-h4yhaw2e.js} +18 -18
- package/dist/chunks/{location-service-map-h6vf3j39.js → wellknown-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-5452wmxb.js → wellknown-hfpkbpzz.js} +4 -4
- package/dist/chunks/{location-service-map-nhy5jxhy.js → wellknown-hjt4xg1x.js} +4 -4
- package/dist/chunks/{location-service-map-fktzm3fa.js → wellknown-hmgwptan.js} +19 -19
- package/dist/chunks/{location-service-map-fh1g038f.js → wellknown-hyn2ecqg.js} +50 -50
- package/dist/chunks/{location-service-map-j56e64zr.js → wellknown-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-n5yzbj66.js → wellknown-j60r5zmy.js} +13 -13
- package/dist/chunks/{location-service-map-vpm8vpz0.js → wellknown-j7wq2tw5.js} +3 -3
- package/dist/chunks/{location-service-map-marnn1hp.js → wellknown-j8zzr2am.js} +9 -9
- package/dist/chunks/{location-service-map-4cmnyshe.js → wellknown-jhee3avx.js} +7 -7
- package/dist/chunks/{location-service-map-v8p3byyh.js → wellknown-jnk338bk.js} +11 -11
- package/dist/chunks/{location-service-map-3szvsdzy.js → wellknown-jqktx0eb.js} +28 -28
- package/dist/chunks/{location-service-map-6m42r3np.js → wellknown-jw80jp6b.js} +21 -21
- package/dist/chunks/{location-service-map-vbzdw0sa.js → wellknown-jwfqb58t.js} +9 -9
- package/dist/chunks/{location-service-map-rkdvqggb.js → wellknown-kerhshr9.js} +5 -5
- package/dist/chunks/{location-service-map-kg06axw8.js → wellknown-kg06axw8.js} +1 -1
- package/dist/chunks/{location-service-map-ktrp48dc.js → wellknown-kte9e5my.js} +20 -20
- package/dist/chunks/{location-service-map-4qr4qdmf.js → wellknown-kwfvtv90.js} +18 -18
- package/dist/chunks/{location-service-map-2hqf8r25.js → wellknown-kyjnjde5.js} +11 -11
- package/dist/chunks/{location-service-map-aqw8azwy.js → wellknown-m23nmkb4.js} +41 -41
- package/dist/chunks/{location-service-map-y87xzpn8.js → wellknown-m8f49s9b.js} +12 -12
- package/dist/chunks/{location-service-map-m9w0rfyh.js → wellknown-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-nzt9jjpr.js → wellknown-mcndymyz.js} +6 -6
- package/dist/chunks/{location-service-map-1ygqh575.js → wellknown-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-service-map-h1qa8csv.js → wellknown-mgjq6x1m.js} +37 -37
- package/dist/chunks/{location-service-map-f779cxj4.js → wellknown-myy8h7m5.js} +25 -25
- package/dist/chunks/{location-service-map-9m35et2d.js → wellknown-mz243gxw.js} +24 -24
- package/dist/chunks/{location-service-map-5sgxb9m8.js → wellknown-n2t4r3gh.js} +12 -12
- package/dist/chunks/{location-service-map-h3r6jhph.js → wellknown-n6c2qfs9.js} +41 -41
- package/dist/chunks/{location-service-map-8pmjhgaz.js → wellknown-n6r2xd79.js} +4 -4
- package/dist/chunks/{location-service-map-shfzw9b7.js → wellknown-ndya6qrf.js} +26 -26
- package/dist/chunks/{location-service-map-cceesvm2.js → wellknown-nftnfmm3.js} +45 -45
- package/dist/chunks/{location-service-map-dxrfc5h5.js → wellknown-nm03esje.js} +3 -3
- package/dist/chunks/{location-service-map-dceqzrt3.js → wellknown-nvde7z1v.js} +20 -20
- package/dist/chunks/{location-service-map-nftn214z.js → wellknown-nvkvd3qt.js} +17 -17
- package/dist/chunks/{location-service-map-5rcq086r.js → wellknown-nw0178xm.js} +30 -30
- package/dist/chunks/{location-service-map-v5bke03w.js → wellknown-ny23mpww.js} +10 -10
- package/dist/chunks/{location-service-map-xnhh30tk.js → wellknown-p7a4gs0b.js} +23 -23
- package/dist/chunks/{location-service-map-26ym7a2d.js → wellknown-paegk39x.js} +4 -4
- package/dist/chunks/{location-service-map-j935v87r.js → wellknown-paphc93g.js} +2 -2
- package/dist/chunks/{location-service-map-vp4d2p1v.js → wellknown-pe8kj4am.js} +20 -20
- package/dist/chunks/{location-service-map-pecb0brz.js → wellknown-pecb0brz.js} +2 -2
- package/dist/chunks/{location-service-map-pjvnvgmy.js → wellknown-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-pknna89w.js → wellknown-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-zc36aspe.js → wellknown-pxsh4axf.js} +34 -34
- package/dist/chunks/{location-service-map-40crx1cw.js → wellknown-q4eww03h.js} +1 -1
- package/dist/chunks/{location-service-map-jw6qs2gs.js → wellknown-qcx2jk2t.js} +54 -54
- package/dist/chunks/{location-service-map-qsdy395h.js → wellknown-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-3hhgyz9z.js → wellknown-qx2znyws.js} +18 -18
- package/dist/chunks/{location-service-map-0twcckz3.js → wellknown-r08exq5n.js} +20 -20
- package/dist/chunks/{location-service-map-df80hb39.js → wellknown-r61k027t.js} +17 -17
- package/dist/chunks/{location-service-map-yp2x3t23.js → wellknown-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-service-map-r9mregkx.js → wellknown-r9mregkx.js} +2 -2
- package/dist/chunks/wellknown-rap9a73h.js +18 -0
- package/dist/chunks/{location-service-map-6dx65yeb.js → wellknown-rf98ft5w.js} +26 -26
- package/dist/chunks/{location-service-map-m5fngzpq.js → wellknown-rh2esky4.js} +8 -8
- package/dist/chunks/{location-service-map-69n8xdtn.js → wellknown-rkmq0ftz.js} +11 -11
- package/dist/chunks/{location-service-map-y69efcjs.js → wellknown-rmt0nbj5.js} +7 -7
- package/dist/chunks/{location-service-map-x5q94vyh.js → wellknown-rq2kkvr3.js} +10 -10
- package/dist/chunks/{location-service-map-mj8fwc3d.js → wellknown-rvsy3236.js} +11 -11
- package/dist/chunks/{location-service-map-cgx8xbea.js → wellknown-rwregw7w.js} +9 -9
- package/dist/chunks/{location-service-map-kbs1aahx.js → wellknown-rz7nw9vv.js} +9 -9
- package/dist/chunks/{location-service-map-khe0ck07.js → wellknown-rzkmpk7g.js} +59 -59
- package/dist/chunks/{location-service-map-3akcamr7.js → wellknown-s47e1ezx.js} +13 -13
- package/dist/chunks/{location-service-map-d179fsvm.js → wellknown-scrkxf2r.js} +6 -6
- package/dist/chunks/{location-service-map-mt3cqa28.js → wellknown-sry1band.js} +6 -6
- package/dist/chunks/{location-service-map-nhh51nsc.js → wellknown-sxg9z5jp.js} +9 -9
- package/dist/chunks/{location-service-map-fb10msaw.js → wellknown-sz6k00j1.js} +14 -14
- package/dist/chunks/{location-service-map-6y0d5afz.js → wellknown-t0fq93h8.js} +11 -11
- package/dist/chunks/{location-service-map-pdw53y9t.js → wellknown-t7hf8wx6.js} +3 -3
- package/dist/chunks/{location-service-map-dfe8djrf.js → wellknown-t9zs3egg.js} +4 -4
- package/dist/chunks/{location-service-map-tazgh4e4.js → wellknown-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-89znhe33.js → wellknown-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-service-map-tdstcens.js → wellknown-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-mwwyvqv7.js → wellknown-tfqpcp74.js} +9 -9
- package/dist/chunks/{location-service-map-hr2hej14.js → wellknown-tk7tn7wd.js} +1 -1
- package/dist/chunks/{location-service-map-gy0jmpxz.js → wellknown-tmt7y050.js} +12 -12
- package/dist/chunks/{location-service-map-1ymkxv6h.js → wellknown-tpej6hf6.js} +8 -8
- package/dist/chunks/{location-service-map-tvtrv512.js → wellknown-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-5kptn8c0.js → wellknown-twy35tz0.js} +9 -9
- package/dist/chunks/{location-service-map-nv5vn7qx.js → wellknown-tx9qvpbt.js} +6 -6
- package/dist/chunks/{location-service-map-m3ag11cw.js → wellknown-txh28jzs.js} +8 -8
- package/dist/chunks/{location-service-map-sxz6gkc3.js → wellknown-v5dkyp31.js} +7 -7
- package/dist/chunks/{location-service-map-06gpygqg.js → wellknown-v67r9x2e.js} +13 -13
- package/dist/chunks/{location-service-map-wqgma00c.js → wellknown-v6mp902x.js} +16 -16
- package/dist/chunks/{location-service-map-fq5bk62p.js → wellknown-vavy50n7.js} +20 -20
- package/dist/chunks/{location-service-map-veqvce7d.js → wellknown-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-r8ca47sa.js → wellknown-vf49pxf8.js} +22 -22
- package/dist/chunks/{location-service-map-6c21bb6b.js → wellknown-vfnexndp.js} +6 -6
- package/dist/chunks/{location-service-map-ny1q4n4h.js → wellknown-vg4z5xy3.js} +11 -11
- package/dist/chunks/{location-service-map-ena2w3sd.js → wellknown-vkyg9h5q.js} +22 -22
- package/dist/chunks/{location-service-map-ypsy3c9r.js → wellknown-vt6mrpr2.js} +1 -1
- package/dist/chunks/{location-service-map-n0n3a2mm.js → wellknown-vxbt1qyf.js} +11 -11
- package/dist/chunks/{location-service-map-5856cxm0.js → wellknown-vxq3cchq.js} +6 -6
- package/dist/chunks/{location-service-map-vzcthcp8.js → wellknown-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-d13sq33w.js → wellknown-vzzkf86k.js} +24 -24
- package/dist/chunks/{location-service-map-w3wsvvr9.js → wellknown-w3wsvvr9.js} +1 -1
- package/dist/chunks/wellknown-w6rm0z24.js +247 -0
- package/dist/chunks/{location-service-map-egh95f4v.js → wellknown-w73e06md.js} +4 -4
- package/dist/chunks/{location-service-map-0fn2v7vk.js → wellknown-wc1gtajg.js} +8 -8
- package/dist/chunks/{location-service-map-wd87259q.js → wellknown-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-0h101say.js → wellknown-wfq7e0xr.js} +20 -20
- package/dist/chunks/{location-service-map-77ajqfnj.js → wellknown-wtdkn21q.js} +5 -5
- package/dist/chunks/{location-service-map-zv63k8dm.js → wellknown-wtq9ytdv.js} +14 -14
- package/dist/chunks/{location-service-map-x1ezjp6w.js → wellknown-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-6bnnszxt.js → wellknown-x569bdqa.js} +1 -1
- package/dist/chunks/{location-service-map-k3k5htd9.js → wellknown-xb19yntf.js} +25 -25
- package/dist/chunks/{location-service-map-xekzrwwc.js → wellknown-xekzrwwc.js} +2 -2
- package/dist/chunks/{location-service-map-3pv0scen.js → wellknown-xg9t41r3.js} +2 -2
- package/dist/chunks/{location-service-map-70v21819.js → wellknown-xjgyf5pt.js} +24 -24
- package/dist/chunks/{location-service-map-2vvh0fzx.js → wellknown-xjw8t61g.js} +33 -33
- package/dist/chunks/{location-service-map-38w856qy.js → wellknown-xk2mzpsa.js} +21 -21
- package/dist/chunks/{location-service-map-rs89xbka.js → wellknown-y0teaw91.js} +13 -13
- package/dist/chunks/{location-service-map-y1fvbwt7.js → wellknown-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-4wf6pcr0.js → wellknown-y6a1dekx.js} +1 -1
- package/dist/chunks/{location-service-map-56x76t5c.js → wellknown-y94c40zx.js} +16 -16
- package/dist/chunks/{location-service-map-ht2pk859.js → wellknown-y9hpkwc1.js} +7 -7
- package/dist/chunks/{location-service-map-4ze8gy6s.js → wellknown-yerdpya6.js} +16 -16
- package/dist/chunks/{location-service-map-vw5kj2be.js → wellknown-ygc9jv0b.js} +2 -2
- package/dist/chunks/{location-service-map-fqaky83x.js → wellknown-ypgtt1w2.js} +34 -34
- package/dist/chunks/{location-service-map-yrhqyw5v.js → wellknown-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-s4enseaf.js → wellknown-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-babm6nrx.js → wellknown-ywq6n3vy.js} +61 -61
- package/dist/chunks/{location-service-map-z0bkrqjs.js → wellknown-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-29x78va6.js → wellknown-z63w68vq.js} +6 -6
- package/dist/chunks/{location-service-map-0z1ctyg4.js → wellknown-z6brc79e.js} +10 -10
- package/dist/chunks/{location-service-map-zeh9ct20.js → wellknown-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-3ythc6yv.js → wellknown-zj09a0ew.js} +4 -4
- package/dist/chunks/{location-service-map-zr2ceqn5.js → wellknown-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-aecpnnmk.js → wellknown-zr6mpnsb.js} +6 -6
- package/dist/chunks/{location-service-map-43gxnd7g.js → wellknown-zsjem71r.js} +22 -22
- package/dist/chunks/{location-service-map-e0s1jcaa.js → wellknown-zvt5ka0t.js} +32 -32
- package/dist/chunks/{location-service-map-zxq2ej10.js → wellknown-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- 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/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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- 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 +360 -360
- 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 +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +84 -84
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +351 -351
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +124 -124
- 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 +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- 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 +325 -325
- 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 +4 -4
- 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 +81 -81
- 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 +71 -71
- 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 +340 -340
- package/dist/plugin/update.js +2 -2
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +90 -90
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +149 -149
- package/dist/session/diff.js +85 -85
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +90 -90
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +115 -115
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +128 -128
- 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 +5 -5
- 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 +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +135 -135
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +119 -119
- 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 +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +94 -94
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- 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 +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +4 -4
- 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/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 +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- 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 +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/location-service-map-4547fqdb.js +0 -462
- package/dist/chunks/location-service-map-ada1n15j.js +0 -247
- package/dist/chunks/location-service-map-gyce5qg1.js +0 -18
- package/dist/chunks/location-service-map-qapv375x.js +0 -4
- package/dist/chunks/location-service-map-vqc086n1.js +0 -26
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → wellknown-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → wellknown-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → wellknown-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → wellknown-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → wellknown-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → wellknown-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → wellknown-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → wellknown-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → wellknown-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → wellknown-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → wellknown-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → wellknown-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → wellknown-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → wellknown-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → wellknown-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → wellknown-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → wellknown-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → wellknown-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → wellknown-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → wellknown-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → wellknown-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → wellknown-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → wellknown-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → wellknown-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → wellknown-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → wellknown-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → wellknown-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → wellknown-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → wellknown-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → wellknown-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → wellknown-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → wellknown-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → wellknown-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → wellknown-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → wellknown-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → wellknown-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → wellknown-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → wellknown-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → wellknown-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → wellknown-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → wellknown-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → wellknown-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → wellknown-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → wellknown-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → wellknown-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → wellknown-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → wellknown-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → wellknown-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → wellknown-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → wellknown-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → wellknown-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → wellknown-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → wellknown-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → wellknown-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → wellknown-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → wellknown-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → wellknown-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → wellknown-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → wellknown-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → wellknown-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → wellknown-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → wellknown-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → wellknown-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → wellknown-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → wellknown-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → wellknown-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → wellknown-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → wellknown-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → wellknown-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → wellknown-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → wellknown-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → wellknown-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → wellknown-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → wellknown-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → wellknown-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → wellknown-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → wellknown-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → wellknown-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → wellknown-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → wellknown-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → wellknown-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → wellknown-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → wellknown-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → wellknown-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → wellknown-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → wellknown-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → wellknown-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → wellknown-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → wellknown-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → wellknown-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → wellknown-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → wellknown-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./wellknown-d60v85tc.js";
|
|
8
8
|
import {
|
|
9
9
|
Service78,
|
|
10
10
|
node83
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-w73e06md.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service79,
|
|
14
|
+
node84
|
|
15
|
+
} from "./wellknown-2erey2nk.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./wellknown-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service79;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service78;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
251
251
|
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));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node83, node85, FSUtil.node,
|
|
279
|
+
deps: [node83, node85, FSUtil.node, node84, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service77, node82, exports_project };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./wellknown-eaj1djv9.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./wellknown-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
3
|
node83
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-w73e06md.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key3,
|
|
7
|
+
Service69,
|
|
8
|
+
node74
|
|
9
|
+
} from "./wellknown-nw0178xm.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./wellknown-vzzkf86k.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
33
|
+
Event: () => Event15,
|
|
34
|
+
ID: () => ID9,
|
|
35
35
|
Info: () => Info23,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
|
-
Ref: () =>
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
41
|
+
Ref: () => Ref3,
|
|
42
|
+
Service: () => Service67,
|
|
43
|
+
node: () => node72
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/integration";
|
|
65
|
+
var ID9 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -85,15 +85,15 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
85
85
|
cause: Schema.Defect()
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Ref3 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service67 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service69;
|
|
97
97
|
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service67.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node72 = makeLocationNode({
|
|
569
|
+
service: Service67,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node74, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID9, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info23, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref3, Service67, node72, exports_integration, Event15 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./wellknown-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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service68
|
|
3
|
+
} from "./wellknown-vzzkf86k.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./wellknown-ywq6n3vy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID7,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
13
|
Service53
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./wellknown-kwfvtv90.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input4,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name4
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name4 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input4 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
|
-
provider:
|
|
46
|
+
provider: ID7,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin36 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
52
|
+
const permission = yield* Service71;
|
|
53
|
+
const forms = yield* Service68;
|
|
54
54
|
const websearch = yield* Service53;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name4,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input4,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name4,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,9 +176,9 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name4];
|
|
180
180
|
}));
|
|
181
181
|
})
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name4, NO_RESULTS2, description3, Input4, Plugin36, exports_websearch2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./wellknown-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service76
|
|
6
|
+
} from "./wellknown-r61k027t.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./wellknown-h4yhaw2e.js";
|
|
10
10
|
import {
|
|
11
11
|
Service11
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./wellknown-n2t4r3gh.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./wellknown-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -24,25 +24,25 @@ import {
|
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
26
|
Service12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./wellknown-t0fq93h8.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./wellknown-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input5,
|
|
36
|
+
Plugin: () => Plugin38,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name5,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name5 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input5 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin38 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
61
|
const reader = yield* Service12;
|
|
62
|
-
const access = yield*
|
|
62
|
+
const access = yield* Service56;
|
|
63
63
|
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name5,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input5,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin41 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name5, Input5, Plugin38, toModelContent3, exports_read };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./wellknown-614nn5w1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service42
|
|
7
|
+
} from "./wellknown-40kjh9zt.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./wellknown-9j4e7e8q.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service42;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
catalog.model.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID8.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make5(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|