@opencode/core 0.0.0-dev-19563 → 0.0.0-dev-19565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{rpc-h2hjeshg.js → shell-00sskvcy.js} +28 -28
- package/dist/chunks/{rpc-t0nby5tn.js → shell-0kb3qxfv.js} +13 -13
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{rpc-5pbbnjst.js → shell-0p1crd9d.js} +16 -16
- package/dist/chunks/{rpc-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{rpc-5x59cjg9.js → shell-170g143j.js} +10 -10
- package/dist/chunks/{rpc-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-b5xr9r4a.js → shell-1jygqsyg.js} +4 -4
- package/dist/chunks/{rpc-e171vef2.js → shell-1k2dysg5.js} +25 -25
- package/dist/chunks/{rpc-fhq59srp.js → shell-1rmp5py1.js} +28 -28
- package/dist/chunks/{rpc-egrr39fs.js → shell-1vr0zdnx.js} +6 -6
- package/dist/chunks/{rpc-azwf31fh.js → shell-2130zj7j.js} +3 -3
- package/dist/chunks/{rpc-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{rpc-15zevn5w.js → shell-23pqda6t.js} +6 -6
- package/dist/chunks/{rpc-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{rpc-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-3ztdxds0.js → shell-2arervvz.js} +1 -1
- package/dist/chunks/{rpc-q8qja58b.js → shell-2bt6bea8.js} +9 -9
- package/dist/chunks/{rpc-ensxwhj5.js → shell-2dhdmezd.js} +14 -14
- package/dist/chunks/{rpc-hgk9zqwm.js → shell-2drtf3nf.js} +23 -23
- package/dist/chunks/{rpc-7etsmvw3.js → shell-2gg8k579.js} +11 -11
- package/dist/chunks/{rpc-607tc6va.js → shell-2k8khapm.js} +5 -5
- package/dist/chunks/{rpc-dq8t8fv9.js → shell-2s58e736.js} +11 -11
- package/dist/chunks/{rpc-zctxc6dq.js → shell-2wy29r93.js} +24 -24
- package/dist/chunks/{rpc-f5paykxm.js → shell-2xsz5w2j.js} +10 -10
- package/dist/chunks/{rpc-awy0m2ht.js → shell-39nqk1vw.js} +7 -7
- package/dist/chunks/{rpc-9zvw9xqf.js → shell-3ax3r0kt.js} +14 -14
- package/dist/chunks/{rpc-645wt9kv.js → shell-3bqh7sdc.js} +8 -8
- package/dist/chunks/{rpc-y3gka0kp.js → shell-3dn8q124.js} +3 -3
- package/dist/chunks/{rpc-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-4ssmbb9f.js → shell-3msn02vx.js} +23 -23
- package/dist/chunks/{rpc-zy7p2nkg.js → shell-3q16w0pe.js} +23 -23
- package/dist/chunks/{rpc-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-v95aebz8.js → shell-3t75jh19.js} +18 -18
- package/dist/chunks/{rpc-magykp64.js → shell-3t8eac1t.js} +4 -4
- package/dist/chunks/{rpc-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-09d6vmh1.js → shell-40nnwqw1.js} +9 -9
- package/dist/chunks/{rpc-49mee5h8.js → shell-498f1par.js} +15 -15
- package/dist/chunks/{rpc-et9a5mt7.js → shell-4j2free1.js} +29 -29
- package/dist/chunks/shell-4v7qdvcn.js +18 -0
- package/dist/chunks/{rpc-29ykcmqg.js → shell-50q5na77.js} +53 -53
- package/dist/chunks/{rpc-1ygqh575.js → shell-56gdpj1q.js} +9 -9
- package/dist/chunks/{rpc-x4az3p4k.js → shell-58mrke4p.js} +15 -15
- package/dist/chunks/{rpc-yrxgw5z8.js → shell-5cd5fjqe.js} +1 -1
- package/dist/chunks/{rpc-7k1v1939.js → shell-5cwpbnzf.js} +27 -27
- package/dist/chunks/{rpc-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-41f61ev5.js → shell-5hpynvw8.js} +6 -6
- package/dist/chunks/{rpc-04rqewrt.js → shell-5j1hak98.js} +5 -5
- package/dist/chunks/{rpc-4xr4bg31.js → shell-5r0fea1g.js} +8 -8
- package/dist/chunks/{rpc-5vsdfptq.js → shell-5se65zms.js} +1 -1
- package/dist/chunks/{rpc-7jjvc4sd.js → shell-5t1bt779.js} +13 -13
- package/dist/chunks/{rpc-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-6sf48m2m.js → shell-5t96p4mv.js} +18 -18
- package/dist/chunks/{rpc-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{rpc-7jdjd6ea.js → shell-6dgetf94.js} +32 -32
- package/dist/chunks/{rpc-4ns3h2re.js → shell-6ea2fwcg.js} +6 -6
- package/dist/chunks/{rpc-czfakrh3.js → shell-6ff0ccqs.js} +3 -3
- package/dist/chunks/{rpc-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{rpc-65h43r7m.js → shell-6sdmw969.js} +9 -9
- package/dist/chunks/{rpc-71q4at8m.js → shell-71q4at8m.js} +1 -1
- package/dist/chunks/{rpc-73tb2d7t.js → shell-73tb2d7t.js} +1 -1
- package/dist/chunks/{rpc-3cwb9jzf.js → shell-757464b7.js} +8 -8
- package/dist/chunks/{rpc-56s2cdtz.js → shell-785qyyg3.js} +38 -38
- package/dist/chunks/{rpc-k9h47z0e.js → shell-79at1x9v.js} +9 -9
- package/dist/chunks/{rpc-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-x3ry4399.js → shell-7dqea38v.js} +22 -22
- package/dist/chunks/{rpc-yjtcv9b8.js → shell-7gvwkz6m.js} +5 -5
- package/dist/chunks/{rpc-ymcp9qdd.js → shell-7hnvxcfq.js} +20 -20
- package/dist/chunks/{rpc-3cg5qkzz.js → shell-7smec0s7.js} +13 -13
- package/dist/chunks/{rpc-fe21mgs2.js → shell-7wvqhqmf.js} +2 -2
- package/dist/chunks/{rpc-j6tr09r7.js → shell-8330sdex.js} +26 -26
- package/dist/chunks/{rpc-fb3dn1g4.js → shell-83c1hrrs.js} +10 -10
- package/dist/chunks/{rpc-e7dhmq2r.js → shell-84znd991.js} +43 -43
- package/dist/chunks/{rpc-9nbg9rgn.js → shell-8behwj1p.js} +300 -300
- package/dist/chunks/{rpc-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-f04pyqpn.js → shell-8hpa1fbg.js} +8 -8
- package/dist/chunks/{rpc-dj2t23y0.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{rpc-9pa4pdaw.js → shell-90debe3t.js} +25 -25
- package/dist/chunks/{rpc-s3be4ryk.js → shell-92d8765r.js} +19 -19
- package/dist/chunks/shell-951egb0q.js +26 -0
- package/dist/chunks/{rpc-adgw0vx1.js → shell-98wx3ph6.js} +20 -20
- package/dist/chunks/{rpc-s51qhtww.js → shell-9axecy8x.js} +32 -32
- package/dist/chunks/{rpc-ep0qqy8y.js → shell-9k5ea8vn.js} +9 -9
- package/dist/chunks/{rpc-720ed7zc.js → shell-9n54j36e.js} +38 -38
- package/dist/chunks/{rpc-5c4hm403.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{rpc-wm96jmrs.js → shell-a1cqmkke.js} +34 -34
- package/dist/chunks/{rpc-900rp600.js → shell-a4bf359j.js} +37 -37
- package/dist/chunks/{rpc-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-hrb636hh.js → shell-ajf5b5m2.js} +11 -11
- package/dist/chunks/{rpc-aq925jnm.js → shell-anjgpdmv.js} +15 -15
- package/dist/chunks/{rpc-h2kayq98.js → shell-aqh0ftsf.js} +6 -6
- package/dist/chunks/{rpc-x3et2xth.js → shell-asmz7wyz.js} +8 -8
- package/dist/chunks/{rpc-q5zm5rbh.js → shell-b4yscnm6.js} +168 -168
- package/dist/chunks/{rpc-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-b8b3f19r.js → shell-b8b3f19r.js} +2 -2
- package/dist/chunks/{rpc-3ard968h.js → shell-barpxaxt.js} +15 -15
- package/dist/chunks/{rpc-sdbkfcvv.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{rpc-phrpww5q.js → shell-bkpbcw5z.js} +6 -6
- package/dist/chunks/{rpc-yn742pxh.js → shell-bq71cpr0.js} +12 -12
- package/dist/chunks/shell-bra2cn2r.js +247 -0
- package/dist/chunks/{rpc-mc7c43gw.js → shell-c6gt1vgb.js} +24 -24
- package/dist/chunks/{rpc-37m66rke.js → shell-c9de5jy7.js} +24 -24
- package/dist/chunks/{rpc-fbprdydg.js → shell-cdb3968r.js} +4 -4
- package/dist/chunks/{rpc-m0jqrx5p.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{rpc-bqttd0y0.js → shell-cgfvx4w1.js} +21 -21
- package/dist/chunks/{rpc-awbdwcvp.js → shell-cntxze1n.js} +9 -9
- package/dist/chunks/{rpc-wq9p3fvr.js → shell-csvt3qn2.js} +19 -19
- package/dist/chunks/{rpc-v30ysbtp.js → shell-cvacbsd4.js} +24 -24
- package/dist/chunks/{rpc-n1abx18w.js → shell-cwae0t4a.js} +3 -3
- package/dist/chunks/{rpc-04mfqke3.js → shell-dgyag7b9.js} +3 -3
- package/dist/chunks/{rpc-c0qvan2f.js → shell-dnyx0jag.js} +66 -47
- package/dist/chunks/{rpc-dpkg50ah.js → shell-dpkg50ah.js} +1 -1
- package/dist/chunks/{rpc-3h752403.js → shell-ds7hspst.js} +17 -17
- package/dist/chunks/{rpc-vn9kcpf2.js → shell-dx67ej23.js} +4 -4
- package/dist/chunks/{rpc-v4hh8mmn.js → shell-e01x8cvy.js} +79 -79
- package/dist/chunks/{rpc-wtzvqa7t.js → shell-e275f37r.js} +32 -32
- package/dist/chunks/{rpc-bndc73cn.js → shell-e5nv3ght.js} +5 -5
- package/dist/chunks/{rpc-z05rcarj.js → shell-e5nx0vxc.js} +11 -11
- package/dist/chunks/{rpc-ak9cgfv8.js → shell-e9ctdnam.js} +26 -26
- package/dist/chunks/{rpc-t550f9t1.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{rpc-m7y1vdp5.js → shell-eh4y4983.js} +22 -22
- package/dist/chunks/{rpc-m5j6zs5f.js → shell-ekxg4hsx.js} +15 -15
- package/dist/chunks/{rpc-vhkqx8kk.js → shell-epf086r6.js} +11 -11
- package/dist/chunks/{rpc-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-4xbskmpe.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{rpc-t4dwhhvw.js → shell-ew149jxv.js} +17 -17
- package/dist/chunks/{rpc-1acjjqhc.js → shell-f2n192rq.js} +4 -4
- package/dist/chunks/{rpc-tfpzm518.js → shell-f3b3gm2h.js} +9 -9
- package/dist/chunks/{rpc-hdnk95c8.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{rpc-1js01x30.js → shell-fb1d3fys.js} +34 -34
- package/dist/chunks/{rpc-jkttvqfz.js → shell-ffnvdd3a.js} +4 -4
- package/dist/chunks/{rpc-sxz6gkc3.js → shell-fm2qvscf.js} +7 -7
- package/dist/chunks/{rpc-c14aw737.js → shell-frgtas0g.js} +16 -16
- package/dist/chunks/{rpc-ezv1a6xh.js → shell-fwex87m5.js} +4 -4
- package/dist/chunks/{rpc-6pdgntxq.js → shell-fxb8x6py.js} +41 -41
- package/dist/chunks/{rpc-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{rpc-gnqpece3.js → shell-g114gkg7.js} +27 -27
- package/dist/chunks/{rpc-evc8ed70.js → shell-g6etydj3.js} +25 -25
- package/dist/chunks/{rpc-f2kyhx0b.js → shell-g7845yqx.js} +9 -9
- package/dist/chunks/{rpc-k4ar8njc.js → shell-g9x8z6es.js} +37 -37
- package/dist/chunks/{rpc-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-5za0zb7s.js → shell-gds7y9rb.js} +26 -26
- package/dist/chunks/{rpc-e2vkambt.js → shell-gmqwtf9m.js} +20 -20
- package/dist/chunks/{rpc-78qgck3m.js → shell-gqcgtd7m.js} +12 -12
- package/dist/chunks/{rpc-kvh0q0w5.js → shell-gsa21a22.js} +26 -26
- package/dist/chunks/{rpc-embw8kgh.js → shell-gst7axd9.js} +4 -4
- package/dist/chunks/{rpc-yyb7tjpc.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{rpc-qc9m528a.js → shell-gy297mxz.js} +9 -9
- package/dist/chunks/{rpc-h03wrkyp.js → shell-h03wrkyp.js} +2 -2
- package/dist/chunks/{rpc-fve14tsv.js → shell-h3gtxjhp.js} +12 -12
- package/dist/chunks/{rpc-4jyw83yv.js → shell-h5a39vxc.js} +7 -7
- package/dist/chunks/{rpc-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-8tgg60xp.js → shell-h9ah0y31.js} +4 -4
- package/dist/chunks/{rpc-mpjjaxhm.js → shell-hcn7vb16.js} +8 -8
- package/dist/chunks/{rpc-8fbcvdxz.js → shell-he81y1nr.js} +18 -18
- package/dist/chunks/{rpc-qra50pcy.js → shell-hhsefzea.js} +6 -6
- package/dist/chunks/{rpc-8cmvxv2n.js → shell-hnr5yq9h.js} +5 -5
- package/dist/chunks/{rpc-ra10epn0.js → shell-hqzvbh4h.js} +4 -4
- package/dist/chunks/{rpc-2336b01z.js → shell-hr5bc81f.js} +8 -8
- package/dist/chunks/{rpc-24zysf4r.js → shell-hr87xv3p.js} +1 -1
- package/dist/chunks/{rpc-d4wz6bh8.js → shell-hwcbwms2.js} +24 -24
- package/dist/chunks/{rpc-ybj7n8sc.js → shell-hxbwmv2e.js} +20 -20
- package/dist/chunks/{rpc-jada9zq5.js → shell-j2x4pfpm.js} +5 -5
- package/dist/chunks/{rpc-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-8q7cq0y1.js → shell-j7wq2tw5.js} +3 -3
- package/dist/chunks/{rpc-b0awdqvx.js → shell-j8zzr2am.js} +9 -9
- package/dist/chunks/{rpc-dbekd7wq.js → shell-jgs86n5s.js} +17 -17
- package/dist/chunks/{rpc-16ryaddz.js → shell-jqzha493.js} +13 -13
- package/dist/chunks/{rpc-7z7az0f5.js → shell-jva4mgym.js} +4 -4
- package/dist/chunks/{rpc-72cpxe3g.js → shell-jx66ev93.js} +9 -9
- package/dist/chunks/{rpc-6wbdxn87.js → shell-jzmeek8x.js} +19 -19
- package/dist/chunks/{rpc-y5gmhs7b.js → shell-k6n7t8rh.js} +4 -4
- package/dist/chunks/{rpc-kg06axw8.js → shell-kg06axw8.js} +1 -1
- package/dist/chunks/{rpc-16fh04ec.js → shell-kn1ewh61.js} +13 -13
- package/dist/chunks/{rpc-xjk8cg32.js → shell-m1xnp8jy.js} +8 -8
- package/dist/chunks/{rpc-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-8dff8bqa.js → shell-ma15yhyh.js} +5 -5
- package/dist/chunks/{rpc-919kr58w.js → shell-maj69pyd.js} +18 -18
- package/dist/chunks/{rpc-pfhnemj1.js → shell-mhke193m.js} +11 -11
- package/dist/chunks/{rpc-jyd6wsh8.js → shell-mjyvg60v.js} +11 -11
- package/dist/chunks/{rpc-ghtm10aa.js → shell-mypwhdkk.js} +6 -6
- package/dist/chunks/{rpc-s6q7j8c1.js → shell-mzg5sf4x.js} +10 -10
- package/dist/chunks/{rpc-x2ec7fj2.js → shell-n0mh3p3r.js} +16 -16
- package/dist/chunks/{rpc-as02qwds.js → shell-na9d8qqg.js} +1 -1
- package/dist/chunks/{rpc-nhy5jxhy.js → shell-nhy5jxhy.js} +1 -1
- package/dist/chunks/{rpc-gd1sanb3.js → shell-nt9efg4s.js} +33 -33
- package/dist/chunks/{rpc-eraanh1f.js → shell-nv5vn7qx.js} +6 -6
- package/dist/chunks/{rpc-at188k7x.js → shell-nxwydvzq.js} +32 -32
- package/dist/chunks/{rpc-kd92mjtq.js → shell-pczwz8kr.js} +1 -1
- package/dist/chunks/{rpc-2gq7g35w.js → shell-pe83jqzf.js} +8 -8
- package/dist/chunks/{rpc-4aqwh667.js → shell-pfx2qrrs.js} +20 -20
- package/dist/chunks/{rpc-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-zdmpy1w1.js → shell-pyajk535.js} +15 -15
- package/dist/chunks/{rpc-4gbc8xkz.js → shell-q7y6yj4h.js} +6 -6
- package/dist/chunks/{rpc-6hdhgy3w.js → shell-qdvd9fa3.js} +9 -9
- package/dist/chunks/{rpc-2gvej5bs.js → shell-qfehbndj.js} +22 -22
- package/dist/chunks/{rpc-v8jfbz3g.js → shell-qfzde7bh.js} +6 -6
- package/dist/chunks/{rpc-vaz4vjgg.js → shell-qp1sevpr.js} +20 -20
- package/dist/chunks/{rpc-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-9vqpc88m.js → shell-qse8x9va.js} +43 -43
- package/dist/chunks/{rpc-4hct64pd.js → shell-r2j209s7.js} +18 -18
- package/dist/chunks/{rpc-gsepd1qv.js → shell-r7wttt38.js} +11 -11
- package/dist/chunks/{rpc-w6393bmh.js → shell-r8m16k99.js} +7 -7
- package/dist/chunks/{rpc-1zjf9yvn.js → shell-r8tp4xng.js} +37 -37
- package/dist/chunks/{rpc-r9mregkx.js → shell-r9mregkx.js} +2 -2
- package/dist/chunks/{rpc-ttmwpwhe.js → shell-s24xwzhn.js} +21 -21
- package/dist/chunks/{rpc-0w5xhpes.js → shell-s594x3a1.js} +17 -17
- package/dist/chunks/{rpc-keedsq9y.js → shell-sba7bcww.js} +20 -20
- package/dist/chunks/{rpc-mkf7r8vc.js → shell-sbrky0je.js} +5 -5
- package/dist/chunks/{rpc-p4zt19y4.js → shell-sccxx93j.js} +11 -11
- package/dist/chunks/{rpc-fkgz1789.js → shell-sp5ebaa4.js} +8 -8
- package/dist/chunks/{rpc-why2nj5b.js → shell-srhw5zxk.js} +8 -8
- package/dist/chunks/{rpc-9tp6rg03.js → shell-ssybasmv.js} +55 -55
- package/dist/chunks/{rpc-286te107.js → shell-svh6bksy.js} +46 -46
- package/dist/chunks/{rpc-hrvd6t1f.js → shell-t0x5rdq8.js} +9 -9
- package/dist/chunks/{rpc-pkcwckcb.js → shell-t7295w2z.js} +87 -87
- package/dist/chunks/{rpc-4jmdj23e.js → shell-t89hfesc.js} +5 -5
- package/dist/chunks/{rpc-vkd6hz7d.js → shell-t97t2t7r.js} +16 -16
- package/dist/chunks/{rpc-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-46t3hpnf.js → shell-tb2t6pfk.js} +11 -11
- package/dist/chunks/{rpc-89znhe33.js → shell-tcezcvh9.js} +4 -4
- package/dist/chunks/{rpc-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-500m5zw2.js → shell-tjn88awr.js} +5 -5
- package/dist/chunks/{rpc-gbtk5xpy.js → shell-tjvj2ye7.js} +14 -14
- package/dist/chunks/{rpc-dnz2amen.js → shell-tsmdsbrt.js} +4 -4
- package/dist/chunks/{rpc-gmt7v2f0.js → shell-tvqztyf1.js} +25 -25
- package/dist/chunks/{rpc-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/{rpc-524b8jaz.js → shell-txmzda4v.js} +5 -5
- package/dist/chunks/{rpc-qzfy2ng8.js → shell-v261m4vn.js} +14 -14
- package/dist/chunks/{rpc-6kjxaxcs.js → shell-v38hr624.js} +9 -9
- package/dist/chunks/{rpc-ekej3swh.js → shell-v7n01w8h.js} +13 -13
- package/dist/chunks/{rpc-pg92xra1.js → shell-vag79jb7.js} +20 -20
- package/dist/chunks/{rpc-sx1n432n.js → shell-ve4pfa0n.js} +4 -4
- package/dist/chunks/{rpc-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-c2z3ng5v.js → shell-vm5yje8t.js} +15 -15
- package/dist/chunks/{rpc-jyes105x.js → shell-vmtg2jww.js} +26 -26
- package/dist/chunks/{rpc-zsdfvbwd.js → shell-vyt7er0z.js} +8 -8
- package/dist/chunks/{rpc-rq0td61g.js → shell-vyzzed90.js} +10 -10
- package/dist/chunks/{rpc-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{rpc-81czwxpn.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{rpc-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-9qxv0saq.js → shell-w5e0rffm.js} +47 -47
- package/dist/chunks/{rpc-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-e4mg6za6.js → shell-wd8n4s43.js} +25 -25
- package/dist/chunks/{rpc-t04z7qz2.js → shell-we16zy36.js} +48 -48
- package/dist/chunks/{rpc-eac5h0qb.js → shell-wk8z1bqt.js} +27 -27
- package/dist/chunks/{rpc-njqd2r1p.js → shell-wnxjx791.js} +54 -54
- package/dist/chunks/{rpc-an5xxpg3.js → shell-wrjtwt5e.js} +16 -16
- package/dist/chunks/{rpc-b3wv5y56.js → shell-wrnhm9vn.js} +6 -6
- package/dist/chunks/{rpc-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{rpc-vbpsb3q0.js → shell-x3d4jfyq.js} +6 -6
- package/dist/chunks/{rpc-n8pzc7q0.js → shell-x7pryeww.js} +5 -5
- package/dist/chunks/{rpc-ecstd3x3.js → shell-xegjm1yz.js} +19 -19
- package/dist/chunks/{rpc-5frpvc34.js → shell-xg9t41r3.js} +2 -2
- package/dist/chunks/{rpc-wegwrt47.js → shell-xh2y7gdn.js} +18 -18
- package/dist/chunks/{rpc-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-jz2xfere.js → shell-y27npyv3.js} +33 -33
- package/dist/chunks/{rpc-9fvtqfah.js → shell-y6cbkzy7.js} +28 -28
- package/dist/chunks/{rpc-t97x3sry.js → shell-y6vkn53y.js} +2 -2
- package/dist/chunks/{rpc-etjfar9p.js → shell-ybb32c7q.js} +11 -11
- package/dist/chunks/{rpc-0mvp0mh7.js → shell-ye4pzvdc.js} +18 -18
- package/dist/chunks/{rpc-5tstk5gw.js → shell-yedr9c85.js} +17 -17
- package/dist/chunks/{rpc-mqqw7r41.js → shell-ym00f2st.js} +10 -10
- package/dist/chunks/{rpc-w0r53wm9.js → shell-yp48q4z8.js} +8 -8
- package/dist/chunks/{rpc-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{rpc-yrznvahk.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{rpc-kkxr41sk.js → shell-yyqmvdec.js} +16 -16
- package/dist/chunks/{rpc-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-z63w68vq.js → shell-z63w68vq.js} +2 -2
- package/dist/chunks/{rpc-d11nd7zh.js → shell-z76rvear.js} +4 -4
- package/dist/chunks/{rpc-rq775frq.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{rpc-2pfz77pe.js → shell-zfj5hy1g.js} +23 -23
- package/dist/chunks/{rpc-m060z7eb.js → shell-zgavb9cq.js} +16 -16
- package/dist/chunks/{rpc-f7bvpx2e.js → shell-zgda001e.js} +11 -11
- package/dist/chunks/{rpc-k6vfasqn.js → shell-zqhama0g.js} +1 -1
- package/dist/chunks/{rpc-tkptyfyx.js → shell-zqw1zjbk.js} +46 -46
- package/dist/chunks/{rpc-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-xwk582wh.js → shell-zwxne7nm.js} +30 -30
- package/dist/chunks/{rpc-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +157 -157
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +87 -87
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +116 -116
- package/dist/config/plugin/provider.js +115 -115
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +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 +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +90 -90
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +92 -92
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +101 -101
- package/dist/file-mutation.js +91 -91
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +86 -86
- package/dist/generate.js +92 -92
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- 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 +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +130 -130
- package/dist/location-mutation.js +101 -101
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +352 -352
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +88 -88
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +87 -87
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +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 +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +215 -215
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +99 -99
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/azure.js +120 -120
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +119 -119
- package/dist/plugin/provider/cloudflare-workers-ai.js +119 -119
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +116 -116
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +119 -119
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +119 -119
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +71 -71
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +226 -226
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +78 -78
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +83 -83
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +147 -147
- package/dist/session/diff.js +85 -85
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +111 -111
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +128 -128
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +102 -102
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +87 -87
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +227 -227
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +133 -133
- package/dist/session/skill.js +100 -100
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +109 -109
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +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 +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +119 -119
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +111 -111
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +83 -83
- 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 +93 -93
- 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-fka8kn59.js +0 -26
- package/dist/chunks/rpc-vnkjks7b.js +0 -18
- /package/dist/chunks/{rpc-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-hrnqkpcd.js → shell-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-paphc93g.js → shell-paphc93g.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service63,
|
|
8
|
+
node66
|
|
9
|
+
} from "./shell-cvacbsd4.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-8d7r5vzw.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error2,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service17,
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/unstable/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service17 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error2({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service63;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service17.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node20 = makeLocationNode({ service: Service17, layer, deps: [node66, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error2, InvalidPatternError2, Service17, node20, exports_ripgrep };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service73,
|
|
6
|
+
node78
|
|
7
|
+
} from "./shell-zgavb9cq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service17,
|
|
10
|
+
node20
|
|
11
|
+
} from "./shell-5t96p4mv.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./shell-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options3,
|
|
25
|
+
Service: () => Service16,
|
|
26
|
+
configured: () => configured3,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node19,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options3 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service16 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const ripgrep = yield* Service17;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service16.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service16, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service73;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service16.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service16.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service69, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service73;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured3(options) {
|
|
186
|
+
return makeLocationNode({ service: Service16, layer: layer9(options), deps: [node78, node20] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node19 = configured3();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options3, Service16, ripgrepLayer2, fffLayer2, layer9, configured3, node19, exports_search };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -10,8 +10,8 @@ __export(exports_driver, {
|
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make19,
|
|
14
|
+
node: () => node70,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make19 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node70 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node70, exports_driver };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-5se65zms.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-cwae0t4a.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
deletePatch2,
|
|
8
8
|
countPatch2,
|
|
9
9
|
chunksByFile2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-tazgh4e4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./shell-zgavb9cq.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-hxbwmv2e.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/hg.ts
|
|
22
22
|
var exports_hg = {};
|
|
23
23
|
__export(exports_hg, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin33,
|
|
25
25
|
VcsHgPlugin: () => exports_hg
|
|
26
26
|
});
|
|
27
27
|
import path from "path";
|
|
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
|
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
32
32
|
import { AppProcess } from "@opencode/util/process";
|
|
33
|
-
var
|
|
33
|
+
var Plugin33 = define({
|
|
34
34
|
id: "opencode.vcs.hg",
|
|
35
35
|
effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
|
|
36
|
-
const location = yield*
|
|
36
|
+
const location = yield* Service73;
|
|
37
37
|
if (location.vcs?.type !== "hg")
|
|
38
38
|
return;
|
|
39
39
|
const processes = yield* AppProcess.Service;
|
|
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
|
|
|
188
188
|
return { status, diff, branch, ancestor, cat };
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
export {
|
|
191
|
+
export { Plugin33, exports_hg };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service60,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node63
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service60 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service60, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service60.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service35, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node63 = makeGlobalNode({ service: Service60, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service60, node63, exports_environment };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-2130zj7j.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-tsmdsbrt.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node80
|
|
15
|
+
} from "./shell-zgda001e.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info32,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event18,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-cntxze1n.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./shell-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shell-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID16,
|
|
40
|
+
Info: () => Info31,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service74,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node79,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID16 = ID17;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info31 = Info32;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID16
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service74 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -93,9 +93,9 @@ function fromRow(row) {
|
|
|
93
93
|
sandboxes: row.sandboxes
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
-
var layer = Layer.effect(
|
|
96
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
97
97
|
const fs = yield* FSUtil.Service;
|
|
98
|
-
const git = yield*
|
|
98
|
+
const git = yield* Service75;
|
|
99
99
|
const proc = yield* AppProcess.Service;
|
|
100
100
|
const bus = yield* Service79;
|
|
101
101
|
const db = (yield* Service80).db;
|
|
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
106
106
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
107
107
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
108
108
|
if (row)
|
|
109
|
-
yield* bus.publish(
|
|
109
|
+
yield* bus.publish(Event18.Updated, fromRow(row));
|
|
110
110
|
}
|
|
111
111
|
if (!project.vcs)
|
|
112
112
|
return project;
|
|
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
143
143
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
144
144
|
projectID: item.projectID,
|
|
145
145
|
directory: item.directory,
|
|
146
|
-
previous: project.previous ??
|
|
146
|
+
previous: project.previous ?? ID16.global,
|
|
147
147
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
148
148
|
}, {
|
|
149
149
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -168,11 +168,11 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
168
168
|
if (!row)
|
|
169
169
|
return yield* new NotFoundError11({ projectID: input.projectID });
|
|
170
170
|
const project = fromRow(row);
|
|
171
|
-
yield* bus.publish(
|
|
171
|
+
yield* bus.publish(Event18.Updated, project);
|
|
172
172
|
return project;
|
|
173
173
|
});
|
|
174
174
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
175
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
175
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
176
176
|
return;
|
|
177
177
|
}));
|
|
178
178
|
});
|
|
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
183
183
|
const normalized = url(origin);
|
|
184
184
|
if (!normalized)
|
|
185
185
|
return;
|
|
186
|
-
return
|
|
186
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
187
187
|
});
|
|
188
188
|
function url(input) {
|
|
189
189
|
const value = input.trim();
|
|
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
208
208
|
}
|
|
209
209
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
210
210
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
211
|
-
return root ?
|
|
211
|
+
return root ? ID16.make(root) : undefined;
|
|
212
212
|
});
|
|
213
213
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
214
214
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
224
224
|
return;
|
|
225
225
|
const node = result.stdout.toString("utf8").split(`
|
|
226
226
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
227
|
-
return node ?
|
|
227
|
+
return node ? ID16.make(node) : undefined;
|
|
228
228
|
});
|
|
229
229
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
230
230
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
233
233
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
234
234
|
return {
|
|
235
235
|
previous,
|
|
236
|
-
id: id ??
|
|
236
|
+
id: id ?? ID16.global,
|
|
237
237
|
directory: worktree,
|
|
238
238
|
vcs: { type: "hg", store }
|
|
239
239
|
};
|
|
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
250
250
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
251
251
|
return yield* persist({
|
|
252
252
|
previous,
|
|
253
|
-
id: id ??
|
|
253
|
+
id: id ?? ID16.global,
|
|
254
254
|
directory: repo.worktree,
|
|
255
255
|
canonical,
|
|
256
256
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
264
264
|
});
|
|
265
265
|
}
|
|
266
266
|
return yield* persist({
|
|
267
|
-
id:
|
|
267
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
268
268
|
directory,
|
|
269
269
|
canonical: directory,
|
|
270
270
|
vcs: undefined
|
|
271
271
|
});
|
|
272
272
|
});
|
|
273
|
-
return
|
|
273
|
+
return Service74.of({ list, update, resolve });
|
|
274
274
|
}));
|
|
275
|
-
var
|
|
276
|
-
service:
|
|
275
|
+
var node79 = makeGlobalNode({
|
|
276
|
+
service: Service74,
|
|
277
277
|
layer,
|
|
278
|
-
deps: [node84, node85, FSUtil.node,
|
|
278
|
+
deps: [node84, node85, FSUtil.node, node80, AppProcess.node]
|
|
279
279
|
});
|
|
280
280
|
|
|
281
|
-
export {
|
|
281
|
+
export { ID16, Vcs2, Current2, Info31, UpdateInput3, NotFoundError11, root2, Service74, node79, exports_project };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service61
|
|
3
|
+
} from "./shell-dnyx0jag.js";
|
|
4
4
|
import {
|
|
5
5
|
Service45
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-t89hfesc.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin13
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin13 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service61;
|
|
26
26
|
const image = yield* Service45;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
@@ -43,4 +43,4 @@ var Plugin40 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin13, exports_image };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|