@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,55 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
Service78,
|
|
9
|
-
node83
|
|
10
|
-
} from "./rpc-f7bvpx2e.js";
|
|
11
|
-
import {
|
|
12
8
|
Service76,
|
|
13
9
|
node81
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-gkdvs18m.js";
|
|
11
|
+
import {
|
|
12
|
+
Service74,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-mutation-nw7hjf1f.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-kg06axw8.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error2,
|
|
26
|
+
ID: () => ID5,
|
|
27
|
+
Service: () => Service44,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node48,
|
|
30
|
+
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
33
33
|
import path from "path";
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error2 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service44 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service76;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error2({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error2({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID5.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error2({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error2({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service44.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node48 = makeLocationNode({
|
|
144
|
+
service: Service44,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
147
147
|
});
|
|
148
|
-
var
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service44, Service44.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service31, Service31.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error2 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error2({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID5, Error2, Service44, node48, noopLayer3, exports_snapshot2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service76,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-mutation-gkdvs18m.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service73,
|
|
16
|
+
node78
|
|
17
|
+
} from "./location-mutation-by5prp7a.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service51,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node55,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service51 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service76;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service73;
|
|
110
|
+
return Service51.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node55 = makeGlobalNode({
|
|
171
|
+
service: Service51,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node78]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service51, isError2, validateBranch2, node55, exports_repository_cache };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load3
|
|
6
|
+
} from "./location-mutation-j935v87r.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event16,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options9,
|
|
17
|
+
Service: () => Service70,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured10,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer24,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node75,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event16 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load3());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options9 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service70 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service70.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer16 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service70.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer24().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service70).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service70, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured10(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service70, layer: layer24(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node75 = configured10();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event16, hasNativeBinding2, Native3, Options9, Service70, Test3, layer24, testLayer3, nativeLayer2, nativeNode2, configured10, node75, exports_watcher };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer19,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node47,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make20(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer19 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer19(input), deps: [] });
|
|
33
|
+
var node47 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer19, configured6, node47, exports_app };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make22,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make22 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make22, exports_keyed_mutex };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
jitCompatCheck2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-emrn6kk6.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDatabase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-1gdg00yg.js";
|
|
7
7
|
import {
|
|
8
8
|
EffectSQLiteSession2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-ctkv6efh.js";
|
|
10
10
|
|
|
11
11
|
// src/database/drizzle/effect-sqlite/driver.ts
|
|
12
12
|
import * as Effect from "effect/Effect";
|
|
@@ -20,7 +20,7 @@ class EffectSQLiteDatabase2 extends SQLiteEffectDatabase2 {
|
|
|
20
20
|
static [entityKind] = "EffectSQLiteDatabase";
|
|
21
21
|
}
|
|
22
22
|
var DefaultServices2 = Layer.merge(EffectCache.Default, EffectLogger.Default);
|
|
23
|
-
var
|
|
23
|
+
var make23 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
24
24
|
const client = yield* SqlClient;
|
|
25
25
|
const cache = yield* EffectCache;
|
|
26
26
|
const logger = yield* EffectLogger;
|
|
@@ -37,6 +37,6 @@ var make22 = Effect.fn("SQLiteDrizzle.make")(function* (config = {}) {
|
|
|
37
37
|
db.$cache.invalidate = cache.onMutate;
|
|
38
38
|
return db;
|
|
39
39
|
});
|
|
40
|
-
var makeWithDefaults2 = (config = {}) =>
|
|
40
|
+
var makeWithDefaults2 = (config = {}) => make23(config).pipe(Effect.provide(DefaultServices2));
|
|
41
41
|
|
|
42
|
-
export { EffectSQLiteDatabase2, DefaultServices2,
|
|
42
|
+
export { EffectSQLiteDatabase2, DefaultServices2, make23, makeWithDefaults2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make17 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service74
|
|
3
|
+
} from "./location-mutation-nw7hjf1f.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service69
|
|
7
|
+
} from "./location-mutation-6gny55sm.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service16
|
|
10
|
+
} from "./location-mutation-ztr79pxm.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
make3
|
|
13
|
+
} from "./location-mutation-j028xdjb.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/formatter.ts
|
|
22
22
|
var exports_formatter = {};
|
|
23
23
|
__export(exports_formatter, {
|
|
24
24
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin10
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -30,14 +30,14 @@ import { Global } from "@opencode/util/global";
|
|
|
30
30
|
import { Npm } from "@opencode/util/npm";
|
|
31
31
|
import { AppProcess } from "@opencode/util/process";
|
|
32
32
|
import { Effect } from "effect";
|
|
33
|
-
var
|
|
33
|
+
var Plugin10 = define({
|
|
34
34
|
id: "opencode.config.formatter",
|
|
35
35
|
effect: Effect.fn(function* (ctx) {
|
|
36
|
-
const config = yield*
|
|
37
|
-
const formatter = yield*
|
|
36
|
+
const config = yield* Service69;
|
|
37
|
+
const formatter = yield* Service16;
|
|
38
38
|
const fs = yield* FSUtil.Service;
|
|
39
39
|
const global = yield* Global.Service;
|
|
40
|
-
const location = yield*
|
|
40
|
+
const location = yield* Service74;
|
|
41
41
|
const npm = yield* Npm.Service;
|
|
42
42
|
const processes = yield* AppProcess.Service;
|
|
43
43
|
const loaded = yield* observe2(config, ctx.event, formatter.reload());
|
|
@@ -45,7 +45,7 @@ var Plugin44 = define({
|
|
|
45
45
|
const configured = latest2(loaded.entries, "formatter");
|
|
46
46
|
if (!configured)
|
|
47
47
|
return;
|
|
48
|
-
const builtIns =
|
|
48
|
+
const builtIns = make3({
|
|
49
49
|
directory: location.directory,
|
|
50
50
|
worktree: location.project.directory,
|
|
51
51
|
fs,
|
|
@@ -74,4 +74,4 @@ var Plugin44 = define({
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
export {
|
|
77
|
+
export { Plugin10, exports_formatter };
|