@opencode/core 0.0.0-dev-19562 → 0.0.0-dev-19564
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 +82 -82
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{model-resolver-m1n5w1f6.js → location-mutation-002t2knz.js} +10 -10
- package/dist/chunks/{model-resolver-w39ek3wx.js → location-mutation-09nsett5.js} +19 -19
- package/dist/chunks/{model-resolver-kbhm0m0a.js → location-mutation-0cj6ty0b.js} +18 -18
- package/dist/chunks/{model-resolver-24p1656x.js → location-mutation-0fs3kyg5.js} +21 -21
- package/dist/chunks/{model-resolver-gapn44fz.js → location-mutation-0m5s60pw.js} +25 -25
- package/dist/chunks/{model-resolver-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-h9h2cf90.js → location-mutation-0r8s4ygg.js} +10 -10
- package/dist/chunks/{model-resolver-qbybakcq.js → location-mutation-0vh7wtpp.js} +40 -40
- package/dist/chunks/{model-resolver-r01t9b5y.js → location-mutation-0w62qmxp.js} +4 -4
- package/dist/chunks/{model-resolver-8as59qyc.js → location-mutation-155tpmtv.js} +12 -12
- package/dist/chunks/{model-resolver-ajpf6mah.js → location-mutation-1a3hsqby.js} +6 -6
- package/dist/chunks/{model-resolver-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-2rwb14mb.js → location-mutation-1dxc6w5e.js} +2 -2
- package/dist/chunks/{model-resolver-ehav94k5.js → location-mutation-1gbd2vd1.js} +19 -19
- package/dist/chunks/{model-resolver-d9hjbqwg.js → location-mutation-1gdg00yg.js} +7 -7
- package/dist/chunks/location-mutation-1j3gmg45.js +26 -0
- package/dist/chunks/{model-resolver-ph0q5yay.js → location-mutation-1xwjzdvm.js} +6 -6
- package/dist/chunks/{model-resolver-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-mfhfdr54.js → location-mutation-22m95qs7.js} +4 -4
- package/dist/chunks/{model-resolver-gfraf4kn.js → location-mutation-23p1tfef.js} +30 -30
- package/dist/chunks/{model-resolver-2402vzrj.js → location-mutation-2402vzrj.js} +1 -1
- package/dist/chunks/{model-resolver-z63w68vq.js → location-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{model-resolver-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-9ynvy50g.js → location-mutation-2c6z0znx.js} +18 -18
- package/dist/chunks/{model-resolver-5cneagdz.js → location-mutation-2dnw6675.js} +18 -18
- package/dist/chunks/{model-resolver-0jwsre1p.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{model-resolver-gea7vc3h.js → location-mutation-2ve45fd6.js} +5 -5
- package/dist/chunks/{model-resolver-8cj6vp2e.js → location-mutation-2weqeydf.js} +11 -11
- package/dist/chunks/{model-resolver-dhtkj142.js → location-mutation-2xzhcth1.js} +10 -10
- package/dist/chunks/{model-resolver-yz1rwmdd.js → location-mutation-31q0a33n.js} +16 -16
- package/dist/chunks/{model-resolver-mp0nztn2.js → location-mutation-32860tzt.js} +16 -16
- package/dist/chunks/{model-resolver-vzm76b3t.js → location-mutation-3c1tgrea.js} +6 -6
- package/dist/chunks/{model-resolver-f2b3pcdc.js → location-mutation-3dbc59q6.js} +43 -43
- package/dist/chunks/{model-resolver-gdvy8fx6.js → location-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{model-resolver-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-7z0etnq8.js → location-mutation-3ktmg79z.js} +9 -9
- package/dist/chunks/{model-resolver-pjsmk15p.js → location-mutation-3n3mkc0a.js} +15 -15
- package/dist/chunks/{model-resolver-nfx74p92.js → location-mutation-3nqb3pr0.js} +6 -6
- package/dist/chunks/{model-resolver-nvbchq6z.js → location-mutation-3qwwmjvv.js} +14 -14
- package/dist/chunks/{model-resolver-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3a0pq44c.js → location-mutation-3v55e3wy.js} +11 -11
- package/dist/chunks/{model-resolver-ah1s8aaq.js → location-mutation-3w5k6gvs.js} +99 -99
- package/dist/chunks/{model-resolver-3f15rfkp.js → location-mutation-3z3b7hny.js} +9 -9
- package/dist/chunks/{model-resolver-4cfrandj.js → location-mutation-40dnmwzh.js} +62 -62
- package/dist/chunks/{model-resolver-x60p6768.js → location-mutation-40v84sj9.js} +32 -32
- package/dist/chunks/{model-resolver-jz0gg2wa.js → location-mutation-42g1c063.js} +13 -13
- package/dist/chunks/{model-resolver-b9dtzdzx.js → location-mutation-45mzvrpj.js} +15 -15
- package/dist/chunks/{model-resolver-zwqxr9ac.js → location-mutation-461gn80r.js} +9 -9
- package/dist/chunks/{model-resolver-ssg4d1r7.js → location-mutation-470e2dhw.js} +23 -23
- package/dist/chunks/{model-resolver-84r56gr5.js → location-mutation-4786se8r.js} +1 -1
- package/dist/chunks/{model-resolver-eq724rxw.js → location-mutation-4e4x7r7e.js} +29 -29
- package/dist/chunks/{model-resolver-qvb3nf84.js → location-mutation-4e7426jc.js} +8 -8
- package/dist/chunks/{model-resolver-472r768p.js → location-mutation-4gdbehx0.js} +3 -3
- package/dist/chunks/{model-resolver-xzqvznr8.js → location-mutation-4y8mn7kc.js} +22 -22
- package/dist/chunks/{model-resolver-eq6j5b08.js → location-mutation-56yb8k9y.js} +43 -43
- package/dist/chunks/{model-resolver-ck5d9zpy.js → location-mutation-5797ytnh.js} +10 -10
- package/dist/chunks/{model-resolver-wc561s8t.js → location-mutation-5bsh4yae.js} +13 -13
- package/dist/chunks/{model-resolver-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{model-resolver-ec8389mk.js → location-mutation-5d5383gp.js} +4 -4
- package/dist/chunks/{model-resolver-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-49sc2kz0.js → location-mutation-5ftfpzwn.js} +9 -9
- package/dist/chunks/{model-resolver-00n9sm3e.js → location-mutation-5qn0g44r.js} +11 -11
- package/dist/chunks/{model-resolver-2ps3j6a4.js → location-mutation-5rbfmx4w.js} +29 -29
- package/dist/chunks/{model-resolver-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-dgj0dq1g.js → location-mutation-5xtgfte3.js} +8 -8
- package/dist/chunks/{model-resolver-ddj422qv.js → location-mutation-61bd1sp4.js} +18 -18
- package/dist/chunks/{model-resolver-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-twy35tz0.js → location-mutation-6d9mz4vp.js} +8 -8
- package/dist/chunks/{model-resolver-yef4v0b4.js → location-mutation-6gny55sm.js} +55 -84
- package/dist/chunks/{model-resolver-hxnmyzpz.js → location-mutation-6kh673ej.js} +22 -22
- package/dist/chunks/{model-resolver-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-j699j8bt.js → location-mutation-6tsg30fm.js} +2 -2
- package/dist/chunks/{model-resolver-97c56c16.js → location-mutation-6z7pdagf.js} +30 -30
- package/dist/chunks/{model-resolver-sn15zvqk.js → location-mutation-6z9fsyfc.js} +17 -17
- package/dist/chunks/{model-resolver-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{model-resolver-pk2244jm.js → location-mutation-721tb84k.js} +3 -3
- package/dist/chunks/{model-resolver-vqv17xr0.js → location-mutation-756ebc25.js} +23 -23
- package/dist/chunks/{model-resolver-7yhtqe52.js → location-mutation-79sek60j.js} +6 -6
- package/dist/chunks/{model-resolver-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-r4w7q595.js → location-mutation-7c7hzhbc.js} +4 -4
- package/dist/chunks/{model-resolver-baajpyvs.js → location-mutation-7rreentk.js} +30 -30
- package/dist/chunks/{model-resolver-2d57kztd.js → location-mutation-7yqjxrmz.js} +6 -6
- package/dist/chunks/{model-resolver-mqz2skd6.js → location-mutation-7zvmg7rn.js} +22 -22
- package/dist/chunks/{model-resolver-c7ssnmaj.js → location-mutation-80n8qn88.js} +2 -2
- package/dist/chunks/{model-resolver-r8mwk7t1.js → location-mutation-81b6h368.js} +32 -32
- package/dist/chunks/{model-resolver-y1xkgxqn.js → location-mutation-830a973a.js} +6 -6
- package/dist/chunks/{model-resolver-9anxe710.js → location-mutation-8a0b7fze.js} +4 -4
- package/dist/chunks/{model-resolver-dj4cd8g6.js → location-mutation-8bq9and0.js} +42 -42
- package/dist/chunks/{model-resolver-jcabrnmj.js → location-mutation-8bxqq8qq.js} +20 -20
- package/dist/chunks/{model-resolver-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-14fxtwre.js → location-mutation-8ddz1vt2.js} +60 -60
- package/dist/chunks/{model-resolver-2jb6wffc.js → location-mutation-8fpjdh7x.js} +32 -32
- package/dist/chunks/{model-resolver-bw3m288y.js → location-mutation-8ympxaqs.js} +47 -47
- package/dist/chunks/{model-resolver-y8104vkb.js → location-mutation-91defnq2.js} +5 -5
- package/dist/chunks/{model-resolver-xh8yz4jf.js → location-mutation-95ex4w9n.js} +11 -11
- package/dist/chunks/{model-resolver-nrk5vjbf.js → location-mutation-96te9d4b.js} +5 -5
- package/dist/chunks/{model-resolver-76wy3d38.js → location-mutation-9910m0jv.js} +35 -35
- package/dist/chunks/{model-resolver-5907cmhj.js → location-mutation-9d8v8ke2.js} +8 -8
- package/dist/chunks/{model-resolver-61rt74dg.js → location-mutation-9kqeqy6k.js} +8 -8
- package/dist/chunks/location-mutation-9qs3tcsp.js +466 -0
- package/dist/chunks/{model-resolver-fc7q7xy2.js → location-mutation-a2pn1a9k.js} +30 -30
- package/dist/chunks/{model-resolver-ze55z754.js → location-mutation-a626x82j.js} +10 -10
- package/dist/chunks/{model-resolver-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-jb1x2pah.js → location-mutation-ag6km62t.js} +25 -25
- package/dist/chunks/{model-resolver-t2fc4mz5.js → location-mutation-at5d07az.js} +4 -4
- package/dist/chunks/{model-resolver-nv8khyte.js → location-mutation-avbgj43b.js} +9 -9
- package/dist/chunks/{model-resolver-s8zy8myc.js → location-mutation-avm8jn6n.js} +5 -5
- package/dist/chunks/{model-resolver-5pqk165g.js → location-mutation-axqcdv2d.js} +9 -9
- package/dist/chunks/{model-resolver-sna6xqnk.js → location-mutation-azkjskpr.js} +29 -29
- package/dist/chunks/{model-resolver-egap6qp7.js → location-mutation-b189wbnb.js} +21 -21
- package/dist/chunks/{model-resolver-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-aawxrc71.js → location-mutation-b8q51j9a.js} +8 -8
- package/dist/chunks/{model-resolver-9gh4k6y6.js → location-mutation-bh95vxve.js} +5 -5
- package/dist/chunks/{model-resolver-94jd98dy.js → location-mutation-bxv7jnj4.js} +11 -11
- package/dist/chunks/{model-resolver-6q8410ef.js → location-mutation-by5prp7a.js} +13 -13
- package/dist/chunks/{model-resolver-9xpp069q.js → location-mutation-c2czmzrr.js} +22 -22
- package/dist/chunks/{model-resolver-9qc5egqb.js → location-mutation-cen4xjmh.js} +9 -9
- package/dist/chunks/{model-resolver-8ra0ktpd.js → location-mutation-ctkv6efh.js} +1 -1
- package/dist/chunks/{model-resolver-hk2b1w8q.js → location-mutation-cx72pxrk.js} +90 -90
- package/dist/chunks/{model-resolver-yqtqx2tb.js → location-mutation-cza9j1er.js} +1 -1
- package/dist/chunks/{model-resolver-y7pd6vgd.js → location-mutation-d97067kg.js} +20 -20
- package/dist/chunks/{model-resolver-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{model-resolver-4j4p0yst.js → location-mutation-drknmmyh.js} +9 -9
- package/dist/chunks/{model-resolver-yrz8q0k0.js → location-mutation-dw1fjyb0.js} +5 -5
- package/dist/chunks/{model-resolver-s6y5cb61.js → location-mutation-dz5pbebx.js} +32 -32
- package/dist/chunks/{model-resolver-rxjvbk8n.js → location-mutation-e17bkqjz.js} +1 -1
- package/dist/chunks/{model-resolver-e5nv3ght.js → location-mutation-e5nv3ght.js} +2 -2
- package/dist/chunks/{model-resolver-vywwb7xw.js → location-mutation-ea8nv0r7.js} +2 -2
- package/dist/chunks/{model-resolver-rhjbct0v.js → location-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-s04evagd.js → location-mutation-ebq30a0s.js} +18 -18
- package/dist/chunks/{model-resolver-m3e6h5hy.js → location-mutation-eck8tbm6.js} +15 -15
- package/dist/chunks/{model-resolver-pmqmstmj.js → location-mutation-eqhfcyge.js} +24 -24
- package/dist/chunks/{model-resolver-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-8jnsm5sz.js → location-mutation-evg5mjek.js} +4 -4
- package/dist/chunks/{model-resolver-drq8acbn.js → location-mutation-f8n871vd.js} +26 -26
- package/dist/chunks/{model-resolver-13ggeyh8.js → location-mutation-fg7rbsd2.js} +11 -11
- package/dist/chunks/{model-resolver-t0fxg8b9.js → location-mutation-fpmq6gma.js} +5 -5
- package/dist/chunks/{model-resolver-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-xg954myy.js → location-mutation-g14zqp48.js} +4 -4
- package/dist/chunks/{model-resolver-kpcpvznn.js → location-mutation-g6daz9wc.js} +25 -25
- package/dist/chunks/{model-resolver-rj1enhmn.js → location-mutation-g7e74qdq.js} +72 -72
- package/dist/chunks/{model-resolver-7srvnxx8.js → location-mutation-gb4t7546.js} +4 -4
- package/dist/chunks/{model-resolver-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-4hdjqv5n.js → location-mutation-ged9323g.js} +23 -23
- package/dist/chunks/{model-resolver-5d9hgq6a.js → location-mutation-gfdhz5ky.js} +32 -32
- package/dist/chunks/location-mutation-gj0jgfzh.js +247 -0
- package/dist/chunks/{model-resolver-m1j7qv8x.js → location-mutation-gk0f8ry6.js} +27 -27
- package/dist/chunks/{model-resolver-dsavrnz6.js → location-mutation-gkdvs18m.js} +11 -11
- package/dist/chunks/{model-resolver-ptz3r4n8.js → location-mutation-gmrap60s.js} +49 -49
- package/dist/chunks/{model-resolver-cq37gk0t.js → location-mutation-gnx4ytbv.js} +4 -4
- package/dist/chunks/{model-resolver-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{model-resolver-qfw3ezrb.js → location-mutation-h15s1ggr.js} +22 -22
- package/dist/chunks/{model-resolver-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-v4gzsxzt.js → location-mutation-havqpvtm.js} +176 -176
- package/dist/chunks/{model-resolver-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{model-resolver-c20v218m.js → location-mutation-hdsh760p.js} +23 -23
- package/dist/chunks/{model-resolver-e82z9tr0.js → location-mutation-hjt4xg1x.js} +7 -7
- package/dist/chunks/{model-resolver-v7xck931.js → location-mutation-hm5k8eah.js} +10 -10
- package/dist/chunks/{model-resolver-ctmr8zqa.js → location-mutation-hn57h045.js} +4 -4
- package/dist/chunks/{model-resolver-b21wsm0h.js → location-mutation-hqkqhxar.js} +14 -14
- package/dist/chunks/{model-resolver-1bbkgx8g.js → location-mutation-j028xdjb.js} +3 -3
- package/dist/chunks/{model-resolver-7qpx1xb8.js → location-mutation-j12av41v.js} +46 -46
- package/dist/chunks/{model-resolver-kdqbr4kj.js → location-mutation-j32h6ccb.js} +5 -5
- package/dist/chunks/{model-resolver-mcrwpmnc.js → location-mutation-j4wvd8nr.js} +5 -5
- package/dist/chunks/{model-resolver-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-pp4zvqwf.js → location-mutation-j872qyn8.js} +6 -6
- package/dist/chunks/{model-resolver-paphc93g.js → location-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{model-resolver-fff2ww6r.js → location-mutation-jb6dyfep.js} +22 -22
- package/dist/chunks/{model-resolver-xxj3pgp3.js → location-mutation-jeanpfns.js} +1 -1
- package/dist/chunks/{model-resolver-ps320bc5.js → location-mutation-jmrdwkcs.js} +8 -8
- package/dist/chunks/location-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{model-resolver-bh23canw.js → location-mutation-jtht6z7a.js} +10 -10
- package/dist/chunks/{model-resolver-sse3cj1p.js → location-mutation-ka1skk0q.js} +11 -11
- package/dist/chunks/{model-resolver-wtzjvpyk.js → location-mutation-kc69rtta.js} +13 -13
- package/dist/chunks/{model-resolver-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{model-resolver-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{model-resolver-xekzrwwc.js → location-mutation-m2d0j7c0.js} +5 -5
- package/dist/chunks/{model-resolver-ae2xf8y7.js → location-mutation-m44xxmhq.js} +35 -35
- package/dist/chunks/{model-resolver-cdqcdd4q.js → location-mutation-m7y3f53v.js} +4 -4
- package/dist/chunks/{model-resolver-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-b4ymjb7p.js → location-mutation-mfgwze5t.js} +35 -35
- package/dist/chunks/{model-resolver-56gdpj1q.js → location-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{model-resolver-hwt2n11x.js → location-mutation-mpadvkka.js} +28 -28
- package/dist/chunks/{model-resolver-t67bqcnn.js → location-mutation-mxhkxpa6.js} +8 -8
- package/dist/chunks/{model-resolver-zxrxjv84.js → location-mutation-nca7p386.js} +9 -9
- package/dist/chunks/{model-resolver-agnae2h9.js → location-mutation-nd3j4h6h.js} +15 -15
- package/dist/chunks/{model-resolver-00e8a32v.js → location-mutation-nha3eq47.js} +7 -7
- package/dist/chunks/{model-resolver-j8egexsa.js → location-mutation-njsny4x2.js} +4 -4
- package/dist/chunks/{model-resolver-5w049mzn.js → location-mutation-nw7hjf1f.js} +17 -17
- package/dist/chunks/{model-resolver-fbwxg4d7.js → location-mutation-nza8psrb.js} +30 -30
- package/dist/chunks/{model-resolver-s4vvta73.js → location-mutation-p0hpbrjm.js} +11 -11
- package/dist/chunks/{model-resolver-e6qnhjcz.js → location-mutation-p1q7pebv.js} +20 -20
- package/dist/chunks/{model-resolver-3adkf2hq.js → location-mutation-p3axd9rw.js} +26 -26
- package/dist/chunks/{model-resolver-d9mtv62x.js → location-mutation-p43178kr.js} +30 -30
- package/dist/chunks/{model-resolver-g1amre2a.js → location-mutation-p9zpeys6.js} +20 -20
- package/dist/chunks/{model-resolver-ztye28yt.js → location-mutation-pfvv90k2.js} +13 -13
- package/dist/chunks/{model-resolver-gh1at4hc.js → location-mutation-pgjngt2x.js} +13 -13
- package/dist/chunks/{model-resolver-rk0rec3h.js → location-mutation-pjmw00w1.js} +9 -9
- package/dist/chunks/{model-resolver-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-r0jzbrht.js → location-mutation-prktd40w.js} +19 -19
- package/dist/chunks/{model-resolver-mx83bqr4.js → location-mutation-ptdkvqj8.js} +9 -9
- package/dist/chunks/{model-resolver-k5z1e6p1.js → location-mutation-q0cff0df.js} +7 -7
- package/dist/chunks/{model-resolver-8nk5pr3x.js → location-mutation-q2f8db2z.js} +4 -4
- package/dist/chunks/{model-resolver-50spkatp.js → location-mutation-q99ra9zv.js} +1 -1
- package/dist/chunks/location-mutation-qapv375x.js +4 -0
- package/dist/chunks/{model-resolver-7kzjj59j.js → location-mutation-qcanms4y.js} +6 -6
- package/dist/chunks/{model-resolver-0mqwdcna.js → location-mutation-qk5wb864.js} +26 -26
- package/dist/chunks/{model-resolver-p0ydpdje.js → location-mutation-qmy7xtej.js} +1 -1
- package/dist/chunks/{model-resolver-stz44jcx.js → location-mutation-qqrzp26h.js} +24 -24
- package/dist/chunks/{model-resolver-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-7gwa0hgg.js → location-mutation-qzngwt2w.js} +12 -12
- package/dist/chunks/{model-resolver-0v53mg2y.js → location-mutation-r98e92ep.js} +4 -4
- package/dist/chunks/{model-resolver-b1k5mb32.js → location-mutation-r9d4hscn.js} +24 -24
- package/dist/chunks/{model-resolver-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{model-resolver-tknyxa64.js → location-mutation-rfmxnttp.js} +35 -35
- package/dist/chunks/{model-resolver-k43t2cp1.js → location-mutation-rjhg2a6b.js} +8 -8
- package/dist/chunks/{model-resolver-c2nzhxaj.js → location-mutation-rm0t6fxx.js} +11 -11
- package/dist/chunks/{model-resolver-my4mn6ec.js → location-mutation-rt60rjhz.js} +27 -27
- package/dist/chunks/{model-resolver-yrznvahk.js → location-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{model-resolver-rzyh5zbg.js → location-mutation-s846mwed.js} +14 -14
- package/dist/chunks/{model-resolver-ws3jmg0w.js → location-mutation-s9r3zx9c.js} +30 -30
- package/dist/chunks/{model-resolver-m60j7x9s.js → location-mutation-saszz0tm.js} +11 -11
- package/dist/chunks/{model-resolver-pvpa96jk.js → location-mutation-sj2m2bnv.js} +26 -26
- package/dist/chunks/{model-resolver-yecv7nm8.js → location-mutation-sjn6yd28.js} +11 -11
- package/dist/chunks/{model-resolver-dcf7e85t.js → location-mutation-ssns9qef.js} +6 -6
- package/dist/chunks/{model-resolver-kenhkcqf.js → location-mutation-st8zm3j0.js} +37 -37
- package/dist/chunks/{model-resolver-a10qfg7z.js → location-mutation-sv95vjkv.js} +11 -11
- package/dist/chunks/{model-resolver-3ccz5h33.js → location-mutation-svqx5t8q.js} +23 -23
- package/dist/chunks/{model-resolver-qff9k35d.js → location-mutation-t0c4ga77.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → location-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-pbky73a2.js → location-mutation-tgqjfyja.js} +3 -3
- package/dist/chunks/{model-resolver-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-1cn8af6j.js → location-mutation-tw5aca0f.js} +19 -19
- package/dist/chunks/{model-resolver-wvmhx4nb.js → location-mutation-tx9qvpbt.js} +4 -4
- package/dist/chunks/{model-resolver-4y9xcd5s.js → location-mutation-v8nxbcj1.js} +16 -16
- package/dist/chunks/{model-resolver-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-e6q3pz3t.js → location-mutation-vewqeqd1.js} +11 -11
- package/dist/chunks/{model-resolver-0r7yqxbf.js → location-mutation-vmq7ehpy.js} +5 -5
- package/dist/chunks/{model-resolver-prmjvc7r.js → location-mutation-vpt86awd.js} +12 -12
- package/dist/chunks/{model-resolver-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-8q68r2wm.js → location-mutation-w1vmy2yk.js} +41 -41
- package/dist/chunks/{model-resolver-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-390mr0wc.js → location-mutation-w6ktwb78.js} +3 -3
- package/dist/chunks/{model-resolver-tm5c6145.js → location-mutation-wctfcgtb.js} +6 -6
- package/dist/chunks/{model-resolver-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-h10s6dah.js → location-mutation-wh3mwy9y.js} +5 -5
- package/dist/chunks/{model-resolver-52vrzpkh.js → location-mutation-wk5z6jzv.js} +9 -9
- package/dist/chunks/{model-resolver-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-rrh3wayh.js → location-mutation-x2vke7v6.js} +28 -28
- package/dist/chunks/{model-resolver-1xzg4q7f.js → location-mutation-x353b1jt.js} +8 -8
- package/dist/chunks/{model-resolver-ba67t4eh.js → location-mutation-x9dbpt97.js} +16 -16
- package/dist/chunks/{model-resolver-4w79hth0.js → location-mutation-xb0fd5mw.js} +11 -11
- package/dist/chunks/{model-resolver-fke1fcjd.js → location-mutation-xeeebs9m.js} +4 -4
- package/dist/chunks/{model-resolver-jzz0khf2.js → location-mutation-xfw70qwk.js} +9 -9
- package/dist/chunks/{model-resolver-xwqaakv5.js → location-mutation-xp4jy0cy.js} +21 -21
- package/dist/chunks/{model-resolver-wht86vv7.js → location-mutation-xpqchpdr.js} +20 -20
- package/dist/chunks/{model-resolver-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-15abmk5b.js → location-mutation-y2rk8dp4.js} +24 -24
- package/dist/chunks/{model-resolver-r345bmqf.js → location-mutation-y30m186f.js} +10 -10
- package/dist/chunks/{model-resolver-y71avatq.js → location-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-xbwfmkd1.js → location-mutation-y8kyqmaw.js} +3 -3
- package/dist/chunks/{model-resolver-f2n192rq.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{model-resolver-ww2jdr25.js → location-mutation-ypa7vnhd.js} +17 -17
- package/dist/chunks/{model-resolver-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-xyrnn15f.js → location-mutation-ytxwmf2d.js} +47 -47
- package/dist/chunks/{model-resolver-tm80w73m.js → location-mutation-yvnshmpd.js} +17 -17
- package/dist/chunks/{model-resolver-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-mbk19yfb.js → location-mutation-zadsjct7.js} +20 -20
- package/dist/chunks/{model-resolver-3aa2qh1v.js → location-mutation-zecqrkk8.js} +13 -13
- package/dist/chunks/{model-resolver-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-f3ngv102.js → location-mutation-zepncfka.js} +21 -21
- package/dist/chunks/{model-resolver-z0xf8849.js → location-mutation-zjsss10y.js} +43 -43
- package/dist/chunks/{model-resolver-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-prw92f66.js → location-mutation-ztr79pxm.js} +18 -18
- package/dist/chunks/{model-resolver-ba05va59.js → location-mutation-zvzsvx7v.js} +30 -30
- package/dist/chunks/{model-resolver-j4h9n0kh.js → location-mutation-zx7qqg4g.js} +17 -17
- package/dist/chunks/{model-resolver-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- 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 +117 -117
- package/dist/config/plugin/command.js +210 -210
- 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 +119 -119
- package/dist/config/plugin/mcp.js +126 -126
- 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 +120 -120
- 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 +117 -117
- 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 +84 -84
- package/dist/database/database.js +69 -69
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.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 +78 -78
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +86 -86
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +88 -88
- 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 +73 -73
- 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 +4 -4
- package/dist/filesystem/location-watcher.js +224 -224
- 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 +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- 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 +84 -84
- package/dist/instructions/index.js +5 -5
- 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 +133 -133
- 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 +105 -105
- 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 +87 -87
- package/dist/model.js +4 -4
- package/dist/models-dev.js +83 -83
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- 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 +99 -99
- package/dist/plugin/command.js +96 -96
- 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 +7 -7
- 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 +345 -345
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- 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 +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 +89 -89
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +129 -129
- 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 +222 -222
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +87 -87
- 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 +94 -94
- package/dist/session/message-updater.js +2 -2
- 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 +123 -123
- 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 +74 -74
- package/dist/session/store.js +86 -86
- 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 +153 -153
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +221 -221
- 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 +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +84 -84
- 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 +114 -114
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +111 -111
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +105 -105
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +96 -96
- 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 +3 -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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- 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 +4 -4
- 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 +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +75 -75
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/refresh.js +344 -344
- 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 → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-mutation-31q0a33n.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-mutation-nw7hjf1f.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID3
|
|
11
|
+
} from "./location-mutation-qapv375x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service59,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node63
|
|
16
|
+
} from "./location-mutation-09nsett5.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput3,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event5,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info4,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service19,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node23
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event5 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info4 = Pty.Info;
|
|
45
45
|
var CreateInput3 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID3
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID3
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service19 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
61
|
-
const bus = yield*
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
60
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
61
|
+
const bus = yield* Service78;
|
|
62
|
+
const location = yield* Service74;
|
|
63
|
+
const shell = yield* Service59;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID3.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service19.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node23 = makeLocationNode({
|
|
274
|
+
service: Service19,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node83, node79, node63]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info4, CreateInput3, UpdateInput2, NotFoundError3, ExitedError2, Service19, node23, exports_pty, Event5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
9
|
var exports_mcp2 = {};
|
|
10
10
|
__export(exports_mcp2, {
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
12
|
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./location-mutation-8ddz1vt2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service60
|
|
10
|
+
} from "./location-mutation-x2vke7v6.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input10,
|
|
19
|
+
Output: () => Output7,
|
|
20
|
+
Plugin: () => Plugin44,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description4,
|
|
23
|
+
name: () => name10,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name10 = "skill";
|
|
30
|
+
var Input10 = Schema.Struct({
|
|
31
|
+
id: ID8.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output7 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description4 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin44 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service60;
|
|
51
|
+
const permission = yield* Service61;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name10,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description4,
|
|
56
|
+
input: Input10,
|
|
57
|
+
output: Output7,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name10,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin4 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name10, Input10, Output7, description4, toModelOutput2, Plugin44, exports_skill3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-mutation-31q0a33n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service13,
|
|
6
|
+
Event2
|
|
7
|
+
} from "./location-mutation-40v84sj9.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,8 +29,8 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
33
|
-
const bus = yield*
|
|
32
|
+
const modelsDev = yield* Service13;
|
|
33
|
+
const bus = yield* Service78;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
36
36
|
for (const provider of loaded.data) {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.tap((data) => Effect.sync(() => loaded.data = snapshots(data))), Effect.andThen(ctx.integration.reload()), Effect.andThen(ctx.catalog.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
})
|
|
71
71
|
});
|
|
72
72
|
function environmentNames(provider) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigFormatterV1: () =>
|
|
9
|
-
Entry: () =>
|
|
10
|
-
Info: () =>
|
|
6
|
+
var exports_formatter3 = {};
|
|
7
|
+
__export(exports_formatter3, {
|
|
8
|
+
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
+
Entry: () => Entry3,
|
|
10
|
+
Info: () => Info20
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry3 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var
|
|
19
|
+
var Info20 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry3, Info20, exports_formatter3 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-y30m186f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-mutation-31q0a33n.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-mutation-rfmxnttp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-dz5pbebx.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID16
|
|
17
|
+
} from "./location-mutation-g14zqp48.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9d8v8ke2.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID16.make("digitalocean");
|
|
30
|
+
var integrationID = ID6.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -115,7 +115,7 @@ var oauth = {
|
|
|
115
115
|
var DigitalOceanPlugin2 = define({
|
|
116
116
|
id: "opencode.provider.digitalocean",
|
|
117
117
|
effect: Effect.fn(function* (ctx) {
|
|
118
|
-
const bus = yield*
|
|
118
|
+
const bus = yield* Service78;
|
|
119
119
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
120
120
|
const loading = Semaphore.makeUnsafe(1);
|
|
121
121
|
const loaded = { routers: [] };
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-mutation-6gny55sm.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -93,4 +93,4 @@ var Plugin43 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin31, exports_warming };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-09nsett5.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service75,
|
|
3
|
+
node80
|
|
4
|
+
} from "./location-mutation-j12av41v.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
|
-
Ref: () =>
|
|
15
|
-
Service: () =>
|
|
14
|
+
Ref: () => Ref4,
|
|
15
|
+
Service: () => Service74,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node79,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service74 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node79 = LayerNode.unbound(Service74, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service74, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service75;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service74.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service74,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node80]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service74, node79, boundNode2, exports_location };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service74
|
|
9
|
+
} from "./location-mutation-nw7hjf1f.js";
|
|
10
10
|
import {
|
|
11
11
|
Service67
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-sjn6yd28.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
15
|
Service66
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-xeeebs9m.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-8fpjdh7x.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./location-mutation-8ddz1vt2.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service54
|
|
29
|
+
} from "./location-mutation-2c6z0znx.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
|
+
Plugin: () => Plugin40,
|
|
41
|
+
name: () => name7,
|
|
42
42
|
toModelContent: () => toModelContent5
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name7 = "grep";
|
|
48
|
+
var Input7 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input8 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output5 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent5 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin40 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
89
|
const environment = yield* Service67;
|
|
90
90
|
const ripgrep = yield* Service66;
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
91
|
+
const location = yield* Service74;
|
|
92
|
+
const access = yield* Service54;
|
|
93
|
+
const permission = yield* Service61;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input7,
|
|
99
|
+
output: Output5,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name7,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin9 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -154,4 +154,4 @@ var Plugin9 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name7, Input7, Output5, toModelContent5, Plugin40, exports_grep };
|