@opencode/core 0.0.0-dev-19417 → 0.0.0-dev-19418
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 +73 -73
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{state-ge924j7m.js → location-mutation-0at1dgts.js} +42 -42
- package/dist/chunks/{state-51sqk4p3.js → location-mutation-0azjn6sr.js} +4 -4
- package/dist/chunks/{state-3yvg7ec0.js → location-mutation-0c8czza9.js} +16 -16
- package/dist/chunks/{state-9mtn2cv8.js → location-mutation-0jcafdzy.js} +39 -39
- package/dist/chunks/{state-x7thm6pv.js → location-mutation-0jjqb7mh.js} +4 -4
- package/dist/chunks/{state-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{state-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{state-0wx9a7sf.js → location-mutation-0rdv8sdz.js} +13 -13
- package/dist/chunks/{state-sx1n432n.js → location-mutation-0v53mg2y.js} +4 -4
- package/dist/chunks/{state-mn06vk7v.js → location-mutation-0vqy458c.js} +9 -9
- package/dist/chunks/{state-0gr7cw0d.js → location-mutation-18e56dsp.js} +4 -4
- package/dist/chunks/{state-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{state-jefma2gq.js → location-mutation-1e9w7pgh.js} +10 -10
- package/dist/chunks/{state-7sdps93t.js → location-mutation-1eyaby9q.js} +5 -5
- package/dist/chunks/{state-066qkj8w.js → location-mutation-1gt6pg26.js} +14 -14
- package/dist/chunks/{state-5w8d3jay.js → location-mutation-1wfb8cmh.js} +16 -16
- package/dist/chunks/{state-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{state-6h73sxmp.js → location-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{state-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{state-7ezme6az.js → location-mutation-2aten2pp.js} +21 -21
- package/dist/chunks/{state-7dqw4kz8.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{state-hnhyr0c0.js → location-mutation-38zjj427.js} +15 -15
- package/dist/chunks/{state-wwxgka64.js → location-mutation-3fqa324q.js} +18 -18
- package/dist/chunks/{state-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{state-2bdvqy9h.js → location-mutation-3j3vzkqm.js} +3 -3
- package/dist/chunks/{state-4fh9rp06.js → location-mutation-3mxe0cfz.js} +11 -11
- package/dist/chunks/{state-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{state-50mzsvk4.js → location-mutation-3t8eac1t.js} +4 -4
- package/dist/chunks/{state-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{state-tz2bjj40.js → location-mutation-3w2b2yj4.js} +5 -5
- package/dist/chunks/{state-bgzb6mwh.js → location-mutation-3xq09ctw.js} +14 -14
- package/dist/chunks/{state-w73cktdb.js → location-mutation-3zbghj6b.js} +24 -24
- package/dist/chunks/{state-5qb0shjw.js → location-mutation-41v0ykex.js} +25 -25
- package/dist/chunks/{state-zf33mq30.js → location-mutation-43wkwns3.js} +20 -20
- package/dist/chunks/{state-nhy5jxhy.js → location-mutation-47gsdddb.js} +5 -5
- package/dist/chunks/{state-fygdb7h7.js → location-mutation-47r3zz0x.js} +3 -3
- package/dist/chunks/{state-srkp4j65.js → location-mutation-4bek1fet.js} +24 -24
- package/dist/chunks/{state-yzwd6hg8.js → location-mutation-4j17gp9s.js} +8 -8
- package/dist/chunks/{state-61rp159a.js → location-mutation-4rj1fxpy.js} +17 -17
- package/dist/chunks/{state-6www0xvk.js → location-mutation-4t1s2y34.js} +23 -23
- package/dist/chunks/{state-1y8vqfwf.js → location-mutation-4tm4v716.js} +22 -22
- package/dist/chunks/{state-96yt6zt0.js → location-mutation-4whayx0s.js} +1 -1
- package/dist/chunks/{state-wsysymfc.js → location-mutation-514dm7sz.js} +78 -78
- package/dist/chunks/{state-1ygqh575.js → location-mutation-56gdpj1q.js} +9 -9
- package/dist/chunks/{state-42aph06y.js → location-mutation-5bmzabcb.js} +29 -29
- package/dist/chunks/{state-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{state-5kptn8c0.js → location-mutation-5kptn8c0.js} +2 -2
- package/dist/chunks/{state-0dhmg274.js → location-mutation-5srqrzkb.js} +13 -13
- package/dist/chunks/{state-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{state-2q862m59.js → location-mutation-5tjgq90g.js} +18 -18
- package/dist/chunks/{state-ytm6k3pf.js → location-mutation-64n1nww9.js} +23 -23
- package/dist/chunks/{state-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{state-63311j7c.js → location-mutation-66zqvmfb.js} +15 -15
- package/dist/chunks/{state-jj6p7979.js → location-mutation-6d564yyh.js} +18 -18
- package/dist/chunks/{state-e3ywz855.js → location-mutation-6er3j4n0.js} +11 -11
- package/dist/chunks/{state-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{state-tvtmmrz5.js → location-mutation-6qwk570e.js} +13 -13
- package/dist/chunks/{state-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{state-x8rj6ez0.js → location-mutation-72x48231.js} +7 -7
- package/dist/chunks/{state-mhkvc446.js → location-mutation-73tb2d7t.js} +3 -3
- package/dist/chunks/{state-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{state-bj61vyhj.js → location-mutation-7nr37ra4.js} +11 -11
- package/dist/chunks/{state-nz26nxtf.js → location-mutation-7s15f4tt.js} +14 -14
- package/dist/chunks/{state-8ebb7t3v.js → location-mutation-7zyxb8cr.js} +14 -14
- package/dist/chunks/{state-tha5f9wh.js → location-mutation-81hpt686.js} +6 -6
- package/dist/chunks/{state-jk87kmpx.js → location-mutation-82bg67ry.js} +32 -32
- package/dist/chunks/{state-65mn4jpx.js → location-mutation-836s2waj.js} +7 -7
- package/dist/chunks/{state-x3et2xth.js → location-mutation-844ef7ks.js} +8 -8
- package/dist/chunks/{state-zyf4mc13.js → location-mutation-84pjytny.js} +20 -20
- package/dist/chunks/{state-h299w6tn.js → location-mutation-87h87vf0.js} +39 -39
- package/dist/chunks/{state-6v59tey3.js → location-mutation-88dctvys.js} +7 -7
- package/dist/chunks/{state-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{state-r4ep3j0m.js → location-mutation-8d981hya.js} +32 -32
- package/dist/chunks/{state-wbp8ajd5.js → location-mutation-8em8258v.js} +27 -27
- package/dist/chunks/{state-1f4fgzdm.js → location-mutation-8jfggrwh.js} +20 -20
- package/dist/chunks/{state-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{state-1fdrhs0c.js → location-mutation-8s3bya6s.js} +10 -10
- package/dist/chunks/{state-7m5f9412.js → location-mutation-8wsye86r.js} +8 -8
- package/dist/chunks/{state-czf73tjr.js → location-mutation-92p28a2g.js} +9 -9
- package/dist/chunks/{state-2hg7qvzt.js → location-mutation-96te9d4b.js} +5 -5
- package/dist/chunks/{state-zntppk5h.js → location-mutation-9qrsfw37.js} +14 -14
- package/dist/chunks/location-mutation-9sh4wc5j.js +18 -0
- package/dist/chunks/{state-2cak2ffx.js → location-mutation-9vwma8zt.js} +12 -12
- package/dist/chunks/{state-xhmq8qgk.js → location-mutation-9zswys26.js} +9 -9
- package/dist/chunks/{state-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{state-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{state-00wfxggy.js → location-mutation-abezn3p7.js} +23 -23
- package/dist/chunks/{state-w4apvevz.js → location-mutation-ae17mrde.js} +39 -39
- package/dist/chunks/{state-1g7epwpd.js → location-mutation-b27vhd2z.js} +5 -5
- package/dist/chunks/{state-fyjrpq2n.js → location-mutation-b40gkt47.js} +5 -5
- package/dist/chunks/{state-ap27jtgp.js → location-mutation-b6cez5sj.js} +10 -10
- package/dist/chunks/{state-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/location-mutation-bbxvem25.js +22 -0
- package/dist/chunks/{state-9gr8y5ys.js → location-mutation-bha4atvq.js} +4 -4
- package/dist/chunks/{state-m73dqb1s.js → location-mutation-bjtgenxc.js} +23 -23
- package/dist/chunks/location-mutation-bm6n0t2a.js +247 -0
- package/dist/chunks/{state-dsw1ndrf.js → location-mutation-byhd97gn.js} +23 -23
- package/dist/chunks/{state-q78npgc3.js → location-mutation-c3f144mk.js} +11 -11
- package/dist/chunks/{state-6hk2kazq.js → location-mutation-cbr7n5bp.js} +21 -21
- package/dist/chunks/{state-mptdwt93.js → location-mutation-cd0cw9wc.js} +10 -10
- package/dist/chunks/{state-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{state-dtwe6gdy.js → location-mutation-cjwfgz9w.js} +3 -3
- package/dist/chunks/{state-bz9ncdsc.js → location-mutation-czqwawk1.js} +11 -11
- package/dist/chunks/{state-nbzsj80d.js → location-mutation-d8bwwvjm.js} +8 -8
- package/dist/chunks/{state-kcq3q37j.js → location-mutation-db72jng6.js} +24 -24
- package/dist/chunks/{state-desf89vc.js → location-mutation-dc6tzc5b.js} +9 -9
- package/dist/chunks/{state-zcb40fcd.js → location-mutation-dd1946ec.js} +9 -9
- package/dist/chunks/{state-gsrxbby1.js → location-mutation-dgkbpb0z.js} +8 -8
- package/dist/chunks/{state-4khkba8k.js → location-mutation-dmpnqa4c.js} +7 -7
- package/dist/chunks/{state-eg2tb1rm.js → location-mutation-dnga40es.js} +11 -11
- package/dist/chunks/{state-pj5hzraa.js → location-mutation-dtz65a83.js} +32 -32
- package/dist/chunks/{state-4ymk9r0e.js → location-mutation-e69jvgpv.js} +1 -1
- package/dist/chunks/{state-km9xg0y0.js → location-mutation-e9y1n4eq.js} +22 -22
- package/dist/chunks/{state-6yt3p2w4.js → location-mutation-ea967z7b.js} +27 -27
- package/dist/chunks/{state-02nrjc1r.js → location-mutation-eaj1djv9.js} +4 -4
- package/dist/chunks/{state-e6hd9jay.js → location-mutation-efv4s0g0.js} +4 -4
- package/dist/chunks/{state-eqv7r0bw.js → location-mutation-eqv7r0bw.js} +6 -6
- package/dist/chunks/{state-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{state-mtw5xpj5.js → location-mutation-ey6kwa4m.js} +14 -14
- package/dist/chunks/{state-r9babyk8.js → location-mutation-ezn8zr4k.js} +1 -1
- package/dist/chunks/{state-vg7v1mq5.js → location-mutation-f5mzv18t.js} +30 -30
- package/dist/chunks/{state-t6wrgqgp.js → location-mutation-f80zej9y.js} +17 -17
- package/dist/chunks/{state-f828m53h.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{state-mt2y3rmv.js → location-mutation-f8mxbdz5.js} +18 -18
- package/dist/chunks/{state-nc1v4c4k.js → location-mutation-f924m4kc.js} +5 -5
- package/dist/chunks/{state-fnr1gee3.js → location-mutation-f9m0m19r.js} +46 -46
- package/dist/chunks/{state-p8dje7jp.js → location-mutation-fab4hqg5.js} +24 -24
- package/dist/chunks/{state-gqpnndec.js → location-mutation-fgh4s40a.js} +12 -12
- package/dist/chunks/{state-vj0fkvb7.js → location-mutation-fh8rk5rm.js} +13 -13
- package/dist/chunks/{state-tx1bbn1t.js → location-mutation-fnhgpw53.js} +2 -2
- package/dist/chunks/{state-crehqsnt.js → location-mutation-fsbgy90x.js} +4 -4
- package/dist/chunks/{state-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{state-q6j3kbw7.js → location-mutation-g69b3nsp.js} +7 -7
- package/dist/chunks/{state-k16ay38w.js → location-mutation-g6ew7cqr.js} +1 -1
- package/dist/chunks/{state-f8q7mv7a.js → location-mutation-g9245y80.js} +1 -1
- package/dist/chunks/{state-m71ggxp1.js → location-mutation-gas2w1ne.js} +6 -6
- package/dist/chunks/{state-ted4v28k.js → location-mutation-gaswy4fy.js} +31 -31
- package/dist/chunks/{state-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{state-3fc6dm20.js → location-mutation-gdvy8fx6.js} +4 -4
- package/dist/chunks/{state-z69s9t6b.js → location-mutation-gey3b743.js} +5 -5
- package/dist/chunks/{state-rxp6shwg.js → location-mutation-ghasjdrg.js} +25 -25
- package/dist/chunks/{state-jbpvaypx.js → location-mutation-gj0dd9a5.js} +27 -27
- package/dist/chunks/{state-r11ajgf0.js → location-mutation-gmjjhz4f.js} +6 -6
- package/dist/chunks/{state-bvk82pqx.js → location-mutation-grgdtd1e.js} +35 -35
- package/dist/chunks/{state-x7cszgen.js → location-mutation-gsazbvxt.js} +9 -9
- package/dist/chunks/{state-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{state-tf8b2rra.js → location-mutation-gzyxv0pn.js} +20 -20
- package/dist/chunks/{state-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{state-32w6yhxp.js → location-mutation-h1wjmbkk.js} +46 -46
- package/dist/chunks/{state-gj9xpvv3.js → location-mutation-h6nsps6f.js} +4 -4
- package/dist/chunks/{state-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{state-m86bnw2c.js → location-mutation-h7ygw6q4.js} +9 -9
- package/dist/chunks/{state-ty5dcm6b.js → location-mutation-h8qfas8f.js} +49 -49
- package/dist/chunks/{state-5wpq217t.js → location-mutation-h9nnf5ws.js} +4 -4
- package/dist/chunks/{state-wbkyxrgf.js → location-mutation-hcz3zddy.js} +5 -5
- package/dist/chunks/{state-qde0q9gx.js → location-mutation-hhvmp6hz.js} +8 -8
- package/dist/chunks/{state-y6kkr5ec.js → location-mutation-hpp25ebc.js} +10 -10
- package/dist/chunks/{state-5wkjyw8p.js → location-mutation-hs65ptje.js} +15 -15
- package/dist/chunks/{state-fgh0kbhd.js → location-mutation-hx55d56e.js} +1 -1
- package/dist/chunks/{state-wmtzy23c.js → location-mutation-hxtmqnrf.js} +16 -16
- package/dist/chunks/{state-rgrqjgjs.js → location-mutation-j0hvwk9n.js} +17 -17
- package/dist/chunks/{state-2j86tmtz.js → location-mutation-j113vdcs.js} +3 -3
- package/dist/chunks/{state-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{state-7f2jh0qn.js → location-mutation-j5bh0wmn.js} +11 -11
- package/dist/chunks/{state-4gycnsfp.js → location-mutation-jbjr1a4g.js} +4 -4
- package/dist/chunks/{state-1ksnyvb3.js → location-mutation-jd4c6e0g.js} +46 -46
- package/dist/chunks/{state-9rga3kb5.js → location-mutation-jhtwchfn.js} +11 -11
- package/dist/chunks/{state-g71ct4k0.js → location-mutation-jqaj71sm.js} +12 -12
- package/dist/chunks/{state-9gwet866.js → location-mutation-jy375f8f.js} +9 -9
- package/dist/chunks/{state-wke5383d.js → location-mutation-jysk5p21.js} +17 -17
- package/dist/chunks/{state-wds6e8mb.js → location-mutation-k1jrpyvx.js} +9 -9
- package/dist/chunks/{state-2w5z3j1a.js → location-mutation-k4b28awz.js} +10 -10
- package/dist/chunks/{state-bpqahvg7.js → location-mutation-ka2k270b.js} +8 -8
- package/dist/chunks/{state-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{state-ef625r2z.js → location-mutation-kkyy9fk9.js} +14 -14
- package/dist/chunks/{state-90442k3a.js → location-mutation-kr70pbj8.js} +32 -32
- package/dist/chunks/{state-7jc1agss.js → location-mutation-m1sr9yce.js} +26 -26
- package/dist/chunks/{state-gtrw2qym.js → location-mutation-m8426q42.js} +25 -25
- package/dist/chunks/{state-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{state-b85erezf.js → location-mutation-mawt5qf7.js} +56 -56
- package/dist/chunks/{state-4vrct9zm.js → location-mutation-mgntzgg6.js} +18 -18
- package/dist/chunks/{state-bk0e418j.js → location-mutation-mgz0y9y1.js} +11 -11
- package/dist/chunks/{state-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{state-ksz0h0wp.js → location-mutation-mp045f7j.js} +1 -1
- package/dist/chunks/{state-x8yc61fk.js → location-mutation-n0ydf6ct.js} +4 -4
- package/dist/chunks/{state-km680rkc.js → location-mutation-naztm8rb.js} +13 -13
- package/dist/chunks/{state-28gynx35.js → location-mutation-nb37dnme.js} +26 -26
- package/dist/chunks/{state-n76fdqym.js → location-mutation-njyck951.js} +5 -5
- package/dist/chunks/{state-3spc9b0y.js → location-mutation-nn1a9pd6.js} +8 -8
- package/dist/chunks/{state-m0sxcqt2.js → location-mutation-nn23dsca.js} +14 -14
- package/dist/chunks/location-mutation-nnxgfjxc.js +462 -0
- package/dist/chunks/{state-qrg5hbxp.js → location-mutation-nr44y0jg.js} +17 -17
- package/dist/chunks/{state-r6ydxe53.js → location-mutation-nwdsawfy.js} +11 -11
- package/dist/chunks/{state-rkmqat29.js → location-mutation-p2b6fe4v.js} +24 -24
- package/dist/chunks/{state-xqm5bvqa.js → location-mutation-p2m13sj7.js} +27 -27
- package/dist/chunks/{state-scw7b4kd.js → location-mutation-p5ckrkz6.js} +4 -4
- package/dist/chunks/{state-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{state-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{state-2vd4sda7.js → location-mutation-psjgct05.js} +3 -3
- package/dist/chunks/{state-qcpv5myg.js → location-mutation-pycg9kmm.js} +21 -21
- package/dist/chunks/{state-9vs0xtad.js → location-mutation-q3t37ft6.js} +3 -3
- package/dist/chunks/{state-p068qqsj.js → location-mutation-q49jh35q.js} +6 -6
- package/dist/chunks/{state-vvqrkmmn.js → location-mutation-q4cnpa82.js} +2 -2
- package/dist/chunks/{state-ykq2h6pr.js → location-mutation-qgj2gmvg.js} +6 -6
- package/dist/chunks/{state-fa2tgj35.js → location-mutation-qgrpvh6y.js} +13 -13
- package/dist/chunks/{state-1m7gx937.js → location-mutation-qkfcc35g.js} +7 -7
- package/dist/chunks/{state-vkt5fbj2.js → location-mutation-qm7jrdpz.js} +8 -8
- package/dist/chunks/{state-qkwm3mh9.js → location-mutation-qp56629k.js} +19 -19
- package/dist/chunks/{state-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{state-rhraev7y.js → location-mutation-r8xr0va3.js} +4 -4
- package/dist/chunks/{state-q9xdtjp2.js → location-mutation-r97capk8.js} +46 -46
- package/dist/chunks/{state-avp9g4w2.js → location-mutation-rdm5pf0f.js} +15 -15
- package/dist/chunks/{state-29zj8nk3.js → location-mutation-rf0bd2dv.js} +2 -2
- package/dist/chunks/{state-wx9wy1qm.js → location-mutation-rfnzy394.js} +1 -1
- package/dist/chunks/{state-f1yy6z4t.js → location-mutation-rhrs8d8a.js} +5 -5
- package/dist/chunks/{state-k76fn4kw.js → location-mutation-rpg9c19m.js} +4 -4
- package/dist/chunks/{state-qh1vzpa3.js → location-mutation-rqsy9jfp.js} +8 -8
- package/dist/chunks/{state-abzx8bgj.js → location-mutation-rwd9d0j7.js} +11 -11
- package/dist/chunks/{state-1cct8kcv.js → location-mutation-rydh8xqx.js} +6 -6
- package/dist/chunks/{state-v7hd7bnc.js → location-mutation-s1h7q102.js} +15 -15
- package/dist/chunks/{state-042s3amf.js → location-mutation-s8rwmjr0.js} +11 -11
- package/dist/chunks/{state-g0mtbafz.js → location-mutation-sassn4bh.js} +3 -3
- package/dist/chunks/{state-dn7xhbn4.js → location-mutation-shrpy2d8.js} +4 -4
- package/dist/chunks/{state-s835qbj0.js → location-mutation-sj6fyths.js} +18 -18
- package/dist/chunks/{state-a7jajy5d.js → location-mutation-ss9xbr1v.js} +6 -6
- package/dist/chunks/{state-2rs9bjec.js → location-mutation-sw100a17.js} +20 -20
- package/dist/chunks/{state-qvzm18dh.js → location-mutation-t0w5t2p9.js} +36 -36
- package/dist/chunks/{state-jeb4xcwa.js → location-mutation-t5e9ke13.js} +5 -5
- package/dist/chunks/{state-mcpt8bkr.js → location-mutation-taac5f65.js} +49 -49
- package/dist/chunks/{state-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{state-mh6832qx.js → location-mutation-tc1rgqrk.js} +26 -26
- package/dist/chunks/{state-se2zbpq4.js → location-mutation-tc4bwz4d.js} +84 -84
- package/dist/chunks/{state-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{state-ed6v5dqc.js → location-mutation-td93y0md.js} +33 -33
- package/dist/chunks/{state-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{state-p2aqfnpv.js → location-mutation-tt2g822k.js} +18 -18
- package/dist/chunks/{state-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{state-vzhfee2j.js → location-mutation-tz31g325.js} +15 -15
- package/dist/chunks/{state-nejmrbzt.js → location-mutation-v1mp8shd.js} +32 -32
- package/dist/chunks/{state-j9ge49hn.js → location-mutation-v25z4a8a.js} +34 -34
- package/dist/chunks/{state-jt51yh8d.js → location-mutation-v53gnzvk.js} +20 -20
- package/dist/chunks/{state-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{state-y2616w7b.js → location-mutation-veyjd4rh.js} +17 -17
- package/dist/chunks/{state-6fk9gyy2.js → location-mutation-vv4t1sa5.js} +13 -13
- package/dist/chunks/{state-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{state-cjsb4aez.js → location-mutation-vze96k0n.js} +4 -4
- package/dist/chunks/{state-rsdf2nvv.js → location-mutation-w1k39n5e.js} +4 -4
- package/dist/chunks/{state-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{state-hz1cvwa4.js → location-mutation-w832q7c0.js} +11 -11
- package/dist/chunks/{state-r38vse2c.js → location-mutation-wd66sdn1.js} +38 -38
- package/dist/chunks/{state-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{state-jtp5bn6d.js → location-mutation-wdskrzmg.js} +22 -22
- package/dist/chunks/{state-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{state-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{state-3rbrzhqv.js → location-mutation-xahxvcqc.js} +7 -7
- package/dist/chunks/{state-72s1wact.js → location-mutation-xsh4tk7k.js} +143 -143
- package/dist/chunks/{state-4vzv7cpc.js → location-mutation-xvjfdb6w.js} +15 -15
- package/dist/chunks/{state-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{state-vsw5hcvb.js → location-mutation-y48x47v0.js} +9 -9
- package/dist/chunks/{state-y71avatq.js → location-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{state-2x5jtj7n.js → location-mutation-y81v6499.js} +4 -4
- package/dist/chunks/{state-ad3z2jmd.js → location-mutation-y9c21x9k.js} +18 -18
- package/dist/chunks/{state-3v4jhxgr.js → location-mutation-ya8tq615.js} +30 -30
- package/dist/chunks/{state-db8qwr0q.js → location-mutation-yhg89gw1.js} +34 -34
- package/dist/chunks/{state-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{state-yrznvahk.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{state-yt0fqk68.js → location-mutation-yt0fqk68.js} +2 -2
- package/dist/chunks/{state-m27pyyd3.js → location-mutation-yt2qvb82.js} +8 -8
- package/dist/chunks/{state-dexz354z.js → location-mutation-yzsghzfy.js} +29 -29
- package/dist/chunks/{state-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{state-z63w68vq.js → location-mutation-z63w68vq.js} +2 -2
- package/dist/chunks/{state-56j0scq4.js → location-mutation-z6683fdr.js} +19 -19
- package/dist/chunks/{state-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{state-8qed9hmh.js → location-mutation-zg7j34pd.js} +4 -4
- package/dist/chunks/{state-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{state-qz8q6p3t.js → location-mutation-zsev4cyf.js} +4 -4
- package/dist/chunks/{state-ywsenab2.js → location-mutation-zw8jnkhh.js} +6 -6
- package/dist/chunks/{state-j25khcks.js → location-mutation-zwn4a66c.js} +26 -26
- package/dist/chunks/{state-h1p31dmy.js → location-mutation-zxck7hcj.js} +13 -13
- package/dist/chunks/{state-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +132 -132
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +358 -358
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +3 -3
- package/dist/instance.js +351 -351
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +82 -82
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +76 -76
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- 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/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- 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 +76 -76
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- 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 +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +339 -339
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +215 -215
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- 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 +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/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 +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- 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 +83 -83
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/state-619r8v3y.js +0 -18
- package/dist/chunks/state-8wtzn31m.js +0 -462
- package/dist/chunks/state-9av7zhqb.js +0 -247
- package/dist/chunks/state-swbd6aq4.js +0 -22
- /package/dist/chunks/{state-0mesazry.js → location-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{state-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{state-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{state-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{state-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{state-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{state-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{state-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{state-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{state-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{state-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{state-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{state-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{state-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{state-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{state-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{state-4vcrnpx2.js → location-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{state-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{state-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{state-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{state-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{state-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{state-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{state-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{state-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{state-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{state-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{state-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{state-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{state-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{state-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{state-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{state-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{state-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{state-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{state-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{state-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{state-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{state-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{state-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{state-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{state-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{state-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{state-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{state-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{state-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{state-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{state-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{state-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{state-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{state-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{state-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{state-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{state-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{state-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{state-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{state-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{state-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{state-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{state-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{state-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{state-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{state-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{state-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{state-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{state-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{state-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{state-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{state-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{state-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{state-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{state-paphc93g.js → location-mutation-paphc93g.js} +0 -0
- /package/dist/chunks/{state-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{state-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{state-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{state-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{state-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{state-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{state-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{state-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{state-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{state-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{state-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{state-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{state-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{state-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{state-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{state-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{state-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{state-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{state-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{state-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{state-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service62
|
|
4
|
+
} from "./location-mutation-0at1dgts.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service34
|
|
7
|
+
} from "./location-mutation-kr70pbj8.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin16
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin16 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service62;
|
|
27
|
+
const snapshot = yield* Service34;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin22 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin16, exports_snapshot };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service73,
|
|
3
|
+
node78,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-hpp25ebc.js";
|
|
6
6
|
import {
|
|
7
7
|
Service54,
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
node58
|
|
9
|
+
} from "./location-mutation-shrpy2d8.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./location-mutation-84pjytny.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-bm6n0t2a.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service73, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
28
28
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
29
29
|
return Effect.void;
|
|
30
30
|
if (Exit.isSuccess(exit)) {
|
|
31
|
-
build.close = Context.get(exit.value,
|
|
31
|
+
build.close = Context.get(exit.value, Service49).close;
|
|
32
32
|
return Effect.void;
|
|
33
33
|
}
|
|
34
34
|
MutableHashMap.remove(builds, ref);
|
|
@@ -50,11 +50,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
50
50
|
})
|
|
51
51
|
};
|
|
52
52
|
const bindings = [
|
|
53
|
-
|
|
53
|
+
node58.replace(Layer.succeed(Service54, {
|
|
54
54
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
55
55
|
})),
|
|
56
56
|
...replacements,
|
|
57
|
-
|
|
57
|
+
node78.replace(Layer.succeed(Service73, map))
|
|
58
58
|
];
|
|
59
59
|
return map;
|
|
60
60
|
}));
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./location-mutation-0at1dgts.js";
|
|
4
4
|
import {
|
|
5
5
|
Service10
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-5kptn8c0.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
15
|
var exports_location_watcher2 = {};
|
|
16
16
|
__export(exports_location_watcher2, {
|
|
17
17
|
ConfigLocationWatcherPlugin: () => exports_location_watcher2,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin18
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin18 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service62;
|
|
26
26
|
const policy = yield* Service10;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
@@ -35,4 +35,4 @@ var Plugin23 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin18, exports_location_watcher2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-fsbgy90x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service74,
|
|
7
|
+
node79
|
|
8
|
+
} from "./location-mutation-veyjd4rh.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-mutation-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_vcs, {
|
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
29
|
Info: () => Info5,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service19,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node23
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service19 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service74;
|
|
53
53
|
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service19.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node23 = makeLocationNode({
|
|
165
|
+
service: Service19,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node79, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info5, Mode2, DiffError2, Service19, node23, exports_vcs };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-yt2qvb82.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service62
|
|
8
|
+
} from "./location-mutation-0at1dgts.js";
|
|
9
9
|
import {
|
|
10
10
|
observe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-qsdy395h.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/config/plugin/provider.ts
|
|
17
17
|
var exports_provider = {};
|
|
18
18
|
__export(exports_provider, {
|
|
19
19
|
ConfigProviderPlugin: () => exports_provider,
|
|
20
|
-
Plugin: () =>
|
|
20
|
+
Plugin: () => Plugin23
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Money } from "@opencode/schema/money";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin23 = define({
|
|
26
26
|
id: "opencode.config.provider",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service62;
|
|
29
29
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
30
30
|
yield* ctx.integration.transform((integrations) => {
|
|
31
31
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -159,4 +159,4 @@ function configuredProviders(entries) {
|
|
|
159
159
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
export {
|
|
162
|
+
export { Plugin23, exports_provider };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-fsbgy90x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service64,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./location-mutation-mgntzgg6.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin14,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin14 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
const bus = yield* Service79;
|
|
24
|
-
const wellknown = yield*
|
|
24
|
+
const wellknown = yield* Service64;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin44 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin14, exports_plugin };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service72,
|
|
10
|
+
node: () => node77
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service72 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service72.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node77 = makeLocationNode({ service: Service72, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service72, node77, exports_hooks };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-fsbgy90x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service74
|
|
6
|
+
} from "./location-mutation-veyjd4rh.js";
|
|
7
7
|
import {
|
|
8
8
|
PromptsChanged2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service31
|
|
10
|
+
} from "./location-mutation-taac5f65.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/command.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
CommandPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_command2 = {};
|
|
17
|
+
__export(exports_command2, {
|
|
18
|
+
CommandPlugin: () => exports_command2,
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect, Stream } from "effect";
|
|
@@ -193,11 +193,11 @@ If you're uncertain about something and can't verify it with these tools, say "I
|
|
|
193
193
|
`;
|
|
194
194
|
|
|
195
195
|
// src/plugin/command.ts
|
|
196
|
-
var
|
|
196
|
+
var Plugin37 = define({
|
|
197
197
|
id: "opencode.command",
|
|
198
198
|
effect: Effect.fn(function* (ctx) {
|
|
199
|
-
const location = yield*
|
|
200
|
-
const mcp = yield*
|
|
199
|
+
const location = yield* Service74;
|
|
200
|
+
const mcp = yield* Service31;
|
|
201
201
|
const bus = yield* Service79;
|
|
202
202
|
const loaded = { prompts: [] };
|
|
203
203
|
yield* bus.subscribe(PromptsChanged2).pipe(Stream.runForEach(() => mcp.prompts().pipe(Effect.tap((prompts) => Effect.sync(() => loaded.prompts = prompts)), Effect.andThen(ctx.command.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -280,4 +280,4 @@ function sanitize(value) {
|
|
|
280
280
|
var argsRegex = /(?:\[Image\s+\d+\]|"[^"]*"|'[^']*'|[^\s"']+)/gi;
|
|
281
281
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
282
282
|
|
|
283
|
-
export {
|
|
283
|
+
export { Plugin37, exports_command2 };
|
|
@@ -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 "./state-jefma2gq.js";
|
|
11
|
-
import {
|
|
12
8
|
Service76,
|
|
13
9
|
node81
|
|
14
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-1e9w7pgh.js";
|
|
11
|
+
import {
|
|
12
|
+
Service74,
|
|
13
|
+
node79
|
|
14
|
+
} from "./location-mutation-veyjd4rh.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: () => Error3,
|
|
26
|
+
ID: () => ID4,
|
|
27
|
+
Service: () => Service34,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
30
|
-
noopLayer: () =>
|
|
29
|
+
node: () => node38,
|
|
30
|
+
noopLayer: () => noopLayer2
|
|
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 ID4 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 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 Service34 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service34, 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(Service55, 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 Error3({ 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(Service55, 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 Error3({ 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(Service55, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID4.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -122,25 +122,25 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
122
122
|
for (const [file, snapshot] of input.files) {
|
|
123
123
|
const absolute = path.resolve(worktree, file);
|
|
124
124
|
if (!FSUtil.contains(worktree, absolute))
|
|
125
|
-
return yield* new
|
|
125
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
126
126
|
files.set(file, TreeID2.make(snapshot));
|
|
127
127
|
}
|
|
128
128
|
return files;
|
|
129
129
|
});
|
|
130
130
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
131
131
|
if (!enabled())
|
|
132
|
-
return yield* new
|
|
132
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
133
133
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
134
134
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service34.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
137
137
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
138
|
-
var
|
|
139
|
-
service:
|
|
138
|
+
var node38 = makeLocationNode({
|
|
139
|
+
service: Service34,
|
|
140
140
|
layer,
|
|
141
|
-
deps: [FSUtil.node,
|
|
141
|
+
deps: [FSUtil.node, node81, Global.node, node79]
|
|
142
142
|
});
|
|
143
|
-
var
|
|
143
|
+
var noopLayer2 = Layer.succeed(Service34, Service34.of({
|
|
144
144
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
145
145
|
reload: () => Effect.void,
|
|
146
146
|
capture: () => Effect.undefined,
|
|
@@ -149,13 +149,13 @@ var noopLayer3 = Layer.succeed(Service55, Service55.of({
|
|
|
149
149
|
restore: () => Effect.void
|
|
150
150
|
}));
|
|
151
151
|
function failure(operation, cause) {
|
|
152
|
-
if (cause instanceof
|
|
152
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
153
153
|
return cause;
|
|
154
|
-
return new
|
|
154
|
+
return new Error3({
|
|
155
155
|
operation,
|
|
156
156
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
157
157
|
cause
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
export {
|
|
161
|
+
export { ID4, Error3, Service34, node38, noopLayer2, exports_snapshot2 };
|