@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,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-fsbgy90x.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-mutation-b6cez5sj.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service32,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-9sh4wc5j.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-xsh4tk7k.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event4,
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service32,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node21
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event4, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service79;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service78;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service32.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node21 = Node.makeLocationNode({
|
|
226
|
+
service: Service32,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node21, exports_plugin2, Event4, ID3, Info3, Source2, State2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-h1wjmbkk.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin41
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin41 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -106,4 +106,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
106
106
|
}, undefined);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
export {
|
|
109
|
+
export { Plugin41, exports_plan };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service62
|
|
7
|
+
} from "./location-mutation-0at1dgts.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-mutation-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service38
|
|
13
|
+
} from "./location-mutation-db72jng6.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service56
|
|
16
|
+
} from "./location-mutation-4rj1fxpy.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service68
|
|
19
|
+
} from "./location-mutation-h1wjmbkk.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service67,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-mutation-5tjgq90g.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-mutation-fxbjtjnd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service44,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-mutation-fh8rk5rm.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service36
|
|
37
|
+
} from "./location-mutation-r97capk8.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service20
|
|
40
|
+
} from "./location-mutation-514dm7sz.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-mutation-n0ydf6ct.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input8,
|
|
53
|
+
Plugin: () => Plugin9,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name8
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name8 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input8 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin9 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service20;
|
|
122
|
+
const jobs = yield* Service56;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service38;
|
|
125
|
+
const access = yield* Service67;
|
|
126
|
+
const shell = yield* Service36;
|
|
127
|
+
const shellSelect = yield* Service44;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service68;
|
|
130
|
+
const config = yield* Service62;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin33 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name8,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin33 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name8,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input8,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin33 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name8,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name8];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -257,4 +257,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
257
257
|
})
|
|
258
258
|
};
|
|
259
259
|
|
|
260
|
-
export {
|
|
260
|
+
export { name8, DEFAULT_TIMEOUT_MS2, Input8, Plugin9, exports_shell };
|
|
@@ -2,35 +2,35 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service79,
|
|
4
4
|
node84
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-fsbgy90x.js";
|
|
6
6
|
import {
|
|
7
7
|
Key4,
|
|
8
8
|
unavailable3,
|
|
9
9
|
removed2,
|
|
10
|
-
|
|
10
|
+
make21,
|
|
11
11
|
diffByKey2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-eaj1djv9.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-922hggd3.js";
|
|
16
16
|
import {
|
|
17
17
|
create3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-mutation-kg06axw8.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/instruction-discovery.ts
|
|
24
24
|
var exports_instruction_discovery = {};
|
|
25
25
|
__export(exports_instruction_discovery, {
|
|
26
|
-
Event: () =>
|
|
26
|
+
Event: () => Event9,
|
|
27
27
|
File: () => File2,
|
|
28
28
|
InstructionDiscovery: () => exports_instruction_discovery,
|
|
29
|
-
Options: () =>
|
|
30
|
-
Service: () =>
|
|
31
|
-
configured: () =>
|
|
32
|
-
layer: () =>
|
|
33
|
-
node: () =>
|
|
29
|
+
Options: () => Options4,
|
|
30
|
+
Service: () => Service42,
|
|
31
|
+
configured: () => configured5,
|
|
32
|
+
layer: () => layer15,
|
|
33
|
+
node: () => node47
|
|
34
34
|
});
|
|
35
35
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -42,17 +42,17 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
|
|
|
42
42
|
}
|
|
43
43
|
var Files = Schema.Array(File2);
|
|
44
44
|
var key = Key4.make("core/instructions");
|
|
45
|
-
var
|
|
45
|
+
var Event9 = {
|
|
46
46
|
Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
|
|
47
47
|
};
|
|
48
|
-
var
|
|
48
|
+
var Options4 = Schema.Struct({
|
|
49
49
|
project: Schema.optional(Schema.Boolean),
|
|
50
50
|
global: Schema.optional(Schema.Boolean)
|
|
51
51
|
});
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service42 extends Context.Service()("@opencode/InstructionDiscovery") {
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var layer15 = (options) => Layer.effect(Service42, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service79;
|
|
57
57
|
const state = create3({
|
|
58
58
|
name: "instruction-discovery",
|
|
@@ -72,9 +72,9 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
72
72
|
editor.available = false;
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
notify: () => bus.publish(
|
|
75
|
+
notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
|
|
76
76
|
});
|
|
77
|
-
const source = (value) =>
|
|
77
|
+
const source = (value) => make21({
|
|
78
78
|
key,
|
|
79
79
|
codec: Schema.toCodecJson(Files),
|
|
80
80
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
90
90
|
return unavailable3;
|
|
91
91
|
return Array.from(current.files.values());
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return Service42.of({
|
|
94
94
|
project: options?.project !== false,
|
|
95
95
|
global: options?.global !== false,
|
|
96
96
|
transform: state.transform,
|
|
@@ -104,14 +104,14 @@ var layer18 = (options) => Layer.effect(Service46, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
}));
|
|
107
|
-
function
|
|
107
|
+
function configured5(options) {
|
|
108
108
|
return makeLocationNode({
|
|
109
|
-
service:
|
|
110
|
-
layer:
|
|
109
|
+
service: Service42,
|
|
110
|
+
layer: layer15(options),
|
|
111
111
|
deps: [node84]
|
|
112
112
|
});
|
|
113
113
|
}
|
|
114
|
-
var
|
|
114
|
+
var node47 = configured5();
|
|
115
115
|
function render(files) {
|
|
116
116
|
return files.map((file) => `Instructions from: ${file.path}
|
|
117
117
|
${file.content}`).join(`
|
|
@@ -142,4 +142,4 @@ ${render([after])}`;
|
|
|
142
142
|
`);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export { File2,
|
|
145
|
+
export { File2, Event9, Options4, Service42, layer15, configured5, node47, exports_instruction_discovery };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-kg06axw8.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service46,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node51
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service46 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service46.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node51 = makeLocationNode({
|
|
143
|
+
service: Service46,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service46, node51, exports_tool_output2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
which2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-qaymkmh1.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/shell/select.ts
|
|
12
12
|
var exports_select = {};
|
|
13
13
|
__export(exports_select, {
|
|
14
14
|
Options: () => Options6,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service44,
|
|
16
16
|
ShellSelect: () => exports_select,
|
|
17
17
|
args: () => args2,
|
|
18
|
-
configured: () =>
|
|
18
|
+
configured: () => configured7,
|
|
19
19
|
environment: () => environment2,
|
|
20
20
|
gitbash: () => gitbash2,
|
|
21
21
|
list: () => list3,
|
|
22
22
|
login: () => login2,
|
|
23
23
|
name: () => name15,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node49,
|
|
25
25
|
ps: () => ps2,
|
|
26
26
|
resolve: () => resolve2
|
|
27
27
|
});
|
|
@@ -47,7 +47,7 @@ var Options6 = Schema.Struct({
|
|
|
47
47
|
gitbash: Schema.optional(Schema.String)
|
|
48
48
|
});
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service44 extends Context.Service()("@opencode/ShellSelect") {
|
|
51
51
|
}
|
|
52
52
|
function stat(file) {
|
|
53
53
|
return statSync(file, { throwIfNoEntry: false }) ?? undefined;
|
|
@@ -188,7 +188,7 @@ async function list3(options, bin) {
|
|
|
188
188
|
const shells = process.platform === "win32" ? win(options, bin) : await unix();
|
|
189
189
|
return shells.filter((shell) => executable(shell, options, bin)).map((shell) => info(shell, options, bin));
|
|
190
190
|
}
|
|
191
|
-
var layer = (options) => Layer.effect(
|
|
191
|
+
var layer = (options) => Layer.effect(Service44, Effect.gen(function* () {
|
|
192
192
|
const global = yield* Global.Service;
|
|
193
193
|
const state = create3({
|
|
194
194
|
name: "shell-select",
|
|
@@ -199,15 +199,15 @@ var layer = (options) => Layer.effect(Service45, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
})
|
|
201
201
|
});
|
|
202
|
-
return
|
|
202
|
+
return Service44.of({
|
|
203
203
|
transform: state.transform,
|
|
204
204
|
reload: state.reload,
|
|
205
205
|
resolve: (input) => Effect.sync(() => resolve2(input, state.get().shell, options, global.bin))
|
|
206
206
|
});
|
|
207
207
|
}));
|
|
208
|
-
function
|
|
209
|
-
return makeLocationNode({ service:
|
|
208
|
+
function configured7(options) {
|
|
209
|
+
return makeLocationNode({ service: Service44, layer: layer(options), deps: [Global.node] });
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var node49 = configured7();
|
|
212
212
|
|
|
213
|
-
export { Options6,
|
|
213
|
+
export { Options6, Service44, gitbash2, name15, login2, ps2, args2, environment2, resolve2, list3, configured7, node49, exports_select };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-q3t37ft6.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-j113vdcs.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service54
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-shrpy2d8.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9sh4wc5j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service36
|
|
9
|
+
} from "./location-mutation-r97capk8.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -23,7 +23,7 @@ __export(exports_shell3, {
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
25
|
const instances = yield* Service54;
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|