@opencode/core 0.0.0-dev-19563 → 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 +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{rpc-mqqw7r41.js → location-mutation-002t2knz.js} +10 -10
- package/dist/chunks/{rpc-6wbdxn87.js → location-mutation-09nsett5.js} +19 -19
- package/dist/chunks/{rpc-x4az3p4k.js → location-mutation-0cj6ty0b.js} +18 -18
- package/dist/chunks/{rpc-1zjf9yvn.js → location-mutation-0fs3kyg5.js} +37 -37
- package/dist/chunks/{rpc-h2hjeshg.js → location-mutation-0m5s60pw.js} +28 -28
- package/dist/chunks/{rpc-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{rpc-t0nby5tn.js → location-mutation-0r8s4ygg.js} +13 -13
- package/dist/chunks/{rpc-k4ar8njc.js → location-mutation-0vh7wtpp.js} +38 -38
- package/dist/chunks/{rpc-4ns3h2re.js → location-mutation-0w62qmxp.js} +6 -6
- package/dist/chunks/{rpc-5x59cjg9.js → location-mutation-155tpmtv.js} +12 -12
- package/dist/chunks/{rpc-h2kayq98.js → location-mutation-1a3hsqby.js} +6 -6
- package/dist/chunks/{rpc-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-fe21mgs2.js → location-mutation-1dxc6w5e.js} +2 -2
- package/dist/chunks/{rpc-3h752403.js → location-mutation-1gbd2vd1.js} +19 -19
- package/dist/chunks/{rpc-w6393bmh.js → location-mutation-1gdg00yg.js} +7 -7
- package/dist/chunks/location-mutation-1j3gmg45.js +26 -0
- package/dist/chunks/{rpc-vbpsb3q0.js → location-mutation-1xwjzdvm.js} +6 -6
- package/dist/chunks/{rpc-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-81czwxpn.js → location-mutation-22m95qs7.js} +4 -4
- package/dist/chunks/{rpc-bqttd0y0.js → location-mutation-23p1tfef.js} +32 -32
- package/dist/chunks/{rpc-6h73sxmp.js → location-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{rpc-z63w68vq.js → location-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{rpc-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-v95aebz8.js → location-mutation-2c6z0znx.js} +18 -18
- package/dist/chunks/{rpc-919kr58w.js → location-mutation-2dnw6675.js} +18 -18
- package/dist/chunks/{rpc-607tc6va.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{rpc-500m5zw2.js → location-mutation-2ve45fd6.js} +5 -5
- package/dist/chunks/{rpc-w0r53wm9.js → location-mutation-2weqeydf.js} +11 -11
- package/dist/chunks/{rpc-fb3dn1g4.js → location-mutation-2xzhcth1.js} +10 -10
- package/dist/chunks/{rpc-dnz2amen.js → location-mutation-31q0a33n.js} +16 -16
- package/dist/chunks/{rpc-gbtk5xpy.js → location-mutation-32860tzt.js} +16 -16
- package/dist/chunks/{rpc-v8jfbz3g.js → location-mutation-3c1tgrea.js} +6 -6
- package/dist/chunks/{rpc-e7dhmq2r.js → location-mutation-3dbc59q6.js} +43 -43
- package/dist/chunks/{rpc-3fc6dm20.js → location-mutation-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-ep0qqy8y.js → location-mutation-3ktmg79z.js} +9 -9
- package/dist/chunks/{rpc-vkd6hz7d.js → location-mutation-3n3mkc0a.js} +13 -13
- package/dist/chunks/{rpc-qc9m528a.js → location-mutation-3nqb3pr0.js} +9 -9
- package/dist/chunks/{rpc-jyd6wsh8.js → location-mutation-3qwwmjvv.js} +14 -14
- package/dist/chunks/{rpc-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-hrb636hh.js → location-mutation-3v55e3wy.js} +11 -11
- package/dist/chunks/{rpc-pkcwckcb.js → location-mutation-3w5k6gvs.js} +96 -96
- package/dist/chunks/{rpc-egrr39fs.js → location-mutation-3z3b7hny.js} +9 -9
- package/dist/chunks/{rpc-njqd2r1p.js → location-mutation-40dnmwzh.js} +59 -59
- package/dist/chunks/{rpc-e4mg6za6.js → location-mutation-40v84sj9.js} +28 -28
- package/dist/chunks/{rpc-4gbc8xkz.js → location-mutation-42g1c063.js} +12 -12
- package/dist/chunks/{rpc-m5j6zs5f.js → location-mutation-45mzvrpj.js} +15 -15
- package/dist/chunks/{rpc-72cpxe3g.js → location-mutation-461gn80r.js} +9 -9
- package/dist/chunks/{rpc-zdmpy1w1.js → location-mutation-470e2dhw.js} +18 -18
- package/dist/chunks/{rpc-as02qwds.js → location-mutation-4786se8r.js} +1 -1
- package/dist/chunks/{rpc-jyes105x.js → location-mutation-4e4x7r7e.js} +29 -29
- package/dist/chunks/{rpc-3cwb9jzf.js → location-mutation-4e7426jc.js} +8 -8
- package/dist/chunks/{rpc-04mfqke3.js → location-mutation-4gdbehx0.js} +3 -3
- package/dist/chunks/{rpc-s3be4ryk.js → location-mutation-4y8mn7kc.js} +22 -22
- package/dist/chunks/{rpc-9vqpc88m.js → location-mutation-56yb8k9y.js} +43 -43
- package/dist/chunks/{rpc-rq0td61g.js → location-mutation-5797ytnh.js} +10 -10
- package/dist/chunks/{rpc-ekej3swh.js → location-mutation-5bsh4yae.js} +13 -13
- package/dist/chunks/{rpc-5c4hm403.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{rpc-7z7az0f5.js → location-mutation-5d5383gp.js} +4 -4
- package/dist/chunks/{rpc-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-f2kyhx0b.js → location-mutation-5ftfpzwn.js} +9 -9
- package/dist/chunks/{rpc-k9h47z0e.js → location-mutation-5qn0g44r.js} +11 -11
- package/dist/chunks/{rpc-x3ry4399.js → location-mutation-5rbfmx4w.js} +31 -31
- package/dist/chunks/{rpc-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-x3et2xth.js → location-mutation-5xtgfte3.js} +4 -4
- package/dist/chunks/{rpc-et9a5mt7.js → location-mutation-61bd1sp4.js} +26 -26
- package/dist/chunks/{rpc-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{rpc-hrvd6t1f.js → location-mutation-6d9mz4vp.js} +9 -9
- package/dist/chunks/{rpc-c0qvan2f.js → location-mutation-6gny55sm.js} +69 -50
- package/dist/chunks/{rpc-kvh0q0w5.js → location-mutation-6kh673ej.js} +29 -29
- package/dist/chunks/{rpc-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-5frpvc34.js → location-mutation-6tsg30fm.js} +2 -2
- package/dist/chunks/{rpc-zctxc6dq.js → location-mutation-6z7pdagf.js} +30 -30
- package/dist/chunks/{rpc-4aqwh667.js → location-mutation-6z9fsyfc.js} +20 -20
- package/dist/chunks/{rpc-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{rpc-8q7cq0y1.js → location-mutation-721tb84k.js} +3 -3
- package/dist/chunks/{rpc-c2z3ng5v.js → location-mutation-756ebc25.js} +20 -20
- package/dist/chunks/{rpc-phrpww5q.js → location-mutation-79sek60j.js} +6 -6
- package/dist/chunks/{rpc-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-b5xr9r4a.js → location-mutation-7c7hzhbc.js} +4 -4
- package/dist/chunks/{rpc-5za0zb7s.js → location-mutation-7rreentk.js} +30 -30
- package/dist/chunks/{rpc-15zevn5w.js → location-mutation-7yqjxrmz.js} +6 -6
- package/dist/chunks/{rpc-4hct64pd.js → location-mutation-7zvmg7rn.js} +24 -24
- package/dist/chunks/{rpc-vn9kcpf2.js → location-mutation-80n8qn88.js} +4 -4
- package/dist/chunks/{rpc-1js01x30.js → location-mutation-81b6h368.js} +32 -32
- package/dist/chunks/{rpc-b3wv5y56.js → location-mutation-830a973a.js} +6 -6
- package/dist/chunks/{rpc-jkttvqfz.js → location-mutation-8a0b7fze.js} +4 -4
- package/dist/chunks/{rpc-720ed7zc.js → location-mutation-8bq9and0.js} +43 -43
- package/dist/chunks/{rpc-wq9p3fvr.js → location-mutation-8bxqq8qq.js} +20 -20
- package/dist/chunks/{rpc-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-29ykcmqg.js → location-mutation-8ddz1vt2.js} +60 -60
- package/dist/chunks/{rpc-wtzvqa7t.js → location-mutation-8fpjdh7x.js} +32 -32
- package/dist/chunks/{rpc-286te107.js → location-mutation-8ympxaqs.js} +51 -51
- package/dist/chunks/{rpc-04rqewrt.js → location-mutation-91defnq2.js} +5 -5
- package/dist/chunks/{rpc-p4zt19y4.js → location-mutation-95ex4w9n.js} +11 -11
- package/dist/chunks/{rpc-8dff8bqa.js → location-mutation-96te9d4b.js} +5 -5
- package/dist/chunks/{rpc-e171vef2.js → location-mutation-9910m0jv.js} +33 -33
- package/dist/chunks/{rpc-yn742pxh.js → location-mutation-9d8v8ke2.js} +12 -12
- package/dist/chunks/{rpc-f04pyqpn.js → location-mutation-9kqeqy6k.js} +8 -8
- package/dist/chunks/location-mutation-9qs3tcsp.js +466 -0
- package/dist/chunks/{rpc-fhq59srp.js → location-mutation-a2pn1a9k.js} +30 -30
- package/dist/chunks/{rpc-s6q7j8c1.js → location-mutation-a626x82j.js} +10 -10
- package/dist/chunks/{rpc-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-mc7c43gw.js → location-mutation-ag6km62t.js} +28 -28
- package/dist/chunks/{rpc-sxz6gkc3.js → location-mutation-at5d07az.js} +7 -7
- package/dist/chunks/{rpc-tfpzm518.js → location-mutation-avbgj43b.js} +9 -9
- package/dist/chunks/{rpc-yjtcv9b8.js → location-mutation-avm8jn6n.js} +5 -5
- package/dist/chunks/{rpc-fve14tsv.js → location-mutation-axqcdv2d.js} +12 -12
- package/dist/chunks/{rpc-7jdjd6ea.js → location-mutation-azkjskpr.js} +32 -32
- package/dist/chunks/{rpc-x2ec7fj2.js → location-mutation-b189wbnb.js} +25 -25
- package/dist/chunks/{rpc-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-jada9zq5.js → location-mutation-b8q51j9a.js} +8 -8
- package/dist/chunks/{rpc-n8pzc7q0.js → location-mutation-bh95vxve.js} +5 -5
- package/dist/chunks/{rpc-azwf31fh.js → location-mutation-bxv7jnj4.js} +11 -11
- package/dist/chunks/{rpc-f5paykxm.js → location-mutation-by5prp7a.js} +13 -13
- package/dist/chunks/{rpc-gd1sanb3.js → location-mutation-c2czmzrr.js} +33 -33
- package/dist/chunks/{rpc-65h43r7m.js → location-mutation-cen4xjmh.js} +9 -9
- package/dist/chunks/{rpc-5vsdfptq.js → location-mutation-ctkv6efh.js} +1 -1
- package/dist/chunks/{rpc-v4hh8mmn.js → location-mutation-cx72pxrk.js} +93 -93
- package/dist/chunks/{rpc-24zysf4r.js → location-mutation-cza9j1er.js} +1 -1
- package/dist/chunks/{rpc-dbekd7wq.js → location-mutation-d97067kg.js} +22 -22
- package/dist/chunks/{rpc-dj2t23y0.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{rpc-4jmdj23e.js → location-mutation-drknmmyh.js} +9 -9
- package/dist/chunks/{rpc-524b8jaz.js → location-mutation-dw1fjyb0.js} +5 -5
- package/dist/chunks/{rpc-9fvtqfah.js → location-mutation-dz5pbebx.js} +31 -31
- package/dist/chunks/{rpc-kd92mjtq.js → location-mutation-e17bkqjz.js} +1 -1
- package/dist/chunks/{rpc-bndc73cn.js → location-mutation-e5nv3ght.js} +5 -5
- package/dist/chunks/{rpc-t97x3sry.js → location-mutation-ea8nv0r7.js} +2 -2
- package/dist/chunks/{rpc-t550f9t1.js → location-mutation-eaj1djv9.js} +8 -8
- package/dist/chunks/{rpc-5pbbnjst.js → location-mutation-ebq30a0s.js} +18 -18
- package/dist/chunks/{rpc-aq925jnm.js → location-mutation-eck8tbm6.js} +15 -15
- package/dist/chunks/{rpc-37m66rke.js → location-mutation-eqhfcyge.js} +24 -24
- package/dist/chunks/{rpc-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-8tgg60xp.js → location-mutation-evg5mjek.js} +4 -4
- package/dist/chunks/{rpc-gnqpece3.js → location-mutation-f8n871vd.js} +27 -27
- package/dist/chunks/{rpc-why2nj5b.js → location-mutation-fg7rbsd2.js} +11 -11
- package/dist/chunks/{rpc-4xbskmpe.js → location-mutation-fpmq6gma.js} +5 -5
- package/dist/chunks/{rpc-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{rpc-xjk8cg32.js → location-mutation-g14zqp48.js} +6 -6
- package/dist/chunks/{rpc-7k1v1939.js → location-mutation-g6daz9wc.js} +27 -27
- package/dist/chunks/{rpc-9tp6rg03.js → location-mutation-g7e74qdq.js} +72 -72
- package/dist/chunks/{rpc-y5gmhs7b.js → location-mutation-gb4t7546.js} +4 -4
- package/dist/chunks/{rpc-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-ybj7n8sc.js → location-mutation-ged9323g.js} +23 -23
- package/dist/chunks/{rpc-wegwrt47.js → location-mutation-gfdhz5ky.js} +32 -32
- package/dist/chunks/location-mutation-gj0jgfzh.js +247 -0
- package/dist/chunks/{rpc-eac5h0qb.js → location-mutation-gk0f8ry6.js} +27 -27
- package/dist/chunks/{rpc-f7bvpx2e.js → location-mutation-gkdvs18m.js} +11 -11
- package/dist/chunks/{rpc-t04z7qz2.js → location-mutation-gmrap60s.js} +51 -51
- package/dist/chunks/{rpc-sdbkfcvv.js → location-mutation-gnx4ytbv.js} +4 -4
- package/dist/chunks/{rpc-yyb7tjpc.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{rpc-m7y1vdp5.js → location-mutation-h15s1ggr.js} +22 -22
- package/dist/chunks/{rpc-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-q5zm5rbh.js → location-mutation-havqpvtm.js} +169 -169
- package/dist/chunks/{rpc-hdnk95c8.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{rpc-e2vkambt.js → location-mutation-hdsh760p.js} +23 -23
- package/dist/chunks/{rpc-nhy5jxhy.js → location-mutation-hjt4xg1x.js} +4 -4
- package/dist/chunks/{rpc-mpjjaxhm.js → location-mutation-hm5k8eah.js} +8 -8
- package/dist/chunks/{rpc-embw8kgh.js → location-mutation-hn57h045.js} +4 -4
- package/dist/chunks/{rpc-9zvw9xqf.js → location-mutation-hqkqhxar.js} +14 -14
- package/dist/chunks/{rpc-73tb2d7t.js → location-mutation-j028xdjb.js} +3 -3
- package/dist/chunks/{rpc-56s2cdtz.js → location-mutation-j12av41v.js} +26 -26
- package/dist/chunks/{rpc-mkf7r8vc.js → location-mutation-j32h6ccb.js} +5 -5
- package/dist/chunks/{rpc-4xr4bg31.js → location-mutation-j4wvd8nr.js} +8 -8
- package/dist/chunks/{rpc-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-6hdhgy3w.js → location-mutation-j872qyn8.js} +9 -9
- package/dist/chunks/{rpc-paphc93g.js → location-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{rpc-keedsq9y.js → location-mutation-jb6dyfep.js} +22 -22
- package/dist/chunks/{rpc-3ztdxds0.js → location-mutation-jeanpfns.js} +1 -1
- package/dist/chunks/{rpc-fkgz1789.js → location-mutation-jmrdwkcs.js} +11 -11
- package/dist/chunks/location-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{rpc-16ryaddz.js → location-mutation-jtht6z7a.js} +13 -13
- package/dist/chunks/{rpc-7etsmvw3.js → location-mutation-ka1skk0q.js} +11 -11
- package/dist/chunks/{rpc-ensxwhj5.js → location-mutation-kc69rtta.js} +16 -16
- package/dist/chunks/{rpc-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{rpc-m0jqrx5p.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{rpc-q8qja58b.js → location-mutation-m2d0j7c0.js} +9 -9
- package/dist/chunks/{rpc-tkptyfyx.js → location-mutation-m44xxmhq.js} +46 -46
- package/dist/chunks/{rpc-fbprdydg.js → location-mutation-m7y3f53v.js} +4 -4
- package/dist/chunks/{rpc-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-wm96jmrs.js → location-mutation-mfgwze5t.js} +35 -35
- package/dist/chunks/{rpc-1ygqh575.js → location-mutation-mfqp6xfm.js} +6 -6
- package/dist/chunks/{rpc-gmt7v2f0.js → location-mutation-mpadvkka.js} +28 -28
- package/dist/chunks/{rpc-ezv1a6xh.js → location-mutation-mxhkxpa6.js} +6 -6
- package/dist/chunks/{rpc-b0awdqvx.js → location-mutation-nca7p386.js} +7 -7
- package/dist/chunks/{rpc-7jjvc4sd.js → location-mutation-nd3j4h6h.js} +15 -15
- package/dist/chunks/{rpc-4jyw83yv.js → location-mutation-nha3eq47.js} +7 -7
- package/dist/chunks/{rpc-ra10epn0.js → location-mutation-njsny4x2.js} +4 -4
- package/dist/chunks/{rpc-m060z7eb.js → location-mutation-nw7hjf1f.js} +14 -14
- package/dist/chunks/{rpc-900rp600.js → location-mutation-nza8psrb.js} +37 -37
- package/dist/chunks/{rpc-46t3hpnf.js → location-mutation-p0hpbrjm.js} +11 -11
- package/dist/chunks/{rpc-0w5xhpes.js → location-mutation-p1q7pebv.js} +20 -20
- package/dist/chunks/{rpc-evc8ed70.js → location-mutation-p3axd9rw.js} +26 -26
- package/dist/chunks/{rpc-2pfz77pe.js → location-mutation-p43178kr.js} +30 -30
- package/dist/chunks/{rpc-pg92xra1.js → location-mutation-p9zpeys6.js} +18 -18
- package/dist/chunks/{rpc-3cg5qkzz.js → location-mutation-pfvv90k2.js} +13 -13
- package/dist/chunks/{rpc-16fh04ec.js → location-mutation-pgjngt2x.js} +13 -13
- package/dist/chunks/{rpc-awbdwcvp.js → location-mutation-pjmw00w1.js} +5 -5
- package/dist/chunks/{rpc-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-ecstd3x3.js → location-mutation-prktd40w.js} +19 -19
- package/dist/chunks/{rpc-z05rcarj.js → location-mutation-ptdkvqj8.js} +11 -11
- package/dist/chunks/{rpc-awy0m2ht.js → location-mutation-q0cff0df.js} +7 -7
- package/dist/chunks/{rpc-d11nd7zh.js → location-mutation-q2f8db2z.js} +4 -4
- package/dist/chunks/{rpc-yrxgw5z8.js → location-mutation-q99ra9zv.js} +1 -1
- package/dist/chunks/location-mutation-qapv375x.js +4 -0
- package/dist/chunks/{rpc-6kjxaxcs.js → location-mutation-qcanms4y.js} +9 -9
- package/dist/chunks/{rpc-ymcp9qdd.js → location-mutation-qk5wb864.js} +26 -26
- package/dist/chunks/{rpc-k6vfasqn.js → location-mutation-qmy7xtej.js} +1 -1
- package/dist/chunks/{rpc-zy7p2nkg.js → location-mutation-qqrzp26h.js} +25 -25
- package/dist/chunks/{rpc-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-3ard968h.js → location-mutation-qzngwt2w.js} +15 -15
- package/dist/chunks/{rpc-sx1n432n.js → location-mutation-r98e92ep.js} +4 -4
- package/dist/chunks/{rpc-hgk9zqwm.js → location-mutation-r9d4hscn.js} +24 -24
- package/dist/chunks/{rpc-r9mregkx.js → location-mutation-r9mregkx.js} +2 -2
- package/dist/chunks/{rpc-ak9cgfv8.js → location-mutation-rfmxnttp.js} +35 -35
- package/dist/chunks/{rpc-645wt9kv.js → location-mutation-rjhg2a6b.js} +8 -8
- package/dist/chunks/{rpc-etjfar9p.js → location-mutation-rm0t6fxx.js} +11 -11
- package/dist/chunks/{rpc-ttmwpwhe.js → location-mutation-rt60rjhz.js} +27 -27
- package/dist/chunks/{rpc-yrznvahk.js → location-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/{rpc-c14aw737.js → location-mutation-s846mwed.js} +14 -14
- package/dist/chunks/{rpc-at188k7x.js → location-mutation-s9r3zx9c.js} +32 -32
- package/dist/chunks/{rpc-dq8t8fv9.js → location-mutation-saszz0tm.js} +11 -11
- package/dist/chunks/{rpc-0mvp0mh7.js → location-mutation-sj2m2bnv.js} +26 -26
- package/dist/chunks/{rpc-v30ysbtp.js → location-mutation-sjn6yd28.js} +24 -24
- package/dist/chunks/{rpc-qra50pcy.js → location-mutation-ssns9qef.js} +6 -6
- package/dist/chunks/{rpc-jz2xfere.js → location-mutation-st8zm3j0.js} +34 -34
- package/dist/chunks/{rpc-gsepd1qv.js → location-mutation-sv95vjkv.js} +11 -11
- package/dist/chunks/{rpc-9pa4pdaw.js → location-mutation-svqx5t8q.js} +28 -28
- package/dist/chunks/{rpc-vhkqx8kk.js → location-mutation-t0c4ga77.js} +11 -11
- package/dist/chunks/{rpc-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-89znhe33.js → location-mutation-tcezcvh9.js} +4 -4
- package/dist/chunks/{rpc-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-y3gka0kp.js → location-mutation-tgqjfyja.js} +3 -3
- package/dist/chunks/{rpc-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-qzfy2ng8.js → location-mutation-tw5aca0f.js} +19 -19
- package/dist/chunks/{rpc-eraanh1f.js → location-mutation-tx9qvpbt.js} +2 -2
- package/dist/chunks/{rpc-kkxr41sk.js → location-mutation-v8nxbcj1.js} +16 -16
- package/dist/chunks/{rpc-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-pfhnemj1.js → location-mutation-vewqeqd1.js} +11 -11
- package/dist/chunks/{rpc-8cmvxv2n.js → location-mutation-vmq7ehpy.js} +5 -5
- package/dist/chunks/{rpc-78qgck3m.js → location-mutation-vpt86awd.js} +12 -12
- package/dist/chunks/{rpc-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-6pdgntxq.js → location-mutation-w1vmy2yk.js} +41 -41
- package/dist/chunks/{rpc-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-czfakrh3.js → location-mutation-w6ktwb78.js} +5 -5
- package/dist/chunks/{rpc-ghtm10aa.js → location-mutation-wctfcgtb.js} +6 -6
- package/dist/chunks/{rpc-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-2336b01z.js → location-mutation-wh3mwy9y.js} +8 -8
- package/dist/chunks/{rpc-b8b3f19r.js → location-mutation-wk5z6jzv.js} +9 -9
- package/dist/chunks/{rpc-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-d4wz6bh8.js → location-mutation-x2vke7v6.js} +28 -28
- package/dist/chunks/{rpc-zsdfvbwd.js → location-mutation-x353b1jt.js} +8 -8
- package/dist/chunks/{rpc-an5xxpg3.js → location-mutation-x9dbpt97.js} +16 -16
- package/dist/chunks/{rpc-41f61ev5.js → location-mutation-xb0fd5mw.js} +11 -11
- package/dist/chunks/{rpc-6sf48m2m.js → location-mutation-xeeebs9m.js} +14 -14
- package/dist/chunks/{rpc-09d6vmh1.js → location-mutation-xfw70qwk.js} +9 -9
- package/dist/chunks/{rpc-xwk582wh.js → location-mutation-xp4jy0cy.js} +32 -32
- package/dist/chunks/{rpc-4ssmbb9f.js → location-mutation-xpqchpdr.js} +23 -23
- package/dist/chunks/{rpc-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-2gvej5bs.js → location-mutation-y2rk8dp4.js} +24 -24
- package/dist/chunks/{rpc-2gq7g35w.js → location-mutation-y30m186f.js} +11 -11
- package/dist/chunks/{rpc-dpkg50ah.js → location-mutation-y71avatq.js} +4 -4
- package/dist/chunks/{rpc-n1abx18w.js → location-mutation-y8kyqmaw.js} +6 -6
- package/dist/chunks/{rpc-1acjjqhc.js → location-mutation-yp2x3t23.js} +4 -4
- package/dist/chunks/{rpc-49mee5h8.js → location-mutation-ypa7vnhd.js} +17 -17
- package/dist/chunks/{rpc-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-9qxv0saq.js → location-mutation-ytxwmf2d.js} +47 -47
- package/dist/chunks/{rpc-5tstk5gw.js → location-mutation-yvnshmpd.js} +15 -15
- package/dist/chunks/{rpc-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-adgw0vx1.js → location-mutation-zadsjct7.js} +17 -17
- package/dist/chunks/{rpc-t4dwhhvw.js → location-mutation-zecqrkk8.js} +17 -17
- package/dist/chunks/{rpc-rq775frq.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-magykp64.js → location-mutation-zepncfka.js} +21 -21
- package/dist/chunks/{rpc-j6tr09r7.js → location-mutation-zjsss10y.js} +41 -41
- package/dist/chunks/{rpc-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-8fbcvdxz.js → location-mutation-ztr79pxm.js} +18 -18
- package/dist/chunks/{rpc-s51qhtww.js → location-mutation-zvzsvx7v.js} +32 -32
- package/dist/chunks/{rpc-vaz4vjgg.js → location-mutation-zx7qqg4g.js} +15 -15
- package/dist/chunks/{rpc-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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/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 +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 +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 +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 +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 +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 +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 +6 -6
- 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 +88 -88
- 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 +85 -85
- package/dist/job.js +76 -76
- 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 +82 -82
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- 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 +8 -8
- package/dist/models-dev.js +79 -79
- 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 +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 +3 -3
- 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 +73 -73
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +5 -5
- 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 +84 -84
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +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 +126 -126
- 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 +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 +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- 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 +3 -3
- 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 +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +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 +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +110 -110
- 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 +119 -119
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/types/config.d.ts +3 -1
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +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 +5 -5
- 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 +344 -344
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/rpc-4s989epk.js +0 -247
- package/dist/chunks/rpc-68fqf9yb.js +0 -4
- package/dist/chunks/rpc-9nbg9rgn.js +0 -466
- package/dist/chunks/rpc-fka8kn59.js +0 -26
- package/dist/chunks/rpc-vnkjks7b.js +0 -18
- /package/dist/chunks/{rpc-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → location-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
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
|
-
|
|
16
|
+
ID16,
|
|
17
17
|
packageName2,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-g14zqp48.js";
|
|
20
20
|
import {
|
|
21
21
|
iife2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./location-mutation-1kg9ymc8.js";
|
|
23
23
|
import {
|
|
24
24
|
which2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-mutation-qaymkmh1.js";
|
|
26
26
|
import {
|
|
27
27
|
configuredSettings2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-mutation-q0cff0df.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/azure.ts
|
|
31
31
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,9 +45,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
45
45
|
var AzurePlugin2 = define({
|
|
46
46
|
id: "opencode.provider.azure",
|
|
47
47
|
effect: Effect.fn(function* (ctx) {
|
|
48
|
-
const configured = yield* configuredSettings2(
|
|
48
|
+
const configured = yield* configuredSettings2(ID16.azure);
|
|
49
49
|
const processes = yield* AppProcess.Service;
|
|
50
|
-
const bus = yield*
|
|
50
|
+
const bus = yield* Service78;
|
|
51
51
|
const tokens = new Map;
|
|
52
52
|
const loading = Semaphore.makeUnsafe(1);
|
|
53
53
|
const loaded = {};
|
|
@@ -81,13 +81,13 @@ var AzurePlugin2 = define({
|
|
|
81
81
|
});
|
|
82
82
|
yield* ctx.integration.transform((editor) => {
|
|
83
83
|
editor.method.update({
|
|
84
|
-
integrationID:
|
|
84
|
+
integrationID: ID16.azure,
|
|
85
85
|
method: { type: "key", label: "API key", form: form() }
|
|
86
86
|
});
|
|
87
87
|
if (!available)
|
|
88
88
|
return;
|
|
89
89
|
editor.method.update({
|
|
90
|
-
integrationID:
|
|
90
|
+
integrationID: ID16.azure,
|
|
91
91
|
method: {
|
|
92
92
|
id: methodID,
|
|
93
93
|
type: "oauth",
|
|
@@ -119,7 +119,7 @@ var AzurePlugin2 = define({
|
|
|
119
119
|
});
|
|
120
120
|
});
|
|
121
121
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
122
|
-
const connection = yield* ctx.integration.connection.active(
|
|
122
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
123
123
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
124
124
|
return;
|
|
125
125
|
})) : undefined;
|
|
@@ -133,7 +133,7 @@ var AzurePlugin2 = define({
|
|
|
133
133
|
yield* load();
|
|
134
134
|
yield* ctx.catalog.transform((evt) => {
|
|
135
135
|
for (const item of evt.provider.list()) {
|
|
136
|
-
if (item.provider.id !==
|
|
136
|
+
if (item.provider.id !== ID16.azure && packageName2(item.provider.package) !== "@ai-sdk/azure")
|
|
137
137
|
continue;
|
|
138
138
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
139
139
|
if (resourceName)
|
|
@@ -157,11 +157,11 @@ var AzurePlugin2 = define({
|
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
160
|
-
yield* bus.subscribe(
|
|
160
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID6.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
161
161
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
162
|
-
if (evt.model.providerID !==
|
|
162
|
+
if (evt.model.providerID !== ID16.azure)
|
|
163
163
|
return;
|
|
164
|
-
const connection = yield* ctx.integration.connection.active(
|
|
164
|
+
const connection = yield* ctx.integration.connection.active(ID16.azure);
|
|
165
165
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
166
166
|
return;
|
|
167
167
|
})) : undefined;
|
|
@@ -174,7 +174,7 @@ var AzurePlugin2 = define({
|
|
|
174
174
|
evt.request.headers.delete("x-api-key");
|
|
175
175
|
evt.request.headers.set("authorization", `Bearer ${current.access}`);
|
|
176
176
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
177
|
-
}), { providerID:
|
|
177
|
+
}), { providerID: ID16.azure });
|
|
178
178
|
})
|
|
179
179
|
});
|
|
180
180
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service44
|
|
7
|
+
} from "./location-mutation-xp4jy0cy.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-721tb84k.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-3z3b7hny.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-5c4hm403.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service44;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service36,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service36 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service36.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service36, awaitActivation2, exports_service };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service69
|
|
3
|
+
} from "./location-mutation-6gny55sm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./location-mutation-gmrap60s.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp = {};
|
|
13
|
+
__export(exports_mcp, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp,
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service69;
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin14, register2, exports_mcp };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./location-mutation-yvnshmpd.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service24
|
|
6
|
+
} from "./location-mutation-3w5k6gvs.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service24;
|
|
24
|
+
const jobs = yield* Service42;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make9 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service78
|
|
3
|
+
} from "./location-mutation-31q0a33n.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-mutation-nw7hjf1f.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service32
|
|
10
|
+
} from "./location-mutation-gmrap60s.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin29
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,12 +193,12 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin29 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
201
|
-
const bus = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service32;
|
|
201
|
+
const bus = yield* Service78;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
204
204
|
loaded.prompts = yield* mcp.prompts();
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin29, exports_command2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-6msgmcgs.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-dj2t23y0.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service7,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node9
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service7 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service7.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node9 = makeGlobalNode({ service: Service7, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service7, node9, exports_discovery };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./location-mutation-6gny55sm.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service67
|
|
13
|
+
} from "./location-mutation-sjn6yd28.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./location-mutation-yvnshmpd.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service61
|
|
19
|
+
} from "./location-mutation-8ddz1vt2.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service54,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-2c6z0znx.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mutation-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service59,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-09nsett5.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError8,
|
|
36
|
+
Service56
|
|
37
|
+
} from "./location-mutation-8ympxaqs.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service24
|
|
40
|
+
} from "./location-mutation-3w5k6gvs.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-mutation-njsny4x2.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input9,
|
|
53
|
+
Plugin: () => Plugin43,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name9
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name9 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input9 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin43 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service24;
|
|
122
|
+
const jobs = yield* Service42;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service67;
|
|
125
|
+
const access = yield* Service54;
|
|
126
|
+
const shell = yield* Service56;
|
|
127
|
+
const shellSelect = yield* Service59;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service61;
|
|
130
|
+
const config = yield* Service69;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin25 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name9,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin25 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name9,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input9,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin25 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError8({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name9,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name9];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name9, DEFAULT_TIMEOUT_MS2, Input9, Plugin43, exports_shell2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-g14zqp48.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-9d8v8ke2.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|